Bug 1363688

Summary: 3.1.3 async iso encrypted install is failing with "CryptoError: luks_format failed for '/dev/vda2'- anaconda"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasad Desala <tdesala>
Component: distributionAssignee: Sreenath G <sgirijan>
Status: CLOSED CURRENTRELEASE QA Contact: storage-qa-internal <storage-qa-internal>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: mzywusko, rcyriac, rhinduja, rhs-bugs, sgirijan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3 Async   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: RHGSS-3.1.3-RHEL-6-20160803.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-25 14:23:13 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:
Embargoed:
Attachments:
Description Flags
Output snaps none

Description Prasad Desala 2016-08-03 10:58:20 UTC
Created attachment 1187021 [details]
Output snaps

Description of problem:

3.1.3 async iso encrypted install is failing with the below error,

CryptoError: luks_format failed for '/dev/vda2'- anaconda"

Version-Release number of selected component (if applicable):

RHGSS-3.1.3-RHEL-6-20160802.0-RHGSS-x86_64-dvd1.iso

How reproducible:

1) Start installing RHGSS 3.1.3 async using the iso and select Encrypt system checkbox in the installation type page.
2) Click Next.
3) Enter passphrase for the encrypted partition and click OK.
4) click write changes to the disk.
5) Will be hitting with an unhandled exception luks_format failed for '/dev/vda2'- anaconda".

Actual results:

The installation is failing and we are not able to continue.

Expected results:

Installation should be successful with encrypt system checked.

Additional info:

Output snaps will be attached.

Comment 3 Sreenath G 2016-08-04 06:56:37 UTC
The RHGS ISO was using anaconda-13.21.232-1.el6 where it had this problem. But the ISO spun using latest el6 anaconda version anaconda-13.21.254-1.el6 doesn't have this error.

Comment 5 Shashank Raj 2016-08-04 07:01:39 UTC
Verified this bug with the newly provided ISO:

http://download.eng.bos.redhat.com/composes/candidates/RHGSS-3.1.3-RHEL-6-20160803.0/compose/RHGSS/x86_64/iso/RHGSS-3.1.3-RHEL-6-20160803.0-RHGSS-x86_64-dvd1.iso

and now the encryption option works fine. No issues seen during installation with encryption and following combinations are tried:

> Default install
> Default + Ganesha install
> Default + Samba install
> All packages install

Comment 7 Shashank Raj 2016-08-04 07:26:35 UTC
based on comment 5, marking this bug as verified.