cloud-init missing dependency on isc-dhcp-client

Bug #1766714 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Fix Released
Medium
Unassigned

Bug Description

=== Begin SRU Template ===
[Impact]
Missing a package dependency on iproute2 in bioninc would mean runtime errors
reported in cloud-init.log when trying to rename network devices. So instances
would not be remotely accessible in bionic minimal images without iproute2.

[Test Case]
# check package dependencies of bionic's cloud-init
for release in bionic; do
   ref=$release-proposed;
   echo "$release START --------------";
   lxc-proposed-snapshot -p -P $release $ref;
   lxc init $ref test-$release;
   lxc start test-$release;
   lxc exec test-$release -- dpkg-query --show cloud-init;
   lxc exec test-$release -- apt-cache showpkg cloud-init | egrep 'iproute2|isc-dhcp-client';
 done

[Regression Potential]
Minimal as most images already contain iproute2

[Other Info]
Upstream commit at
  https://git.launchpad.net/cloud-init/commit/?id=XXXXXXXXXX

=== End SRU Template ===

==== Original Bug description ====

bug 1759307 incorrectly added a build-depends rather than a Depends.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cloud-init 18.2-14-g6d48d265-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu6
Architecture: amd64
CloudName: LXD
Date: Tue Apr 24 20:09:31 2018
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
user_data.txt:
 #cloud-config
 {}

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Scott Moser (smoser)
Changed in cloud-init (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Chad Smith (chad.smith) wrote :

An upstream commit landed for this bug.

To view that commit see the following URL:
https://git.launchpad.net/cloud-init/commit/?id=85ff391b

Changed in cloud-init (Ubuntu Bionic):
status: Confirmed → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

This was accepted into bionic-proposed and LP timed out on me, whee!

tags: added: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 18.2-27-g6ef92c98-0ubuntu1~18.04.1

---------------
cloud-init (18.2-27-g6ef92c98-0ubuntu1~18.04.1) bionic; urgency=medium

  * debian/control: add missing dependency on iproute2. (LP: #1766711)
  * debian/control: add missing dependency on isc-dhcp-client. (LP: #1766714)
  * New upstream snapshot. (LP: #1767412)
    - IBMCloud: recognize provisioning environment during debug boots.
    - net: detect unstable network names and trigger a settle if needed
    - IBMCloud: improve documentation in datasource.
    - sysconfig: dhcp6 subnet type should not imply dhcpv4 [Vitaly Kuznetsov]
    - packages/debian/control.in: add missing dependency on iproute2.
    - DataSourceSmartOS: add locking of serial device. [Mike Gerdts]
    - DataSourceSmartOS: sdc:hostname is ignored [Mike Gerdts]
    - DataSourceSmartOS: list() should always return a list [Mike Gerdts]
    - schema: in validation, raise ImportError if strict but no jsonschema.
    - set_passwords: Add newline to end of sshd config, only restart if
      updated.
    - pylint: pay attention to unused variable warnings.
    - doc: Add documentation for AliYun datasource. [Junjie Wang]
    - Schema: do not warn on duplicate items in commands.

 -- Scott Moser <email address hidden> Fri, 27 Apr 2018 12:30:21 -0400

Changed in cloud-init (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Chad Smith (chad.smith) wrote :
Download full text (4.2 KiB)

SRU validation performed for Bionic package dependencies on isc-dhcp-client and iproute2

=== START bionic verification output ===
for release in bionic; do ref=$release-proposed; echo "$release START --------------"; lxc-proposed-snapshot -p -P $release $ref; lxc init $ref test-$release; lxc start test-$release; lxc exec test-$release -- dpkg-query --show cloud-init; lxc exec test-$release -- apt-cache showpkg cloud-init | egrep 'iproute2|isc-dhcp-client'; done
bionic START --------------
Creating bionic-proposed-2346115677
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [8512 B]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [3352 B]
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [65.5 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [2796 B]
Get:8 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease [242 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [1936 B]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [8512 B]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [3352 B]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [3524 B]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [2292 B]
Get:20 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages [27.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-proposed/main Translation-en [12.8 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages [12.6 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-proposed/universe Translation-en [7388 B]
Fetched 16.1 MB in 5s (3226 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 356 kB of archives.
After this operation, 4096 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 cloud-init all 18.2-27-g6ef92c98-0ubuntu1~18.04.1 [356 kB]
Preconfiguring packages ...
Fetched 356 kB in 1s (394 kB/s)
(Reading database ... 28477 files and directories currently installed.)
Preparing to unpack .../...

Read more...

description: updated
tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 18.2-27-g6ef92c98-0ubuntu1~18.04.1

---------------
cloud-init (18.2-27-g6ef92c98-0ubuntu1~18.04.1) bionic; urgency=medium

  * debian/control: add missing dependency on iproute2. (LP: #1766711)
  * debian/control: add missing dependency on isc-dhcp-client. (LP: #1766714)
  * New upstream snapshot. (LP: #1767412)
    - IBMCloud: recognize provisioning environment during debug boots.
    - net: detect unstable network names and trigger a settle if needed
    - IBMCloud: improve documentation in datasource.
    - sysconfig: dhcp6 subnet type should not imply dhcpv4 [Vitaly Kuznetsov]
    - packages/debian/control.in: add missing dependency on iproute2.
    - DataSourceSmartOS: add locking of serial device. [Mike Gerdts]
    - DataSourceSmartOS: sdc:hostname is ignored [Mike Gerdts]
    - DataSourceSmartOS: list() should always return a list [Mike Gerdts]
    - schema: in validation, raise ImportError if strict but no jsonschema.
    - set_passwords: Add newline to end of sshd config, only restart if
      updated.
    - pylint: pay attention to unused variable warnings.
    - doc: Add documentation for AliYun datasource. [Junjie Wang]
    - Schema: do not warn on duplicate items in commands.

 -- Scott Moser <email address hidden> Fri, 27 Apr 2018 12:30:21 -0400

Changed in cloud-init (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for cloud-init has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.