platform armada apps should not set their replica to 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Isac Sacchi e Souza |
Bug Description
Brief Description
-----------------
After lock/unlock, platform-integ-apps and oidc-auth-apps are failing to apply because their replicas is set to 0. This is an issue on systems where the admin endpoint certificate was renewed.
The cert-manager app already has a check that prevents this.
The check should be added to the platform-armada-app calculations:
https:/
https:/
and oidc-auth-apps calculations:
https:/
https:/
Severity
--------
Major
Steps to Reproduce
------------------
On a AIO-SX subcloud where the admin cert has been renewed:
system host-lock controller-0
system host-label-remove controller-0 kube-ignore-
system host-cpu-modify -f application-
system host-unlock controller-0
Expected Behavior
------------------
Armada apps should have replicas set to 1
Actual Behavior
----------------
Armada apps have replicas set to 0 and fail to re-apply
Reproducibility
---------------
100% reproducible
System Configuration
-------
AIO-SX subcloud
Branch/Pull Time/Commit
-------
stx 4.0
Last Pass
---------
N/A
Timestamp/Logs
--------------
Example of replicaset=0
--[sysadmin@
Name: oidc-dex
Namespace: kube-system
CreationTimestamp: Wed, 17 Mar 2021 00:38:45 +0000
Labels: app=dex
chart=dex-0.8.0
heritage=Tiller
release=oidc-dex
Annotations: deployment.
Selector: app=dex,
Replicas: 0 desired | 0 updated | 0 total | 0 available | 0 unavailable
Test Activity
-------------
N/A
Workaround
----------
N/A
Changed in starlingx: | |
status: | New → In Progress |
assignee: | nobody → Isac Sacchi e Souza (isouza) |
Reviews: https:/ /review. opendev. org/q/topic: %22bug% 252F1922278% 22+(status: open%20OR% 20status: merged)