[one-users] Deployment error

Eduardo Roloff roloff at gmail.com
Fri Nov 29 14:21:20 PST 2013


I check the oneadmin permissions and he is in the administrators
group, this is the only thing that I can verify to assure that he has
full permissions.

I changed to use predefined network and I got a different error.

Fri Nov 29 20:09:43 2013 [LCM][I]: New VM state is BOOT
Fri Nov 29 20:09:43 2013 [VMM][I]: Generating deployment file:
/var/lib/one/vms/14/deployment.0
Fri Nov 29 20:09:44 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Fri Nov 29 20:09:53 2013 [VMM][I]: Command execution fail:
/var/lib/one/remotes/vmm/vmware/deploy
'/var/lib/one/vms/14/deployment.0' 'gn901cb' 14 gn901cb
Fri Nov 29 20:09:53 2013 [VMM][D]: deploy: Successfully defined domain one-14.
Fri Nov 29 20:09:53 2013 [VMM][E]: deploy: Error executing: virsh -c
'esx://gn901cb/?no_verify=1' start one-14 err: ExitCode: 1
Fri Nov 29 20:09:53 2013 [VMM][I]: out:
Fri Nov 29 20:09:53 2013 [VMM][I]: error: Failed to start domain one-14
Fri Nov 29 20:09:53 2013 [VMM][I]: error: internal error Could not
start domain: FileNotFound - File [126] 14/disk.0/disk.vmdk was not
found
Fri Nov 29 20:09:53 2013 [VMM][I]:
Fri Nov 29 20:09:53 2013 [VMM][I]: ExitCode: 1
Fri Nov 29 20:09:53 2013 [VMM][I]: Failed to execute virtualization
driver operation: deploy.
Fri Nov 29 20:09:53 2013 [VMM][E]: Error deploying virtual machine
Fri Nov 29 20:09:53 2013 [DiM][I]: New VM state is FAILED

On Fri, Nov 29, 2013 at 7:02 PM, Ruben S. Montero
<rsmontero at opennebula.org> wrote:
> Just double checking... have you give full permissions to oneadmin?
>
> http://opennebula.org/documentation:rel4.2:evmwareg#users_groups
>
> It seems that you are using the dynamic network mode, you can move on by
> falling back to the predefined one. And once you have setup everything else
> revisit the problem...
>
> http://opennebula.org/documentation:rel4.2:vmwarenet#using_the_pre-defined_network_mode
>
> Cheers
>
> Ruben
>
>
> On Fri, Nov 29, 2013 at 8:34 PM, Eduardo Roloff <roloff at gmail.com> wrote:
>>
>> Hi again Tino,
>>
>> I change the configuration to use the image datastore locally in the
>> front-end, and deploy the VM using vmfs.
>>
>> When I try to create a VM I got the error messages below.
>>
>> Seems that is a permission issue, but I can't find what is wrong.
>>
>> --
>>
>> Fri Nov 29 17:33:11 2013 [TM][D]: Message received: TRANSFER SUCCESS 12 -
>>
>> Fri Nov 29 17:33:11 2013 [VMM][D]: Message received: LOG I 12 Command
>> execution fail: /var/lib/one/remotes/vnm/vmware/pre
>>
>> PFZNPjxJRD4xMjwvSUQ+PFVJRD4wPC9VSUQ+PEdJRD4wPC9HSUQ+PFVOQU1FPm9uZWFkbWluPC9VTkFNRT48R05BTUU+b25lYWRtaW48L0dOQU1FPjxOQU1FPmZmZmY8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PExBU1RfUE9MTD4wPC9MQVNUX1BPTEw+PFNUQVRFPjM8L1NUQVRFPjxMQ01fU1RBVEU+MjwvTENNX1NUQVRFPjxSRVNDSEVEPjA8L1JFU0NIRUQ+PFNUSU1FPjEzODU3NTI0ODg8L1NUSU1FPjxFVElNRT4xMzg1NzUyOTkyPC9FVElNRT48REVQTE9ZX0lELz48TUVNT1JZPjA8L01FTU9SWT48Q1BVPjA8L0NQVT48TkVUX1RYPjA8L05FVF9UWD48TkVUX1JYPjA8L05FVF9SWD48VEVNUExBVEU+PEFVVE9NQVRJQ19SRVFVSVJFTUVOVFM+PCFbQ0RBVEFbQ0xVU1RFUl9JRCA9IDEwM11dPjw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tZXM8L0RTX0xPQ0FUSU9OPjxEU19JRD4xMjY8L0RTX0lEPjxQU1RJTUU+MTM4NTc1MzU1NzwvUFNUSU1FPjxQRVRJTUU+MTM4NTc1MzU5MTwvUEVUSU1FPjxSU1RJTUU+MTM4NTc1MzU5MTwvUlNUSU1FPjxSRVRJTUU+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxFRVRJTUU+MDwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjxBQ1RJT04+MDwvQUNUSU9OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPg==
>>
>> Fri Nov 29 17:33:11 2013 [VMM][D]: Message received: LOG E 12 pre:
>> Error executing: ((esxcfg-vswitch vSwitch0 -l|grep one-pg-6) ||
>> /sbin/esxcfg-vswitch vSwitch0 --add-pg one-pg-6); /sbin/esxcfg-vswitch
>> vSwitch0 -p one-pg-6 --vlan=1024 on host:  err: Error during version
>> check: Failed to get vmkernel version: Operation not permitted
>> (running as non-root?)
>>
>>
>>
>>
>> On Fri, Nov 29, 2013 at 4:42 PM, Eduardo Roloff <roloff at gmail.com> wrote:
>> > Hi Tino,
>> >
>> > Yes is ONE 4.2.
>> >
>> > When I used the vmfs, I created two DataStores (to use the ESXi SAN
>> > Storage)
>> >
>> > When I try to upload an image to these datastores (not create a VM,
>> > just upload a SO image) I got a message "Not enough space in
>> > datastore"
>> >
>> > The messages in the log file was just that above, but I have 500GB of
>> > free space.
>> >
>> > Fri Nov 29 16:35:06 2013 [ReM][D]: Req:2848 UID:0 ImagePoolInfo result
>> > SUCCESS, "<IMAGE_POOL></IMAGE_..."
>> > Fri Nov 29 16:35:07 2013 [InM][I]: Monitoring host gn901cb (7)
>> > Fri Nov 29 16:35:07 2013 [ReM][D]: Req:7200 UID:0
>> > VirtualMachinePoolInfo invoked, -2, -1, -1, -1
>> > Fri Nov 29 16:35:07 2013 [ReM][D]: Req:7200 UID:0
>> > VirtualMachinePoolInfo result SUCCESS, "<VM_POOL></VM_POOL>"
>> > Fri Nov 29 16:35:07 2013 [ReM][D]: Req:4768 UID:0
>> > VirtualMachinePoolInfo invoked, -2, -1, -1, -1
>> > Fri Nov 29 16:35:07 2013 [ReM][D]: Req:4768 UID:0
>> > VirtualMachinePoolInfo result SUCCESS, "<VM_POOL></VM_POOL>"
>> > Fri Nov 29 16:35:07 2013 [AuM][D]: Message received: AUTHENTICATE
>> > SUCCESS 218 -
>> >
>> > Fri Nov 29 16:35:07 2013 [ReM][D]: Req:960 UID:0 UserPoolInfo invoked
>> > Fri Nov 29 16:35:07 2013 [ReM][D]: Req:960 UID:0 UserPoolInfo result
>> > SUCCESS, "<USER_POOL><USER><ID..."
>> > Fri Nov 29 16:35:10 2013 [InM][D]: Host gn901cb (7) successfully
>> > monitored.
>> > Fri Nov 29 16:35:12 2013 [ReM][D]: Req:5216 UID:0 ImageAllocate
>> > invoked, "NAME="RH"...", 127
>> > Fri Nov 29 16:35:12 2013 [ReM][E]: Req:5216 UID:0 ImageAllocate result
>> > FAILURE Not enough space in datastore
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Fri, Nov 29, 2013 at 4:14 PM, Tino Vazquez <cvazquez at c12g.com> wrote:
>> >> Hi Eduardo,
>> >>
>> >> What OpenNebula version are you using? In OpenNebula 4.2 onwards, the
>> >> only supported datastore drivers for VMware hypervisors are 'vmfs'.
>> >> What error are you having with the latter?
>> >>
>> >> Regards,
>> >>
>> >> -Tino
>> >> --
>> >> OpenNebula - Flexible Enterprise Cloud Made Simple
>> >>
>> >> --
>> >> Constantino Vázquez Blanco, PhD, MSc
>> >> Senior Infrastructure Architect at C12G Labs
>> >> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>> >>
>> >> --
>> >> Confidentiality Warning: The information contained in this e-mail and
>> >> any accompanying documents, unless otherwise expressly indicated, is
>> >> confidential and privileged, and is intended solely for the person
>> >> and/or entity to whom it is addressed (i.e. those identified in the
>> >> "To" and "cc" box). They are the property of C12G Labs S.L..
>> >> Unauthorized distribution, review, use, disclosure, or copying of this
>> >> communication, or any part thereof, is strictly prohibited and may be
>> >> unlawful. If you have received this e-mail in error, please notify us
>> >> immediately by e-mail at abuse at c12g.com and delete the e-mail and
>> >> attachments and any copy from your system. C12G thanks you for your
>> >> cooperation.
>> >>
>> >>
>> >> On Fri, Nov 29, 2013 at 7:04 PM, Eduardo Roloff <roloff at gmail.com>
>> >> wrote:
>> >>> I configure OpenNebula front-end in a CentOS machine, and I`m using
>> >>> ESXi 5.0 hosts.
>> >>>
>> >>> I have the IMAGE datastore locally in the front-end and trying to
>> >>> deploy the VM using SSH to the host (I tryed to use VMFS, but does not
>> >>> work) that has a filesystem.
>> >>>
>> >>> When I try to create a VM I got this error messages, seems that the
>> >>> CLONE is not working, but the log does not provide much more
>> >>> information.
>> >>>
>> >>> Thank you
>> >>>
>> >>>
>> >>> Fri Nov 29 15:56:37 2013 [DiM][I]: New VM state is ACTIVE.
>> >>> Fri Nov 29 15:56:37 2013 [LCM][I]: New VM state is PROLOG.
>> >>> Fri Nov 29 15:57:10 2013 [LCM][I]: New VM state is BOOT
>> >>> Fri Nov 29 15:57:10 2013 [VMM][I]: Generating deployment file:
>> >>> /var/lib/one/vms/11/deployment.0
>> >>> Fri Nov 29 15:57:10 2013 [VMM][I]: Successfully execute network driver
>> >>> operation: pre.
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]: Command execution fail:
>> >>> /var/lib/one/remotes/vmm/vmware/deploy
>> >>> '/var/lib/one/vms/11/deployment.0' 'gn901cb' 11 gn901cb
>> >>> Fri Nov 29 15:57:20 2013 [VMM][D]: deploy: Successfully defined domain
>> >>> one-11.
>> >>> Fri Nov 29 15:57:20 2013 [VMM][E]: deploy: Error executing: virsh -c
>> >>> 'esx://gn901cb/?no_verify=1' start one-11 err: ExitCode: 1
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]: out:
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]: error: Failed to start domain
>> >>> one-11
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]: error: internal error Could not
>> >>> start domain: FileNotFound - File [125] 11/disk.0/disk.vmdk was not
>> >>> found
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]:
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]: ExitCode: 1
>> >>> Fri Nov 29 15:57:20 2013 [VMM][I]: Failed to execute virtualization
>> >>> driver operation: deploy.
>> >>> Fri Nov 29 15:57:20 2013 [VMM][E]: Error deploying virtual machine
>> >>> Fri Nov 29 15:57:20 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
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula



More information about the Users mailing list