Activity log for bug #1268050

Date Who What changed Old value New value Message
2014-01-11 00:09:42 Stephen A. Zarkos bug added bug
2014-01-11 00:21:53 Ben Howard information type Proprietary Public
2014-01-11 00:22:15 Ben Howard affects lansing walinuxagent (Ubuntu)
2014-01-11 00:22:22 Ben Howard walinuxagent (Ubuntu): assignee Ben Howard (utlemming)
2014-01-11 00:22:25 Ben Howard walinuxagent (Ubuntu): importance Undecided Medium
2014-01-11 00:22:36 Ben Howard walinuxagent (Ubuntu): milestone ubuntu-14.04-beta-2
2014-01-12 08:09:40 Launchpad Janitor walinuxagent (Ubuntu): status New Confirmed
2014-01-12 08:10:34 Michal Smereczynski bug added subscriber Michal Smereczynski
2014-01-15 21:43:01 Ben Howard nominated for series Ubuntu Precise
2014-01-15 21:43:01 Ben Howard bug task added walinuxagent (Ubuntu Precise)
2014-01-15 21:43:01 Ben Howard nominated for series Ubuntu Saucy
2014-01-15 21:43:01 Ben Howard bug task added walinuxagent (Ubuntu Saucy)
2014-01-15 21:43:01 Ben Howard nominated for series Ubuntu Trusty
2014-01-15 21:43:01 Ben Howard bug task added walinuxagent (Ubuntu Trusty)
2014-01-15 21:43:12 Ben Howard walinuxagent (Ubuntu Saucy): assignee Ben Howard (utlemming)
2014-01-15 21:43:14 Ben Howard walinuxagent (Ubuntu Precise): assignee Ben Howard (utlemming)
2014-01-15 21:43:17 Ben Howard walinuxagent (Ubuntu Saucy): milestone saucy-updates
2014-01-15 21:43:19 Ben Howard walinuxagent (Ubuntu Precise): milestone precise-updates
2014-01-15 21:43:33 Ben Howard walinuxagent (Ubuntu Precise): status New In Progress
2014-01-15 21:43:36 Ben Howard walinuxagent (Ubuntu Saucy): status New In Progress
2014-01-15 21:43:38 Ben Howard walinuxagent (Ubuntu Trusty): status Confirmed In Progress
2014-01-15 21:43:42 Ben Howard walinuxagent (Ubuntu Precise): importance Undecided Medium
2014-01-15 21:43:45 Ben Howard walinuxagent (Ubuntu Saucy): importance Undecided Medium
2014-01-15 22:15:44 Ben Howard description Hello, This is a request to please backport this patch from the 1.4.1 agent: https://github.com/WindowsAzure/WALinuxAgent/commit/375f1ede38fd323c2560e7e21ba99ac50bc66acd Summary The Ubuntu images in the Windows Azure gallery (except for 12.10) all use cloud-init for provisioning. This means that WALA provisioning and the hostname monitor are disabled via /etc/waagent.conf. However, when a user runs 'waagent -deprovision' the agent will attempt to modify the 'send host-name' parameter dhclient.conf file to set the hostname to "localhost.localdomain". But with provisioning and the monitor disabled, the agent does not have a chance to reset this parameter to the proper hostname. So captured Ubuntu images will not register their correct DNS name with the DHCP server. In the Ubuntu images this behavior is not necessary since dhclient is already configured to send its hostname to the DHCP server. This patch makes the agent a bit smarter about this and leaves dhclient.conf alone if it sees that it is already configured to send it's current hostname to the DHCP server. SRU justification Impact : Users who run "waagent --deprovision" and then capture/snapshot an image will not have the instance register with iDNS and subsiquently the instance will be unreachable. This issue is caused by waagent changing the "send-hostname" parameter in the dhclient. Fix : Applied upstream commit from https://github.com/WindowsAzure/WALinuxAgent/commit/375f1ede38fd323c2560e7e21ba99ac50bc66acd Test Case : - Launch instance - Install walinuxagent from proposed - Run "waagent --deprovision" - Shutdown instance - Run "azure vm shutdown <name>" with Azure CLI tool - Run "azure vm capture <name> <new name>" with Azure CLI tool - Launch new instance from <new name> - Confirm that instance is accesable using DNS name Regression : Low. The change fixes how waagent interacts with /etc/dhcp/dhcpclient.conf. If an instance has been configured via cloud-init, there is no change. [ORIGNIAL BUG REPORT] Hello, This is a request to please backport this patch from the 1.4.1 agent: https://github.com/WindowsAzure/WALinuxAgent/commit/375f1ede38fd323c2560e7e21ba99ac50bc66acd Summary The Ubuntu images in the Windows Azure gallery (except for 12.10) all use cloud-init for provisioning. This means that WALA provisioning and the hostname monitor are disabled via /etc/waagent.conf. However, when a user runs 'waagent -deprovision' the agent will attempt to modify the 'send host-name' parameter dhclient.conf file to set the hostname to "localhost.localdomain". But with provisioning and the monitor disabled, the agent does not have a chance to reset this parameter to the proper hostname. So captured Ubuntu images will not register their correct DNS name with the DHCP server. In the Ubuntu images this behavior is not necessary since dhclient is already configured to send its hostname to the DHCP server. This patch makes the agent a bit smarter about this and leaves dhclient.conf alone if it sees that it is already configured to send it's current hostname to the DHCP server.
2014-01-16 00:29:35 Ben Howard walinuxagent (Ubuntu Trusty): status In Progress Fix Committed
2014-01-16 00:50:30 Launchpad Janitor walinuxagent (Ubuntu Trusty): status Fix Committed Fix Released
2014-03-21 16:53:47 Dave Walker walinuxagent (Ubuntu Saucy): status In Progress Fix Committed
2014-03-21 16:53:50 Dave Walker bug added subscriber Ubuntu Stable Release Updates Team
2014-03-21 16:53:54 Dave Walker bug added subscriber SRU Verification
2014-03-21 16:56:34 Dave Walker walinuxagent (Ubuntu Precise): status In Progress Fix Committed
2014-03-21 16:57:26 Dave Walker tags verification-done
2014-03-21 16:57:36 Dave Walker tags verification-done verification-needed
2014-04-08 16:00:16 Ben Howard tags verification-needed verification-done
2014-04-08 18:46:37 Launchpad Janitor walinuxagent (Ubuntu Precise): status Fix Committed Fix Released
2014-04-08 18:46:44 Colin Watson removed subscriber Ubuntu Stable Release Updates Team
2014-04-08 18:46:56 Launchpad Janitor walinuxagent (Ubuntu Saucy): status Fix Committed Fix Released
2014-04-17 11:44:21 Ben Howard tags verification-done regression-update verification-done