FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 02-08-2009, 01:21 AM
Stefan Undorf
 
Default Problems with using KVM/python-vm-builder on Intrepid

Hi,

I am a complete newbee to KVM. I followed the guide
https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to
crete a virtual server machine of JeOS. I specified the follwing commands
sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid
--flavour virtual --arch i386 -o --libvirt qemu:///system --user test
--name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip
33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast
83.218.221.15 --gw 70.26.22.15 --tmpfs -
and I get a directory test with a file disk0.qcow2.

Now I do not know how to proceed. In the directory is exists no shell
script like some tutorials state, so I tried
virsh -c qemu:///system start test and virsh -c qemu:///system start
test/disk0.qcow2 but get an error:
Connecting to uri: qemu:///system
libvir: QEMU error : Domain not found
error: failed to get domain 'test'

1. Do I have created a VM? I am not really sure about this.
2. How can VMs be started?
3. Does anybody know what the --domain parameter of vmbuilder is? What
kind of domain is this?
4. I do not understand the difference between the --ip and --net
parameters of vmbuilder. Is there a difference?

Stefan




--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 02-09-2009, 05:16 PM
Dan Sheffner
 
Default Problems with using KVM/python-vm-builder on Intrepid

can you just do:

virsh -c qemu:///system

and does that connect to the console? If it doesn't you may be missing some packages.



----- Original Message ----
From: Stefan Undorf <stefan@suncom.com.py>
To: ubuntu-server@lists.ubuntu.com
Sent: Saturday, February 7, 2009 8:21:09 PM
Subject: Problems with using KVM/python-vm-builder on Intrepid

Hi,

I am a complete newbee to KVM. I followed the guide
https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to
crete a virtual server machine of JeOS. I specified the follwing commands
sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid
--flavour virtual --arch i386 -o --libvirt qemu:///system --user test
--name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip
33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast
83.218.221.15 --gw 70.26.22.15 --tmpfs -
and I get a directory test with a file disk0.qcow2.

Now I do not know how to proceed. In the directory is exists no shell
script like some tutorials state, so I tried
virsh -c qemu:///system start test and virsh -c qemu:///system start
test/disk0.qcow2 but get an error:
Connecting to uri: qemu:///system
libvir: QEMU error : Domain not found
error: failed to get domain 'test'

1. Do I have created a VM? I am not really sure about this.
2. How can VMs be started?
3. Does anybody know what the --domain parameter of vmbuilder is? What
kind of domain is this?
4. I do not understand the difference between the --ip and --net
parameters of vmbuilder. Is there a difference?

Stefan




--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam





--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 02-09-2009, 07:30 PM
Stefan Undorf
 
Default Problems with using KVM/python-vm-builder on Intrepid

yes, this connects me to the console without any problems

Dan Sheffner schrieb:
> can you just do:
>
> virsh -c qemu:///system
>
> and does that connect to the console? If it doesn't you may be missing some packages.
>
>
>
> ----- Original Message ----
> From: Stefan Undorf <stefan@suncom.com.py>
> To: ubuntu-server@lists.ubuntu.com
> Sent: Saturday, February 7, 2009 8:21:09 PM
> Subject: Problems with using KVM/python-vm-builder on Intrepid
>
> Hi,
>
> I am a complete newbee to KVM. I followed the guide
> https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html to
> crete a virtual server machine of JeOS. I specified the follwing commands
> sudo vmbuilder kvm ubuntu --domain test --dest test --suite intrepid
> --flavour virtual --arch i386 -o --libvirt qemu:///system --user test
> --name Test --pass test --firstboot boot.sh --firstlogin login.sh --ip
> 33.138.211.14 --mask 255.255.255.248 --net 82.139.124.14 --bcast
> 83.218.221.15 --gw 70.26.22.15 --tmpfs -
> and I get a directory test with a file disk0.qcow2.
>
> Now I do not know how to proceed. In the directory is exists no shell
> script like some tutorials state, so I tried
> virsh -c qemu:///system start test and virsh -c qemu:///system start
> test/disk0.qcow2 but get an error:
> Connecting to uri: qemu:///system
> libvir: QEMU error : Domain not found
> error: failed to get domain 'test'
>
> 1. Do I have created a VM? I am not really sure about this.
> 2. How can VMs be started?
> 3. Does anybody know what the --domain parameter of vmbuilder is? What
> kind of domain is this?
> 4. I do not understand the difference between the --ip and --net
> parameters of vmbuilder. Is there a difference?
>
> Stefan
>
>
>
>
>

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 10:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org