[Bug 1234438] New: virt-manager fails to create new images
https://bugzilla.suse.com/show_bug.cgi?id=1234438 Bug ID: 1234438 Summary: virt-manager fails to create new images Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Tools Assignee: virt-bugs@suse.de Reporter: aplanas@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Creating new images via virt-manager, throws this error after pressing the "Begin Installation" button: ``` Unable to complete install: 'End of file while reading data: Input/output error' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 71, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/createvm.py", line 2085, in _do_async_install installer.start_install(guest, meter=meter) File "/usr/share/virt-manager/virtinst/install/installer.py", line 768, in start_install domain = self._create_guest( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/virt-manager/virtinst/install/installer.py", line 709, in _create_guest domain = self.conn.createXML(initial_xml or final_xml, 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/libvirt.py", line 4545, in createXML raise libvirtError('virDomainCreateXML() failed') libvirt.libvirtError: End of file while reading data: Input/output error ``` Versions: virt-manager-common-5.0.0-2.1.noarch virt-manager-5.0.0-2.1.noarch -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234438 Alberto Planas Dominguez <aplanas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|virt-manager fails to |virt-manager fails to |create new images |create new images when TPM2 | |hardware is added -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234438 https://bugzilla.suse.com/show_bug.cgi?id=1234438#c1 --- Comment #1 from Alberto Planas Dominguez <aplanas@suse.com> --- After some tests, seems that the problem is when the new image has a vTPM hardware added. I can create a new image without TPM2, and later add it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234438 https://bugzilla.suse.com/show_bug.cgi?id=1234438#c2 --- Comment #2 from Alberto Planas Dominguez <aplanas@suse.com> --- In new test the error message is now different. In the virt-manager screen: ``` Unable to complete install: 'Cannot recv data: Connection reset by peer' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 71, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/createvm.py", line 2085, in _do_async_install installer.start_install(guest, meter=meter) File "/usr/share/virt-manager/virtinst/install/installer.py", line 768, in start_install domain = self._create_guest( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/virt-manager/virtinst/install/installer.py", line 709, in _create_guest domain = self.conn.createXML(initial_xml or final_xml, 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/libvirt.py", line 4545, in createXML raise libvirtError('virDomainCreateXML() failed') libvirt.libvirtError: Cannot recv data: Connection reset by peer ``` and in the CLI where virt-manager was called: ``` Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 279, in _exit_if_necessary self._thread_finished() File "/usr/share/virt-manager/virtManager/asyncjob.py", line 258, in _thread_finished self._finish_cb(error, details, *self._finish_args) File "/usr/share/virt-manager/virtManager/createvm.py", line 2010, in _install_finished_cb self._gdata.failed_guest = guest ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'failed_guest' ``` -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234438 https://bugzilla.suse.com/show_bug.cgi?id=1234438#c5 --- Comment #5 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1234438) was mentioned in https://build.opensuse.org/request/show/1230648 Factory / libvirt -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com