Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Norberto Arrieta b7cad481f0
Add EnableFirewall to README (#3100)
* Add EnableFirewall to README

* change phrasing

---------

Co-authored-by: narrieta <narrieta>
2024-03-28 11:07:33 -07:00
Nageswara Nandigam 4b484b8b9d
Adding AutoUpdate.UpdateToLatestVersion new flag support (#3020)
* support new flag

* address comments

* added more info

* updated

* address comments

* resolving comment

* updated
2024-02-05 10:09:38 -08:00
Norberto Arrieta 3c32d45177
Add config parameter to wait for cloud-init (Extensions.WaitForCloudInit) (#3031)
* Add config parameter to wait for cloud-init (Extensions.WaitForCloudInit)

---------

Co-authored-by: narrieta <narrieta>
2024-02-01 09:47:31 -08:00
Norberto Arrieta a335d528c1
Add information about HTTP proxies (#2985)
* Add information about HTTP proxies

* no_proxy

---------

Co-authored-by: narrieta <narrieta>
2023-11-20 09:36:06 -08:00
Norberto Arrieta 6e0e3f1fc1
Clarify support status of installing from source. (#2941)
Co-authored-by: narrieta <narrieta>
2023-10-09 16:57:12 -07:00
Norberto Arrieta 0dc0071744
Add note on systemd and environment variables (#2724)
* Add note on systemd and environment variables

* typo

Co-authored-by: narrieta <narrieta>
2023-01-10 12:23:42 -08:00
Kevin Clark a560872bec
Update Log Collector default in Comments and Readme (#2608) 2022-06-08 12:31:46 -07:00
Norberto Arrieta 2939a14728
Cleanup history directory after every goal state (#2508)
* Cleanup history directory after every goal state

* pylint

* pylint

* fix index

* remove extra change

Co-authored-by: narrieta <narrieta>
2022-02-15 11:13:45 -08:00
Kevin Clark 838b7474f7
Changed default Logs.Collect value from False/n to True/y (#2436) 2021-12-14 16:43:32 -08:00
Nageswara Nandigam ca5a78885c
Update history cleanup period in readme (#2266) 2021-06-16 14:26:11 -07:00
Norberto Arrieta 1e34825c72
Cleanup history folder every 30 min (#2258)
* Cleanup history folder every 30 min

* fix unit test

Co-authored-by: narrieta <narrieta>
2021-05-20 16:48:28 -07:00
Norberto Arrieta e5d75bcc93
Update test matrix and support (#2234) 2021-05-05 20:35:20 -07:00
Norberto Arrieta 8311626b75
Delete CGroups.Enabled flag; add debug info (#2199)
* Delete CGroups.Enabled flag; add debug info

* Add comments

Co-authored-by: narrieta <narrieta>
2021-03-05 14:28:08 -08:00
Norberto Arrieta 357a523611
Remove references to Travis (#2179)
* Remove dependency on Travis

* .

* .

Co-authored-by: narrieta <narrieta>
2021-02-17 08:30:53 -08:00
Norberto Arrieta a4a8b42a53
Clean up configuration parameters for cgroups (#2178)
* Disable cgroups if agent is throttled

* Complete changes

* Python 2.6 compat

* Update conf settings for cgroups

* Fix pylint warning

Co-authored-by: narrieta <narrieta>
2021-02-16 17:04:50 -08:00
Paula Gombar fe19a35f9d
Add log collector flags to README (#2029) 2020-10-05 16:05:41 -07:00
Andy Schwartzmeyer 9902be3335
Fix broken link in readme (#2014)
This KB article leads to a 404 error. I believe this documentation
article is the replacement.

Co-authored-by: Norberto Arrieta <narrieta@users.noreply.github.com>
2020-09-23 10:18:23 -07:00
Toshi Aoyama 5aaf880479
python3 must be used in Ubuntu (#1932) 2020-07-09 10:02:51 -07:00
Norberto Arrieta b28068a6ed
Document AutoUpdate.Enabled (#1915)
* Document AutoUpdate.Enabled

* fix typo

Co-authored-by: narrieta <narrieta>
2020-06-22 16:41:50 -07:00
Norberto Arrieta 7f8b0716d5
Update documentation on /dev/random (#1909)
Co-authored-by: narrieta <narrieta>
2020-06-12 18:57:41 -07:00
Norberto Arrieta de81f1b6b6
Expose periods of environment thread in waagent.conf (#1891)
* Expose periods of environment thread in waagent.conf

* Python 2.6 compatibility issues

* Report errors on the monitor/environment threads

* Added new parameters to README

* log changes in conf

* Document MonitorDhcpClientRestartPeriod

Co-authored-by: narrieta <narrieta>
2020-05-22 08:20:07 -07:00
Paula Gombar 6a67cc2693
Fix codecov badge (#1883) 2020-05-01 15:54:00 -07:00
Paula Gombar 6d680e071c
Update badges in README.md (#1842) 2020-03-30 14:24:30 -07:00
Norberto Arrieta 822c9b8031
Improve documentation of ResourceDisk.EnableSwapEncryption (#1782) 2020-02-12 14:35:56 -08:00
Thomas Stringer dc13ed2ed2 update doc to reflect configuration option removal version (#1742) 2019-12-27 13:13:41 -08:00
larohra 0ba8202e46
Updated readme, modified the DCR badge status branch (#1728)
* Updated readme, modified the DCR badge status
2019-12-05 15:26:12 -08:00
Thomas Stringer 62113156e2 Add cloud-init auto-detect to prevent multiple provisioning mechanisms from relying on configuration for coordination (#1633)
* add cloud-init auto-detect

* add coverage tests for config changes

* change list to tuple

* change doc wording from deprecated to removed

* add comment explaining provisioning enabled setting change

* add support to test for non-systemd cloud-init
2019-10-29 16:52:45 -07:00
Norberto Arrieta 7e013cebfb
Clarify documentation for OS.AllowHTTP (#1680) 2019-10-24 11:09:41 -07:00
Varad Meru 52a3ec087e Updating Travis settings 2019-03-11 17:45:56 -07:00
kormic911 48e1d0dec3 Fix for issue #1144 (#1345)
* Adding better swap file handling for freebsd

* Adding import os to resolve issue

* Adding the ability to encrypt the swapfile created

* Fixing some issues with encryption

* Updating unit tests

* Changing MD device from auto unit to 99 to prevent conflicts with other software

* Reverting change, broke on testing

* Adding EnableSwapEncryption to the README
2018-10-17 13:02:37 -07:00
Hans Krijger 527e863f72
add configuration for unlimited cgroups (#1337) 2018-09-06 16:04:58 -07:00
Hans Krijger 88ce24de47
Enforce cgroups limits (#1327)
* add a configuration flag for enforcing cgroups

* enforce limits for cgroups
2018-09-04 16:14:34 -07:00
Hans Krijger f6f8038f61
Agentless (#1289)
* initial commit

* sleep forever when disabled

* add unit tests for exensions.enabled

* unit tests for provision guest agent

* add daemon unit tests

* updated config with warning

* added more info the to README regardling extensions enabled
2018-08-08 14:02:03 -07:00
Varad Meru 7d0df51a02 Updating README.md to reflect SUSE-SP3 (#1288)
* Updating README.md to reflect SUSE-SP3

The change has already been done in DCR.

* Update README.md

Updated the uri to SP3, which is valid now.
2018-08-08 09:46:35 -07:00
Hans Krijger 4e26eadfbe
Build badges (#1237)
* initial commit for build badges

* markdown lint fixes

* Added build badges for nightly bvts

* PR feedback

* remove centering

* removed freebsd from wording
2018-06-29 12:59:16 -07:00
Jack Williams 53a429b06b Add telemetry section to the readme (#1031) 2018-02-04 14:15:50 -08:00
Brendan Dixon fb16cba28b [#822] -- Update docs
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-20 11:01:59 -07:00
Brendan Dixon e85d5327a4 [#908] -- Set Files to 0400 in /var/lib/waagent
[#906] -- Hardcoded value for sshd's ClientAliveInterval (180)
[#899] -- Improve HeartBeat Event
[#898] -- Send dummy status if extension fails to write a #.status file

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-10-17 09:18:46 -07:00
Brendan Dixon 285aeff238 [#783] -- The agent fails to use the standard Linux environment variables for HTTP proxy
[#830] -- Ensure VM identifier is properly ordered

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-08-15 10:21:52 -07:00
Brendan Dixon c6173de894 [#801] -- Agent fails to clean-up PID files
[#811] -- Comments inline in /etc/waagent.conf cause config to not be read
[#812] -- Agent fails and isn't recoverable if an extension's log directory is not present anymore

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-07-25 13:57:13 -07:00
Boaventura Rodrigues Neto 8ba128070c Change the emphasis of Provisioning.UseCloudInit
The # character must be replace for * character to correct the emphasis on the Provisioning.UseCloudInit configure option.
2017-07-18 11:41:22 -03:00
Eric Wang ed7a7b7888 WALinuxAgent supports Archlinux (#730) 2017-05-30 15:27:40 -07:00
Reyk Floeter aad62676a7 Add initial support for the OpenBSD operating system (#712)
* Add initial support for the OpenBSD operating system

There are some differences between FreeBSD, OpenBSD, and Linux.

Notes:

- OpenBSD ships LibreSSL, but WALinuxAgent needs OpenSSL for CMS, so
use the openssl port and the "eopenssl" binary instead.

- Don't run the custom DHCP client but parse /var/db/dhclient.leases.hvn0.
OpenBSD's lease file uses a modified syntax.

- OpenBSD does not have /proc.  WALinuxAgent should never assume that
the /proc filesystem is available.

- OpenBSD does not have sudo, but its replacement doas.  The OpenBSD
class implements support for modifying the doas.conf file.

- Unlike FreeBSD, OpenBSD supports and mounts UDF DVDs just fine.

- Create a swap partition instead of a swap file on the resource disk.

- Many other minor changes for OpenBSD

TODO:

- The /proc checks needs to be replaced with pgrep/ps etc. checks for
OpenBSD.  For now it just checks if /proc is available or returns
without error.
Make sure to install waagent with --register-service as setuptools
will not set the permissions of /etc/rc.d/waagent correctly (the file
has to be executable to be used by OpenBSD's rc system).

* Remove debug statement that was use to fix mount_dvd on OpenBSD.

* I accidentally replaced the FreeBSD resource disk handler.

The OpenBSD disk handler is an addition, not a replacement.

Found by jonathangray

* pylint

pylint found one bug in setting the password; other changes are just
for the style.

* strip newline from generated password hash.

Issue reported by Lili Deng.

* Keep AutoUpdate enabled, it was disabled for initial porting.

Pointed out by @hglkrijger

* Use a wildcard and delete all DHCP lease files on *BSD.

Requested by @hglkrijger
2017-05-30 15:27:22 -07:00
brendandixon 5c90636dd8 Added Provisioning telemetry duration (#702)
Correctly handle cleaning directories that include symlinks
Reduced polling interval #701
Enable selective agent testing
Improved FIPS configuration variable name
Reduced cloud-init files removed on deprovision #631

Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-08 16:27:56 -07:00
Brendan Dixon cbc2f4f366 Addressed issues #687, #604, and #531
Signed-off-by: Brendan Dixon <brendandixon@me.com>
2017-05-02 13:28:19 -07:00
Hans Krijger cf80d558a1 removing packaging and update docs (#396)
* removing all packaging in favor of downstream repos

* update README.md

* update Changelog
2016-09-02 16:10:46 -07:00
Steven Luther 8b53e8e4b8 Mount Options feature (#346)
* add testing for mountpoint, some refactoring

* fixed double space in mount string

* patch for ConfigProvider

* revert patch to original string.

* update documentation, add 'n' option for mountopts

* remove test argument

* More descriptive description in README, n to None

* minor var name changes for clarity

* spacing, missing self in get_mount_string

* mount_opts to mount_options

* add config option to writtet WaagentConf, minor style changes.

* mount options fix, is not Note

* add self to get_mount_string args

* self to function, not where it's called

* mount_options = output of function, not the function.

* get_mount_string returns with mount options/if not none

* forgot to remove part of the string

* instantiate resource disk handler, get_switch to get in conf.py

* Added config option to waagent.conf

* minor style fixes

* mountOpts is None change, and also added removed variable.

* revert changes to bin/waagent2.0

* reverted waagent2.0 to e8c641f

* config options added
2016-08-26 14:04:20 -07:00
Robert Schweikert e821b4c71a Integrate RDMA handling (#255)
* - Integrate RDMA handling

* - RDMA Integration
  + Fix syntax errors
  + Use the full distro name to differentiate properly between openSUSE
    (which has currently no RDMA driver build) and SLES

* - RDMA integration
  + Do not stop the execution of the agent work flow by throwing an
    exception if the RDMA handler is not specialized. Simply log an error
    to indicate that the handler is not supported although it has been
    configured with OS.EnableRDMA=y. The configuration in this case is in
    error.

* - RDMA integration
  + Document he new OS.EnableRDMA configuration setting
2016-06-22 14:10:14 -07:00
Ahmet Alp Balkan 8576c03e22 Add CoC notice (#253)
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-06-22 13:29:50 -07:00
Ahmet Alp Balkan 303d435d20
Add RHEL support to README
Fixes #213.
2016-06-06 11:50:38 -07:00