[Bug 812626] New: Virt-Install prepends string causing error when pointing to ISO
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c0 Summary: Virt-Install prepends string causing error when pointing to ISO Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: KVM AssignedTo: kvm-bugs@forge.provo.novell.com ReportedBy: tonysu@su-networking.com QAContact: jdouglas@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 First, this is on an openSUSE 12.3, "12.2" will likely show only because this bugzilla does not support 12.3 yet when submitting a new bug. the problem is simple, this is the version of virt-install that is launched by YAST KDE App Launcher > System > Virtualization > Create Virtual Machines for Xen and KVM This is <not> the VM install app launched by Virt-manager The problem is simple: You can browse to the ISO you want to configure as a virtual CDROM, but the configured path will be incorrect because "phy:/root/" will be prepended to the correct full path. The version installed on my system # zypper info python-virtinst Information for package python-virtinst: Repository: @System Name: python-virtinst Version: 0.600.3-4.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: up-to-date Installed Size: 2.0 MiB Reproducible: Always Steps to Reproduce: 1. YAST > Virtualization > Create Virtual Machines 2. Configure your new machine, add an ISO as a CDROM Actual Results: You will see an error "file or directory not found" Expected Results: VM Installer should continue and create a new VM Example: If you browse to the following location for your ISO image /usr/ISO/foobar.iso Before leaving the "Add CDROM" and applying changes, doublecheck the path, you will see the following incorrect path phy:/root//usr/ISO/foobar.iso Am assigning this a "Normal" bug although I believe for practically anyone encountering this problem for the first time, it's a show-stopper. But, as I've described the workaround is also trivial but you need to know to do it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brogers@suse.com AssignedTo|kvm-bugs@forge.provo.novell |carnold@suse.com |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c1 --- Comment #1 from Charles Arnold <carnold@suse.com> 2013-04-22 17:18:54 UTC --- Created an attachment (id=536338) --> (http://bugzilla.novell.com/attachment.cgi?id=536338) Fix for the bug It appears that the gtk.FileChooser dialog's get_current_folder() method is always returning '/root' which seems wrong. This patch sanity checks the path before prepending it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c2 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #2 from Charles Arnold <carnold@suse.com> 2013-04-22 18:01:54 UTC --- The vm-install RPM with the fix can be pulled from the 'Virtualization' repo immediately (version 0.6.17). Channel updates will follow some time later. Closing as Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c3 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simar@gmx.net --- Comment #3 from Charles Arnold <carnold@suse.com> 2013-04-22 19:22:52 UTC --- *** Bug 807776 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=807776 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:52595:importa | |nt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c4 Charles Arnold <carnold@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rens.groenewegen@xs4all.nl --- Comment #4 from Charles Arnold <carnold@suse.com> 2013-05-30 20:48:22 UTC --- *** Bug 822205 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=822205 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> 2013-06-10 10:27:50 UTC --- openSUSE-RU-2013:0980-1: An update that has four recommended fixes can now be installed. Category: recommended (low) Bug References: 809464,812626,813639,820085 CVE References: Sources used: openSUSE 12.3 (src): vm-install-0.6.18-1.4.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=812626 https://bugzilla.novell.com/show_bug.cgi?id=812626#c6 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:52595:importa |maint:running:52595:importa |nt |nt | |maint:released:sle11-sp2:52 | |716 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> 2013-06-17 13:48:01 UTC --- Update released for: vm-install Products: SLE-DESKTOP 11-SP2 (i386, x86_64) SLE-SERVER 11-SP2 (i386, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com