[Yahoo-eng-team] [Bug 1825596] [NEW] Azure reboot with unformatted ephemeral drive won't mount reformatted volume

2019-04-19 Thread Jason Zions
Public bug reported: If an Azure VM is rebooted after being moved to a different host (e.g. after a deallocate operation or after a service-heal to remove a bad host from service), the ephemeral drive exposed to the VM is reset to the default state (NTFS format). The Azure data source detects this

[Yahoo-eng-team] [Bug 1825253] [NEW] Unit tests with filesystem-related mocks fail in SeLinuxGuard when run on RHEL or CentOS

2019-04-17 Thread Jason Zions
Public bug reported: When the unit tests are run on RHEL or CentOS, some tests which mock filesystem directories so as to "lie" about things can cause util.SeLinuxGuard to fail. The SeLinuxGuard does nothing in environments which lack the selinux python module or when that module reports that seli

[Yahoo-eng-team] [Bug 1823100] [NEW] Ephemeral disk not mounted when new instance requires reformat of the volume

2019-04-03 Thread Jason Zions
Public bug reported: Each Azure VM is provided with an ephemeral disk, and the cloud-init configuration supplied in the VM image requests the volume be mounted under /mnt. Each new ephemeral disk is formatted for NTFS rather than ext4 or another Linux filesystem. The Azure datasource detects this

[Yahoo-eng-team] [Bug 1823099] [NEW] Azure datasource sometimes fails to find wireserver endpoint

2019-04-03 Thread Jason Zions
Public bug reported: The Azure datasource needs to communicate with the "Wireserver" control plane endpoint during provisioning. The IP address of the endpoint is passed to the VM as option 245 via DHCP. Code to retrieve that address is remarkably fragile across distros and in the face of changes

[Yahoo-eng-team] [Bug 1823084] [NEW] DataSourceAzure doesn't rebuild network-config after reboot

2019-04-03 Thread Jason Zions
Public bug reported: After merge 365065 (commit 0dc3a77f4), when an Azure VM (previously provisioned via cloud-init) is rebooted, DataSourceAzure fails to recreate a NetworkConfig, with multiple exceptions raised and caught. When the ds is restored from obj.pkl in the instance directory, self._ne

[Yahoo-eng-team] [Bug 1799338] [NEW] cloud-init won't reformat NTFS ephemeral drive on SLES 15

2018-10-22 Thread Jason Zions
Public bug reported: Commit aa4eeb808 (Paul Meyer 2018-05-23 15:45:39 -0400 710) detects that the platform doesn't support NTFS volumes by looking for the appropriate error message in the exception it catches. The exact syntax of that error message differs between RHEL (the target distro for P

[Yahoo-eng-team] [Bug 1799337] [NEW] Building cloud-init on SLES 15 complains about missing cloud-id binary

2018-10-22 Thread Jason Zions
Public bug reported: Change 6ee8a2c55 (Chad Smith 2018-10-09 22:19:20 + 286) added 'cloud-id' to the list of console scripts in setup.py. The packaging spec for suse wasn't changed to package that script. ** Affects: cloud-init Importance: Undecided Status: New -- You

[Yahoo-eng-team] [Bug 1794399] [NEW] cloud-init dhcp_discovery() crashes on preprovisioned RHEL 7.6 VM in Azure

2018-09-25 Thread Jason Zions
Public bug reported: Azure, creating a RHEL 7.6 VM from a pool of preprovisioned VM In /usr/lib/python2.7/site-packages/cloudinit/net/dhcp.py, dhcp_discovery() starts dhclient specifically so it will capture the DHCP leases in dhcp.leases. The function copies the dhclient binary and starts it wit