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

Launchpad Bug Tracker 1398997 at bugs.launchpad.net
Mon Apr 20 16:22:50 UTC 2015


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

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.

** Affects: cloud-init (Ubuntu)
     Importance: Medium
         Status: Confirmed

** Affects: cloud-init (Ubuntu Trusty)
     Importance: Medium
         Status: Confirmed

** Affects: cloud-init (Ubuntu Vivid)
     Importance: Medium
         Status: Confirmed

** Affects: cloud-init (Ubuntu W-series)
     Importance: Medium
     Assignee: Dan Watkins (daniel-thewatkins)
         Status: Confirmed


** Tags: bot-comment patch
-- 
cloud-init does not have the SmartOS data source as a configuration option
https://bugs.launchpad.net/bugs/1398997
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list