Bug 676773

Summary: traceback when restart-anaconda is used
Product: [Fedora] Fedora Reporter: He Rui <rhe>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: akozumpl, anaconda-maint-list, jonathan, rhe, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:5d2636b9b4905e0a15aad94c9f4d3a04cb768df9195bd6bddb2df513181b28e7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-11 06:51:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description He Rui 2011-02-11 05:43:24 UTC
The following was filed automatically by anaconda:
anaconda 15.19 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/lvm.py", line 400, in lvdeactivate
    raise LVMError("lvdeactivate failed for %s: %s" % (lv_name, msg))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 2460, in _teardown
    lvm.lvdeactivate(self.vg.name, self._name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 716, in teardown
    self._teardown(recursive=recursive)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1348, in findExistingRootDevices
    device.teardown()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/upgrade.py", line 110, in findExistingRoots
    return findExistingRootDevices(anaconda, upgradeany=upgradeany)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/upgrade.py", line 81, in findRootParts
    flags.cmdline.has_key("upgradeany"))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1347, in setScreen
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1259, in nextClicked
    self.setScreen ()
LVMError: lvdeactivate failed for lv_root:   LV VolGroup/lv_root in use: not deactivating

Comment 1 He Rui 2011-02-11 05:43:31 UTC
Created attachment 478181 [details]
Attached traceback automatically from anaconda.

Comment 2 He Rui 2011-02-11 05:58:25 UTC
Created attachment 478185 [details]
Attached traceback automatically from anaconda.

Comment 3 He Rui 2011-02-11 06:10:41 UTC
steps:
1. Install F15-alpha-tc1 with anaconda 15.19
2. Proceed to fresh install or upgrade system step, choose 'upgrade system' and
click 'next'
3. Access to tty2 and execute "restart-anaconda"
4. Click 'next' for two or three steps after anaconda stage2 restart, error
occurred.

Comment 4 Ales Kozumplik 2011-02-11 06:51:39 UTC
(In reply to comment #3)

> 3. Access to tty2 and execute "restart-anaconda"

This is not a bug, restart-anaconda is a development tool that is not meant to be used by users.