[Openstack] How to create OpenStack debian wheezy image?

Roman Gorodeckij holms at holms.lt
Sat Aug 24 16:18:51 UTC 2013


I'm slightly confused with image creating. My intension is to make it work with cloud-init.

From this blog, you can see that there's 3 packages needed to make distro function correctly under OpenStack control.

These packages appears to be only exists in: sid, jessy and wheezy-backports repos.

I had no luck with wheezy-backports due to dependency version conflict.
not intended to go with unstable.

there's no package called "cloud-tools" in jessy only "cloud-init" and "cloud-initiramfs-growroot" are in there.
So i've installed those two, added image to glance, started instance, and I've got this error in loop..

ur_helper.py[WARNING]: Calling '' failed [24/120s]: request error [HTTPConnectionPool(host='', port=80): Max tretries exceeded with url: //latest/meta-data/instance-id (Caused by <class 'socket.error'>: [Errno 101] Network is unreachable)]

After some time it quits the loop and i'm able to loging, eth0 shows no ip address, only ipv6.. 

I've on grizzly, with help of RDO, on centos distro.

Network interfaces on host:

[root at gvb ~(keystone_admin)]# ifconfig | grep addr
br100     Link encap:Ethernet  HWaddr FE:16:3E:CB:86:3C
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::e81d:20ff:fe7b:539e/64 Scope:Link
eth0      Link encap:Ethernet  HWaddr 00:26:55:1A:B6:8C
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::226:55ff:fe1a:b68c/64 Scope:Link
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
virbr0    Link encap:Ethernet  HWaddr 52:54:00:2D:74:00
          inet addr:  Bcast:  Mask:
vnet0     Link encap:Ethernet  HWaddr FE:16:3E:CB:86:3C
          inet6 addr: fe80::fc16:3eff:fecb:863c/64 Scope:Link

My purpose that openstack would be able to resize instance partition, when specifying flavor during first boot.

Roman Gorodeckij
Unix Engineer
holms at holms.lt

More information about the Openstack mailing list