← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1737704] Re: Cloud-init fails if iso9660 filesystem on non-cdrom path in 20171211 image.

 

This bug was fixed in the package cloud-init -
17.1-60-ga30a3bb5-0ubuntu1

---------------
cloud-init (17.1-60-ga30a3bb5-0ubuntu1) bionic; urgency=medium

  * New upstream snapshot.
    - ds-identify: failure in NoCloud due to unset variable usage.
      (LP: #1737704)
    - tests: fix collect_console when not implemented [Joshua Powers]

 -- Chad Smith <chad.smith@xxxxxxxxxxxxx>  Tue, 12 Dec 2017 12:03:08
-0700

** Changed in: cloud-init (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1737704

Title:
  Cloud-init fails if iso9660 filesystem on non-cdrom path in 20171211
  image.

Status in cloud-init:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Fix Released

Bug description:
  During OVF datasource checks, ds-identify attempted to ignore non-
  cdrom  iso9660 filesystems. It logs a debug 'skip' message using an
  undeclared variable in a debug message resulting in the following
  failure:

  _shwrap: d: parameter not set.

  ==== Original description ===

  Hi,
  I had the last daily image working fine:
  $ uvt-simplestreams-libvirt query
  release=bionic arch=amd64 label=daily (20171129.1)

  But today after a sync I got this image:
  $ uvt-simplestreams-libvirt query
  release=bionic arch=amd64 label=daily (20171211)

  The latter is failing me to boot correctly in regard to networking and
  actually cloud-init in general.

  In the guest console I see it hanging on the usual "A start job is running for Wait for ..."
  It breaks after some time giving up on networking.
  "See 'systemctl status systemd-networkd-wait-online.service' for details."
  The host confirmd that - the guest did not get an IP from dnsmasq.

  Note: I was able to trigger this on a Xenial host as well as a Bionic
  Host. Also latest Artful image works well on all of these - so I'd
  expect it safe to assume that it only depends on the guest image.

  I have taken full bootup console logs of both cases.

  20171129.1 (good): http://paste.ubuntu.com/26169044/
  20171211 (bad): http://paste.ubuntu.com/26169046/

  There was one more thing that made me perplex - I usually provide --password=ubunut to uvt-kvm.
  That adds a snippet to the cloud-init data to set the password of the ubuntu user.
  Connecting via "virsh console" I can't log in on the bad guest  which made me assume that cloud-init didn't run at all in the bad case.

  And in fact the full logs confirm that, in the bad case there is no
  cloud-init seen at all.

  Also my bionic containers today saw a cloud-init update - maybe it really is broken in the current daily image?
  OTOH the changelog of cloud-init didn't suggest a change that could explain this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1737704/+subscriptions