Public bug reported: Hi there. I'm trying to configure a 11.04 KVM instance using nocloud- net and it sometimes works, sometimes not.
I have configured kernel args of init=/usr/lib/cloud-init/uncloud-init ds=nocloud-net;s=http://192.168.122.1/;h=blah and have a user-data and meta-data file at the address above. Most of the time things work and the VM starts up properly. Some time, usually the very first boot of the VM, I get "get_data of DataSourceNoCloudNet raised <urlopen error [Errno 101] Network is unreachable> and cloud-init falls through to (non-existent) DataSourceEc2. A power down and power up again usually fixes this. This looks like a race, though I can't figure exactly how the upstart jobs run. init: plymouth-splash main process (276) terminated with status 2 cloud-init start-local running: Tue, 19 Jul 2011 01:27:10 +0000. up 9.83 seconds no instance data found in start-local init: cloud-init-local main process (242) terminated with status 1 cloud-init start running: Tue, 19 Jul 2011 01:27:10 +0000. up 10.12 seconds 2011-08-19 01:27:10,371 - __init__.py[WARNING]: get_data of DataSourcenoCloudNet raised <urlopenerror [Errno 101] Network is unreachable> 2011-07-19 01:27:10,415 - DataSourceEc2.py[WARNING]: waiting for metadata service at http://169.254.159.254/2009-04-04/meta-data/instance-id .... A successful boot looks like this: init: plymouth-splash main process (339) terminated with status 2 cloud-init start running: Tue, 19 Jul 2011 02:00:56 +0000. up 2.50 seconds found data source: DataSourceNoCloud [seed=cmdline,http://192.168.122.1/] .... ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: cloud-init (not installed) ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7 Uname: Linux 2.6.38-10-generic x86_64 Architecture: amd64 Date: Tue Jul 19 11:52:48 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1) ProcEnviron: LANGUAGE=en_AU:en PATH=(custom, user) LANG=en_AU.UTF-8 SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: Upgraded to natty on 2011-05-18 (61 days ago) ** Affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug natty running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/812646 Title: Race in DataSourceNoCloudNet with kvm To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/812646/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
