[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 07:16:35 PDT 2013
Continuing with my last email, see this output line:
root at ubuntu:/export/OpenNebula_NFS/0/66/disk.0# more disk.vmdk
*** disk.vmdk: directory ***
root at ubuntu:/export/OpenNebula_NFS/0/66/disk.0#
If you see, the output result is that the disk.vmdk is a directory,
don't a disk
I THINK THAT I need to get a result like this (I GET THE FOLLOWING OUT
PUT OF THE EXAMPLE OF PROBLEM IN THIS URL
http://www.mail-archive.com/users@lists.opennebula.org/msg10301.html)
/vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/138/disk.0 # more
disk.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=e451587b
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"
# Extent description
RW 16777216 VMFS "CentOS-6.2-flat.vmdk"
# The Disk Data Base
#DDB
ddb.deletable = "true"
ddb.virtualHWVersion = "7"
ddb.longContentID = "45ecfa456ae7c14601b32b19e451587b"
ddb.uuid = "60 00 C2 96 8f d3 ab c5-36 3a 7a f2 84 f6 52 89"
ddb.geometry.cylinders = "1044"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.thinProvisioned = "1"
ddb.adapterType = "lsilogic"
In addition, I see other diference between the ttylinux and Centos6.2.
In the datastore located in the Front-End the disk.vmdk of ttylinux is a
real disk, but the disk of the Centos6.2 is a directory. Check this out:
FOR ttylinux:
root at opennebula:/var/lib/one/datastores/101/3cdf4c702de7be9ddfcfe1f885d96296#
ll
total 104876
drwxrwx--- 2 oneadmin oneadmin 4096 May 2 02:37 ./
drwxrwxr-x 4 oneadmin oneadmin 4096 May 5 22:32 ../
-rw------- 1 oneadmin oneadmin 509 Jul 3 2012 disk.vmdk
-rw------- 1 oneadmin oneadmin 107374080 Jul 3 2012
ttylinux-flat.vmdk
root at opennebula:/var/lib/one/datastores/101/3cdf4c702de7be9ddfcfe1f885d96296#
more disk.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=0e23c141
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"
# Extent description
RW 209715 VMFS "ttylinux-flat.vmdk"
# The Disk Data Base
#DDB
ddb.deletable = "true"
ddb.virtualHWVersion = "7"
ddb.longContentID = "c60ece2d236579bf0c22a6d90e23c141"
ddb.uuid = "60 00 C2 94 74 71 7d bd-e4 e4 16 20 db 0d 36 77"
ddb.geometry.cylinders = "208"
ddb.geometry.heads = "16"
ddb.geometry.sectors = "63"
ddb.thinProvisioned = "1"
ddb.adapterType = "ide"
root at opennebula:/var/lib/one/datastores/101/3cdf4c702de7be9ddfcfe1f885d96296#
FOR Centos6.2:
root at opennebula:/var/lib/one/datastores/101/1abba6258478adaad6e98b5a5ac89195#
ll
total 16
drwxrwx--- 3 oneadmin oneadmin 4096 May 5 22:32 ./
drwxrwxr-x 4 oneadmin oneadmin 4096 May 5 22:32 ../
-rwxr-x--- 1 oneadmin oneadmin 187 Apr 24 11:13 ._CentOS-6.2-1.1*
drwxr-x--- 2 oneadmin oneadmin 4096 Apr 24 11:13 disk.vmdk/
root at opennebula:/var/lib/one/datastores/101/1abba6258478adaad6e98b5a5ac89195#
more disk.vmdk/
*** disk.vmdk/: directory ***
root at opennebula:/var/lib/one/datastores/101/1abba6258478adaad6e98b5a5ac89195#
And only if you enter in disk.vmdk (directoy) you check this:
root at opennebula:/var/lib/one/datastores/101/1abba6258478adaad6e98b5a5ac89195/disk.vmdk#
ll
total 8388632
drwxr-x--- 2 oneadmin oneadmin 4096 Apr 24 11:13 ./
drwxrwx--- 3 oneadmin oneadmin 4096 May 5 22:32 ../
-rw------- 1 oneadmin oneadmin 223 Jul 2 2012
._CentOS-6.2-flat.vmdk
-rw------- 1 oneadmin oneadmin 223 Apr 24 11:24
._CentOS-6.2.vmdk
-rw------- 1 oneadmin oneadmin 8589934592 Jul 2 2012
CentOS-6.2-flat.vmdk
-rw------- 1 oneadmin oneadmin 520 Apr 24 11:24 CentOS-6.2.vmdk
root at opennebula:/var/lib/one/datastores/101/1abba6258478adaad6e98b5a5ac89195/disk.vmdk#
more CentOS-6.2.vmdk
# Disk DescriptorFile
version=1
encoding="UTF-8"
CID=e451587b
parentCID=ffffffff
isNativeSnapshot="no"
createType="vmfs"
# Extent description
RW 16777216 VMFS "CentOS-6.2-flat.vmdk"
# The Disk Data Base
#DDB
ddb.deletable = "true"
ddb.virtualHWVersion = "7"
ddb.longContentID = "45ecfa456ae7c14601b32b19e451587b"
ddb.uuid = "60 00 C2 96 8f d3 ab c5-36 3a 7a f2 84 f6 52 89"
ddb.geometry.cylinders = "1044"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.thinProvisioned = "1"
ddb.adapterType = "lsilogic"
Any Ideas? Why the difference?
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