You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launchpad user Scott Moser(smoser) wrote on 2013-06-13T01:19:48.145190+00:00
The place this was noticed was in trying to use the 'nova.clouds.archive.ubuntu.com' mirror selection.
Because the config-drive-v2 has a metadata entry of 'availability_zone', it didn't get found by the availabilty_zone property in cloudinit/sources/init.py
This bug was originally filed in Launchpad as LP: #1190431
Launchpad details
Launchpad user Scott Moser(smoser) wrote on 2013-06-13T01:19:48.145190+00:00
The place this was noticed was in trying to use the 'nova.clouds.archive.ubuntu.com' mirror selection.
Because the config-drive-v2 has a metadata entry of 'availability_zone', it didn't get found by the availabilty_zone property in cloudinit/sources/init.py
Simple patch is:
--- /usr/share/pyshared/cloudinit/sources/init.py.dist 2013-06-13 01:08:47.806938999 +0000
+++ /usr/share/pyshared/cloudinit/sources/init.py 2013-06-13 01:08:58.678938999 +0000
@@ -135,7 +135,8 @@
def get_instance_id(self):
if not self.metadata or 'instance-id' not in self.metadata:
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: cloud-init 0.7.2~bzr809-0ubuntu1 [modified: usr/share/pyshared/cloudinit/distros/init.py usr/share/pyshared/cloudinit/sources/init.py]
ProcVersionSignature: User Name 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Thu Jun 13 01:09:48 2013
Ec2AMI: ami-00000008
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)
The text was updated successfully, but these errors were encountered: