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

Campbell, Bill bcampbell at axcess-financial.com
Tue Apr 29 12:06:11 PDT 2014


Try changing your target from 'hda' to 'vda' and see if that helps 




Bill Campbell 
Infrastructure Architect 



Axcess Financial Services, Inc. 
7755 Montgomery Rd., Suite 400 
Cincinnati, OH 45236 

----- Original Message -----

From: "Steve @ MyEvolve" <steve at myevolve.com> 
To: "Bill Campbell" <bcampbell at axcess-financial.com> 
Cc: "Ruben S. Montero" <rsmontero at opennebula.org>, users at lists.opennebula.org 
Sent: Tuesday, April 29, 2014 2:47:56 PM 
Subject: Re: vm deployment via image stored in ceph datastore 

Hi Bill, 

I just tried specifying "raw" as the driver, but no luck. Same result. 

It's really strange because I can deploy the ttylinux image from the market place no problem. 

Thanks, 
Steve 


On Tue, Apr 29, 2014 at 10:24 AM, Campbell, Bill < bcampbell at axcess-financial.com > wrote: 



Doesn't make much sense. See if you can specify the FORMAT as RAW for that disk image and see if that makes a difference. 




Bill Campbell 
Infrastructure Architect 



Axcess Financial Services, Inc. 
7755 Montgomery Rd., Suite 400 
Cincinnati, OH 45236 


From: "Ruben S. Montero" < rsmontero at opennebula.org > 
To: "Steve @ MyEvolve" < steve at myevolve.com > 
Cc: users at lists.opennebula.org , "Bill Campbell" < bcampbell at axcess-financial.com > 
Sent: Tuesday, April 29, 2014 1:18:05 PM 
Subject: Re: vm deployment via image stored in ceph datastore 


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: 

<blockquote>

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 	hd 
ARCH 	x86_64 
NIC 	
VLAN 	NO 
NETWORK 	Public Network 150 through 170 
IP 	38.107.187.150 
	CLUSTER_ID 	101 
NIC_ID 	0 
MAC 	02:00:26:6b:bb:96 
BRIDGE 	br0 
	IP6_LINK 	fe80::400:26ff:fe6b:bb96 
NETWORK_ID 	0 
	NETWORK_UNAME 	oneadmin 
CONTEXT 	
NETWORK 	YES 
ETH0_MAC 	02:00:26:6b:bb:96 
ETH0_MASK 	255.255.255.0 
	ETH0_IP 	38.107.187.150 
TARGET 	hda 
	DISK_ID 	1 
ETH0_GATEWAY 	38.107.187.1 
ETH0_DNS 	8.8.8.8 
	SSH_PUBLIC_KEY 	---- ommitted ---- 
ETH0_NETWORK 	38.107.187.0 
	GRAPHICS 	
LISTEN 	0.0.0.0 
TYPE 	VNC 
PORT 	5998 
DISK 	
CLONE 	YES 
CEPH_HOST 	cloudweb12:6789 
TM_MAD 	ceph 
	SOURCE 	one/one-52 
READONLY 	NO 
	IMAGE 	CentOS Server 6.2 - kvm_file0 Ceph 
DEV_PREFIX 	vd 
	CLUSTER_ID 	101 
LN_TARGET 	NONE 
CEPH_SECRET 	----- ommitted ----- 
IMAGE_UNAME 	oneadmin 
	DATASTORE 	cephsystem 
TYPE 	RBD 
SIZE 	10240 
SAVE 	NO 
DATASTORE_ID 	126 
TARGET 	vda 
DISK_ID 	0 
CLONE_TARGET 	SELF 
IMAGE_ID 	52 
CEPH_USER 	libvirt 
CPU 	1 
AUTOMATIC_REQUIREMENTS 	CLUSTER_ID = 101 & !(PUBLIC_CLOUD = YES) 


On Tue, Apr 29, 2014 at 9:03 AM, Ruben S. Montero < rsmontero at opennebula.org > wrote: 

<blockquote>

Could you try to set DEV_PREFIX=vd? 


On Mon, Apr 28, 2014 at 9:14 PM, Steve @ MyEvolve < steve at myevolve.com > wrote: 

<blockquote>

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: 

<blockquote>

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: 

<blockquote>

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: 


<blockquote>

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 	VNC 
LISTEN 	0.0.0.0 
OS 	
ARCH 	x86_64 
BOOT 	hd 
MEMORY 	2048 
NIC 	
NETWORK_UNAME 	oneadmin 
NETWORK 	Public Network 
SCHED_REQUIREMENTS 	ID="4" 
FEATURES 	
ACPI 	yes 
CPU 	1 
DISK 	
IMAGE 	CentOS Server 6.2 - kvm_file0 Ceph 
IMAGE_UNAME 	oneadmin 
	CONTEXT 	
NETWORK 	YES 
SSH_PUBLIC_KEY 	$USER[SSH_PUBLIC_KEY] 


And here is the template for the VM: 

VMID 	90 
TEMPLATE_ID 	23 
GRAPHICS 	
TYPE 	VNC 
LISTEN 	0.0.0.0 
PORT 	5990 
OS 	
ARCH 	x86_64 
BOOT 	hd 
MEMORY 	2048 
AUTOMATIC_REQUIREMENTS 	CLUSTER_ID = 101 & !(PUBLIC_CLOUD = YES) 
NIC 	
BRIDGE 	br0 
NETWORK_UNAME 	oneadmin 
MAC 	02:00:26:6b:bb:96 
VLAN 	NO 
	NETWORK 	Public Network 
IP6_LINK 	fe80::400:26ff:fe6b:bb96 
	IP 	38.107.187.150 
NIC_ID 	0 
	NETWORK_ID 	0 
CLUSTER_ID 	101 
FEATURES 	
ACPI 	yes 
CPU 	1 
DISK 	
TARGET 	hda 
DATASTORE_ID 	126 
SIZE 	10240 
IMAGE_ID 	52 
IMAGE 	CentOS Server 6.2 - kvm_file0 Ceph 
DISK_ID 	0 
	CLONE_TARGET 	SELF 
TYPE 	RBD 
SAVE 	NO 
CEPH_USER 	libvirt 
SOURCE 	one/one-52 
CEPH_SECRET 	*** removed *** 
	CEPH_HOST 	cloudweb12:6789 
TM_MAD 	ceph 
	IMAGE_UNAME 	oneadmin 
DEV_PREFIX 	hd 
	LN_TARGET 	NONE 
READONLY 	NO 
CLUSTER_ID 	101 
DATASTORE 	cephsystem 
CLONE 	YES 
CONTEXT 	
TARGET 	hdb 
ETH0_MASK 	255.255.255.0 
ETH0_IP 	38.107.187.150 
	ETH0_NETWORK 	38.107.187.0 
ETH0_GATEWAY 	38.107.187.1 
	ETH0_DNS 	8.8.8.8 
DISK_ID 	1 
NETWORK 	YES 
ETH0_MAC 	02:00:26:6b:bb:96 
SSH_PUBLIC_KEY 	**** removed **** 












</blockquote>




-- 
-- 
Ruben S. Montero, PhD 
Project co-Lead and Chief Architect 
OpenNebula - Flexible Enterprise Cloud Made Simple 
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula 

</blockquote>



</blockquote>




-- 
-- 
Ruben S. Montero, PhD 
Project co-Lead and Chief Architect 
OpenNebula - Flexible Enterprise Cloud Made Simple 
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula 

</blockquote>



</blockquote>




-- 
-- 
Ruben S. Montero, PhD 
Project co-Lead and Chief Architect 
OpenNebula - Flexible Enterprise Cloud Made Simple 
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula 


NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies. 


</blockquote>




NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140429/a773de72/attachment-0002.htm>


More information about the Users mailing list