[Bug 942695] [NEW] cloud-init local data source broken

Scott Moser smoser at ubuntu.com
Tue Feb 28 15:44:18 UTC 2012

Public bug reported:

The following should result in valid local data source:
sudo sh -c 'd=/var/lib/cloud/seed/nocloud; 
   mkdir -p $d;
   printf "%s\n%s\n" "#!/bin/sh" "echo hi world" > $d/user-data; 
   printf "%s\n%s\n" "instance-id: i-foo" "local-hostname: foo-hostname" > $d/meta-data;'

but currently in cloud-init that is  broken (due to adding the network
interfaces code).

Also broken, but should work:

sudo DEBUG_PROC_CMDLINE="BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-virtual root=LABEL=cloudimg-rootfs ro console=ttyS0 ds=nocloud;h=foo;i=i-abc" cloud-init start-local

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cloud-init 0.6.3~bzr527-0ubuntu1
ProcVersionSignature: User Name 3.2.0-17.27-virtual 3.2.6
Uname: Linux 3.2.0-17-virtual x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Tue Feb 28 15:38:42 2012
Ec2AMI: ami-00000000
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
 PATH=(custom, user)
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug ec2-images precise

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.

  cloud-init local data source broken

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list