package does not include dhcp hook scripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
==== Begin SRU Template ====
[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/NetworkMan
/etc/dhcp/
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/
e.) reboot
f.) verify that /run/cloud-
$ ls -l /run/cloud-
[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/
./etc/
They are not currentlypicked up by the ubuntu package 0.7.7-13-
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: cloud-init 0.7.7-13-
ProcVersionSign
Uname: Linux 4.4.0-9134-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Mon Aug 22 16:53:55 2016
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in cloud-init (Ubuntu Xenial): | |
status: | New → Fix Released |
status: | Fix Released → In Progress |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
This bug was fixed in the package cloud-init - 0.7.7-17- g40a2f62- 0ubuntu1
--------------- 17-g40a2f62- 0ubuntu1) yakkety; urgency=medium
cloud-init (0.7.7-
* New upstream snapshot. cloud-init. install: remove install file debian/ cloud-init. (LP: #1615745)
- network: fix get_interface_mac for bond slave, read_sys_net for ENOTDIR
- azure dhclient-hook cleanups
- Minor cleanups to atomic_helper and add unit tests.
- Fix Gentoo net config generation [Matthew Thode]
* debian/control: drop very old meta-package ec2-init
* debian/rules, debian/
and use --destdir=
* debian/dirs: remove obsolete / unused file.
-- Scott Moser <email address hidden> Mon, 22 Aug 2016 17:02:56 -0400