Bug 889611

Summary: anaconda crashes after 'begin installation'(DeviceCreateError: ('lvcreate failed for fedora/: running lvm lvcreate)
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, sbueno, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-02 16:02:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda full exception
none
anaconda.log
none
program.log
none
storage.log
none
sda after exception
none
sdb after exception
none
sdc after exception
none
screenshot of the unicode mount point none

Description Reartes Guillermo 2012-12-21 21:14:19 UTC
Created attachment 667435 [details]
anaconda full exception

Description of problem:

I installed over a previous F18 disk, using 'manual partitioning'.
ABRT points to another bug-report bug the exception appears a bit different.
At worst it will be a duplicate of such bug-report.


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

How reproducible:
unknown, happen once.

Steps to Reproduce:
unknown, i do suspect that it was related to a mount point using
Unicode control characters.
  
Actual results:
*1 aborted installation
*2 bug reported as bug 870586 (but the exception does look a bit different)

Expected results:
either finish installing or rejecting storage configuration if it was invalid.

Additional info:

anaconda 18.37.6 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 786, in create
    raise DeviceCreateError(str(e), self.name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 241, in execute
    self.device.create()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 323, in processActions
    action.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 323, in doIt
    self.devicetree.processActions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 174, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 114, in doInstall
    turnOnFilesystems(storage)
  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 91, in run
    threading.Thread.run(self, *args, **kwargs)
DeviceCreateError: ('lvcreate failed for fedora/: running lvm lvcreate -L 2012m -n  --config  devices { filter=["r|/loop3$|",
"r|/loop4$|","r|/loop5$|","r|/loop6$|","r|/loop7$|","r|/sdb1$|","r|/sdb2$|","r|/sdb3$|","r|/sdb4$|","r|/sdb5$|","r|/sdb6$|","
r|/sdb$|","r|/fedora_root$|","r|/sdc1$|","r|/fedora_$|","r|/sdc2$|","r|/sdc$|"] }  fedora failed', 'fedora-')

Local variables in innermost frame:
self: non-existent 2012MB lvmlv fedora- (26) with non-existent ext4 filesystem mounted at /
e: lvcreate failed for fedora/: running lvm lvcreate -L 2012m -n  --config  devices { filter=["r|/loop3$|","r|/loop4$|","r|/l
oop5$|","r|/loop6$|","r|/loop7$|","r|/sdb1$|","r|/sdb2$|","r|/sdb3$|","r|/sdb4$|","r|/sdb5$|","r|/sdb6$|","r|/sdb$|","r|/fedo
ra_root$|","r|/sdc1$|","r|/fedora_$|","r|/sdc2$|","r|/sdc$|"] }  fedora failed

Comment 1 Reartes Guillermo 2012-12-21 21:15:02 UTC
Created attachment 667436 [details]
anaconda.log

Comment 2 Reartes Guillermo 2012-12-21 21:15:32 UTC
Created attachment 667437 [details]
program.log

Comment 3 Reartes Guillermo 2012-12-21 21:16:04 UTC
Created attachment 667438 [details]
storage.log

Comment 4 Reartes Guillermo 2012-12-21 21:17:01 UTC
Created attachment 667454 [details]
sda after exception

Comment 5 Reartes Guillermo 2012-12-21 21:17:25 UTC
Created attachment 667455 [details]
sdb after exception

Comment 6 Reartes Guillermo 2012-12-21 21:18:05 UTC
Created attachment 667456 [details]
sdc after exception

Comment 7 Reartes Guillermo 2012-12-21 21:20:18 UTC
Created attachment 667457 [details]
screenshot of the unicode mount point

Comment 8 Steve Tyler 2012-12-21 22:11:07 UTC
[snippet from program.log]
17:41:05,159 ERR program:   Logical volume name "" is invalid

Could be a variant of this one, which concerns name validation:
Bug 883689 - [vgcreate] New volume group name "ñ" is invalid

Comment 9 Chris Lumens 2013-01-02 16:02:46 UTC
Yes, I would say it's a safe assumption that these two are related and will be handled in the same fix.

*** This bug has been marked as a duplicate of bug 883689 ***