← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1398997] Re: cloud-init does not have the SmartOS data source as a configuration option

 

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

---------------
cloud-init (0.7.7~bzr1127-0ubuntu1) wily; urgency=medium

  [ Scott Moser ]
  * d/README.source, debian/cherry-pick-rev: improve packaging tool

  [ Daniel Watkins ]
  * d/cloud-init.templates: Include SmartOS data source in the default list
    and choices. (LP: #1398997)

  [ Scott Moser ]
  * New upstream snapshot.
    * check for systemd using sd_booted symantics (LP: #1461201)
    * fix importing of gpg keys in python3 (LP: #1463373)
    * fix specification of devices to growpart (LP: #1465436)
    * reliably detect and use Azure disks using udev rules (LP: #1411582)
    * support selection of Ubuntu mirrors on GCE (LP: #1470890)
    * ssh: generate ed25519 host keys if supported (LP: #1461242)
    * test fixes and cleanups
    * fix reading of availability-zone on GCE (LP: #1470880)
    * fix cloudsigma datasource with python3 (LP: #1475215)
    * fix rightscale user-data
    * fix consumption of CloudStack passwords on newer CloudStack platforms
      (LP: #1440263, #1464253)

 -- Scott Moser <smoser@xxxxxxxxxx>  Wed, 22 Jul 2015 17:06:18 -0400

** Changed in: cloud-init (Ubuntu Wily)
       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/1398997

Title:
  cloud-init does not have the SmartOS data source as a configuration
  option

Status in cloud-init:
  New
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Trusty:
  Confirmed
Status in cloud-init source package in Vivid:
  Confirmed
Status in cloud-init source package in Wily:
  Fix Released

Bug description:
  The generic Ubuntu "*-server-cloudimg-amd64-disk1.img" images
  available here...

    http://cloud-images.ubuntu.com/utopic/current/

  ... do not work on a SmartOS hypervisor: they try to detect a
  datasource, but ultimately fail.  It appears that this is because the
  "SmartOS" datasource is not in the list of datasources to try.  This
  appears to be an oversight, as the "cloud-init" project source
  includes a fallback configuration for when no configuration is
  provided by the image:

  -----------------------------------
  - cloudinit/settings.py
  -----------------------------------
  CFG_BUILTIN = {
      'datasource_list': [
          'NoCloud',
          'ConfigDrive',
          'OpenNebula',
          'Azure',
          'AltCloud',
          'OVF',
          'MAAS',
          'GCE',
          'OpenStack',
          'Ec2',
          'CloudSigma',
          'CloudStack',
          'SmartOS',
          # At the end to act as a 'catch' when none of the above work...
          'None',
      ],
  ...
  -----------------------------------

  This list seems to be overridden in the generic images as shipped on
  ubuntu.com:

  -----------------------------------
  - etc/cloud/cloud.cfg.d/90_dpkg.cfg
  -----------------------------------
  # to update this file, run dpkg-reconfigure cloud-init
  datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud,OVF, MAAS, GCE, OpenStack, CloudSigma, Ec2, CloudStack, None ]
  -----------------------------------

  SmartOS is the only datasource type that appears in the default
  CFG_BUILTIN list but is missing from the overridden list as shipped in
  the images.  Can this list please be updated for at least the 14.04
  and 14.10 generic cloud images to include SmartOS?

  Thanks.

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