[Openstack] Nova instance and cloud-init

Lillie Ross-CDSR11 Ross.Lillie at motorolasolutions.com
Wed Feb 29 00:47:21 UTC 2012


All,

I've built a custom image according to the various directions available in the nova docs.  The instance is loaded into glance and boots fine.  When building the image, openssh-server and cloud-init packages are installed.  So far so good.

However, when I start the image, cloud-init does not 'see' the EC2 datasource (i.e. the meta-data server), and reports back that it's only looking for the NoCloudNet and SourceOVFNet datasources when running in the 'cloud-init start' phase (versus start-local).  When I check the '/var/lib/cloud' directory, cloud-init is not setting up the instance link or populating the instance subdirectory under /var/lib/cloud/instances.

I'm able to connect to the meta-data service with no problem when logged into the running instance.  Obviously there's something I'm missing when configuring my custom image and installing the cloud-init package.  UEC images execute flawlessly (downloaded from Ubuntu).  

I feel like a broken record.  What am I missing?  Any pointers would be appreciated.

Regards,
ross








More information about the Openstack mailing list