Comment #2 on issue 1064 by [email protected]: Cannot install VM on Gluster bankend storage
https://code.google.com/p/ganeti/issues/detail?id=1064

After I add /var/run/ganeti/gluster/ganeti whitelisted in /etc/ganeti/file-storage-paths. When I add an instance, I happen to following errors.

root@node1:/var/log/ganeti# sudo gnt-instance add -n node1 -o debootstrap+default -t gluster -s 5G instance1 Wed Apr 15 07:11:42 2015 - INFO: Resolved given name 'instance1' to 'instance1.ganeti.com'
Wed Apr 15 07:11:46 2015 * disk 0, size 5.0G
Wed Apr 15 07:11:46 2015 * creating instance disks...
Wed Apr 15 07:11:55 2015 adding instance instance1.ganeti.com to cluster config Wed Apr 15 07:11:56 2015 - INFO: Waiting for instance instance1.ganeti.com to sync disks Wed Apr 15 07:11:56 2015 - INFO: Instance instance1.ganeti.com's disks are in sync
Wed Apr 15 07:11:56 2015 * running the instance OS create scripts...
Failure: command execution error:
Could not add os for instance instance1.ganeti.com on node node1.ganeti.com: OS create script failed (exited with exit code 1), last lines in the log file:
sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/loop0: unrecognized partition table type
Old situation:
No partitions found
New situation:
Units = sectors of 512 bytes, counting from 0

   Device Boot    Start       End   #sectors  Id  System
/dev/loop0p1   *      2048  10485759   10483712  83  Linux
/dev/loop0p2             0         -          0   0  Empty
/dev/loop0p3             0         -          0   0  Empty
/dev/loop0p4             0         -          0   0  Empty
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Invalid argument

passwd: password expiry information changed.
loop: can't delete device /dev/loop0: Device or resource busy
umount: /tmp/tmp.ExMAXTrGE1: not found

root@node1:/var/log/ganeti# gnt-instance startup instance1
Waiting for job 6 for instance1.ganeti.com ...
Job 6 for instance1.ganeti.com has failed: Failure: command execution error:
Could not start instance 'instance1.ganeti.com': Hypervisor error: Failed to start instance instance1.ganeti.com: exited with exit code 1 (kvm: -drive file=/var/run/ganeti/instance-disks/instance1.ganeti.com:0,format=raw,if=none,cache=none,id=hotdisk-00d45331-pci-4,bus=0,unit=4: could not open disk image /var/run/ganeti/instance-disks/instance1.ganeti.com:0: Invalid argument
)



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to