Bug 1254135 - UnboundLocalError: local variable 'removed' referenced before assignment
UnboundLocalError: local variable 'removed' referenced before assignment
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: python-blivet (Show other bugs)
rawhide
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Brian Lane
Fedora Extras Quality Assurance
abrt_hash:1b25e460dd463b8a24208881eab...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-17 05:08 EDT by Jiri Konecny
Modified: 2015-11-10 20:08 EST (History)
7 users (show)

See Also:
Fixed In Version: python-blivet-1.13-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-10 20:08:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: anaconda-tb (635.25 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: anaconda.log (50.53 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: dnf.log (6.60 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: environ (494 bytes, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: lsblk_output (1.78 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: nmcli_dev_list (1.52 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: os_info (451 bytes, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: storage.log (233.20 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: syslog (65.84 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: ifcfg.log (2.05 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: packaging.log (2.72 KB, text/plain)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details
File: program.log (52.04 KB, application/octet-stream)
2015-08-17 05:09 EDT, Jiri Konecny
no flags Details

  None (edit)
Description Jiri Konecny 2015-08-17 05:08:57 EDT
Description of problem:
I had complete manual partitioning like this (everything else was default settings for Server netinst):

/ - 4,5 GiB
/boot - 512 MiB
swap - 512 MiB

this settings was set and used without a problem. Then I got to the spoke again and changed space for '/' to 4,55 GiB I clicked on Done without 'Update Settings' button and got this crash.

Version-Release number of selected component:
anaconda-23.19-1

The following was filed automatically by anaconda:
anaconda 23.19-1 exception report
Traceback (most recent call first):
  File "/tmp/updates/blivet/blivet.py", line 1716, in copy
    for mnt in removed:
  File "/tmp/updates/blivet/devicefactory.py", line 876, in _save_devicetree
    _blivet_copy = self.storage.copy()
  File "/tmp/updates/blivet/devicefactory.py", line 815, in configure
    self._save_devicetree()
  File "/tmp/updates/blivet/blivet.py", line 1678, in factoryDevice
    factory.configure()
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 630, in _replace_device
    new_device = self._storage_playground.factoryDevice(dev_type, size, **kwargs)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 711, in _try_replace_device
    self._replace_device(selector=selector, **new_device_info)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 1179, in _save_right_side
    new_device_info, old_device_info)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/custom.py", line 1631, in on_back_clicked
    self._save_right_side(self._current_selector)
UnboundLocalError: local variable 'removed' referenced before assignment

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   initrd=/test/jk/rawhide/initrd.img inst.repo=ftp://cobra02/rawhide/x86_64/os nokill resolution=1024x768 updates=http://cobra02/ks/jk/master_updates.img BOOT_IMAGE=/test/jk/rawhide/vmlinuz 
dnf.rpm.log:    Aug 17 10:39:14 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-0.rc6.git1.1.fc24.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        Rawhide
Comment 1 Jiri Konecny 2015-08-17 05:09:03 EDT
Created attachment 1063727 [details]
File: anaconda-tb
Comment 2 Jiri Konecny 2015-08-17 05:09:05 EDT
Created attachment 1063728 [details]
File: anaconda.log
Comment 3 Jiri Konecny 2015-08-17 05:09:06 EDT
Created attachment 1063729 [details]
File: dnf.log
Comment 4 Jiri Konecny 2015-08-17 05:09:08 EDT
Created attachment 1063730 [details]
File: environ
Comment 5 Jiri Konecny 2015-08-17 05:09:09 EDT
Created attachment 1063731 [details]
File: lsblk_output
Comment 6 Jiri Konecny 2015-08-17 05:09:10 EDT
Created attachment 1063732 [details]
File: nmcli_dev_list
Comment 7 Jiri Konecny 2015-08-17 05:09:12 EDT
Created attachment 1063733 [details]
File: os_info
Comment 8 Jiri Konecny 2015-08-17 05:09:14 EDT
Created attachment 1063734 [details]
File: storage.log
Comment 9 Jiri Konecny 2015-08-17 05:09:17 EDT
Created attachment 1063735 [details]
File: syslog
Comment 10 Jiri Konecny 2015-08-17 05:09:18 EDT
Created attachment 1063736 [details]
File: ifcfg.log
Comment 11 Jiri Konecny 2015-08-17 05:09:19 EDT
Created attachment 1063737 [details]
File: packaging.log
Comment 12 Jiri Konecny 2015-08-17 05:09:21 EDT
Created attachment 1063738 [details]
File: program.log
Comment 13 Brian Lane 2015-08-17 15:00:23 EDT
Proposed patch - https://github.com/rhinstaller/blivet/pull/205

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