+ Depending on the order of the found available packages the wrong rdma
package may be installed. Use the proper variable to identify the
package version to install
[#896] -- End of Line Comments are Not Supported nor Handled
[#891] -- Create a Telemetry Event to Track Custom Data Execution
[#884] -- Cleanup Old Goal State and Extension Cache
[#876] -- The agent should use a scaling back-off when retrying HTTP requests
[#869] -- The agent should report OS information in the correct JSON format.
Updated version to 2.2.18.1
Replaced errno.EREMOTEIO with fixed value (since the constant is not present in all Python 2.7 versions)
Signed-off-by: Brendan Dixon <brendandixon@me.com>
[#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>
+ Fix comparison issue that causes the installed RDMA package to not
be detected. Tris triggers a re-install of the package which in turn
triggers a reboot. Thus we end up in a endless reboot loop.
Ubuntu packages multiple versions of RDMA driver in the kernel. This adds support for resolving the correct driver based on the host ND version, and to update kernel if none is found.
+ When the online repo is not available zypper could hang on waiting for
user confirmation about skipping the repo, we also tried to refresh
the repo again after we already knew it was not available.
+ Code generated an error on zypper return code 106, which only indicates
that repos were skipped but does not mean package install failed.
The supported values are now "rsa", "dsa", "ecdsa", "ed25519", or
"auto". "auto" generates all supported host key types in the correct
directory by calling "ssh-keygen -A" (supported since OpenSSH 5.9 in
2011). The code uses RSA for the thumbprint because only a single one
is supported by the agent and the Azure protocol.
[#764] -- waagent -configuration-path:/path -start not take effect
[#761] -- MetadataProtocol has no client object
[#757] -- deprovision is executed even if input 'n'
[#754] -- /etc/resolv.conf is removed if create a VM base on an specialized image
[#746] -- Agent WALinuxAgent-2.2.12 is blacklisted - skipping download
[#740] -- Duplicate logging on RHEL/CentOS
Signed-off-by: Brendan Dixon <brendandixon@me.com>
* 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
* log the device list when finding dvd
* improve logging for get_dvd_device
* improve logging for mount_dvd
* more granular logging for copy_ovf_env
* provisioning logging and error cleanup
* ubuntu provisioning logging cleanup
* improve Ubuntu provisioning logging
* ubuntu provision cleanup
* debugging for cloud-init
* add validation method and logging for cloud-init
* error cleanup, fix mount
* minor cleanup
* add validate cloud-init logging
* unit test fixes
* Fix RDMA package version matching
The pattern matching for the RPM naming is too strict:
- We actually have a 4.1.3.2 bugfix release now, but pattern only allows
3-digit naming
- We may have multi-digit version numbers in the future
* Fix RDMA update regex as well
* Return failure if module is already loaded at the time of probe
* Return failure when module is not present in lsmod
* CentOS: Reboot the system when newly installed RDMA module fails to probe or load
* SUSE: Reboot the system when newly installed RDMA module fails to probe or load
+ Proper number of arguments for handler, fixes#521
+ Do not interrupt once we are running to avoid leaving the system in an
indeterminate state, fixes#515
* Remove unnecessary sleep and increase poll rate
* Adds tests for iWorkflow and BIG-IQ
This patch adds remaining tests for iWorkflow and BIG-IQ platforms
* Modifying code to prevent throttling.