-
Bug
-
Resolution: Done
-
Major
-
OP-2.4.0.GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
-
Reviewing the scaling down process done by the EAP Operator when the TX recovery facility is enabled, I've found that when the CRD is scaled down in one replica, two pods are stopped instead of one:
This is the pod event sequence shown after scaling down from 3 replicas to 2:
$ oc get pods -w NAME READY STATUS RESTARTS AGE eap-operator-8557b68cb-wg2r7 1/1 Running 0 25m microprofile-config-app-2-build 0/1 Completed 0 16m microprofile-config-app-build-artifacts-1-build 0/1 Completed 0 19m microprofile-config-operator-app-0 1/1 Running 0 3m50s microprofile-config-operator-app-1 1/1 Running 0 4m12s microprofile-config-operator-app-2 1/1 Running 0 4m33s microprofile-config-operator-app-2 1/1 Running 0 5m27s microprofile-config-operator-app-2 1/1 Running 0 5m57s microprofile-config-operator-app-2 1/1 Running 0 6m6s microprofile-config-operator-app-2 1/1 Terminating 0 6m20s microprofile-config-operator-app-1 1/1 Terminating 0 5m59s microprofile-config-operator-app-1 0/1 Terminating 0 6m5s microprofile-config-operator-app-1 0/1 Terminating 0 6m5s microprofile-config-operator-app-1 0/1 Terminating 0 6m5s microprofile-config-operator-app-2 0/1 Terminating 0 6m26s microprofile-config-operator-app-1 0/1 Pending 0 0s microprofile-config-operator-app-2 0/1 Terminating 0 6m26s microprofile-config-operator-app-1 0/1 Pending 0 0s microprofile-config-operator-app-2 0/1 Terminating 0 6m26s microprofile-config-operator-app-1 0/1 ContainerCreating 0 0s microprofile-config-operator-app-1 0/1 ContainerCreating 0 2s microprofile-config-operator-app-1 0/1 Running 0 3s microprofile-config-operator-app-1 1/1 Running 0 20s
In the above sequence, microprofile-config-operator-app-1 and microprofile-config-operator-app-2 were stopped, however, I scaled down only one pod.
I've checked this using EAP 7.4 images, EAP 8 images are not at this moment supported by the Operator with the transaction recover enabled.
- is incorporated by
-
JBEAP-25079 EAP Operator 3.0 release
- Closed
- is related to
-
JBEAP-25150 [EAP Operator] pod is immediately deleted when application image comes from an image stream
- Closed