commit cad2f45bec2e96776e596c1e9831136d3f16056c
Author: Hediberto Cavalcante da Silva <email address hidden>
Date: Tue Jan 24 16:04:48 2023 -0500
Add userID and userKey to rbd/cephfs secrets
To create a new RBD volume snapshot the userID and userKey fields
are required in the RBD secret. These fields are required by
csi-snapshotter container in the rbd-provisioner pod.
Official examples show that the RBD secrets need userID and userKey
fields, while cephfs needs adminID and adminKey required
for dynamically provisioned volumes and userID and userKey required
for statically provisioned volumes. That's why these fields were also
added in cephfs secret.
Test Plan:
PASS: Create RBD volume snapshot and check if it's ready to use.
PASS: Restore RBD volume snapshot.
PASS: Create Cephfs volume snapshot and check if it's ready to use.
PASS: Restore Cephfs volume snapshot.
Closes-bug: 2003907
Signed-off-by: Hediberto Cavalcante da Silva <email address hidden>
Change-Id: If526d8412f71da936a66ab783c5919bba0c6611d
Reviewed: https:/ /review. opendev. org/c/starlingx /platform- armada- app/+/871789 /opendev. org/starlingx/ platform- armada- app/commit/ cad2f45bec2e967 76e596c1e983113 6d3f16056c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit cad2f45bec2e967 76e596c1e983113 6d3f16056c
Author: Hediberto Cavalcante da Silva <email address hidden>
Date: Tue Jan 24 16:04:48 2023 -0500
Add userID and userKey to rbd/cephfs secrets
To create a new RBD volume snapshot the userID and userKey fields
are required in the RBD secret. These fields are required by
csi-snapshotter container in the rbd-provisioner pod.
Official examples show that the RBD secrets need userID and userKey
fields, while cephfs needs adminID and adminKey required
for dynamically provisioned volumes and userID and userKey required
for statically provisioned volumes. That's why these fields were also
added in cephfs secret.
Test Plan:
PASS: Create RBD volume snapshot and check if it's ready to use.
PASS: Restore RBD volume snapshot.
PASS: Create Cephfs volume snapshot and check if it's ready to use.
PASS: Restore Cephfs volume snapshot.
Closes-bug: 2003907
Signed-off-by: Hediberto Cavalcante da Silva <email address hidden> 936a66ab783c591 9bba0c6611d
Change-Id: If526d8412f71da