[one-users] Can't start VM

Brendan Rose brendan at bluecurtain.ca
Fri Oct 3 09:01:30 PDT 2014


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.

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.

http://www.whotouchedmygun.com/2014/03/17/create-a-vm-image-in-opennebula/

Thanks again!


On 9/29/2014 9:50 AM, Brendan Rose wrote:
> Hi Steve,
>
>     oneimage show give me the following:
> /
> //ID             : 0//
> //NAME           : Ubuntu Server 13.10//
> //USER           : oneadmin//
> //GROUP          : oneadmin//
> //DATASTORE      : default//
> //TYPE           : OS//
> //REGISTER TIME  : 09/26 22:49:03//
> //PERSISTENT     : No//
> //SOURCE         : 
> /var/lib/one//datastores/1/22fb6766c2abcd61d1b1540796bd9705//
> //PATH           : 
> http://marketplace.c12g.com/appliance/529ce1ad8fb81d0a5a000001/download/0//
> //SIZE           : 514M//
> //STATE          : used//
> //RUNNING_VMS    : 1//
> //
> //PERMISSIONS//
> //OWNER          : um-//
> //GROUP          : ---//
> //OTHER          : ---//
> //
> //IMAGE TEMPLATE//
> //DEV_PREFIX="sd"//
> //FROM_APP="529ce1ad8fb81d0a5a000001"//
> //FROM_APP_FILE="0"//
> //FROM_APP_NAME="Ubuntu Server 13.10 v2 - vdc"//
> //MD5="8e2be456f8e96ce8be7bcb7c077157e7"//
> //SHA1="0200af01e754c672d0d6070e47acc829ae74583d"//
> //
> //VIRTUAL MACHINES//
> //
> //ID USER     GROUP    NAME            STAT UCPU    UMEM 
> HOST             TIME//
> //5 oneadmin oneadmin Ubuntu Server T fail    0 0K              0d 00h52/
>
>
> Onedatastore show 0 gives:
>
> /DATASTORE 0 INFORMATION//
> //ID             : 0//
> //NAME           : system//
> //USER           : oneadmin//
> //GROUP          : oneadmin//
> //CLUSTER        : BlueCurtain//
> //TYPE           : SYSTEM//
> //DS_MAD         : -//
> //TM_MAD         : shared//
> //BASE PATH      : /var/lib/one//datastores/0//
> //DISK_TYPE      : FILE//
> //
> //DATASTORE CAPACITY//
> //TOTAL:         : 7.2T//
> //FREE:          : 7.1T//
> //USED:          : 1M//
> //LIMIT:         : -//
> //
> //PERMISSIONS//
> //OWNER          : um-//
> //GROUP          : u--//
> //OTHER          : ---//
> //
> //DATASTORE TEMPLATE//
> //BASE_PATH="/var/lib/one//datastores/"//
> //SHARED="YES"//
> //TM_MAD="shared"//
> //TYPE="SYSTEM_DS"/
>
> And onedatastore show 1:
>
> /DATASTORE 1 INFORMATION//
> //ID             : 1//
> //NAME           : default//
> //USER           : oneadmin//
> //GROUP          : oneadmin//
> //CLUSTER        : BlueCurtain//
> //TYPE           : IMAGE//
> //DS_MAD         : fs//
> //TM_MAD         : shared//
> //BASE PATH      : /var/lib/one//datastores/1//
> //DISK_TYPE      : FILE//
> //
> //DATASTORE CAPACITY//
> //TOTAL:         : 7.2T//
> //FREE:          : 7.1T//
> //USED:          : 786M//
> //LIMIT:         : -//
> //
> //PERMISSIONS//
> //OWNER          : um-//
> //GROUP          : u--//
> //OTHER          : ---//
> //
> //DATASTORE TEMPLATE//
> //BASE_PATH="/var/lib/one//datastores/"//
> //CLONE_TARGET="SYSTEM"//
> //DISK_TYPE="FILE"//
> //DS_MAD="fs"//
> //LN_TARGET="NONE"//
> //TM_MAD="shared"//
> //TYPE="IMAGE_DS"/
>
> Thanks!
>
> On 9/27/2014 9:32 AM, Steven C Timm wrote:
>> 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 [users-bounces at lists.opennebula.org] on behalf of Brendan Rose [brendan at bluecurtain.ca]
>> Sent: Saturday, September 27, 2014 2:05 AM
>> To:users at lists.opennebula.org
>> 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.
>> http://www.avast.com
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141003/3252256e/attachment-0001.htm>


More information about the Users mailing list