← Back to team overview

openstack team mailing list archive

Re: Help with VMs

 


Hi Lloyd 

Many thanks for the tips. Been a great help. Been trying a few things out.

I'm running Ubuntu 12.4 with OpenStack.

Created a FreeBSD 9.0 image that works for KVM. i.e.
kvm-img create -f raw freebsd3.img 10G

kvm -m 512 -hda freebsd3.img  -cdrom FreeBSD-9.0-RELEASE-amd64-disc1.iso -boot d

This boots ok.  kvm -m 2048 -hda freeBSD.img -boot c  
(note: did not use virtio mods. Assumed these were just optimized NIC/SCSI drivers. Which I can live without for the time being)


Tried to import this freeBSD image into open stack
i.e. glance add name="freeBSD1" is_public=true disk_format=raw container_format=bare < freeBSD.img

Can't see any console output from openstack when this instance is started. No entries in console.log.

Just wondering if I going about this the right way? 


Harvey



________________________________
 From: Lloyd Dewolf <lloydostack@xxxxxxxxx>
To: Harvey West <harvey.west@xxxxxxxxxxxxxx> 
Cc: "openstack@xxxxxxxxxxxxxxxxxxx" <openstack@xxxxxxxxxxxxxxxxxxx> 
Sent: Tuesday, 5 February 2013, 19:12
Subject: Re: [Openstack] Help with VMs
 

On Tue, Feb 5, 2013 at 10:19 AM, Harvey West <harvey.west@xxxxxxxxxxxxxx> wrote:

Not used openstack or this email forum before.
>
>
>Have installed openstack on unbuntu 12.4.1 LTS. Seems to work with the default unbuntu VM image.
>
>
>How do I create a new image. I would to create a FreeBSS VM instance. Is this possible?

Hi Harvey,


I have not created any BSD images, but as is no surprise it is fully supported by KVM, http://www.linux-kvm.org/page/Guest_Support_Status ;

My searching for "bsd guest kvm" returns a lot of encouraging results, and the content should generally be applicable.

http://cssoss.wordpress.com/2011/11/28/bundling-freebsd-image-for-openstack/ still looks good, though you'll want to use the native image API (glance client) for uploading the image.



Hope that helps,
--
@lloyddewolf
http://www.pistoncloud.com/ 

Follow ups

References