Am Mittwoch, den 06.05.2015, 19:00 +0200 schrieb Guido Günther:
> On Wed, May 06, 2015 at 06:59:10PM +0200, Guido Günther wrote:
> > On Wed, May 06, 2015 at 05:34:09PM +0200, David Ayers wrote:
> > > There is no "customize configuration before install" option available.
> > > In fact the Step 4 of 5 and Step 5 of 5 are almost idenitcal UI elements
> > > with the exception that the text of the "Forward" button is changed to
> > > "Finish".
> > 
> > Then try to figure out why that is. I can customize these things
> > (including the VM name here).
> 
> --debug --no-fork
> 
> might help here.
>  -- Guido

I will need help figuring this out.  I have attached the output of
virt-manager --debug --no-fork
and marked the interactive interactions.

I suppose the relevant part is:

###################### Forward 4/5
[Sat, 09 May 2015 12:23:39 virt-manager 21875] DEBUG (create:1629) Default 
storage path is: /var/lib/libvirt/images/debianwheezy.img
[Sat, 09 May 2015 12:23:41 virt-manager 21875] DEBUG (diskbackend:171) Path 
'/var/lib/libvirt/images' is target for pool 'default'. Creating volume 
'debianwheezy.img'.
[Sat, 09 May 2015 12:23:41 virt-manager 21875] DEBUG (cli:182) Uncaught 
exception:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1344, in 
page_changed
    self.populate_summary()
  File "/usr/share/virt-manager/virtManager/create.py", line 931, in 
populate_summary
    self.netdev_changed(None)
  File "/usr/share/virt-manager/virtManager/create.py", line 1088, in 
netdev_changed
    obj = self.conn.get_net(key)
  File "/usr/share/virt-manager/virtManager/connection.py", line 685, in get_net
    return self.nets[uuid]
KeyError: '1f05d411-9f8f-5ee4-4162-4616caa714de'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1344, in 
page_changed
    self.populate_summary()
  File "/usr/share/virt-manager/virtManager/create.py", line 931, in 
populate_summary
    self.netdev_changed(None)
  File "/usr/share/virt-manager/virtManager/create.py", line 1088, in 
netdev_changed
    obj = self.conn.get_net(key)
  File "/usr/share/virt-manager/virtManager/connection.py", line 685, in get_net
    return self.nets[uuid]
KeyError: '1f05d411-9f8f-5ee4-4162-4616caa714de'
###################### Forward 5/5


-- 
David Ayers - Team Austria
Free Software Foundation Europe (FSFE) []          (http://www.fsfe.org)
Join the Fellowship of FSFE!         [][][]      (https://fsfe.org/join)
Your donation powers our work!         ||       (http://fsfe.org/donate)
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (cli:187) Launched with command line: /usr/share/virt-manager/virt-manager --debug --no-fork
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (virt-manager:150) virt-manager version: 1.0.1
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (virt-manager:151) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (virt-manager:209) GTK version: 3.14.5
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (engine:484) libguestfs inspection support: False
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (systray:152) Showing systray: True
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (engine:231) About to connect to uris ['qemu+ssh://ayers@<myhost>/system', 'qemu+ssh://ayers@<myotherhost>/system', 'qemu:///system']
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (manager:216) Showing manager
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (engine:385) window counter incremented to 1
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (connection:995) Scheduling background open thread for qemu:///system
[Sat, 09 May 2015 12:19:12 virt-manager 21875] DEBUG (connection:1012) Background 'open connection' thread is running
[Sat, 09 May 2015 12:19:14 virt-manager 21875] DEBUG (connection:1038) User cancelled auth, not raising any error.
[Sat, 09 May 2015 12:19:14 virt-manager 21875] DEBUG (connection:1063) Background open thread complete, scheduling notify
[Sat, 09 May 2015 12:19:14 virt-manager 21875] DEBUG (connection:1068) Notifying open result
################### Connect to Ubuntu 12.04 Server
[Sat, 09 May 2015 12:19:30 virt-manager 21875] DEBUG (connection:995) Scheduling background open thread for qemu+ssh://ayers@<myhost>/system
[Sat, 09 May 2015 12:19:30 virt-manager 21875] DEBUG (connection:1012) Background 'open connection' thread is running
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:1063) Background open thread complete, scheduling notify
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:1068) Notifying open result
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:1074) libvirt version=1002009
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:1076) daemon version=9008
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:1077) conn version=1000000
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:1079) qemu+ssh://ayers@<myhost>/system capabilities:
<capabilities>

  <host>
    <uuid>[snip the real UUID]</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>Penryn</model>
      <vendor>Intel</vendor>
      <topology sockets='1' cores='2' threads='1'/>
      <feature name='xtpr'/>
      <feature name='tm2'/>
      <feature name='est'/>
      <feature name='vmx'/>
      <feature name='ds_cpl'/>
      <feature name='monitor'/>
      <feature name='pbe'/>
11      <feature name='tm'/>
      <feature name='ht'/>
      <feature name='ss'/>
      <feature name='acpi'/>
      <feature name='ds'/>
      <feature name='vme'/>
    </cpu>
    <power_management/>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num='1'>
        <cell id='0'>
          <cpus num='2'>
            <cpu id='0'/>
            <cpu id='1'/>
          </cpus>
        </cell>
      </cells>
    </topology>
    <secmodel>
      <model>apparmor</model>
      <doi>0</doi>
    </secmodel>
  </host>

  <guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine>pc-1.0-qemu-kvm</machine>
      <machine canonical='pc-1.0-qemu-kvm'>pc-1.0-precise</machine>
      <machine canonical='pc-1.0'>pc</machine>
      <machine>pc-1.0</machine>
      <machine>pc-0.14</machine>
      <machine>pc-0.13</machine>
      <machine>pc-0.12</machine>
      <machine>pc-0.11</machine>
      <machine>pc-0.10</machine>
      <machine>isapc</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/bin/kvm</emulator>
        <machine>pc-1.0-qemu-kvm</machine>
        <machine canonical='pc-1.0-qemu-kvm'>pc-1.0-precise</machine>
        <machine canonical='pc-1.0'>pc</machine>
        <machine>pc-1.0</machine>
        <machine>pc-0.14</machine>
        <machine>pc-0.13</machine>
        <machine>pc-0.12</machine>
        <machine>pc-0.11</machine>
        <machine>pc-0.10</machine>
        <machine>isapc</machine>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <pae/>
      <nonpae/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/qemu-system-x86_64</emulator>
      <machine>pc-1.0-qemu-kvm</machine>
      <machine canonical='pc-1.0-qemu-kvm'>pc-1.0-precise</machine>
      <machine canonical='pc-1.0'>pc</machine>
      <machine>pc-1.0</machine>
      <machine>pc-0.14</machine>
      <machine>pc-0.13</machine>
      <machine>pc-0.12</machine>
      <machine>pc-0.11</machine>
      <machine>pc-0.10</machine>
      <machine>isapc</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/bin/kvm</emulator>
        <machine>pc-1.0-qemu-kvm</machine>
        <machine canonical='pc-1.0-qemu-kvm'>pc-1.0-precise</machine>
        <machine canonical='pc-1.0'>pc</machine>
        <machine>pc-1.0</machine>
        <machine>pc-0.14</machine>
        <machine>pc-0.13</machine>
        <machine>pc-0.12</machine>
        <machine>pc-0.11</machine>
        <machine>pc-0.10</machine>
        <machine>isapc</machine>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
    </features>
  </guest>

</capabilities>

[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:879) Using domain events
[Sat, 09 May 2015 12:19:31 virt-manager 21875] DEBUG (connection:892) Error registering network events: unknown procedure: 313
[Sat, 09 May 2015 12:19:32 virt-manager 21875] DEBUG (connection:514) Connection doesn't seem to support interface APIs. Skipping all interface polling.
[Sat, 09 May 2015 12:19:39 virt-manager 21875] DEBUG (connection:214) Libvirt version does not support physical interface listing.
[Sat, 09 May 2015 12:19:42 virt-manager 21875] DEBUG (connection:239) Using libvirt API for mediadev enumeration
##################### New VM: 1/5
[Sat, 09 May 2015 12:20:06 virt-manager 21875] DEBUG (create:167) Showing new vm wizard
[Sat, 09 May 2015 12:20:06 virt-manager 21875] DEBUG (create:873) Guest type set to os_type=hvm, arch=x86_64, dom_type=kvm
[Sat, 09 May 2015 12:20:08 virt-manager 21875] DEBUG (cli:182) Uncaught exception:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1088, in netdev_changed
    obj = self.conn.get_net(key)
  File "/usr/share/virt-manager/virtManager/connection.py", line 685, in get_net
    return self.nets[uuid]
KeyError: '1f05d411-9f8f-5ee4-4162-4616caa714de'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1088, in netdev_changed
    obj = self.conn.get_net(key)
  File "/usr/share/virt-manager/virtManager/connection.py", line 685, in get_net
    return self.nets[uuid]
KeyError: '1f05d411-9f8f-5ee4-4162-4616caa714de'
###################### Forward 2/5
[Sat, 09 May 2015 12:21:39 virt-manager 21875] DEBUG (storagebrowse:79) Showing storage browser
###################### Forward 3/5
[Sat, 09 May 2015 12:21:48 virt-manager 21875] DEBUG (storagebrowse:86) Closing storage browser
[Sat, 09 May 2015 12:22:16 virt-manager 21875] DEBUG (guest:208) Setting Guest.os_variant to 'debianwheezy'
###################### Forward 4/5
[Sat, 09 May 2015 12:23:39 virt-manager 21875] DEBUG (create:1629) Default storage path is: /var/lib/libvirt/images/debianwheezy.img
[Sat, 09 May 2015 12:23:41 virt-manager 21875] DEBUG (diskbackend:171) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'debianwheezy.img'.
[Sat, 09 May 2015 12:23:41 virt-manager 21875] DEBUG (cli:182) Uncaught exception:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1344, in page_changed
    self.populate_summary()
  File "/usr/share/virt-manager/virtManager/create.py", line 931, in populate_summary
    self.netdev_changed(None)
  File "/usr/share/virt-manager/virtManager/create.py", line 1088, in netdev_changed
    obj = self.conn.get_net(key)
  File "/usr/share/virt-manager/virtManager/connection.py", line 685, in get_net
    return self.nets[uuid]
KeyError: '1f05d411-9f8f-5ee4-4162-4616caa714de'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1344, in page_changed
    self.populate_summary()
  File "/usr/share/virt-manager/virtManager/create.py", line 931, in populate_summary
    self.netdev_changed(None)
  File "/usr/share/virt-manager/virtManager/create.py", line 1088, in netdev_changed
    obj = self.conn.get_net(key)
  File "/usr/share/virt-manager/virtManager/connection.py", line 685, in get_net
    return self.nets[uuid]
KeyError: '1f05d411-9f8f-5ee4-4162-4616caa714de'
###################### Forward 5/5
[Sat, 09 May 2015 12:25:47 virt-manager 21875] DEBUG (create:1629) Default storage path is: /var/lib/libvirt/images/debianwheezy.img
[Sat, 09 May 2015 12:25:48 virt-manager 21875] DEBUG (diskbackend:171) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'debianwheezy.img'.
[Sat, 09 May 2015 12:25:48 virt-manager 21875] DEBUG (create:1701) Starting create finish() sequence
[Sat, 09 May 2015 12:25:48 virt-manager 21875] DEBUG (asyncjob:194) Creating async job for function cb=<bound method vmmCreate.do_install of <vmmCreate object at 0x7f8c853b2f00 (virtManager+create+vmmCreate at 0x1ab9a60)>>
[Sat, 09 May 2015 12:25:48 virt-manager 21875] DEBUG (create:1786) Starting background install process
[Sat, 09 May 2015 12:25:48 virt-manager 21875] DEBUG (distroinstaller:417) Using scratchdir=/home/ayers/.cache/virt-manager/boot
[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (storage:701) Creating storage volume 'debianwheezy.img' with xml:
<volume>
  <name>debianwheezy.img</name>
  <capacity>8589934592</capacity>
  <allocation>0</allocation>
  <target>
    <format type="raw"/>
  </target>
</volume>

[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (storage:730) Using vol create flags=0
[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (storage:770) Couldn't lookup storage volume in prog thread.
[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (storage:737) Storage volume 'debianwheezy.img' install complete.
[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (guest:898) Using default_graphics=spice
[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (guest:898) Using default_graphics=spice
[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (guest:449) Generated install XML: 
<domain type="kvm">
  <name>debianwheezy</name>
  <uuid>[snip real UUID]</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch="x86_64">hvm</type>
    <boot dev="cdrom"/>
    <boot dev="hd"/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode="custom" match="exact">
    <model>Penryn</model>
  </cpu>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type="file" device="disk">
      <driver name="qemu" type="raw"/>
      <source file="/var/lib/libvirt/images/debianwheezy.img"/>
      <target dev="vda" bus="virtio"/>
    </disk>
    <disk type="file" device="cdrom">
      <driver name="qemu" type="raw"/>
      <source file="/var/lib/libvirt/images/debian-8.0.0-amd64-netinst.iso"/>
      <target dev="hda" bus="ide"/>
      <readonly/>
    </disk>
    <controller type="usb" index="0" model="ich9-ehci1"/>
    <controller type="usb" index="0" model="ich9-uhci1">
      <master startport="0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <master startport="2"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <master startport="4"/>
    </controller>
    <input type="tablet" bus="usb"/>
    <graphics type="spice" port="-1" tlsPort="-1" autoport="yes"/>
    <console type="pty"/>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
    </channel>
    <sound model="ich6"/>
    <video>
      <model type="qxl"/>
    </video>
  </devices>
</domain>

[Sat, 09 May 2015 12:25:49 virt-manager 21875] DEBUG (guest:450) Generated boot XML: 
<domain type="kvm">
  <name>debianwheezy</name>
  <uuid>[snip real UUID]</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch="x86_64">hvm</type>
    <boot dev="hd"/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode="custom" match="exact">
    <model>Penryn</model>
  </cpu>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type="file" device="disk">
      <driver name="qemu" type="raw"/>
      <source file="/var/lib/libvirt/images/debianwheezy.img"/>
      <target dev="vda" bus="virtio"/>
    </disk>
    <disk type="block" device="cdrom">
      <target dev="hda" bus="ide"/>
      <readonly/>
    </disk>
    <controller type="usb" index="0" model="ich9-ehci1"/>
    <controller type="usb" index="0" model="ich9-uhci1">
      <master startport="0"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci2">
      <master startport="2"/>
    </controller>
    <controller type="usb" index="0" model="ich9-uhci3">
      <master startport="4"/>
    </controller>
    <input type="tablet" bus="usb"/>
    <graphics type="spice" port="-1" tlsPort="-1" autoport="yes"/>
    <console type="pty"/>
    <channel type="spicevmc">
      <target type="virtio" name="com.redhat.spice.0"/>
    </channel>
    <sound model="ich6"/>
    <video>
      <model type="qxl"/>
    </video>
  </devices>
</domain>

[Sat, 09 May 2015 12:25:51 virt-manager 21875] DEBUG (error:84) error dialog message:
summary=Unable to complete install: 'unsupported configuration: spicevmc not supported in this QEMU binary'
details=Unable to complete install: 'unsupported configuration: spicevmc not supported in this QEMU binary'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1787, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 403, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 467, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3440, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: unsupported configuration: spicevmc not supported in this QEMU binary
###################### Dialog: Unable to complete

[Sat, 09 May 2015 12:26:37 virt-manager 21875] DEBUG (create:177) Closing new vm wizard
###################### Close
[Sat, 09 May 2015 12:26:37 virt-manager 21875] DEBUG (storagebrowse:86) Closing storage browser
###################### Quit 
/usr/share/virt-manager/virtManager/engine.py:410: Warning: Source ID 9 was not found when attempting to remove it
  GLib.source_remove(self.timer)
[Sat, 09 May 2015 12:27:29 virt-manager 21875] DEBUG (manager:227) Closing manager
[Sat, 09 May 2015 12:27:29 virt-manager 21875] DEBUG (engine:389) window counter decremented to 0
[Sat, 09 May 2015 12:27:29 virt-manager 21875] DEBUG (storagebrowse:86) Closing storage browser
[Sat, 09 May 2015 12:27:29 virt-manager 21875] DEBUG (storagebrowse:86) Closing storage browser
[Sat, 09 May 2015 12:27:29 virt-manager 21875] DEBUG (engine:471) Exiting app normally.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to