<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I as finally able to get this working.
It looks like the image I was downloading from the marketplace
didn't like my system or I was configuring it wrong.<br>
<br>
Following this guide, and having to tweak things a little bit, I
was finally able to get my own ISO uploaded and install a working
copy of Ubuntu as a guest OS.<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.whotouchedmygun.com/2014/03/17/create-a-vm-image-in-opennebula/">http://www.whotouchedmygun.com/2014/03/17/create-a-vm-image-in-opennebula/</a><br>
<br>
Thanks again!<br>
<br>
<br>
On 9/29/2014 9:50 AM, Brendan Rose wrote:<br>
</div>
<blockquote cite="mid:54297FC7.8080601@bluecurtain.ca" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi Steve,<br>
<br>
oneimage show give me the following:<br>
<i><br>
</i><i>ID : 0</i><i><br>
</i><i>NAME : Ubuntu Server 13.10</i><i><br>
</i><i>USER : oneadmin</i><i><br>
</i><i>GROUP : oneadmin</i><i><br>
</i><i>DATASTORE : default</i><i><br>
</i><i>TYPE : OS</i><i><br>
</i><i>REGISTER TIME : 09/26 22:49:03</i><i><br>
</i><i>PERSISTENT : No</i><i><br>
</i><i>SOURCE :
/var/lib/one//datastores/1/22fb6766c2abcd61d1b1540796bd9705</i><i><br>
</i><i>PATH :
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://marketplace.c12g.com/appliance/529ce1ad8fb81d0a5a000001/download/0">http://marketplace.c12g.com/appliance/529ce1ad8fb81d0a5a000001/download/0</a></i><i><br>
</i><i>SIZE : 514M</i><i><br>
</i><i>STATE : used</i><i><br>
</i><i>RUNNING_VMS : 1</i><i><br>
</i><i><br>
</i><i>PERMISSIONS</i><i><br>
</i><i>OWNER : um-</i><i><br>
</i><i>GROUP : ---</i><i><br>
</i><i>OTHER : ---</i><i><br>
</i><i><br>
</i><i>IMAGE TEMPLATE</i><i><br>
</i><i>DEV_PREFIX="sd"</i><i><br>
</i><i>FROM_APP="529ce1ad8fb81d0a5a000001"</i><i><br>
</i><i>FROM_APP_FILE="0"</i><i><br>
</i><i>FROM_APP_NAME="Ubuntu Server 13.10 v2 - vdc"</i><i><br>
</i><i>MD5="8e2be456f8e96ce8be7bcb7c077157e7"</i><i><br>
</i><i>SHA1="0200af01e754c672d0d6070e47acc829ae74583d"</i><i><br>
</i><i><br>
</i><i>VIRTUAL MACHINES</i><i><br>
</i><i><br>
</i><i>ID USER GROUP NAME STAT UCPU UMEM
HOST TIME</i><i><br>
</i><i>5 oneadmin oneadmin Ubuntu Server T fail 0
0K 0d 00h52</i><br>
<br>
<br>
Onedatastore show 0 gives:<br>
<br>
<i>DATASTORE 0 INFORMATION</i><i><br>
</i><i>ID : 0</i><i><br>
</i><i>NAME : system</i><i><br>
</i><i>USER : oneadmin</i><i><br>
</i><i>GROUP : oneadmin</i><i><br>
</i><i>CLUSTER : BlueCurtain</i><i><br>
</i><i>TYPE : SYSTEM</i><i><br>
</i><i>DS_MAD : -</i><i><br>
</i><i>TM_MAD : shared</i><i><br>
</i><i>BASE PATH : /var/lib/one//datastores/0</i><i><br>
</i><i>DISK_TYPE : FILE</i><i><br>
</i><i><br>
</i><i>DATASTORE CAPACITY</i><i><br>
</i><i>TOTAL: : 7.2T</i><i><br>
</i><i>FREE: : 7.1T</i><i><br>
</i><i>USED: : 1M</i><i><br>
</i><i>LIMIT: : -</i><i><br>
</i><i><br>
</i><i>PERMISSIONS</i><i><br>
</i><i>OWNER : um-</i><i><br>
</i><i>GROUP : u--</i><i><br>
</i><i>OTHER : ---</i><i><br>
</i><i><br>
</i><i>DATASTORE TEMPLATE</i><i><br>
</i><i>BASE_PATH="/var/lib/one//datastores/"</i><i><br>
</i><i>SHARED="YES"</i><i><br>
</i><i>TM_MAD="shared"</i><i><br>
</i><i>TYPE="SYSTEM_DS"</i><br>
<br>
And onedatastore show 1:<br>
<br>
<i>DATASTORE 1 INFORMATION</i><i><br>
</i><i>ID : 1</i><i><br>
</i><i>NAME : default</i><i><br>
</i><i>USER : oneadmin</i><i><br>
</i><i>GROUP : oneadmin</i><i><br>
</i><i>CLUSTER : BlueCurtain</i><i><br>
</i><i>TYPE : IMAGE</i><i><br>
</i><i>DS_MAD : fs</i><i><br>
</i><i>TM_MAD : shared</i><i><br>
</i><i>BASE PATH : /var/lib/one//datastores/1</i><i><br>
</i><i>DISK_TYPE : FILE</i><i><br>
</i><i><br>
</i><i>DATASTORE CAPACITY</i><i><br>
</i><i>TOTAL: : 7.2T</i><i><br>
</i><i>FREE: : 7.1T</i><i><br>
</i><i>USED: : 786M</i><i><br>
</i><i>LIMIT: : -</i><i><br>
</i><i><br>
</i><i>PERMISSIONS</i><i><br>
</i><i>OWNER : um-</i><i><br>
</i><i>GROUP : u--</i><i><br>
</i><i>OTHER : ---</i><i><br>
</i><i><br>
</i><i>DATASTORE TEMPLATE</i><i><br>
</i><i>BASE_PATH="/var/lib/one//datastores/"</i><i><br>
</i><i>CLONE_TARGET="SYSTEM"</i><i><br>
</i><i>DISK_TYPE="FILE"</i><i><br>
</i><i>DS_MAD="fs"</i><i><br>
</i><i>LN_TARGET="NONE"</i><i><br>
</i><i>TM_MAD="shared"</i><i><br>
</i><i>TYPE="IMAGE_DS"</i><br>
<br>
Thanks!<br>
<br>
On 9/27/2014 9:32 AM, Steven C Timm wrote:<br>
</div>
<blockquote
cite="mid:06DD77485437AF46B35123BD0106CC8803A92B9C@MAIL02.fnal.gov"
type="cite">
<pre wrap="">Can you show the output of
oneimage show
for the image you are using?
The error you are getting seems to be saying that the image you are trying to copy
from the image datastore to the system datastore is somehow a directory rather than a file.
Verify that /var/lib/one/datastores/1/22fb6766c2abcd61d1b1540796bd9705
is really a file.
Also give us the output of onedatastore show 0
and onedatastore show 1.
But I think it's a problem somehow with the way you declared your image.
Steve Timm
________________________________________
From: Users [<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.opennebula.org">users-bounces@lists.opennebula.org</a>] on behalf of Brendan Rose [<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:brendan@bluecurtain.ca">brendan@bluecurtain.ca</a>]
Sent: Saturday, September 27, 2014 2:05 AM
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>
Subject: [one-users] Can't start VM
Hey!
I've tried several times with both OpenNebula 4.6 and 4.8 on Ubuntu
12.04 and 14.04 and keep running into the same issues.
The current setup is the front end with the storage space and hostname
"Zeus". I also have a node using NFS to mount /var/lib/one. I've double
checked that ssh is setup to work without a password.
Currently this is the log I'm getting:
Sat Sep 27 01:00:05 2014 [Z0][DiM][I]: New VM state is PENDING
Sat Sep 27 01:00:22 2014 [Z0][DiM][I]: New VM state is ACTIVE.
Sat Sep 27 01:00:22 2014 [Z0][LCM][I]: New VM state is PROLOG.
Sat Sep 27 01:00:23 2014 [Z0][TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
Zeus:/var/lib/one//datastores/1/22fb6766c2abcd61d1b1540796bd9705
Zeus:/var/lib/one//datastores/0/5/disk.0 5 1
Sat Sep 27 01:00:23 2014 [Z0][TM][I]: clone: Cloning
/var/lib/one/datastores/1/22fb6766c2abcd61d1b1540796bd9705 in
Zeus:/var/lib/one//datastores/0/5/disk.0
Sat Sep 27 01:00:23 2014 [Z0][TM][E]: clone: Command "cd
/var/lib/one/datastores/0/5; cp
/var/lib/one/datastores/1/22fb6766c2abcd61d1b1540796bd9705
/var/lib/one/datastores/0/5/disk.0" failed: Warning: Permanently added
'zeus' (ECDSA) to the list of known hosts.
Sat Sep 27 01:00:23 2014 [Z0][TM][I]: cp: omitting directory
'/var/lib/one/datastores/1/22fb6766c2abcd61d1b1540796bd9705'
Sat Sep 27 01:00:23 2014 [Z0][TM][E]: Error copying
Zeus:/var/lib/one//datastores/1/22fb6766c2abcd61d1b1540796bd9705 to
Zeus:/var/lib/one//datastores/0/5/disk.0
Sat Sep 27 01:00:23 2014 [Z0][TM][I]: ExitCode: 1
Sat Sep 27 01:00:23 2014 [Z0][TM][E]: Error executing image transfer
script: Error copying
Zeus:/var/lib/one//datastores/1/22fb6766c2abcd61d1b1540796bd9705 to
Zeus:/var/lib/one//datastores/0/5/disk.0
Sat Sep 27 01:00:24 2014 [Z0][DiM][I]: New VM state is FAILED
My Datastore info is:
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM
0 system 7.2T 99% BlueCurtain 0 sys
- shared
1 default 7.2T 99% BlueCurtain 1 img
fs shared
2 files 7.2T 99% BlueCurtain 0 fil
fs ssh
Any direction would be greatly appreciated! I'm tired of banging my head
against this error!
Thanks!
---
This email is free from viruses and malware because avast! Antivirus protection is active.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.avast.com">http://www.avast.com</a>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
</p>
</td>
</tr>
</table>
<br />
</body>
</html>