http://bugzilla.suse.com/show_bug.cgi?id=1069147
Bug ID: 1069147
Summary: could not add disk to vm(both newly created and
existed)
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.3
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Virtualization:Tools
Assignee: virt-bugs@suse.de
Reporter: bliu@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
[Tue, 21 Nov 2017 17:15:20 virt-manager 10403] DEBUG (connection:567)
conn=qemu+ssh://root@10.67.160.104/system changed to state=Connecting
[Tue, 21 Nov 2017 17:15:20 virt-manager 10403] DEBUG (connection:984)
Scheduling background open thread for qemu+ssh://root@10.67.160.104/system
Password:
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:1034) libvirt
version=1002018
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:1036) daemon
version=1000005
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:1037) conn
version=1004001
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:1039)
qemu+ssh://root@10.67.160.104/system capabilities:
<capabilities>
<host>
<uuid>44454c4c-4700-1034-8035-b6c04f5a5931</uuid>
<cpu>
<arch>x86_64</arch>
<model>SandyBridge</model>
<vendor>Intel</vendor>
<topology sockets="1" cores="6" threads="2"/>
<feature name="pdpe1gb"/>
<feature name="osxsave"/>
<feature name="dca"/>
<feature name="pcid"/>
<feature name="pdcm"/>
<feature name="xtpr"/>
<feature name="tm2"/>
<feature name="est"/>
<feature name="smx"/>
<feature name="vmx"/>
<feature name="ds_cpl"/>
<feature name="monitor"/>
<feature name="dtes64"/>
<feature name="pbe"/>
<feature name="tm"/>
<feature name="ht"/>
<feature name="ss"/>
<feature name="acpi"/>
<feature name="ds"/>
<feature name="vme"/>
</cpu>
<live/>
tcp
<topology>
<cells num="1">
<cell id="0">
<memory unit="KiB">33507828</memory>
<cpus num="12">
<cpu id="0" socket_id="0" core_id="0" siblings="0,6"/>
<cpu id="1" socket_id="0" core_id="1" siblings="1,7"/>
<cpu id="2" socket_id="0" core_id="2" siblings="2,8"/>
<cpu id="3" socket_id="0" core_id="3" siblings="3,9"/>
<cpu id="4" socket_id="0" core_id="4" siblings="4,10"/>
<cpu id="5" socket_id="0" core_id="5" siblings="5,11"/>
<cpu id="6" socket_id="0" core_id="0" siblings="0,6"/>
<cpu id="7" socket_id="0" core_id="1" siblings="1,7"/>
<cpu id="8" socket_id="0" core_id="2" siblings="2,8"/>
<cpu id="9" socket_id="0" core_id="3" siblings="3,9"/>
<cpu id="10" socket_id="0" core_id="4" siblings="4,10"/>
<cpu id="11" socket_id="0" core_id="5" siblings="5,11"/>
</cpus>
</cell>
</cells>
</topology>
<secmodel>
<model>none</model>
<doi>0</doi>
</secmodel>
<secmodel>
<model>dac</model>
<doi>0</doi>
</secmodel>
</host>
<guest>
hvm
<arch name="i686">
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-kvm</emulator>
<machine canonical="pc-i440fx-1.4">pc</machine>
<machine>none</machine>
<machine>isapc</machine>
<machine>pc-0.10</machine>
<machine>pc-0.11</machine>
<machine>pc-0.12</machine>
<machine>pc-0.13</machine>
<machine>pc-0.14</machine>
<machine>pc-0.15</machine>
<machine>pc-1.0</machine>
<machine>pc-1.1</machine>
<machine>pc-1.2</machine>
<machine>pc-1.3</machine>
<machine canonical="pc-q35-1.4">q35</machine>
<domain type="qemu">
<emulator>/usr/bin/qemu-kvm</emulator>
</domain>
<domain type="kvm">
<emulator>/usr/bin/qemu-kvm</emulator>
</domain>
</arch>
<features>
<cpuselection/>
<deviceboot/>
<acpi default="on" toggle="yes"/>
<apic default="on" toggle="no"/>
<pae/>
<nonpae/>
</features>
</guest>
<guest>
hvm
<arch name="ppc64">
<wordsize>64</wordsize>
<emulator>/usr/local/bin/qemu-system-ppc64</emulator>
<machine canonical="pseries-2.3">pseries</machine>
<machine>pseries-2.2</machine>
<machine>pseries-2.1</machine>
<machine>ref405ep</machine>
<machine>g3beige</machine>
<machine>mac99</machine>
<machine>none</machine>
<machine>taihu</machine>
<machine>ppce500</machine>
<machine>prep</machine>
<machine>virtex-ml507</machine>
<machine>mpc8544ds</machine>
<machine>bamboo</machine>
<domain type="qemu">
<emulator>/usr/local/bin/qemu-system-ppc64</emulator>
</domain>
</arch>
<features>
<cpuselection/>
<deviceboot/>
</features>
</guest>
<guest>
hvm
<arch name="x86_64">
<wordsize>64</wordsize>
<emulator>/usr/bin/qemu-kvm</emulator>
<machine canonical="pc-i440fx-1.4">pc</machine>
<machine>none</machine>
<machine>isapc</machine>
<machine>pc-0.10</machine>
<machine>pc-0.11</machine>
<machine>pc-0.12</machine>
<machine>pc-0.13</machine>
<machine>pc-0.14</machine>
<machine>pc-0.15</machine>
<machine>pc-1.0</machine>
<machine>pc-1.1</machine>
<machine>pc-1.2</machine>
<machine>pc-1.3</machine>
<machine canonical="pc-q35-1.4">q35</machine>
<domain type="qemu">
<emulator>/usr/bin/qemu-kvm</emulator>
</domain>
<domain type="kvm">
<emulator>/usr/bin/qemu-kvm</emulator>
</domain>
</arch>
<features>
<cpuselection/>
<deviceboot/>
<acpi default="on" toggle="yes"/>
<apic default="on" toggle="no"/>
</features>
</guest>
</capabilities>
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:841) Using
domain events
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:855) Error
registering domain device removed event: internal error unsupported event ID 15
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:855) Error
registering domain device added event: internal error unsupported event ID 19
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:881) Error
registering network events: unknown procedure: 313
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:901) Error
registering storage pool events: 'virConnect' object has no attribute
'storagePoolEventRegisterAny'
[Tue, 21 Nov 2017 17:15:29 virt-manager 10403] DEBUG (connection:920) Error
registering node device events: 'virConnect' object has no attribute
'nodeDeviceEventRegisterAny'
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
network=virbr1 status=Inactive added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=clmd_n2_sles12 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=lszhu_sles12_target status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156) pool=ghe
status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=larry_node1 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=default status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=eric-centos2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=cl2_n2_sles113 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=eric-centos1 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=sles12sp2-n1 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=sles12sp2-n2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=sles12sp2-n3 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=clvm2 status=Running added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=mnt-vm status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=clvm1 status=Running added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=gjiang status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=leap-nick-template status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=zl1 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=zl3 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=images status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=zl2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=larry_sle12sp3_crmsh status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=zl-cent7 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=larry status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=lvs-director-sle11sp4b2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=sles11 status=Shutoff added
(virt-manager:10403): Gtk-WARNING **: Allocating size to GtkWindow 0x13af490
without calling gtk_widget_get_preferred_width/height(). How does the code know
the size to allocate?
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=opensuse12 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=eric_fedaro-25 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=zl-cent7-clone status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=sles12_sp2_b4_target status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=larry_opensuse42.3_crmsh status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=nopen-nd2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=nopen-nd3 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=bliu status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=boot-scratch status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=larry_node2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=test status=Inactive added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=nopen-nd1 status=Running added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=eric-sle11-iscsi-server status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=lvs-rs1-sle11sp4b2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=sles11sp4-iscsi status=Running added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=lvs-rs2-sle11sp4b2 status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=eric status=Active added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=eric-tw-lvm-debug status=Shutoff added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
domain=Leap42.3-ghe status=Running added
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:1156)
pool=cl2_n2_sles113 status=Active added
(virt-manager:10403): Gtk-WARNING **: Allocating size to GtkWindow 0x13af490
without calling gtk_widget_get_preferred_width/height(). How does the code know
the size to allocate?
[Tue, 21 Nov 2017 17:15:30 virt-manager 10403] DEBUG (connection:567)
conn=qemu+ssh://root@10.67.160.104/system changed to state=Active
[Tue, 21 Nov 2017 17:15:36 virt-manager 10403] DEBUG (create:200) Showing new
vm wizard
[Tue, 21 Nov 2017 17:15:36 virt-manager 10403] DEBUG (create:729) Guest type
set to os_type=hvm, arch=x86_64, dom_type=kvm
[Tue, 21 Nov 2017 17:15:36 virt-manager 10403] DEBUG (engine:412) window
counter incremented to 2
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (create:2155) Starting OS
detection thread for
media=http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (distroinstaller:182)
DistroInstaller location is a network source.
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:58) Using
scratchdir=/home/bliu/.cache/virt-manager/boot
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:502) Finding
distro store for
location=http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:91) Fetching
URI:
http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:166) Saved
file to /home/bliu/.cache/virt-manager/boot/virtinst-.treeinfo.05Draa
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:383) treeinfo
family=SUSE Linux Enterprise
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:743) No option
'boot.iso' in section: 'images-x86_64'
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:187) HTTP
hasFile request failed: 404 Client Error: Not Found for url:
http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:146)
hasFile(http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...)
returning False
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:187) HTTP
hasFile request failed: 404 Client Error: Not Found for url:
http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:146)
hasFile(http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...)
returning False
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:187) HTTP
hasFile request failed: 404 Client Error: Not Found for url:
http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:146)
hasFile(http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...)
returning False
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:187) HTTP
hasFile request failed: 404 Client Error: Not Found for url:
http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:146)
hasFile(http://mirror.suse.asia/dist/install/SLP/SLE-15-Installer-Beta2/x86_64/DVD1/...)
returning False
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (urlfetcher:537) Detected
distro name=Generic osvariant=None
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (distroinstaller:285)
installer.detect_distro returned=None
[Tue, 21 Nov 2017 17:15:41 virt-manager 10403] DEBUG (create:2233) Finished UI
OS detection.
[Tue, 21 Nov 2017 17:15:42 virt-manager 10403] DEBUG (guest:251) Setting
Guest.os_variant to 'generic'
[Tue, 21 Nov 2017 17:15:42 virt-manager 10403] DEBUG (distroinstaller:182)
DistroInstaller location is a network source.
[Tue, 21 Nov 2017 17:15:42 virt-manager 10403] DEBUG (create:1973) Recommended
resources for variant=generic: {}
[Tue, 21 Nov 2017 17:15:47 virt-manager 10403] DEBUG (storagebrowse:53) Showing
storage browser
[Tue, 21 Nov 2017 17:15:52 virt-manager 10403] DEBUG (storagebrowse:138) Chosen
volume XML:
<volume>
<name>bliu-sle15-beta2-1.qcow2</name>
<key>/mnt/vm/bliu/bliu-sle15-beta2-1.qcow2</key>
<source>
</source>
<capacity unit="bytes">21478375424</capacity>
<allocation unit="bytes">3674112</allocation>
<target>
<path>/mnt/vm/bliu/bliu-sle15-beta2-1.qcow2</path>
<format type="raw"/>
<permissions>
<mode>0600</mode>
<owner>0</owner>
<group>0</group>
</permissions>
<timestamps>
<atime>1511255488</atime>
<mtime>1511255488</mtime>
<ctime>1511255488</ctime>
</timestamps>
</target>
</volume>
[Tue, 21 Nov 2017 17:15:52 virt-manager 10403] DEBUG (storagebrowse:66) Closing
storage browser
[Tue, 21 Nov 2017 17:15:54 virt-manager 10403] ERROR (error:142) Validation
Error: Storage parameter error. 'NoneType' object has no attribute
'get_disk_type'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 2050, in
_validate_storage_page
path=path)
File "/usr/share/virt-manager/virtManager/addstorage.py", line 263, in
validate_storage
disk.path = path or None
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 511, in _set_path
self._set_xmlpath(self.path)
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 717, in
_set_xmlpath
if self._storage_backend.get_dev_type() == "network":
File "/usr/share/virt-manager/virtinst/diskbackend.py", line 601, in
get_dev_type
self._conn.is_remote())
File "/usr/share/virt-manager/virtinst/diskbackend.py", line 203, in
_get_dev_type
if vol_xml.file_type == libvirt.VIR_STORAGE_VOL_BLOCK:
File "/usr/share/virt-manager/virtinst/storage.py", line 701, in
_get_vol_type
return self._pool_xml.get_disk_type()
AttributeError: 'NoneType' object has no attribute 'get_disk_type'
--
You are receiving this mail because:
You are on the CC list for the bug.