[Users] Cannot create build slave

Erik Schnetter schnetter at cct.lsu.edu
Mon Oct 20 11:36:32 CDT 2014


I am trying to create a build slave, and I receive this error message
that I don't understand:

-erik

$ sudo ./create-build-slave-vm build
DNS domain cannot be determined automatically; please set VM_DOMAIN
VM_LANGUAGE=en_CA:en
VM_LOCALE=en_US
VM_UBUNTU_VERSION=precise
VM_UBUNTU_HOSTNAME=archive.ubuntu.com
VM_UBUNTU_DIRECTORY=/ubuntu
VM_DOMAIN=
VM_PASSWORD_HASH=$1$nd.xreKj$oQjMMP0b6/Wdu4gptOI71.
VM_TIMEZONE=America/Toronto
VM_HOME=/xfs1/eschnetter/vms
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG (cli:227)
Launched with command line:
/usr/bin/virt-install -d -n build -r 2048 --vcpus=4 --disk
path=/xfs1/eschnetter/vms/build/root.qcow2,format=qcow2,bus=virtio,size=50
--location=http://archive.ubuntu.com//ubuntu/dists/precise/main/installer-amd64/
--accelerate --network network=default,model=virtio
--connect=qemu:///system --vnc -v --extra-args=auto=true
priority=critical initrd=/install/initrd.gz
--initrd-inject=/xfs1/eschnetter/vms/build/preseed.cfg --noautoconsole
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG (cli:332)
Requesting libvirt URI qemu:///system
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG (cli:334)
Received libvirt URI qemu:///system
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG
(virt-install:258) Requesting virt method 'hvm', hv type 'default'.
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG
(virt-install:469) Received virt method 'hvm'
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG
(virt-install:470) Hypervisor name is 'kvm'
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG (cli:959)
--graphics compat generated: vnc
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] ERROR (cli:445) Format
cannot be specified for unmanaged storage.
[Mon, 20 Oct 2014 12:34:44 virt-install 19915] DEBUG (cli:448)
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 1014, in <module>
    sys.exit(main())
  File "/usr/bin/virt-install", line 999, in main
    guest = build_guest_instance(conn, options)
  File "/usr/bin/virt-install", line 529, in build_guest_instance
    options.disksize, options.sparse, need_storage)
  File "/usr/bin/virt-install", line 164, in get_disks
    get_disk(disklist[idx], sizelist[idx], sparse, guest, is_file_path)
  File "/usr/bin/virt-install", line 137, in get_disk
    dev, size = cli.parse_disk(guest, diskopts)
  File "/usr/lib/python2.7/dist-packages/virtinst/cli.py", line 1621,
in parse_disk
    format=fmt)
  File "/usr/lib/python2.7/dist-packages/virtinst/VirtualDisk.py",
line 669, in __init__
    self.__validate_params()
  File "/usr/lib/python2.7/dist-packages/virtinst/VirtualDisk.py",
line 1322, in __validate_params
    self.__set_format()
  File "/usr/lib/python2.7/dist-packages/virtinst/VirtualDisk.py",
line 1101, in __set_format
    raise RuntimeError(_("Format cannot be specified for "
RuntimeError: Format cannot be specified for unmanaged storage.


-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/


More information about the Users mailing list