cloud-init missing dependency on iproute2

Bug #1766711 reported by Scott Moser on 2018-04-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Medium
Unassigned
cloud-init (Ubuntu)
Medium
Unassigned
Bionic
Medium
Unassigned

Bug Description

cloud-init is not marking a dependency on iproute2.
It needs iproute2 or nettools to rename devices.

It was assumed that cloud-init would have dependencies of 'ubuntu-minimal', but some official ubuntu-minimal images do not have ubuntu-minimal.

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 19:48:48 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

Scott Moser (smoser) wrote :
Scott Moser (smoser) on 2018-04-24
Changed in cloud-init:
status: New → Confirmed
Changed in cloud-init (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in cloud-init:
importance: Undecided → Medium
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=00d7b9c5

Changed in cloud-init:
status: Confirmed → Fix Committed
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=b12e781a

Hello Scott, or anyone else affected,

Accepted cloud-init into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/18.2-27-g6ef92c98-0ubuntu1~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in cloud-init (Ubuntu Bionic):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-bionic
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
Scott Moser (smoser) wrote :

Full verification log attached, the gist is:

## look for iproute2 in the new package
root@b1:~# apt-cache show cloud-init=18.2-27-g6ef92c98-0ubuntu1~18.04.1 | grep iproute2 || echo not-there
Depends: cloud-guest-utils | cloud-utils, isc-dhcp-client, iproute2, nplan | ifupdown, procps, python3, python3-requests, python3-serial, debconf (>= 0.5) | debconf-2.0, python3-configobj, python3-jinja2, python3-jsonpatch, python3-jsonschema, python3-oauthlib, python3-six, python3-yaml, python3:any (>= 3.3.2-2~)

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
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

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.

This bug is believed to be fixed in cloud-init in version 18.3. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers