Details
-
Task
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
3.4.0
-
None
-
None
Description
commit cc55de3 introduced PVC_COUNTER to track outstanding number of PVCs.
PVC_COUNTER should only be decremented when the pod deletion happens (in response to error).
If the PVC isn't created successfully (where PVC_COUNTER isn't incremented) (possibly due to execution not reaching resource(pvc).create() call), we shouldn't decrement the counter.
variable `success` tracks the progress of PVC creation:
value 0 means PVC is not created.
value 1 means PVC has been created.
value 2 means PVC has been created but due to subsequent error, the pod is deleted.
Attachments
Issue Links
- links to