[Bug 1268050] [NEW] Deprovision breaks iDNS registration when using cloud-init

Launchpad Bug Tracker 1268050 at bugs.launchpad.net
Sat Jan 11 00:22:16 UTC 2014


You have been subscribed to a public bug:

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.

** Affects: walinuxagent (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Deprovision breaks iDNS registration when using cloud-init
https://bugs.launchpad.net/bugs/1268050
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to walinuxagent in Ubuntu.



More information about the Ubuntu-server-bugs mailing list