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

Launchpad Bug Tracker 1398997 at bugs.launchpad.net
Mon Jul 27 20:57:48 UTC 2015


** Branch linked: lp:ubuntu/cloud-init

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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



More information about the Ubuntu-sponsors mailing list