Bug 868589 - ValueError: Device 'vda1' not in tree
Summary: ValueError: Device 'vda1' not in tree
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3fa6b7b7798cb3b1fcdeddbe816...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-21 01:23 UTC by Reartes Guillermo
Modified: 2012-11-23 05:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-23 05:21:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (353.02 KB, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: product (6 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: type (9 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: ifcfg.log (641 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: storage.log (168.53 KB, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: version (11 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: environ (780 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: anaconda.log (46.49 KB, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: syslog (61.16 KB, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: hashmarkername (8 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: packaging.log (2.38 KB, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: cmdline_file (96 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: release (24 bytes, text/plain)
2012-10-21 01:23 UTC, Reartes Guillermo
no flags Details
File: program.log (40.11 KB, text/plain)
2012-10-21 01:24 UTC, Reartes Guillermo
no flags Details
[18.26 log anaconda-tb-4AZ5nm] ValueError: Device 'fedora-swap' not in tree (1.65 MB, text/plain)
2012-11-07 05:16 UTC, Steve Tyler
no flags Details

Description Reartes Guillermo 2012-10-21 01:23:16 UTC
Description of problem:
the ui was partially working when this happened, i will try to elaborate details later.

Version-Release number of selected component:
anaconda-18.19

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.19 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 370, in _removeDevice
:    raise ValueError("Device '%s' not in tree" % dev.name)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 444, in cancelAction
:    self._removeDevice(action.device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 632, in on_continue_clicked
:    self.storage.devicetree.cancelAction(action)
:ValueError: Device 'vda1' not in tree

Comment 1 Reartes Guillermo 2012-10-21 01:23:27 UTC
Created attachment 630703 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-10-21 01:23:29 UTC
Created attachment 630704 [details]
File: product

Comment 3 Reartes Guillermo 2012-10-21 01:23:31 UTC
Created attachment 630705 [details]
File: type

Comment 4 Reartes Guillermo 2012-10-21 01:23:34 UTC
Created attachment 630706 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-10-21 01:23:39 UTC
Created attachment 630707 [details]
File: storage.log

Comment 6 Reartes Guillermo 2012-10-21 01:23:42 UTC
Created attachment 630708 [details]
File: version

Comment 7 Reartes Guillermo 2012-10-21 01:23:44 UTC
Created attachment 630709 [details]
File: environ

Comment 8 Reartes Guillermo 2012-10-21 01:23:46 UTC
Created attachment 630710 [details]
File: anaconda.log

Comment 9 Reartes Guillermo 2012-10-21 01:23:49 UTC
Created attachment 630711 [details]
File: syslog

Comment 10 Reartes Guillermo 2012-10-21 01:23:52 UTC
Created attachment 630712 [details]
File: hashmarkername

Comment 11 Reartes Guillermo 2012-10-21 01:23:54 UTC
Created attachment 630713 [details]
File: packaging.log

Comment 12 Reartes Guillermo 2012-10-21 01:23:57 UTC
Created attachment 630714 [details]
File: cmdline_file

Comment 13 Reartes Guillermo 2012-10-21 01:23:59 UTC
Created attachment 630715 [details]
File: release

Comment 14 Reartes Guillermo 2012-10-21 01:24:02 UTC
Created attachment 630716 [details]
File: program.log

Comment 15 Steve Tyler 2012-11-07 05:16:39 UTC
Created attachment 639810 [details]
[18.26 log anaconda-tb-4AZ5nm] ValueError: Device 'fedora-swap' not in tree

[This was identified as a duplicate.]
anaconda 18.26 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 370, in _removeDevice
    raise ValueError("Device '%s' not in tree" % dev.name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 444, in cancelAction
    self._removeDevice(action.device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 637, in on_continue_clicked
    self.storage.devicetree.cancelAction(action)
ValueError: Device 'fedora-swap' not in tree

Local variables in innermost frame:
force: None
self: <pyanaconda.storage.devicetree.DeviceTree object at 0x3708390>
moddisk: True
dev: non-existent 4032MB lvmlv fedora-swap (28) with non-existent swap

Comment 16 Steve Tyler 2012-11-07 19:56:52 UTC
Attempting to reproduce Bug 872791.
That exception did not occur, so I continued to switch between the Installation Summary and the Custom partitioning dialogs.


Package: anaconda-18.26-1.fc18.x86_64
OS Release: Fedora release 18

Comment 17 Steve Tyler 2012-11-08 22:15:09 UTC
Start with an empty disc.
Auto-create partitions.
Return to Installation Summary.
Proceed to Reclaim by resizing.
Shrink both partitions.
Return to Installation Summary.
Click Installation Destination.


Package: anaconda-18.27-1.fc18.x86_64
OS Release: Fedora release 18

Comment 18 Steve Tyler 2012-11-08 22:34:54 UTC
Here's a detailed reproducer tested with:
anaconda-18.27-1.fc18.x86_64
Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso

Click Installation Destination.
Click Continue.
Installation Options is displayed.
Check "Let me customize ...".
Click Continue.
Click to auto-create.
Click Finish Partitioning.

Click Installation Destination.
Click Continue.
Installation Options is displayed.
"I don't need help ..." is already checked.
Uncheck "I don't need help ..."
Click Reclaim space.
Reclaim Disk Space is displayed.
Select Shrink Action for both partitions.
Click Reclaim space.

Click Installation Destination.
Click Continue.
Exception occurs: ValueError: Device 'fedora-swap' not in tree

Command-line:
$ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Beta/TC7/Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 19 Steve Tyler 2012-11-08 22:42:55 UTC
(In reply to comment #18)
> Here's a detailed reproducer tested with:
> anaconda-18.27-1.fc18.x86_64
> Fedora-18-Beta-TC7-x86_64-Live-Desktop.iso
...

Left out the first part. Sorry about that:

Start with an empty 12 GB disk:
$ qemu-img create f18-test-2.img 12G

...

Comment 20 Steve Tyler 2012-11-09 03:08:44 UTC
Attempting to reproduce Bug 868505.

Package: anaconda-18.27-1.fc18.x86_64
OS Release: Fedora release 18

Comment 21 Fedora Update System 2012-11-10 00:55:24 UTC
anaconda-18.28-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-17823/anaconda-18.28-1.fc18

Comment 22 Fedora Update System 2012-11-10 19:37:51 UTC
Package anaconda-18.28-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.28-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17823/anaconda-18.28-1.fc18
then log in and leave karma (feedback).

Comment 23 Adam Williamson 2012-11-23 05:21:04 UTC
This bug looks to have been fixed since 18.28 but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.