Ask Your Question

Using an OpenBSD image

asked 2014-07-09 14:40:01 -0500

murad gravatar image

updated 2014-07-09 14:41:47 -0500

Hello, Is it possible to use OpenBSD images in OpenStack? I only see the following in the guide: CirrOS (test) images Official Ubuntu images Official Red Hat Enterprise Linux images Official Fedora images Official openSUSE and SLES images Rackspace Cloud Builders (multiple distros) images

I created an OpenBSD image through virt-manager and resulted image has the follwing format: root@terabit-server-6:/var/lib/libvirt/images# file vm1-OpenBSD.img vm1-OpenBSD.img: x86 boot sector; partition 4: ID=0xa6, active, starthead 1, startsector 64, 8385866 sectors, code offset 0x5

I changed its format to qcow2 using: qemu-img convert -O qcow2 vm1-OpenBSD.img vm1-OpenBSD-qcow.img

And the new image has the following format vm1-OpenBSD-qcow.img: QEMU QCOW Image (v2), 4294967296 bytes

Then I followed these instructions to add the image to OpenStack glance (

I can launch the VM but its network interfaces showed as not configured. There is no vm log can be seen though nova log-console vm1 So I am not sure where to look or if I am doing somwthing wrong with creating and launchung OpenBSD vms.

P.S I can create VMs using other images such as Ubuntu and CentOS and they can get their IPs with no problems.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-11 13:45:54 -0500

murad gravatar image

I found out the problem. OpenStack create an interface vio0 in the VM but for some reason it is not creating its file /etc/hostname.vio0.

I manually created this file in the image (even that the interface was not configured yet) and wrote dhcp in it. When I launched the VM again, it was able to use it and pick its IP from neutron dhcp server.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-07-09 14:40:01 -0500

Seen: 1,105 times

Last updated: Jul 11 '14