** Description changed: ==== Begin SRU Template ==== - [Impact] + [Impact] The bug here was that some files where not collected into the cloud-init deb. The result was that the improved support for Azure referenced in changelog as 'Get Azure endpoint server from DHCP client' did not work as desired. The fix was in packaging to make sure the files are included. [Test Case] $ lxc launch ubuntu-daily:xenial x1 $ lxc exec x1 /bin/bash Failure could be seen by: $ dpkg -L cloud-init | grep hook- || echo "FAIL: no hook files" Fix is shown like this: $ dpkg -L cloud-init | grep hook- /etc/NetworkManager/dispatcher.d/hook-network-manager /etc/dhcp/dhclient-exit-hooks.d/hook-dhclient An additional test of the azure functionality can be done by: - a.) launching an ubuntu vm - b.) enabling proposed - c.) apt-get update && apt-get install cloud-init - d.) rm -Rf /var/lib/cloud /var/log/cloud-init* - e.) reboot - f.) verify files are written in /run + a.) launching an ubuntu vm + b.) enabling proposed + c.) apt-get update && apt-get install cloud-init + d.) rm -Rf /var/lib/cloud /var/log/cloud-init* + e.) reboot + f.) verify that /run/cloud-init/dhclient.hooks dir has 'eth0.json' in it + $ ls -l /run/cloud-init/dhclient.hooks/eth0.json + [Regression Potential] Regression potential should be limited to Azure as this path is only taken on Azure cloud. ==== End SRU Template ==== - A recent azure change added some files to cloud-init. Installed from tools/ by setup.py, these are put in the filesystem at ./etc/dhcp/dhclient-exit-hooks.d/hook-dhclient ./etc/NetworkManager/dispatcher.d/hook-network-manager They are not currentlypicked up by the ubuntu package 0.7.7-13-g41271bd- 0ubuntu1 ProblemType: Bug DistroRelease: Ubuntu 16.10 Package: cloud-init 0.7.7-13-g41271bd-0ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-9134.53-generic 4.4.15 Uname: Linux 4.4.0-9134-generic x86_64 ApportVersion: 2.20.3-0ubuntu7 Architecture: amd64 Date: Mon Aug 22 16:53:55 2016 PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1615745 Title: package does not include dhcp hook scripts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1615745/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs