Ganeti! could not add os for instance

Discussion in 'HOWTO-Related Questions' started by luannunes, Oct 27, 2010.

  1. luannunes

    luannunes New Member

    Hi everyone,

    I'm following this tutorial: http://www.howtoforge.com/xen-cluster-management-with-ganeti-on-debian-lenny-p3

    i set everything as the tutorial showed... hosts, interfaces, drbd.. ALL.

    An error occurred after using this command:

    gnt-instance add -t drbd -n slave.com:master.com -o debootstrap -s 3g --swap-size 128 -m 256 --kernel /boot/vmlinuz-`uname -r` --ip 192.168.0.106 webserver.com

    and was supposed to be so:

    * creating instance disks...
    adding instance inst1.example.com to cluster config
    - INFO: Waiting for instance inst1.example.com to sync disks.
    - INFO: - device sda: 3.90% done, 971 estimated seconds remaining
    - INFO: - device sdb: 17.00% done, 42 estimated seconds remaining
    - INFO: - device sda: 9.00% done, 746 estimated seconds remaining
    - INFO: - device sdb: 100.00% done, 0 estimated seconds remaining
    - INFO: - device sda: 9.30% done, 727 estimated seconds remaining
    - INFO: - device sda: 22.10% done, 786 estimated seconds remaining
    - INFO: - device sda: 35.10% done, 224 estimated seconds remaining
    - INFO: - device sda: 48.00% done, 205 estimated seconds remaining
    - INFO: - device sda: 61.00% done, 183 estimated seconds remaining
    - INFO: - device sda: 73.90% done, 120 estimated seconds remaining
    - INFO: - device sda: 86.90% done, 36 estimated seconds remaining
    - INFO: - device sda: 94.80% done, 344 estimated seconds remaining
    - INFO: Instance inst1.example.com's disks are in sync.
    creating os for instance inst1.example.com on node node2.example.com
    * running the instance OS create scripts...
    * starting instance...
    master.com:~#


    BUT, i have this problem:

    * creating instance disks...
    adding instance webserver.com to cluster config
    - INFO: Waiting for instance webserver.com to sync disks.
    - INFO: - device sda: 3.90% done, 971 estimated seconds remaining
    - INFO: - device sdb: 17.00% done, 42 estimated seconds remaining
    - INFO: - device sda: 9.00% done, 746 estimated seconds remaining
    - INFO: - device sdb: 100.00% done, 0 estimated seconds remaining
    - INFO: - device sda: 9.30% done, 727 estimated seconds remaining
    - INFO: - device sda: 22.10% done, 786 estimated seconds remaining
    - INFO: - device sda: 35.10% done, 224 estimated seconds remaining
    - INFO: - device sda: 48.00% done, 205 estimated seconds remaining
    - INFO: - device sda: 61.00% done, 183 estimated seconds remaining
    - INFO: - device sda: 73.90% done, 120 estimated seconds remaining
    - INFO: - device sda: 86.90% done, 36 estimated seconds remaining
    - INFO: - device sda: 94.80% done, 344 estimated seconds remaining
    - INFO: Instance webserver.com's disks are in sync.
    creating os for instance webserver.com on node slave.com
    * running the instance OS create scripts...
    * Failure: command execution error:
    * could not add os for instance webserver.com on node slave.com
    master.com:~#


    Anyone help me?
    I am apply the Ganet in my completion of course work (TCC).
    Thanks all.
    Hugs
     
: drbd, ganeti, xen

Share This Page