Bug 1899190

Summary: Installation fails with "cannot go from state 'deploy failed' to state 'manageable'" due to eventlet ssl error in IPA agent
Product: OpenShift Container Platform Reporter: Riccardo Pittau <rpittau>
Component: Bare Metal Hardware ProvisioningAssignee: Riccardo Pittau <rpittau>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Lubov <lshilin>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: checheng, ipolonsk, rbartal, stbenjam, tsedovic, yprokule
Version: 4.6.zKeywords: Triaged, UpcomingSprint
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-14 13:50: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:
Embargoed:
Bug Depends On: 1899198    
Bug Blocks:    
Attachments:
Description Flags
eventlet error on console none

Description Riccardo Pittau 2020-11-18 17:10:25 UTC
We need to switch to the new ironic-images package containing the up-to-date ipa ramdisks to be able to get the most recent bugfixes.

Comment 2 Stephen Benjamin 2020-12-04 15:17:43 UTC
52 needs to use a different BZ.  53 has merged and is going to ship in the next z-Stream so it contains the eventlet fix.

Comment 3 Stephen Benjamin 2020-12-04 15:37:45 UTC
Created attachment 1736436 [details]
eventlet error on console

Comment 4 Stephen Benjamin 2020-12-04 15:38:40 UTC
Installation is failing with:

2020-12-04 10:10:19 level=debug msg="2020/12/04 10:10:19 [ERROR] module.masters: eval: *terraform.EvalSequence, err: cannot go from state 'deploy failed' to state 'manageable'"
2020-12-04 10:10:19 level=error
2020-12-04 10:10:19 level=error msg="Error: cannot go from state 'deploy failed' to state 'manageable'"
2020-12-04 10:10:19 level=error
2020-12-04 10:10:19 level=error msg="  on ../../../tmp/openshift-install-524847796/masters/main.tf line 38, in resource \"ironic_deployment\" \"openshift-master-deployment\":"
2020-12-04 10:10:19 level=error msg="  38: resource \"ironic_deployment\" \"openshift-master-deployment\" {"


When a user looks at the console there's an error related to eventlet (see attached image).  A workaround is put in place for now in the ipa downloader container while we await a new package.

Comment 7 Stephen Benjamin 2020-12-08 13:01:41 UTC
*** Bug 1905381 has been marked as a duplicate of this bug. ***

Comment 8 Lubov 2020-12-08 16:38:37 UTC
verified on 4.6.0-0.nightly-2020-12-08-021151

Deploy succeeded

Comment 10 errata-xmlrpc 2020-12-14 13:50:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.6.8 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5259