[Bug 1269626] Re: cloud-init uses incorrect GUID for instance ID
Ben Howard
ben.howard at canonical.com
Wed Jan 15 22:39:50 UTC 2014
Log snip showing end of first boot and second boot.
fig_power_state_change - wb: [420] 20 bytes
Jan 15 20:09:31 utl-0115-lp1268050 [CLOUDINIT] helpers.py[DEBUG]: Running config-power-state-change using lock (<FileLock using file '/var/
lib/cloud/instances/9becc63a498847de99d6961c7ae0a95f/sem/config_power_state_change'>)
Jan 15 20:09:31 utl-0115-lp1268050 [CLOUDINIT] cc_power_state_change.py[DEBUG]: no power_state provided. doing nothing
Jan 15 20:09:31 utl-0115-lp1268050 [CLOUDINIT] cloud-init[DEBUG]: Ran 10 modules with 0 failures
Jan 15 20:09:31 utl-0115-lp1268050 [CLOUDINIT] util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
Jan 15 20:09:31 utl-0115-lp1268050 [CLOUDINIT] util.py[DEBUG]: Read 11 bytes from /proc/uptime
Jan 15 20:09:31 utl-0115-lp1268050 [CLOUDINIT] util.py[DEBUG]: cloud-init mode 'modules' took 0.407 seconds (0.41)
2014-01-15 21:52:19,552 - util.py[DEBUG]: Cloud-init v. 0.7.5 running 'init-local' at Wed, 15 Jan 2014 21:52:19 +0000. Up 22.39 seconds.
2014-01-15 21:52:19,668 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [420] 0 bytes
2014-01-15 21:52:19,669 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 101:4
2014-01-15 21:52:19,669 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished
2014-01-15 21:52:19,670 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance
2014-01-15 21:52:19,670 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net
2014-01-15 21:52:19,670 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False)
2014-01-15 21:52:19,672 - importer.py[DEBUG]: Looking for modules ['ubuntu', 'cloudinit.distros.ubuntu'] that have attributes ['Distro']
2014-01-15 21:52:19,672 - importer.py[DEBUG]: Failed at attempted import of 'ubuntu' due to: No module named ubuntu
2014-01-15 21:52:19,720 - importer.py[DEBUG]: Found ubuntu with attributes ['Distro'] in ['cloudinit.distros.ubuntu']
2014-01-15 21:52:19,721 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.ubuntu.Distro'>
2014-01-15 21:52:19,721 - __init__.py[DEBUG]: Looking for for data source in: ['Azure'], via packages ['', 'cloudinit.sources'] that matche
s dependencies ['FILESYSTEM']
2014-01-15 21:52:19,721 - importer.py[DEBUG]: Looking for modules ['DataSourceAzure', 'cloudinit.sources.DataSourceAzure'] that have attrib
utes ['get_datasource_list']
2014-01-15 21:52:19,721 - importer.py[DEBUG]: Failed at attempted import of 'DataSourceAzure' due to: No module named DataSourceAzure
2014-01-15 21:52:19,965 - importer.py[DEBUG]: Found DataSourceAzure with attributes ['get_datasource_list'] in ['cloudinit.sources.DataSour
ceAzure']
2014-01-15 21:52:19,965 - __init__.py[DEBUG]: Searching for data source in: []
2014-01-15 21:52:19,965 - cloud-init[DEBUG]: No local datasource found
2014-01-15 21:52:19,966 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False)
2014-01-15 21:52:19,966 - util.py[DEBUG]: Read 11 bytes from /proc/uptime
2014-01-15 21:52:19,966 - util.py[DEBUG]: cloud-init mode 'init' took 0.594 seconds (0.59)
** Description changed:
Upon 'capturing' a Ubuntu VM on Windows Azure, instances do not come up.
- This is caused by Azure re-using the wrong GUID.
+ It appears that the cause is that Cloud-init is not looking at any
+ datasources.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cloud-init 0.7.5~bzr902-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-2.17-generic 3.13.0-rc7
Uname: Linux 3.13.0-2-generic x86_64
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
Date: Wed Jan 15 22:29:49 2014
PackageArchitecture: all
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
** Summary changed:
- cloud-init uses incorrect GUID for instance ID
+ cloud-init Azure Datasource does not detect new instance
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1269626
Title:
cloud-init Azure Datasource does not detect new instance
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1269626/+subscriptions
More information about the Ubuntu-server-bugs
mailing list