Bug 928228 - global name 'ROOT_PATH' is not defined
Summary: global name 'ROOT_PATH' is not defined
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 19
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F19Alpha, F19AlphaBlocker
TreeView+ depends on / blocked
Reported: 2013-03-27 08:23 UTC by Petr Schindler
Modified: 2013-04-03 09:50 UTC (History)
13 users (show)

Fixed In Version: python-blivet-0.9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-04-03 09:50:55 UTC
Type: Bug

Attachments (Terms of Use)
traceback (793.68 KB, application/octet-stream)
2013-03-27 08:23 UTC, Petr Schindler
no flags Details
anaconda.log (11.07 KB, text/x-log)
2013-03-27 08:37 UTC, Petr Schindler
no flags Details
program.log (47.74 KB, text/x-log)
2013-03-27 08:38 UTC, Petr Schindler
no flags Details
storage.log (193.32 KB, text/x-log)
2013-03-27 08:38 UTC, Petr Schindler
no flags Details

Description Petr Schindler 2013-03-27 08:23:34 UTC
Created attachment 716932 [details]

Description of problem:
an exception is raised during 'Creating ext4 on /dev/mapper/fedora-root'

This happens only on bare-metal (tested on two desktops). In virtual machines everything seems to work.

Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/util.py", line 268, in copy_to_system
    target = ROOT_PATH + source
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 2599, in write
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1612, in write
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 123, in doInstall
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 141, in run
    threading.Thread.run(self, *args, **kwargs)
NameError: global name 'ROOT_PATH' is not defined

Version-Release number of selected component (if applicable):

How reproducible:
on bare metal

Steps to Reproduce:
1. Start anaconda
2. Choose default and use all disk(automatic partitioning)
3. Begin installation
Actual results:
Exception is raised while performing 'Creating ext4 on /dev/mapper/fedora-root'

Expected results:
Installation should continue

Additional info:

Comment 1 Petr Schindler 2013-03-27 08:37:13 UTC
Created attachment 716938 [details]

Comment 2 Petr Schindler 2013-03-27 08:38:16 UTC
Created attachment 716939 [details]

Comment 3 Petr Schindler 2013-03-27 08:38:48 UTC
Created attachment 716940 [details]

Comment 4 Stephen John Smoogen 2013-03-27 17:23:20 UTC
Have seen this on ASUS laptop trying to install x86_64 TC2 from USB stick.

Comment 5 Adam Williamson 2013-03-27 17:32:01 UTC
Discussed at 2013-03-27 blocker review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2013-03-27/f19alpha-blocker-review-3.2013-03-27-16.01.log.txt . Accepted as a blocker per criterion "The installer must be able to complete an installation to a single disk using automatic partitioning." for multiple bare metal cases. bcl says it will be fixed in the next python-blivet build.

Comment 6 Ľuboš Kardoš 2013-03-28 13:20:34 UTC
I have seen this also on virtual machines (qemu-kvm) when I set controller to SCSI. On virtual machines with IDE or Virito disks everything seems to work.

Comment 7 Adam Williamson 2013-04-03 02:10:39 UTC
python-blivet 0.9 was included in TC3. Can someone confirm that this is fixed in TC3? Thanks.

Comment 8 Ľuboš Kardoš 2013-04-03 08:34:27 UTC
Verified on Fedora 19 TC3.

Comment 9 Adam Williamson 2013-04-03 09:50:55 UTC
then we can close it.

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