[virt-tools-list] virt-install: TypeError: coercing to Unicode: need string or buffer, NoneType found

Richard W.M. Jones rjones at redhat.com
Thu Sep 15 13:22:35 UTC 2011


The error in $subject was reported in the Fedora test day today.  The
full log is attached.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-------------- next part --------------
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (cli:222) Launched with command line:
/usr/bin/virt-install --connect=qemu:///system --network=bridge:br0 --initrd-inject=/export/autovm/fed-minimal.ks --extra-args=ks=file:/fed-minimal.ks console=tty0 console=ttyS0,115200 --name=f15vm1tbox --disk /var/lib/libvirt/images/f15vm1tbox.img,size=20 --ram 2048 --vcpus=2 --check-cpu --accelerate --hvm --location=http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ --nographics
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (cli:326) Requesting libvirt URI qemu:///system
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (cli:328) Received libvirt URI qemu:///system
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (virt-install:257) Requesting virt method 'hvm', hv type 'default'.
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (virt-install:458) Received virt method 'hvm'
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (virt-install:459) Hypervisor name is 'kvm'
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (cli:947) --graphics compat generated: none
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 16:37:06 virt-install 4537] DEBUG (DistroInstaller:203) DistroInstaller location is a network source.
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:94) Saved file to /var/tmp/virtinst-.treeinfo.sJsWwU
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (virt-install:610) Guest.has_install_phase: True
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (Installer:182) scratchdir=/var/lib/libvirt/boot
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-.treeinfo.UMOUDT
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/vmlinuz
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-vmlinuz.5AMoeY
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/initrd.img
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-initrd.img.22RVcv
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (DistroInstaller:370) Auto detected OS type as: linux
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (DistroInstaller:374) Auto detected OS variant as: fedora14
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (DistroInstaller:282) Copying /export/autovm/fed-minimal.ks to the initrd.
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (DistroInstaller:285) Appending to the initrd.
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] ERROR (cli:440) coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (_util:233) Traceback (most recent call last):
  File "/usr/bin/virt-install", line 620, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1206, in start_install
    self._prepare_install(meter, dry)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 963, in _prepare_install
    meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 426, in prepare
    dev = self._prepare_kernel_and_initrd(guest, meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 382, in _prepare_kernel_and_initrd
    self._perform_initrd_injections()
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 293, in _perform_initrd_injections
    f = open(initrd, 'ab')
TypeError: coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 16:37:07 virt-install 4537] DEBUG (cli:450) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start f15vm1tbox
otherwise, please restart your installation.
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (cli:222) Launched with command line:
/usr/bin/virt-install --connect=qemu:///system --network=bridge:br0 --initrd-inject=/export/autovm/fed-minimal.ks --extra-args=ks=file:/fed-minimal.ks console=tty0 console=ttyS0,115200 --name=f15vm1tbox --disk /var/lib/libvirt/images/f15vm1tbox.img,size=20 --ram 2048 --vcpus=2 --check-cpu --accelerate --hvm --location=http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ --nographics
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (cli:326) Requesting libvirt URI qemu:///system
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (cli:328) Received libvirt URI qemu:///system
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (virt-install:257) Requesting virt method 'hvm', hv type 'default'.
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (virt-install:458) Received virt method 'hvm'
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (virt-install:459) Hypervisor name is 'kvm'
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (cli:947) --graphics compat generated: none
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (DistroInstaller:203) DistroInstaller location is a network source.
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:94) Saved file to /var/tmp/virtinst-.treeinfo.5p5ddK
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (virt-install:610) Guest.has_install_phase: True
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (Installer:182) scratchdir=/var/lib/libvirt/boot
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-.treeinfo.ji1VLW
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/vmlinuz
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-vmlinuz.aUfrC4
[Thu, 15 Sep 2011 16:40:46 virt-install 4723] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/initrd.img
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-initrd.img.uNRp1T
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (DistroInstaller:370) Auto detected OS type as: linux
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (DistroInstaller:374) Auto detected OS variant as: fedora14
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (DistroInstaller:282) Copying /export/autovm/fed-minimal.ks to the initrd.
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (DistroInstaller:285) Appending to the initrd.
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] ERROR (cli:440) coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (_util:233) Traceback (most recent call last):
  File "/usr/bin/virt-install", line 620, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1206, in start_install
    self._prepare_install(meter, dry)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 963, in _prepare_install
    meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 426, in prepare
    dev = self._prepare_kernel_and_initrd(guest, meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 382, in _prepare_kernel_and_initrd
    self._perform_initrd_injections()
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 293, in _perform_initrd_injections
    f = open(initrd, 'ab')
TypeError: coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 16:40:47 virt-install 4723] DEBUG (cli:450) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start f15vm1tbox
otherwise, please restart your installation.
[Thu, 15 Sep 2011 17:34:32 virt-install 11079] DEBUG (cli:222) Launched with command line:
/usr/bin/virt-install --connect=qemu:///system --network=bridge:br0 --initrd-inject=/export/autovm/fed-minimal.ks --extra-args=ks=file:/fed-minimal.ks console=tty0 console=ttyS0,115200 --name=f15vm1tbox --disk /var/lib/libvirt/images/f15vm1tbox.img,size=20 --ram 2048 --vcpus=2 --check-cpu --accelerate --hvm --location=http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ --nographics
[Thu, 15 Sep 2011 17:34:32 virt-install 11079] DEBUG (cli:326) Requesting libvirt URI qemu:///system
[Thu, 15 Sep 2011 17:34:32 virt-install 11079] DEBUG (cli:328) Received libvirt URI qemu:///system
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (virt-install:257) Requesting virt method 'hvm', hv type 'default'.
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (virt-install:458) Received virt method 'hvm'
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (virt-install:459) Hypervisor name is 'kvm'
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (cli:947) --graphics compat generated: none
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (DistroInstaller:203) DistroInstaller location is a network source.
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:94) Saved file to /var/tmp/virtinst-.treeinfo._U_8b2
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (virt-install:610) Guest.has_install_phase: True
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (Installer:182) scratchdir=/var/lib/libvirt/boot
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-.treeinfo.XwQh7v
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/vmlinuz
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-vmlinuz.JqWZNS
[Thu, 15 Sep 2011 17:34:33 virt-install 11079] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/initrd.img
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-initrd.img.X8zBgd
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (DistroInstaller:370) Auto detected OS type as: linux
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (DistroInstaller:374) Auto detected OS variant as: fedora14
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (DistroInstaller:282) Copying /export/autovm/fed-minimal.ks to the initrd.
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (DistroInstaller:285) Appending to the initrd.
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] ERROR (cli:440) coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (_util:233) Traceback (most recent call last):
  File "/usr/bin/virt-install", line 620, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1206, in start_install
    self._prepare_install(meter, dry)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 963, in _prepare_install
    meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 426, in prepare
    dev = self._prepare_kernel_and_initrd(guest, meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 382, in _prepare_kernel_and_initrd
    self._perform_initrd_injections()
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 293, in _perform_initrd_injections
    f = open(initrd, 'ab')
TypeError: coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 17:34:34 virt-install 11079] DEBUG (cli:450) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start f15vm1tbox
otherwise, please restart your installation.
[Thu, 15 Sep 2011 17:35:45 virt-install 11119] DEBUG (cli:222) Launched with command line:
/usr/bin/virt-install --connect=qemu:///system --network=bridge:br0 --initrd-inject=/export/autovm/fed-minimal.ks --extra-args=ks=file:/fed-minimal.ks console=tty0 console=ttyS0,115200 --name=f15vm1tbox --disk /var/lib/libvirt/images/f15vm1tbox.img,size=20 --ram 2048 --vcpus=2 --check-cpu --accelerate --hvm --location=http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/ --nographics
[Thu, 15 Sep 2011 17:35:45 virt-install 11119] DEBUG (cli:326) Requesting libvirt URI qemu:///system
[Thu, 15 Sep 2011 17:35:45 virt-install 11119] DEBUG (cli:328) Received libvirt URI qemu:///system
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (virt-install:257) Requesting virt method 'hvm', hv type 'default'.
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (virt-install:458) Received virt method 'hvm'
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (virt-install:459) Hypervisor name is 'kvm'
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (cli:947) --graphics compat generated: none
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (VirtualDisk:237) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'f15vm1tbox.img'.
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (DistroInstaller:203) DistroInstaller location is a network source.
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (ImageFetcher:94) Saved file to /var/tmp/virtinst-.treeinfo.WylTjd
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (virt-install:610) Guest.has_install_phase: True
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (Installer:182) scratchdir=/var/lib/libvirt/boot
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (OSDistro:65) Attempting to detect distro:
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/.treeinfo
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-.treeinfo.Sd1JCO
[Thu, 15 Sep 2011 17:35:46 virt-install 11119] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/vmlinuz
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-vmlinuz.iYLpFD
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (ImageFetcher:83) Fetching URI: http://download.eng.pnq.redhat.com/pub/fedora/linux/releases/14/Fedora/x86_64/os/images/pxeboot/initrd.img
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (ImageFetcher:94) Saved file to /var/lib/libvirt/boot/virtinst-initrd.img.4nP5fH
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (DistroInstaller:370) Auto detected OS type as: linux
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (DistroInstaller:374) Auto detected OS variant as: fedora14
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (DistroInstaller:282) Copying /export/autovm/fed-minimal.ks to the initrd.
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (DistroInstaller:285) Appending to the initrd.
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] ERROR (cli:440) coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (_util:233) Traceback (most recent call last):
  File "/usr/bin/virt-install", line 620, in start_install
    noboot=options.noreboot)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1206, in start_install
    self._prepare_install(meter, dry)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 963, in _prepare_install
    meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 426, in prepare
    dev = self._prepare_kernel_and_initrd(guest, meter)
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 382, in _prepare_kernel_and_initrd
    self._perform_initrd_injections()
  File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 293, in _perform_initrd_injections
    f = open(initrd, 'ab')
TypeError: coercing to Unicode: need string or buffer, NoneType found
[Thu, 15 Sep 2011 17:35:47 virt-install 11119] DEBUG (cli:450) Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start f15vm1tbox
otherwise, please restart your installation.


More information about the virt-tools-list mailing list