Comment #6 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 update create script under "/srv/ganeti/os/debootstrap/" as what
you said above, I start an instance again. However, there is still a
problem as follows. I am trying to fix this problem.
root@node1:~# sudo gnt-instance add -n node1 -o debootstrap+default -t
gluster -s 5G instance1
Wed Apr 15 21:45:28 2015 - INFO: Resolved given name 'instance1'
to 'instance1.ganeti.com'
Wed Apr 15 21:45:32 2015 * disk 0, size 5.0G
Wed Apr 15 21:45:32 2015 * creating instance disks...
Wed Apr 15 21:45:32 2015 adding instance instance1.ganeti.com to cluster
config
Wed Apr 15 21:45:33 2015 - INFO: Waiting for instance instance1.ganeti.com
to sync disks
Wed Apr 15 21:45:33 2015 - INFO: Instance instance1.ganeti.com's disks are
in sync
Wed Apr 15 21:45:33 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/loop5: 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/loop5p1 * 2048 10485759 10483712 83 Linux
/dev/loop5p2 0 - 0 0 Empty
/dev/loop5p3 0 - 0 0 Empty
/dev/loop5p4 0 - 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
BLKRRPART: Invalid argument
passwd: password expiry information changed.
settle: invalid option -- 'd'
umount: /tmp/tmp.q9FdTXtK05: not found
The verion of OS creation script:
# git clone git://git.ganeti.org/instance-debootstrap.git
# cd instance-debootstrap/
# ./autogen.sh
# ./configure --with-os-dir=/srv/ganeti/os
# make
# make install
# apt-get install debootstrap dump kpartx
root@node1:/var/log/ganeti/os# debootstrap --version
debootstrap 1.0.48+deb7u3
--
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