← 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.5-0ubuntu1.10

---------------
cloud-init (0.7.5-0ubuntu1.10) trusty; urgency=medium

  [ Daniel Watkins ]
  * d/patches/lp-1490796-azure-fix-mount_cb-for-symlinks.patch:
      - Fix a regression caused by switching to /dev/disk symlinks
        (LP: #1490796).

 -- Ben Howard <ben.howard@xxxxxxxxxx>  Wed, 02 Sep 2015 10:57:30 -0600

** Changed in: cloud-init (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

** Changed in: cloud-init (Ubuntu Vivid)
       Status: Fix Committed => 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:
  Fix Released
Status in cloud-init source package in Vivid:
  Fix Released
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