Bug 875477

Summary: ValueError: name already in use
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, kparal, robatino, sbueno, vanmeeuwen+fedora, xjtu_chdongsh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=998741
Whiteboard: abrt_hash:3b240e77666effa70d72974441b7c9147f215a0b7125cb32d95b6cf92b7b592a AcceptedBlocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-06 02:27:52 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 752661    
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: executable
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Reartes Guillermo 2012-11-11 09:28:00 EST
Description of problem:
selected one disk of a previous btrfs instance, went to manual partitioning and deleted partitons.
used the guided partitioning to propose partitions, kaboom


Version-Release number of selected component:
anaconda-18.28

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.6-3.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.28 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1134, in newLV
:    raise ValueError("name already in use")
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 267, in _scheduleVolumes
:    dev = new_volume(**kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/partitioning.py", line 306, in doAutoPartition
:    _scheduleVolumes(storage, devs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1861, in _do_autopart
:    doAutoPartition(self.__storage, self.data)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1893, in on_create_clicked
:    self._do_autopart()
:ValueError: name already in use
Comment 1 Reartes Guillermo 2012-11-11 09:28:12 EST
Created attachment 642842 [details]
File: anaconda-tb
Comment 2 Reartes Guillermo 2012-11-11 09:28:14 EST
Created attachment 642844 [details]
File: product
Comment 3 Reartes Guillermo 2012-11-11 09:28:16 EST
Created attachment 642846 [details]
File: type
Comment 4 Reartes Guillermo 2012-11-11 09:28:20 EST
Created attachment 642848 [details]
File: ifcfg.log
Comment 5 Reartes Guillermo 2012-11-11 09:28:27 EST
Created attachment 642849 [details]
File: storage.log
Comment 6 Reartes Guillermo 2012-11-11 09:28:31 EST
Created attachment 642850 [details]
File: version
Comment 7 Reartes Guillermo 2012-11-11 09:28:34 EST
Created attachment 642851 [details]
File: environ
Comment 8 Reartes Guillermo 2012-11-11 09:28:40 EST
Created attachment 642852 [details]
File: executable
Comment 9 Reartes Guillermo 2012-11-11 09:28:43 EST
Created attachment 642853 [details]
File: anaconda.log
Comment 10 Reartes Guillermo 2012-11-11 09:28:48 EST
Created attachment 642854 [details]
File: syslog
Comment 11 Reartes Guillermo 2012-11-11 09:28:50 EST
Created attachment 642855 [details]
File: hashmarkername
Comment 12 Reartes Guillermo 2012-11-11 09:28:55 EST
Created attachment 642856 [details]
File: packaging.log
Comment 13 Reartes Guillermo 2012-11-11 09:28:57 EST
Created attachment 642857 [details]
File: cmdline_file
Comment 14 Reartes Guillermo 2012-11-11 09:29:00 EST
Created attachment 642858 [details]
File: release
Comment 15 Reartes Guillermo 2012-11-11 09:29:04 EST
Created attachment 642859 [details]
File: program.log
Comment 16 Reartes Guillermo 2012-11-11 09:32:14 EST
Enhanced steps to reproduce:

0. Enter STORAGE: INSTALLATION DESTINATION
1. Select one DISK
2. Go to MANUAL PARTITIONING
3. Delete the found BTRFS and the prior /boot partitions
4. Use the guide or wizard to propose partitions and 'finish partitioning'
Comment 17 Reartes Guillermo 2012-11-11 09:35:28 EST
Corrected step #4.

Enhanced steps to reproduce:

0. Enter STORAGE: INSTALLATION DESTINATION
1. Select one DISK
2. Go to MANUAL PARTITIONING
3. Delete the found BTRFS and the prior /boot partitions

4. Use the guide or wizard the error happens after clicking the guided partitioning, it is not possible to reach the 'finish partitioning' button.
Comment 18 Chris Lumens 2012-11-11 23:19:48 EST
*** Bug 875497 has been marked as a duplicate of this bug. ***
Comment 19 Reartes Guillermo 2012-11-16 09:31:41 EST
i selected some disks, went to automatic partitioning and reclaimed space. i only set a btrfs to 'shrink' 

Package: anaconda-18.29
OS Release: Fedora release 18-Beta-TC9
Comment 20 David Lehman 2012-11-16 12:03:31 EST
The check for name already in use in newLV is only checking the LV name when what matters is $vgname-$lvname.
Comment 21 Adam Williamson 2012-11-29 13:46:44 EST
Discussed at 2012-11-29 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-11-29/f18final-blocker-review-1.1.2012-11-29-17.01.log.txt . Accepted as a blocker per criterion "The installer's custom partitioning mode must be capable of the following: Creating, destroying and assigning mount points to partitions of any specified size using most commonly-used filesystem types ...".
Comment 22 Fedora Update System 2012-12-01 19:27:35 EST
pykickstart-1.99.22-1.fc18, anaconda-18.34-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-19380/pykickstart-1.99.22-1.fc18,anaconda-18.34-1.fc18
Comment 23 Fedora Update System 2012-12-02 14:27:13 EST
Package pykickstart-1.99.22-1.fc18, anaconda-18.34-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 pykickstart-1.99.22-1.fc18 anaconda-18.34-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19380/pykickstart-1.99.22-1.fc18,anaconda-18.34-1.fc18
then log in and leave karma (feedback).
Comment 24 Kamil Páral 2012-12-03 10:24:02 EST
Reartes, could you please try to reproduce again with this image?
http://dl.fedoraproject.org/pub/alt/qa/20121201_f18-smoke2/

It contains the latest anaconda. It should hopefully fix the issue. Thanks.
Comment 25 Fedora Update System 2012-12-05 18:12:11 EST
Package pykickstart-1.99.22-1.fc18, anaconda-18.35-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 pykickstart-1.99.22-1.fc18 anaconda-18.35-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19380/pykickstart-1.99.22-1.fc18,anaconda-18.35-1.fc18
then log in and leave karma (feedback).
Comment 26 Fedora Update System 2012-12-06 02:27:55 EST
pykickstart-1.99.22-1.fc18, anaconda-18.35-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 27 Kamil Páral 2012-12-06 06:54:23 EST
Reartes, can you verify this is fixed? Please try this image:
http://dl.fedoraproject.org/pub/alt/qa/20121205_f18-smoke4/
Thanks.
Comment 28 Reartes Guillermo 2012-12-07 08:46:43 EST
@Kamil Páral

I reproduced the issue first, then tried on the same guest with the smoke4 (netinstall) and there was no error. It looks the issue is fixed.

Thanks.
Comment 29 Kamil Páral 2012-12-10 03:54:27 EST
Thank you, Reartes.