[one-users] problem deploy Centos 6.2 OpenNebula 3.8.3

ahernandez at tesla.cujae.edu.cu ahernandez at tesla.cujae.edu.cu
Tue May 14 06:37:02 PDT 2013


Hi Tino, I change the DEV_PREFIX to 'hd', but don't solve the problem, 
I get this error when see the oned.log:

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66 Command 
execution fail: /var/lib/one/remotes/vmm/vmware/deploy 
/var/lib/one/vms/66/deployment.0 das-vsilo23.cimex.com.cu 66 
das-vsilo23.cimex.com.cu

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG D 66 deploy: 
Successfully defined domain one-66.

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG E 66 deploy: 
Error executing: virsh -c 
'esx://das-vsilo23.cimex.com.cu/?no_verify=1&auto_answer=1' start one-66 
err: ExitCode: 1

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66 out:

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66 error: 
Failed to start domain one-66

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66 error: 
internal error Could not start domain: GenericVmConfigFault - Reason: Is 
a directory.

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66 ExitCode: 
1

Mon May  6 19:55:36 2013 [VMM][D]: Message received: LOG I 66 Failed to 
execute virtualization driver operation: deploy.

Mon May  6 19:55:36 2013 [VMM][D]: Message received: DEPLOY FAILURE 66 
-

-----I SEE THE vmware.log and see this:

2013-05-14T12:55:54.356Z| vmx| MStat: Creating Stat vm.powerOnTimeStamp
2013-05-14T12:55:54.356Z| vmx| VMXAIOMGR: Using: simple=Generic 
unbuf=Generic
2013-05-14T12:55:54.372Z| vmx| WORKER: Creating new group with 
numThreads=1 (4)
2013-05-14T12:55:54.413Z| vmx| DISK: OPEN ide0:0 
'/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk' persistent R[]
2013-05-14T12:55:54.425Z| vmx| FileIOErrno2Result: Unexpected errno=21, 
Is a directory
2013-05-14T12:55:54.425Z| vmx| DISKLIB-DSCPTR: DescriptorDetermineType: 
failed to open '/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk': Is 
a directory (1500000002)
2013-05-14T12:55:54.425Z| vmx| DISKLIB-LINK  : 
"/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk" : failed to open 
(Is a directory).
2013-05-14T12:55:54.425Z| vmx| DISKLIB-CHAIN : 
"/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk" : failed to open 
(Is a directory).
2013-05-14T12:55:54.425Z| vmx| DISKLIB-LIB   : Failed to open 
'/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk' with flags 0xa Is 
a directory (1376265).
2013-05-14T12:55:54.425Z| vmx| DISK: Cannot open disk 
"/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk": Is a directory 
(1376265).
2013-05-14T12:55:54.425Z| vmx| Msg_Post: Error
2013-05-14T12:55:54.425Z| vmx| [msg.disk.noBackEnd] Cannot open the 
disk '/vmfs/volumes/f126e9b0-2dead8a4/66/disk.0/disk.vmdk' or one of the 
snapshot disks it depends on.
2013-05-14T12:55:54.425Z| vmx| [msg.disk.configureDiskError] Reason: Is 
a directory.
2013-05-14T12:55:54.425Z| vmx| ----------------------------------------
2013-05-14T12:55:54.431Z| vmx| Module DiskEarly power on failed.
2013-05-14T12:55:54.431Z| vmx| VMX_PowerOn: ModuleTable_PowerOn = 0
2013-05-14T12:55:54.475Z| vmx| WORKER: asyncOps=0 maxActiveOps=0 
maxPending=0 maxCompleted=0
2013-05-14T12:55:54.497Z| vmx| Vix: [5016841 mainDispatch.c:4084]: 
VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, 
success=1 additionalError=0
2013-05-14T12:55:54.498Z| vmx| Vix: [5016841 mainDispatch.c:4084]: 
VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, 
success=1 additionalError=0
2013-05-14T12:55:54.498Z| vmx| Transitioned vmx/execState/val to 
poweredOff
2013-05-14T12:55:54.515Z| vmx| Vix: [5016841 mainDispatch.c:4084]: 
VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, 
success=0 additionalError=0
2013-05-14T12:55:54.515Z| vmx| Vix: [5016841 mainDispatch.c:4123]: 
Error VIX_E_FAIL in VMAutomation_ReportPowerOpFinished(): Unknown error
2013-05-14T12:55:54.515Z| vmx| VMX idle exit
2013-05-14T12:55:54.515Z| vmx| VMIOP: Exit
2013-05-14T12:55:54.516Z| vmx| Vix: [5016841 mainDispatch.c:900]: 
VMAutomation_LateShutdown()
2013-05-14T12:55:54.516Z| vmx| Vix: [5016841 mainDispatch.c:850]: 
VMAutomationCloseListenerSocket. Closing listener socket.
2013-05-14T12:55:54.523Z| vmx| Flushing VMX VMDB connections
2013-05-14T12:55:54.524Z| vmx| VmdbDbRemoveCnx: Removing Cnx from Db 
for '/db/connection/#1/'
2013-05-14T12:55:54.524Z| vmx| VmdbCnxDisconnect: Disconnect: closed 
pipe for pub cnx '/db/connection/#1/' (0)
2013-05-14T12:55:54.529Z| vmx| VMX exit (0).
2013-05-14T12:55:54.529Z| vmx| AIOMGR-S : stat o=1 r=0 w=0 i=0 br=0 
bw=0
2013-05-14T12:55:54.529Z| vmx| VMX has left the building: 0.


THE important in the vmware.log is that see the disk.vmdk how directory 
not how disk.

Any Ideas for solve this problem?


El 2013-05-13 05:34, Tino Vazquez escribió:
> Hi,
>
> The only difference that I see is the use of SCSI instead of IDE. 
> does
> it work if you change the DEV_PREFIX of the CentOS disk to 'hd' ?
>
> Regards,
>
> -Tino
> --
> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013 |
> www.opennebulaconf.com
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Project Engineer | OpenNebula - The Open-Source Solution for Data
> Center Virtualization
> www.OpenNebula.org | @tinova79 | @OpenNebula
>
>
> On Thu, May 9, 2013 at 5:48 PM,  <ahernandez at tesla.cujae.edu.cu> 
> wrote:
>> My problem is that forget that the OS disk is sd, and I write in the 
>> image
>> hd. I fix this, I create a new image, but I obtain other problem 
>> with
>> deployment.0. When I try up VM, in oned.log I see this:
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49 
>> Command
>> execution fail: /var/lib/one/remotes/vmm/vmware/deploy
>> /var/lib/one/vms/49/deployment.0 das-vsilo23.cimex.com.cu 49
>> das-vsilo23.cimex.com.cu
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG E 49 
>> deploy: Error
>> executing: virsh -c
>> 'esx://das-vsilo23.cimex.com.cu/?no_verify=1&auto_answer=1' define
>> /var/lib/one/vms/49/deployment.0 err: ExitCode: 1
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49 out:
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49 error: 
>> Failed
>> to define domain from /var/lib/one/vms/49/deployment.0
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49 error:
>> internal error Unknown driver name 'file'
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49 
>> ExitCode: 255
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: LOG I 49 Failed 
>> to
>> execute virtualization driver operation: deploy.
>>
>> Wed May  1 20:27:01 2013 [VMM][D]: Message received: DEPLOY FAILURE 
>> 49
>>
>> FOR CHECH THE PROBLEM I DOWNLOAD ttylinux - VMware. I CREATE A NEW 
>> IMAGE
>> WITH THIS, AND WITH THIS IMAGE I CAN RUNING THE VM.
>>
>> I SEE THE 2 deployment.0, for analyzing the problem, but I don't see 
>> the
>> problem
>>
>> I seend the two deployment.0
>>
>> This is the deployment.0 of Centos 6.2:
>> <domain type='vmware'>
>>         <name>one-49</name>
>>         <vcpu>2</vcpu>
>>         <memory>1048576</memory>
>>         <os>
>>                 <type arch='x86_64'>hvm</type>
>>         </os>
>>         <devices>
>>                 <disk type='file' device='disk'>
>>                         <source file='[0] 49/disk.0/disk.vmdk'/>
>>                         <target dev='sda'/>
>>                         <driver name='file'/>
>>                 </disk>
>>                 <disk type='file' device='disk'>
>>                         <source file='[0] 49/disk.1/disk.vmdk'/>
>>                         <target dev='hda'/>
>>                         <driver name='file'/>
>>                 </disk>
>>                 <interface type='bridge'>
>>                         <source bridge='one-pg-2'/>
>>                         <mac address='02:00:ac:16:1e:c1'/>
>>                 </interface>
>>                 <graphics type='vnc' listen='0.0.0.0' port='5901'/>
>>         </devices>
>>
>> </domain>
>>
>>
>> This is the deployment.0 of ttylinux
>>
>> <domain type='vmware'>
>>         <name>one-50</name>
>>         <vcpu>1</vcpu>
>>         <memory>1048576</memory>
>>         <os>
>>                 <type arch='i686'>hvm</type>
>>         </os>
>>         <devices>
>>                 <disk type='file' device='disk'>
>>                         <source file='[0] 50/disk.0/disk.vmdk'/>
>>                         <target dev='hda'/>
>>                         <driver name='file'/>
>>                 </disk>
>>                 <disk type='file' device='disk'>
>>                         <source file='[0] 50/disk.1/disk.vmdk'/>
>>                         <target dev='hdb'/>
>>                         <driver name='file'/>
>>                 </disk>
>>                 <interface type='bridge'>
>>                         <source bridge='one-pg-2'/>
>>                         <mac address='02:00:ac:16:1e:c2'/>
>>                 </interface>
>>                 <graphics type='vnc' listen='0.0.0.0' port='5901'/>
>>         </devices>
>>
>> </domain>
>>
>>
>> Any Ideas?
>>
>>
>>
>>
>> El 2013-05-09 05:39, Tino Vazquez escribió:
>>>
>>> Hi,
>>>
>>>
>>> What datastore configuration are you using? ('onedatastore list')
>>>
>>> Regards,
>>>
>>> -Tino
>>> --
>>> Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
>>>
>>> --
>>> Constantino Vázquez Blanco, PhD, MSc
>>> Project Engineer | OpenNebula - The Open-Source Solution for Data
>>> Center Virtualization
>>> Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th 
>>> of
>>> September 2013!
>>> www.OpenNebula.org | @tinova79 | @OpenNebula
>>>
>>>
>>> On Wed, May 8, 2013 at 11:21 PM,  <ahernandez at tesla.cujae.edu.cu> 
>>> wrote:
>>>>
>>>> I used OpenNebula 3.8.3 and ESXi Hypervisor, and create image 
>>>> using
>>>> Centos
>>>> 6.2 obtain of marketplace. I create the image, I create the 
>>>> template, but
>>>> when I try the instantiate a VM, I don't deploy de VM
>>>>
>>>> this is the oned.log:
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47 
>>>> Command
>>>> execution fail: /var/lib/one/remotes/vmm/vmware/deploy
>>>> /var/lib/one/vms/47/deployment.0 das-vsilo23.cimex.com.cu 47
>>>> das-vsilo23.cimex.com.cu
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG D 47 
>>>> deploy:
>>>> Successfully defined domain one-47.
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG E 47 
>>>> deploy:
>>>> Error
>>>> executing: virsh -c 
>>>> 'esx://das-esxi.com.cu/?no_verify=1&auto_answer=1'
>>>> start
>>>> one-47 err: ExitCode: 1
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47 out:
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47 
>>>> error:
>>>> Failed
>>>> to start domain one-47
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47 
>>>> error:
>>>> internal error Could not start domain: GenericVmConfigFault - 
>>>> Reason: Is
>>>> a
>>>> directory.
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47 
>>>> ExitCode: 1
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: LOG I 47 
>>>> Failed to
>>>> execute virtualization driver operation: deploy.
>>>>
>>>> Wed May  1 03:55:04 2013 [VMM][D]: Message received: DEPLOY 
>>>> FAILURE 47 -
>>>>
>>>>
>>>>
>>>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 
>>>> de
>>>> diciembre de 1964 | http://cujae.edu.cu
>>>>
>>>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>> diciembre de 1964 | http://cujae.edu.cu
>>
>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu



48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu

Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu



More information about the Users mailing list