Bug 1384859

Summary: [RHEL-7.3] anaconda crash when install system on FCoE disk with LVM
Product: Red Hat Enterprise Linux 7 Reporter: xhe <xhe>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: rvykydal, sbueno
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-30 11:06:58 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:
Attachments:
Description Flags
anaconda.log
none
anaconda-tb-NMVV8l
none
storage.log
none
console.log none

Description xhe@redhat.com 2016-10-14 09:46:55 UTC
Created attachment 1210447 [details]
anaconda.log

Description of problem:
LVMError: lvactivate failed for swap: running lvm lvchange -a y rhel_storageqe-54/swap --config  devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/sdi1$|","r|/sdi2$|","r|/sdj1$|","r|/sda1$|","r|/sda2$|","r|/sda4$|","r|/vg01-lv01$|","r|/vg01$|","r|/sda5$|","r|/sda6$|","r|/sda7$|","r|/sda$|","r|/360a9800042566643352b476d67496e58p1$|","r|/360a9800042566643352b476d67496e58$|","r|/sdc$|","r|/360a9800042566643352b476d67496e5a1$|","r|/360a9800042566643352b476d67496e5a2$|","r|/360a9800042566643352b476d67496e5a$|","r|/sdd$|","r|/360a9800042566643352b476d67496e61p1$|","r|/360a9800042566643352b476d67496e61$|","r|/sde$|","r|/360a9800042566643352b476d67497675$|","r|/sdf$|","r|/sdh$|","r|/sdi$|","r|/sdj$|","r|/sdk$|"] }  failed

Version-Release number of selected component (if applicable):
RHEL-7.3-20161012.0 Server x86_64
anaconda 21.48.22.93-1

How reproducible:
always

Steps to Reproduce:
1. Install all system on the FCoE disk
2. Select the automatically partition
3. Issue is happened 

Actual results:
Installation is aborted

Expected results:
Installation can be finished successfully

Additional info:

Comment 1 xhe@redhat.com 2016-10-14 09:47:48 UTC
Created attachment 1210448 [details]
anaconda-tb-NMVV8l

Comment 2 xhe@redhat.com 2016-10-14 09:56:10 UTC
Created attachment 1210452 [details]
storage.log

Comment 3 xhe@redhat.com 2016-10-14 09:56:43 UTC
Created attachment 1210453 [details]
console.log

Comment 4 xhe@redhat.com 2016-10-14 09:59:27 UTC
Above server is storageqe-54, job is https://beaker.engineering.redhat.com/jobs/1552710

The same issue occurs on other SAN boot server st60 when I install it by manual:
storageqe-60 https://beaker.engineering.redhat.com/jobs/1552712

Comment 5 xhe@redhat.com 2016-10-14 10:04:19 UTC
On the same server, it worked on RHEL-7.3 Snapshot 5.
storageqe-60 manual PASS https://beaker.engineering.redhat.com/jobs/1524853

Comment 6 xhe@redhat.com 2016-10-14 10:12:44 UTC
Compared the anaconda version, they are different in the pass and fail jobs:
anaconda-21.48.22.92-1 PASS https://beaker.engineering.redhat.com/jobs/1524853 
anaconda-21.48.22.93-1 FAIL https://beaker.engineering.redhat.com/jobs/1552712

Comment 7 Radek Vykydal 2016-10-14 10:53:49 UTC
There were no storage related changes in anaconda or blivet after Snapshot 5.

Comment 9 xhe@redhat.com 2016-10-25 10:13:05 UTC
The workaround mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1378714#c41 works to me.

Comment 10 Samantha N. Bueno 2017-05-30 11:06:58 UTC
(In reply to xhe from comment #9)
> The workaround mentioned in
> https://bugzilla.redhat.com/show_bug.cgi?id=1378714#c41 works to me.

Thanks for the note -- in this case, I'm going to duplicate this to bug 1378714 since the issue also looks the same.

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