I didn't know, how, but i solved this problem... But only with KVM.
With xen i found a new problem:
Mon Jun 16 13:13:30 2014 [TM][D]: Message received: TRANSFER SUCCESS 19 -
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 ExitCode: 0
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19
Successfully execute network driver operation: pre.
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Command
execution fail: cat << EOT | /var/tmp/one/vmm/xen4/deploy
'/var/lib/one//datastores/102/19/deployment.0' 'compute2.domain.com' 19
compute2.domain.com
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 xend is
running, which may cause unpredictable results when using
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 this xl
command. Please shut down xend before continuing.
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 (This
check can be overridden with the -f option.)
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG E 19 Unable
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 ExitCode: 1
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: LOG I 19 Failed to
execute virtualization driver operation: deploy.
Mon Jun 16 13:13:30 2014 [VMM][D]: Message received: DEPLOY FAILURE 19
Unable
- but if i stopped the xend, i am loosing virtual host from hosts list :-)
Xen version is 4.2.4, so i'm using xen4 driver.
Should i use xen3 driver with this xen version?
15.06.2014 16:30, Vladislav Solovei wrote:
Hi, all.
Help me, please.
What i have:
Two servers, in test setup.
Freshy installed CentOS 6.5 x86_64, KVM installed.
One server i was using as "controller" (sunstone, etc). Hostname -
"controller.domain.com".
Second server - as "node", hostname - "compute1.domain.com".
No shared storages at this moment.
Datastore "TEST_DS" with TYPE_DS = "IMAGE_DS", "TM_MAD" = "ssh",
"DS_MAD" = "file"/
One image - ttylinux, from marketplace, and a template for it.
When i trying to create VM, i got an error (in oned.log):
Sun Jun 15 15:58:03 2014 [ReM][D]: Req:9856 UID:0
VirtualMachinePoolInfo invoked, -2, 0, -2000, -1
Sun Jun 15 15:58:03 2014 [ReM][D]: Req:9856 UID:0
VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>8</..."
Sun Jun 15 15:58:04 2014 [TM][D]: Message received: TRANSFER SUCCESS 8 -
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 ExitCode: 0
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8
Successfully execute network driver operation: pre.
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 Command
execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy
'/var/lib/one//datastores/0/8/deployment.0' 'compute1.domain.com' 8
compute1.domain.com
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 error:
Failed to create domain from /var/lib/one//datastores/0/8/deployment.0
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 error:
internal error process exited while connecting to monitor: qemu-kvm:
-drive
file=/var/lib/one//datastores/0/8/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
could not open disk image /var/lib/one//datastores/0/8/disk.0: Is a
directory
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG E 8 Could not
create domain from /var/lib/one//datastores/0/8/deployment.0
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 ExitCode:
255
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: LOG I 8 Failed to
execute virtualization driver operation: deploy.
Sun Jun 15 15:58:04 2014 [VMM][D]: Message received: DEPLOY FAILURE 8
Could not create domain from /var/lib/one//datastores/0/8/deployment.0
And, really, /var/lib/one//datastores/0/8/disk.0 - is a directory :-)
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org