Discussion:
[one-users] Failed to create domain
kenneth
2013-08-07 01:39:40 UTC
Permalink
Hi all,

I have been trying ceph (running smoothly) and opennebula
(not quite running) and here is my setup.
The front end is cloud-node1
and the ceph front-end is the cloud-node2.
The front end is the KVM
sanbox download from the opennebula website. I have manage to add
cloud-node2 as a host, Status is ON.

Also, I have created a ceph
datastore where the host is cloud-node2.
[oneadmin at cloud-node1 images]$
onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0
system - - - 0 sys - shared
1 default 9.7G 69% - 3 img fs shared
2
files 9.7G 69% - 0 fil fs ssh
102 cephds 5.5T 62% - 1 img ceph ceph
Now
I downloaded an image from the marketplace and tried to fire up a VM.
Here is the log. I can't seem to find out where to start fixing this.
Any help?

Wed Aug 7 03:12:22 2013 [DiM][I]: New VM state is ACTIVE.
Wed
Aug 7 03:12:22 2013 [LCM][I]: New VM state is PROLOG.
Wed Aug 7 03:12:52
2013 [LCM][I]: New VM state is BOOT
Wed Aug 7 03:12:52 2013 [VMM][I]:
Generating deployment file: /var/lib/one/vms/12/deployment.0
Wed Aug 7
03:12:53 2013 [VMM][I]: ExitCode: 0
Wed Aug 7 03:12:53 2013 [VMM][I]:
Successfully execute network driver operation: pre.
Wed Aug 7 03:12:53
2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/12/deployment.0'
'cloud-node2' 12 cloud-node2
Wed Aug 7 03:12:53 2013 [VMM][I]: error:
Failed to create domain from
/var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013
[VMM][I]: error: Cannot find QEMU binary /usr/share/qemu-kvm: Is a
directory
Wed Aug 7 03:12:53 2013 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013
[VMM][I]: ExitCode: 255
Wed Aug 7 03:12:53 2013 [VMM][I]: Failed to
execute virtualization driver operation: deploy.
Wed Aug 7 03:12:53 2013
[VMM][E]: Error deploying virtual machine: Could not create domain from
/var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013
[DiM][I]: New VM state is FAILED

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130807/ef755a8c/attachment.htm>
Bill Campbell
2013-08-07 12:44:35 UTC
Permalink
Kenneth,
Maybe a little more information about your setup/configuration: Do you
have the QEMU/KVM and libvirt binaries installed on the Host 2? I'm
thinking the scheduler is trying to deploy to this host (if you don't
intend on using Host 2 for running virtual instances then you can remove
it from your OpenNebula configuration).

-----Original Message-----
From: kenneth at apolloglobal.net
To: Users at lists.opennebula.org
Subject: [one-users] Failed to create domain
Date: Wed, 07 Aug 2013 09:39:40 +0800



Hi all,


I have been trying ceph (running smoothly) and opennebula (not quite
running) and here is my setup.
The front end is cloud-node1 and the ceph front-end is the cloud-node2.
The front end is the KVM sanbox download from the opennebula website. I
have manage to add cloud-node2 as a host, Status is ON.


Also, I have created a ceph datastore where the host is cloud-node2.
[oneadmin at cloud-node1 images]$ onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS
TM
0 system - - - 0 sys -
shared
1 default 9.7G 69% - 3 img fs
shared
2 files 9.7G 69% - 0 fil fs
ssh
102 cephds 5.5T 62% - 1 img ceph
ceph
Now I downloaded an image from the marketplace and tried to fire up a
VM. Here is the log. I can't seem to find out where to start fixing
this. Any help?


Wed Aug 7 03:12:22 2013 [DiM][I]: New VM state is ACTIVE.
Wed Aug 7 03:12:22 2013 [LCM][I]: New VM state is PROLOG.
Wed Aug 7 03:12:52 2013 [LCM][I]: New VM state is BOOT
Wed Aug 7 03:12:52 2013 [VMM][I]: Generating deployment
file: /var/lib/one/vms/12/deployment.0
Wed Aug 7 03:12:53 2013 [VMM][I]: ExitCode: 0
Wed Aug 7 03:12:53 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Aug 7 03:12:53 2013 [VMM][I]: Command execution fail: cat << EOT
| /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/12/deployment.0' 'cloud-node2' 12
cloud-node2
Wed Aug 7 03:12:53 2013 [VMM][I]: error: Failed to create domain
from /var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013 [VMM][I]: error: Cannot find QEMU
binary /usr/share/qemu-kvm: Is a directory
Wed Aug 7 03:12:53 2013 [VMM][E]: Could not create domain
from /var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013 [VMM][I]: ExitCode: 255
Wed Aug 7 03:12:53 2013 [VMM][I]: Failed to execute virtualization
driver operation: deploy.
Wed Aug 7 03:12:53 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013 [DiM][I]: New VM state is FAILED


_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130807/194cf5be/attachment.htm>
kenneth
2013-08-07 01:39:40 UTC
Permalink
Hi all,

I have been trying ceph (running smoothly) and opennebula
(not quite running) and here is my setup.
The front end is cloud-node1
and the ceph front-end is the cloud-node2.
The front end is the KVM
sanbox download from the opennebula website. I have manage to add
cloud-node2 as a host, Status is ON.

Also, I have created a ceph
datastore where the host is cloud-node2.
[oneadmin at cloud-node1 images]$
onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0
system - - - 0 sys - shared
1 default 9.7G 69% - 3 img fs shared
2
files 9.7G 69% - 0 fil fs ssh
102 cephds 5.5T 62% - 1 img ceph ceph
Now
I downloaded an image from the marketplace and tried to fire up a VM.
Here is the log. I can't seem to find out where to start fixing this.
Any help?

Wed Aug 7 03:12:22 2013 [DiM][I]: New VM state is ACTIVE.
Wed
Aug 7 03:12:22 2013 [LCM][I]: New VM state is PROLOG.
Wed Aug 7 03:12:52
2013 [LCM][I]: New VM state is BOOT
Wed Aug 7 03:12:52 2013 [VMM][I]:
Generating deployment file: /var/lib/one/vms/12/deployment.0
Wed Aug 7
03:12:53 2013 [VMM][I]: ExitCode: 0
Wed Aug 7 03:12:53 2013 [VMM][I]:
Successfully execute network driver operation: pre.
Wed Aug 7 03:12:53
2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/12/deployment.0'
'cloud-node2' 12 cloud-node2
Wed Aug 7 03:12:53 2013 [VMM][I]: error:
Failed to create domain from
/var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013
[VMM][I]: error: Cannot find QEMU binary /usr/share/qemu-kvm: Is a
directory
Wed Aug 7 03:12:53 2013 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013
[VMM][I]: ExitCode: 255
Wed Aug 7 03:12:53 2013 [VMM][I]: Failed to
execute virtualization driver operation: deploy.
Wed Aug 7 03:12:53 2013
[VMM][E]: Error deploying virtual machine: Could not create domain from
/var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013
[DiM][I]: New VM state is FAILED

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130807/ef755a8c/attachment-0002.htm>
Bill Campbell
2013-08-07 12:44:35 UTC
Permalink
Kenneth,
Maybe a little more information about your setup/configuration: Do you
have the QEMU/KVM and libvirt binaries installed on the Host 2? I'm
thinking the scheduler is trying to deploy to this host (if you don't
intend on using Host 2 for running virtual instances then you can remove
it from your OpenNebula configuration).

-----Original Message-----
From: kenneth at apolloglobal.net
To: Users at lists.opennebula.org
Subject: [one-users] Failed to create domain
Date: Wed, 07 Aug 2013 09:39:40 +0800



Hi all,


I have been trying ceph (running smoothly) and opennebula (not quite
running) and here is my setup.
The front end is cloud-node1 and the ceph front-end is the cloud-node2.
The front end is the KVM sanbox download from the opennebula website. I
have manage to add cloud-node2 as a host, Status is ON.


Also, I have created a ceph datastore where the host is cloud-node2.
[oneadmin at cloud-node1 images]$ onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS
TM
0 system - - - 0 sys -
shared
1 default 9.7G 69% - 3 img fs
shared
2 files 9.7G 69% - 0 fil fs
ssh
102 cephds 5.5T 62% - 1 img ceph
ceph
Now I downloaded an image from the marketplace and tried to fire up a
VM. Here is the log. I can't seem to find out where to start fixing
this. Any help?


Wed Aug 7 03:12:22 2013 [DiM][I]: New VM state is ACTIVE.
Wed Aug 7 03:12:22 2013 [LCM][I]: New VM state is PROLOG.
Wed Aug 7 03:12:52 2013 [LCM][I]: New VM state is BOOT
Wed Aug 7 03:12:52 2013 [VMM][I]: Generating deployment
file: /var/lib/one/vms/12/deployment.0
Wed Aug 7 03:12:53 2013 [VMM][I]: ExitCode: 0
Wed Aug 7 03:12:53 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Wed Aug 7 03:12:53 2013 [VMM][I]: Command execution fail: cat << EOT
| /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/12/deployment.0' 'cloud-node2' 12
cloud-node2
Wed Aug 7 03:12:53 2013 [VMM][I]: error: Failed to create domain
from /var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013 [VMM][I]: error: Cannot find QEMU
binary /usr/share/qemu-kvm: Is a directory
Wed Aug 7 03:12:53 2013 [VMM][E]: Could not create domain
from /var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013 [VMM][I]: ExitCode: 255
Wed Aug 7 03:12:53 2013 [VMM][I]: Failed to execute virtualization
driver operation: deploy.
Wed Aug 7 03:12:53 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one//datastores/0/12/deployment.0
Wed Aug 7 03:12:53 2013 [DiM][I]: New VM state is FAILED


_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130807/194cf5be/attachment-0002.htm>
Continue reading on narkive:
Loading...