Bug 1956570

Summary: assisted-service pod goes into crash loop when SERVE_HTTPS=False
Product: OpenShift Container Platform Reporter: Chad Crum <ccrum>
Component: assisted-installerAssignee: Antoni Segura Puimedon <asegurap>
assisted-installer sub component: Deployment Operator QA Contact: Chad Crum <ccrum>
Status: CLOSED NEXTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: alazar, aos-bugs, ccrum
Version: 4.8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AI-Team-Platform KNI-EDGE-4.8
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-25 10:52:55 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:

Description Chad Crum 2021-05-03 23:24:36 UTC
Description of problem:
When setting SERVE_HTTPS=False in the assisted-service pod, it eventually goes into a crash loop.

Version-Release number of selected component (if applicable):
        "  Operator Package Name: assisted-service-operator",
        "  Source Index Image: quay.io/ocpmetal/assisted-service-index:latest",
        "  Operator Bundle: quay.io/ocpmetal/assisted-service-operator-bundle:latest",
        "  Operator Bundle Version: 0.0.1 (latest identified)",
        "  Operator Bundle Image Digest: sha256:9c027842d4f608318dccda6d709bc021ad5aa92a27b44ad790866e159af0160e",
        "  Operator Bundle Image Digest Short: 9c027842d4f6",


How reproducible:
100%

Steps to Reproduce:
1. Deploy latest assisted service via assisted service operator
2. Set SERVE_HTTPS=False in assisted service deployment (Must scale back assisted-service-operator in order to retain the SERVE_HTTPS value [oc scale --replicas=0 deployment/assisted-service-operator])
3. Wait a few minutes

Actual results:
The pod goes into a crash loop state

Expected results:
Pod continues to run

Additional info:

Issue is related to https://bugzilla.redhat.com/show_bug.cgi?id=1956569 and appears due to the liveliness and readiness probes checking for HTTPS when it is disabled.

Comment 1 Antoni Segura Puimedon 2021-05-25 10:53:43 UTC
We don't need to do SERVE_HTTPS=False anymore for Ironic to pull the ISO into its cache.