vault-manager reports PVC not deleted immediately after conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Tae Park |
Bug Description
Brief Description
Vault-manager is supposed to remove the PersistentVolum
2024-01-11T18-21-21 WARNING PVC storage manager-
Severity
Minor: in this observation the warning log is a false report
Steps to Reproduce
application-update from vault app before vault PVC conversion functionality, to the latest code
Expected Behavior
The vault manager doesn't report PVC storage deletion failure if the PVC is still being deleted.
Actual Behavior
A warning log is issued, but when you go look you will find the PVC isn't there.
Reproducibility
100% each test when the conversion code runs and the PVC is deleted
System Configuration
any configuration with ceph, and where vault application can be updated to current feature code.
Load info (eg: 2022-03-
master branch developer loads
Last Pass
n/a
Timestamp/Logs
2024-01-11T18-20-40 INFO Switching to use kubectl version v1.24
2024-01-11T18-20-40 INFO Mode is VAULT_MANAGER
2024-01-11T18-20-40 INFO Using secrets provided in cluster-
2024-01-11T18-20-42 INFO Verified stored secrets are the same as supplied data
2024-01-11T18-20-42 INFO secret "cluster-
2024-01-11T18-20-42 INFO Waiting for vault-manager pod to exit
2024-01-11T18-21-14 INFO Waiting for mount-helper pod to run
2024-01-11T18-21-19 INFO Data retrieved from PVC
2024-01-11T18-21-19 INFO Cluster secrets exist: validating
2024-01-11T18-21-20 INFO Verified stored secrets are the same as supplied data
2024-01-11T18-21-20 INFO Shredding of PVC data verified
2024-01-11T18-21-21 INFO persistentvolum
2024-01-11T18-21-21 INFO Auto rekey enabled: [true]
2024-01-11T18-21-21 INFO Rekey requested: bd584b85-
2024-01-11T18-21-21 WARNING PVC storage manager-
2024-01-11T18-21-21 INFO Query server 172-16-166-142 for initialization status
2024-01-11T18-21-21 INFO Vault is initialized
2024-01-11T18-21-21 INFO Checking vault pods seal status in perpetuity...
2024-01-11T18-21-27 INFO Sealed status of 172-16-166-142 is now: false
2024-01-11T18-21-27 INFO Sealed status of 172-16-192-97 is now: false
<snip unrelated log>
Alarms
n/a
Test Activity
developer test of feature
Workaround
check the pvc manually and ignore the log:
kubectl get persistentvolum
Changed in starlingx: | |
assignee: | nobody → Tae Park (tparkwr) |
description: | updated |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.apps |
Fix proposed to branch: master /review. opendev. org/c/starlingx /vault- armada- app/+/910002
Review: https:/