This bug prevents me from using NoCloud datasource with http://cloud-
images.ubuntu.com/xenial/current/xenial-server-cloudimg-
amd64-disk1.vhd.zip and Hyper-V on Windows Server 2012r2.

Cloud-init will not load settings from nocloud.iso attached to vm unless
I delete /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg file.


Snippet from the logs:

Before removing:

2018-01-17 00:43:43,241 - __init__.py[DEBUG]: Looking for for data source in: 
['Azure'], via packages ['', 'cloudinit.sources'] that matches dependencies 
['FILESYSTEM']
2018-01-17 00:43:43,297 - __init__.py[DEBUG]: Searching for local data source 
in: ['DataSourceAzure']
2018-01-17 00:43:44,481 - __init__.py[DEBUG]: Looking for for data source in: 
['Azure'], via packages ['', 'cloudinit.sources'] that matches dependencies 
['FILESYSTEM', 'NETWORK']
2018-01-17 00:43:44,503 - __init__.py[DEBUG]: Searching for network data source 
in: []
cloudinit.sources.DataSourceNotFoundException: Did not find any data source, 
searched classes: ()


After removing the file:

2018-01-17 01:03:02,335 - __init__.py[DEBUG]: Looking for for data source in: 
['NoCloud', 'ConfigDrive', 'OpenNebula', 'DigitalOcean', 'Azure', 'AltCloud', 
'OVF', 'MAAS', 'GCE', 'OpenStack', 'CloudSigma', 'SmartOS', 'Bigstep', 
'Scaleway',
'AliYun', 'Ec2', 'CloudStack', 'None'], via packages ['', 'cloudinit.sources'] 
that matches dependencies ['FILESYSTEM']
2018-01-17 01:03:02,480 - __init__.py[DEBUG]: Searching for local data source 
in: ['DataSourceNoCloud', 'DataSourceConfigDrive', 'DataSourceOpenNebula', 
'DataSourceDigitalOcean', 'DataSourceAzure', 'DataSourceOVF', 
'DataSourceCloudSigma',
'DataSourceSmartOS', 'DataSourceEc2Local']

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1700769

Title:
  should not provide /etc/cloud/cloud.cfg.d/91_walinuxagent.cfg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1700769/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to