[BUG]: Host definitions not being created after adding new appliance to secret #1538
Labels
area/csi-powerstore
Issue pertains to the CSI Driver for Dell EMC PowerStore
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
When adding a new appliance configuration to an existing secret, host definitions are not being created on the new appliance.
Based on documentation at https://dell.github.io/csm-docs/docs/deployment/helm/drivers/installation/powerstore/#dynamically-update-the-powerstore-secrets
Logs
Single array in secret
After updating the secret
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Update secret with only one powerstore appliance and NVMeTCP protocol (13:18 CET)
oc create secret generic powerstore-config -n csi-powerstore --from-file=config=config.single.yaml -o yaml --dry-run=client | oc replace -f -
Delete csi-powerstore pods in order to create host definitions on appliance (13:18 CET)
mypods=
oc get pod -n csi-powerstore| grep node | cut -f 1 -d " "
for pod in $mypods; do oc delete pod $pod -n csi-powerstore; done
Wait 60 seconds and verify host definitions have been created
Create workload which uses NVMeTCP storage class (13:19 CET)
oc create -f workload_nvmetcp.yaml
Verify pods, pvc and pv are created
oc get pod,pvc,pv -n fio
Remove pods, pvc and pv
oc delete -f workload_nvmetcp.yaml
oc delete pvc fio-data-fio-0 fio-data-fio-1 fio-data-fio-2 -n fio
all the pv should be removed automatically - no separate command required
Update secret with second appliance, use iSCSI protocol, set it to default (13:22 CET)
oc create secret generic powerstore-config -n csi-powerstore --from-file=config=config.two.yaml -o yaml --dry-run=client | oc replace -f -
Verify host definition has been created on appliance
result: host definition is not created
Expected Behavior
Expected hosts to be created in PowerStore array without restarting the driver.
CSM Driver(s)
csi-powerstore v2.11.1
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
OpenShift 4.15.25
Operating System
unknown
The text was updated successfully, but these errors were encountered: