[Bug 755021] New: Installation with autoyast fails if lvm volume group exists on drive
https://bugzilla.novell.com/show_bug.cgi?id=755021 https://bugzilla.novell.com/show_bug.cgi?id=755021#c0 Summary: Installation with autoyast fails if lvm volume group exists on drive Classification: openSUSE Product: openSUSE 12.2 Version: Milestone 2 Platform: x86-64 OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: frank@samaxi.de QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 When I try to install SLES 11 SP2 via autoyast on a machine which has a configured lvm Volume Group, the Installation process hangs while preparing disks I found this error on SLES 11 SP 2 but as far as i have seen it`s a general problem in libstorage (and maybe affects other suse versions). Reproducible: Always Steps to Reproduce: 1. create lvm volume group on hdd 2. start installation with autoyast 3. "vgremove" will hang. Actual Results: ############################################################################### 2012-03-30 17:26:15 <1> 10.0.7.245(3659) [libstorage] SystemCmd.cc(SystemCmd):49 constructor SystemCmd:"/sbin/vgremove 'system'" 2012-03-30 17:26:15 <1> 10.0.7.245(3659) [libstorage] SystemCmd.cc(execute):93 SystemCmd Executing:"/sbin/vgremove 'system'" 2012-03-30 17:26:15 <1> 10.0.7.245(3659) [libstorage] SystemCmd.cc(addLine):595 Adding Line 1 "Do you really want to remove volume group "system" containing 1 logical volumes? [y/n]: " 2012-03-30 17:26:15 <1> 10.0.7.245(3659) [libstorage] SystemCmd.cc(getUntilEOF):561 pid:5899 added lines:1 stderr:false ############################################################################### Expected Results: Proceed without Installation I checked out git://gitorious.org/opensuse/libstorage.git and think the following diff should fix the problem, but i`m not sure, as i had no chance to test it: diff --git a/storage/LvmVg.cc b/storage/LvmVg.cc index 3365dff..a435756 100644 --- a/storage/LvmVg.cc +++ b/storage/LvmVg.cc @@ -1261,7 +1261,7 @@ LvmVg::doRemoveVg() activate(true); getStorage()->showInfoCb(removeText(true),silent); checkConsistency(); - string cmd = VGREMOVEBIN " " + quote(name()); + string cmd = VGREMOVEBIN " -f " + quote(name()); SystemCmd c( cmd ); if( c.retcode()!=0 ) { -- 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=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c1
--- Comment #1 from Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c2
--- Comment #2 from Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c3
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c4
--- Comment #4 from Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c5
--- Comment #5 from Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c6
--- Comment #6 from Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c7
--- Comment #7 from Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c8
Frank Schreiner
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c9
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c10
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c11
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=755021
https://bugzilla.novell.com/show_bug.cgi?id=755021#c12
--- Comment #12 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com