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-boun...@lists.opennebula.org] on behalf of Brendan Rose 
[bren...@bluecurtain.ca]
Sent: Saturday, September 27, 2014 2:05 AM
To: users@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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to