[one-users] vm deployment via image stored in ceph datastore

Ruben S. Montero rsmontero at opennebula.org
Tue Apr 29 10:18:05 PDT 2014


I'm running out of ideas :( I'll try to download the images in a Ceph
cluster and try to reproduce it....


On Tue, Apr 29, 2014 at 7:15 PM, Steve @ MyEvolve <steve at myevolve.com>wrote:

> Hi Ruben,
>
> I made the change to the template and redeployed the CentOS version.  Same
> error (see attached screenshot).
>
> Below is the template for the VM.
>
> Thanks,
> Steve
>
>  FEATURES ACPI yes VMID 98 MEMORY 2048 TEMPLATE_ID 23 OS BOOT hdARCHx86_64NIC
> VLAN NONETWORK Public Network 150 through 170 IP38.107.187.150 CLUSTER_ID101
> NIC_ID 0MAC 02:00:26:6b:bb:96BRIDGE br0 IP6_LINK fe80::400:26ff:fe6b:bb96NETWORK_ID
> 0 NETWORK_UNAME oneadmin CONTEXT NETWORK YESETH0_MAC 02:00:26:6b:bb:96
> ETH0_MASK 255.255.255.0 ETH0_IP 38.107.187.150TARGET hda DISK_ID 1
> ETH0_GATEWAY 38.107.187.1ETH0_DNS 8.8.8.8 SSH_PUBLIC_KEY ---- ommitted
> ----ETH0_NETWORK 38.107.187.0 GRAPHICS LISTEN 0.0.0.0TYPE VNCPORT 5998DISK
> CLONE YESCEPH_HOST cloudweb12:6789TM_MAD ceph SOURCE one/one-52READONLY NO
> IMAGE CentOS Server 6.2 - kvm_file0 Ceph DEV_PREFIXvd CLUSTER_ID 101
> LN_TARGET NONECEPH_SECRET ----- ommitted -----IMAGE_UNAME oneadmin
> DATASTORE cephsystemTYPE RBDSIZE 10240SAVE NODATASTORE_ID 126TARGET vda
> DISK_ID 0CLONE_TARGET SELFIMAGE_ID 52CEPH_USER libvirt CPU 1AUTOMATIC_REQUIREMENTSCLUSTER_ID = 101 & !(PUBLIC_CLOUD = YES)
>
>
> On Tue, Apr 29, 2014 at 9:03 AM, Ruben S. Montero <
> rsmontero at opennebula.org> wrote:
>
>> Could you try to set DEV_PREFIX=vd?
>>
>>
>> On Mon, Apr 28, 2014 at 9:14 PM, Steve @ MyEvolve <steve at myevolve.com>wrote:
>>
>>> Hi Ruben,
>>>
>>> I used the images from the marketplace.  Both the CENTOS and UBUNTU
>>> images did not work.  How do I edit grub when they don't even boot?
>>>
>>> Thanks,
>>> Steve
>>>
>>>
>>> On Mon, Apr 28, 2014 at 10:18 AM, Ruben S. Montero <
>>> rsmontero at opennebula.org> wrote:
>>>
>>>> No, the image does not need any parameter. We've seen this error: Geom
>>>> Error when installing an OS and grub not being able to get the geometry of
>>>> the disk, you need to specify it in grub.conf.
>>>>
>>>> ruben
>>>>
>>>>
>>>> On Sun, Apr 27, 2014 at 9:10 PM, Steve @ MyEvolve <steve at myevolve.com>wrote:
>>>>
>>>>> Any help on this?
>>>>>
>>>>>
>>>>>
>>>>> ---------- Forwarded message ----------
>>>>>
>>>>>
>>>>> Hello Everyone,
>>>>>
>>>>> I imported ttylinux from the marketplace into ceph and successfully
>>>>> deployed it on the same host, so that would indicate things are working
>>>>> normally.
>>>>>
>>>>> I also imported Ubuntu, but it came up with grub error.
>>>>>
>>>>> I've attached two screenshots to show what the console is showing on
>>>>> boot.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thank you,
>>>>> Steve
>>>>>
>>>>>
>>>>> On Wed, Apr 23, 2014 at 6:03 AM, Steve @ MyEvolve wrote:
>>>>>
>>>>> Hello Everyone,
>>>>>>
>>>>>> I successfully imported the CentOS contextualized image from the
>>>>>> marketplace into my ceph image datastore.
>>>>>>
>>>>>> I then created a specific template for deploying this image and
>>>>>> successfully launched the vm.
>>>>>>
>>>>>> My problem is that when the vm is booting I am getting the message:
>>>>>>
>>>>>> Booting from Hard Disk...
>>>>>> Geom error
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>> Thanks,
>>>>>> Steve
>>>>>>
>>>>>>
>>>>>>
>>>>>> Template:
>>>>>>
>>>>>>  GRAPHICS TYPE VNCLISTEN 0.0.0.0 OS ARCH x86_64BOOT hd MEMORY 2048NIC
>>>>>> NETWORK_UNAME oneadminNETWORK Public Network SCHED_REQUIREMENTSID="4"FEATURES
>>>>>> ACPI yes CPU 1 DISK IMAGE CentOS Server 6.2 - kvm_file0 CephIMAGE_UNAME
>>>>>> oneadmin CONTEXT NETWORK YESSSH_PUBLIC_KEY $USER[SSH_PUBLIC_KEY]
>>>>>>
>>>>>>
>>>>>> And here is the template for the VM:
>>>>>>
>>>>>>  VMID 90 TEMPLATE_ID 23 GRAPHICS TYPE VNCLISTEN 0.0.0.0PORT 5990 OS
>>>>>> ARCH x86_64BOOT hd MEMORY 2048 AUTOMATIC_REQUIREMENTS CLUSTER_ID =
>>>>>> 101 & !(PUBLIC_CLOUD = YES) NIC BRIDGE br0NETWORK_UNAME oneadminMAC02:00:26:6b:bb:96
>>>>>> VLAN NO NETWORK Public NetworkIP6_LINK fe80::400:26ff:fe6b:bb96 IP38.107.187.150
>>>>>> NIC_ID 0 NETWORK_ID 0CLUSTER_ID 101 FEATURES ACPI yes CPU 1 DISK
>>>>>> TARGET hdaDATASTORE_ID 126SIZE 10240IMAGE_ID 52IMAGE CentOS Server
>>>>>> 6.2 - kvm_file0 Ceph DISK_ID0 CLONE_TARGET SELFTYPE RBDSAVE NO
>>>>>> CEPH_USER libvirtSOURCE one/one-52CEPH_SECRET *** removed ***
>>>>>> CEPH_HOST cloudweb12:6789TM_MAD ceph IMAGE_UNAME oneadminDEV_PREFIX
>>>>>> hd LN_TARGET NONEREADONLY NOCLUSTER_ID 101DATASTORE cephsystemCLONEYESCONTEXT
>>>>>> TARGET hdbETH0_MASK 255.255.255.0ETH0_IP 38.107.187.150 ETH0_NETWORK38.107.187.0
>>>>>> ETH0_GATEWAY 38.107.187.1 ETH0_DNS 8.8.8.8DISK_ID 1NETWORK YES
>>>>>> ETH0_MAC 02:00:26:6b:bb:96SSH_PUBLIC_KEY **** removed ****
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Ruben S. Montero, PhD
>>>> Project co-Lead and Chief Architect
>>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>>>
>>>
>>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140429/66713d8d/attachment-0002.htm>


More information about the Users mailing list