Bug 1956570 - assisted-service pod goes into crash loop when SERVE_HTTPS=False
Summary: assisted-service pod goes into crash loop when SERVE_HTTPS=False
Keywords:
Status: NEW
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: assisted-installer
Version: 4.8
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Antoni Segura Puimedon
QA Contact: Chad Crum
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-03 23:24 UTC by Chad Crum
Modified: 2021-05-04 07:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

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.


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