Bug 483571

Summary: Anaconda needs to remove unsupported characters from hostname before using as VG name
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:3207a2d1248259daf7ae8f9d8905d2ba5123df5367b06ea6fab2d6c4295931da
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-16 20:32:58 UTC Type: ---
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
Attached traceback automatically from anaconda. none

Description James Laska 2009-02-02 14:33:22 UTC
This bug was filed automatically by anaconda.

Comment 1 James Laska 2009-02-02 14:33:25 UTC
Created attachment 330627 [details]
Attached traceback automatically from anaconda.

Comment 2 James Laska 2009-02-05 15:41:02 UTC
This fails because the hostname on this system contains a dash '-' which is then used by anaconda in the LVM Volume Group name

anaconda 11.5.0.12 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/lvm.py", line 282, in vgremove
    raise VGRemoveError, vgname
  File "/usr/lib/anaconda/partitions.py", line 1787, in doMetaDeletes
    lvm.vgremove(delete.name)
  File "/usr/lib/anaconda/packages.py", line 136, in turnOnFilesystems
    anaconda.id.partitions.doMetaDeletes(anaconda.id.diskset)
  File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1358, in nextClicked
    self.anaconda.dispatch.gotoNext()
VGRemoveError: vgremove of vg "vg_hp-xw930000" failed
Log:
   Using volume group(s) on command line
   Finding volume group "vg_hp-xw930000"
   Wiping cache of LVM-capable devices
   Couldn't find device with uuid 'zyMBEG-Igky-GR11-1814-x0dk-8GdF-E9GwGF'.
   Couldn't find device with uuid '9eE902-xPPq-HMtH-Dslq-kvxN-4Z5p-imG3lp'.
   There are 2 physical volumes missing.
   Volume group "vg_hp-xw930000" not found, is inconsistent or has PVs missing.
   Consider vgreduce --removemissing if metadata is inconsistent.

Comment 3 Chris Lumens 2009-02-05 18:47:53 UTC
This should be fixed in the next build of anaconda.  Thanks for the bug report.