[Openstack] Creating a virtual machine using virsh commands
Narayanan, Krishnaprasad
narayana at uni-mainz.de
Wed Oct 23 17:32:11 UTC 2013
Hallo Haitao,
I am aware that creating VMs using virsh will not be recognized by Nova.
I am working with Ubuntu 12.04. I did the dumpxml of an existing VM and used the same xml for creating a new guest. But it throwed me an error. In the XML file, I am interested to know which key value pairs are to be used and which are to be deleted?
Thanks,
Krishnaprasad
From: Haitao Jiang [mailto:jianghaitao at gmail.com]
Sent: Mittwoch, 23. Oktober 2013 19:17
To: Narayanan, Krishnaprasad
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Creating a virtual machine using virsh commands
Krishnaprasad
You do realize that creating VM using virsh will not be recognized by the Nova, right?
Which OS you are working with? If you use Ubuntu, you can use vm-builder. If you use CentOS, you can use virt-install. I had success stories with both.
If you have Nova running with some VMs, you can get an example of XML by doing
virsh list to list all VMs and then virsh dumpxml <vm>.
Haitao
On Wed, Oct 23, 2013 at 9:17 AM, Narayanan, Krishnaprasad <narayana at uni-mainz.de<mailto:narayana at uni-mainz.de>> wrote:
Hallo all,
I am trying to create a virtual machine using a XML file using libvirt. But I am getting an error during this creation process.
I am using the virsh commands in order to perform this action. Can somebody pass me an example XML file and also describe the steps for connecting to the VM?
Thanks,
Krishnaprasad
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131023/95f41187/attachment.html>
More information about the Openstack
mailing list