Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
I was using kickstart from RHEL 7.0 for testing on RHEL 7.1 nightly compose and it crashed during disk partitioning.
Version-Release number of selected component:
anaconda-19.31.91-1
The following was filed automatically by anaconda:
anaconda 19.31.91-1 exception report
Traceback (most recent call first):
File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 925, in create
raise errors.DeviceCreateError(str(e), self.name)
File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 293, in execute
self.device.create()
File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 354, in processActions
action.execute()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 357, in doIt
self.devicetree.processActions()
File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 216, in turnOnFilesystems
storage.doIt()
File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 184, in doInstall
turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
File "/usr/lib64/python2.7/threading.py", line 764, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
threading.Thread.run(self, *args, **kwargs)
DeviceCreateError: ('vgcreate failed for vg_root: running lvm vgcreate -s 0m --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] } vg_root /dev/vda2 failed', 'vg_root')
Additional info:
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: inst.sshd dhcpclass=ipa-lab-vms ks=http://gordo.idm.lab.bos.redhat.com/cblr/svc/op/ks/profile/RHEL-7-nightly-x86_64-minimal-brq
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 3.10.0-160.el7.x86_64
product: Red Hat Enterprise Linux
release: Red Hat Enterprise Linux ComputeNode release 7.0 (Maipo)
release_type: pre-release
type: anaconda
version: 7.0
Compose ID: RHEL-7.1-20140918.n.0
Relevant part of kickstart:
# Clear the Master Boot Record
zerombr
# Custom partitioning
part /boot --fstype ext3 --size=250
part pv.01 --size=1024 --grow
volgroup vg_root pv.01 --pesize=32
logvol swap --vgname=vg_root --fstype swap --name=lv_swap --size=64
logvol / --vgname=vg_root --size=1024 --grow --name=lv_root
BTW Anaconda in RHEL 7.0 worked with "volgroup vg_root pv.01" (i.e. without --pesize parameter) but nowadays it dies without --pesize.
This forced me to specify some --pesize and then it died with this error.
The bug about pesize being required should definitely be fixed if it hasn't already.
There is a bug here, but I don't think it's a very important one. pesize is specified in KiB for the volgroup command (don't ask me why). We specify the pesize to vgcreate in MiB. It is so rare that someone specify a pesize smaller than 1MiB that this has never been an issue until now (since perhaps Fedora 11).
4096 is the default pesize in case that's what you want.
I confirm that it doesn't crash anymore if I specify --pesize=4096. So the only remaining problem is that --pesize is required which was not the case before.
Description of problem: I was using kickstart from RHEL 7.0 for testing on RHEL 7.1 nightly compose and it crashed during disk partitioning. Version-Release number of selected component: anaconda-19.31.91-1 The following was filed automatically by anaconda: anaconda 19.31.91-1 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 925, in create raise errors.DeviceCreateError(str(e), self.name) File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 293, in execute self.device.create() File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 354, in processActions action.execute() File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 357, in doIt self.devicetree.processActions() File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 216, in turnOnFilesystems storage.doIt() File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 184, in doInstall turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall) File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run threading.Thread.run(self, *args, **kwargs) DeviceCreateError: ('vgcreate failed for vg_root: running lvm vgcreate -s 0m --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] } vg_root /dev/vda2 failed', 'vg_root') Additional info: cmdline: /usr/bin/python /sbin/anaconda cmdline_file: inst.sshd dhcpclass=ipa-lab-vms ks=http://gordo.idm.lab.bos.redhat.com/cblr/svc/op/ks/profile/RHEL-7-nightly-x86_64-minimal-brq executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.10.0-160.el7.x86_64 product: Red Hat Enterprise Linux release: Red Hat Enterprise Linux ComputeNode release 7.0 (Maipo) release_type: pre-release type: anaconda version: 7.0