← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1514407] Re: NoCloud provider fails with empty ds_cfg

 

This bug was fixed in the package cloud-init - 0.7.7~bzr1200-0ubuntu1

---------------
cloud-init (0.7.7~bzr1200-0ubuntu1) xenial; urgency=medium

  * New upstream snapshot.
    - fix adding of users when no group is specified (LP: #1562918)
    - fix write_files with compressed content (LP: #1565638)
    - systemd: do not specify After of obsolete syslog.target (LP: #1536964)
    - chef: fix chef installation from gems (LP: #1553345)
    - disk_setup: correctly send force to mkfs on block devices (LP: #1548772)
    - locale: list unsupported environment settings in warning (LP: #1558069)
    - fix NoCloud and other datasources if no datasource config (LP: #1514407)

 -- Scott Moser <smoser@xxxxxxxxxx>  Wed, 06 Apr 2016 13:07:27 -0400

** Changed in: cloud-init (Ubuntu)
       Status: Confirmed => 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/1514407

Title:
  NoCloud provider fails with empty ds_cfg

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

Bug description:
  get_data() accesses ds_cfg which can be None. Make sure it is at least
  an empty dict (as in the Openstack data source). Attached patch fixes
  this as does the branch at:

      https://code.launchpad.net/~agx/cloud-init/nocloud

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


References