Seed setup not completing

asked 2014-11-14 07:37:55 -0500

DarkKnight gravatar image

updated 2014-11-18 05:07:21 -0500

I am trying to install HP Helion OPenstack Community Edition on a physical server(virtual installation). My system has 8Gb of RAM and 200 Gb of free space and is RHEL 6.4 I have followed all the instructions and the software pre-requisites mentioned at http://docs.hpcloud.com/helion/commun... and also the instructions at http://docs.hpcloud.com/helion/commun... . However When i run the hp_ced_host_manager.sh script for seed creation, the seed is not getting created.

  HP_VM_MODE=y bash -x ~root/tripleo/tripleo-incubator/scripts/hp_ced_host_manager.sh --create seed

Excerpts of the output after running the above command

++ grep /tmp/tmp_options_mount ++ awk '{print $3}' + for dir in '$(mount | grep $TMP_MNT_DIR | awk '\''{print $3}'\'')' + umount /tmp/tmp_options_mount.qsYVHplD loop: can't delete device /dev/loop0: Device or resource busy + rm -rf /tmp/tmp_options_mount.qsYVHplD ++ losetup -j /var/lib/libvirt/images/seed_options ++ awk '{print $1}' ++ sed s/://g + for loop in '$(losetup -j ${OPTIONS_PATH} | awk '\''{print $1}'\'' | sed '\''s/://g'\'')' + losetup -a /dev/loop0: [fd00]:9178287 (/var/lib/libvirt/images/seed_options) losetup -d /dev/loop0 + configure-vm --name seed --image /var/lib/libvirt/images/seed.qcow2 --diskbus scsi --baremetal-interface brbm --engine kvm --arch x86_64 --memory 8388608 --cpus 1 --libvirt-nic-driver virtio --seed Traceback (most recent call last): File "/root/setup/tripleo/tripleo-incubator/scripts/configure-vm", line 141, in <module> main() File "/root/setup/tripleo/tripleo-incubator/scripts/configure-vm", line 134, in main libvirt_template = source_template % params KeyError: 'emulator'


Configure-vm python script at line 134 to 141

libvirt_template = source_template % params
    #conn=libvirt.open("qemu:///system")
    conn=libvirt.open(virsh.uri)
    a = conn.defineXML(libvirt_template)
    print ("Created machine %s with UUID %s" % (args.name, a.UUIDString()))

if __name__ == '__main__':
    main()

Can anyone suggest on what needs to be done?

edit retag flag offensive close merge delete

Comments

Replies Awaited!! Has no-one faced a similar issue before?

DarkKnight gravatar imageDarkKnight ( 2014-11-17 00:18:26 -0500 )edit

check if kvm and libvirt are in good state?

kvm-ok
virsh list
9lives gravatar image9lives ( 2014-11-18 05:25:44 -0500 )edit