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.
Bug 1066066 - LVMError: lvactivate failed for swap: running lvm lvchange -a y rhel/swap failed
Summary: LVMError: lvactivate failed for swap: running lvm lvchange -a y rhel/swap failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.0
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard: abrt_hash:c2362866fafe1e510ffec2af673...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-17 15:40 UTC by Chuck Mattern
Modified: 2014-02-19 19:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-19 19:06:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.03 MB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: anaconda.log (10.23 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: environ (405 bytes, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: lsblk_output (1.91 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: nmcli_dev_list (455 bytes, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: os_info (397 bytes, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: program.log (25.17 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: storage.log (62.75 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: syslog (67.35 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: ifcfg.log (2.32 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details
File: packaging.log (743.86 KB, text/plain)
2014-02-17 15:40 UTC, Chuck Mattern
no flags Details

Description Chuck Mattern 2014-02-17 15:40:16 UTC
Description of problem:
Attempting to complete RHEL7 Readiness exercise which required 2 volume groups.  Used VC2 to fdisk /dev/vda into three partitions

1 500MB type 82
2 7GB type 8e
3 remainder of disk type 8e

using 8 GB qcow2 disk to install from RHEL7 Everything Beta ISO

upon returning to GUI installer this error has occurred on two seperate installtion attempts

KVM host is Fedora 20

Version-Release number of selected component:
anaconda-19.31.36-1

The following was filed automatically by anaconda:
anaconda 19.31.36-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 439, in lvactivate
    raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2684, in _setup
    lvm.lvactivate(self.vg.name, self._name)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 718, in setup
    self._setup(orig=orig)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1324, in addLV
    lv_device.setup()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1347, in handleVgLvs
    addLV(*lv_data[i])
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1434, in handleUdevLVMPVFormat
    self.handleVgLvs(vg_device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1721, in handleUdevDeviceFormat
    self.handleUdevLVMPVFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1086, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1947, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1888, in populate
    self._populate()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 410, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 145, in storageInitialize
    storage.reset()
  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 168, in run
    threading.Thread.run(self, *args, **kwargs)
LVMError: lvactivate failed for swap: running lvm lvchange -a y rhel/swap failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.0\x20Everything.x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-54.0.1.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Chuck Mattern 2014-02-17 15:40:20 UTC
Created attachment 864138 [details]
File: anaconda-tb

Comment 2 Chuck Mattern 2014-02-17 15:40:22 UTC
Created attachment 864139 [details]
File: anaconda.log

Comment 3 Chuck Mattern 2014-02-17 15:40:27 UTC
Created attachment 864140 [details]
File: environ

Comment 4 Chuck Mattern 2014-02-17 15:40:29 UTC
Created attachment 864141 [details]
File: lsblk_output

Comment 5 Chuck Mattern 2014-02-17 15:40:31 UTC
Created attachment 864142 [details]
File: nmcli_dev_list

Comment 6 Chuck Mattern 2014-02-17 15:40:33 UTC
Created attachment 864143 [details]
File: os_info

Comment 7 Chuck Mattern 2014-02-17 15:40:34 UTC
Created attachment 864144 [details]
File: program.log

Comment 8 Chuck Mattern 2014-02-17 15:40:36 UTC
Created attachment 864145 [details]
File: storage.log

Comment 9 Chuck Mattern 2014-02-17 15:40:40 UTC
Created attachment 864146 [details]
File: syslog

Comment 10 Chuck Mattern 2014-02-17 15:40:41 UTC
Created attachment 864147 [details]
File: ifcfg.log

Comment 11 Chuck Mattern 2014-02-17 15:40:45 UTC
Created attachment 864148 [details]
File: packaging.log

Comment 13 David Cantrell 2014-02-19 19:06:06 UTC
Please use anaconda to partition disks rather than an external tool such as fdisk.

If you are able to reproduce this problem using the latest nightly or the latest snapshot, reopen the bug.


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