You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the HPE Left Hand driver and Ember will usually create an ACL on the SAN before mounting to a Kubernetes node to provide access. But it an ACL already exists in the SAN, we'll get this error:
Warning FailedAttachVolume 7s (x6 over 23s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-cd070b5c-e658-45db-92db-2a1dfdfeded6" : rpc error: code = Unknown desc = Exception calling application: Error (HTTP 500) OPERATION_FAILED - The operation failed: The server 'kube17.foo.com' cannot be created because Initiator Node Name 'iqn.2019-12.com.foo.kube17:8692d516cc3' is already in server 'kube17'.
It says it's a warning, but the mount attempt comes to a halt after this happens. Would it be possible to use the existing ACL if the create attempt failed?
The text was updated successfully, but these errors were encountered:
I think the best solution is to change the "server" name in the LeftHand array from kube17 to kube17.foo.com.
The alternative would be to report a bug in the Cinder project saying what happens and wait and see if someone fixes it (unlikely given the bug) or fix it yourself, then wait until it gets merged in Cinder, and then do a rebuild of Ember-CSI to pick up the new code with the fix.
Parse the response to check if the error is caused by the "server" already existing.
Get the "server" name that has the IQN assigned.
Query the backend for the "server" information with the parsed server name.
Since this try, fail, retry cycle would happen every time we do an attachment we could use an in-memory dictionary to cache the values for following queries.
Would you be able to rename the "server" in the backend to the node's FQDN?
We are using the HPE Left Hand driver and Ember will usually create an ACL on the SAN before mounting to a Kubernetes node to provide access. But it an ACL already exists in the SAN, we'll get this error:
Warning FailedAttachVolume 7s (x6 over 23s) attachdetach-controller AttachVolume.Attach failed for volume "pvc-cd070b5c-e658-45db-92db-2a1dfdfeded6" : rpc error: code = Unknown desc = Exception calling application: Error (HTTP 500) OPERATION_FAILED - The operation failed: The server 'kube17.foo.com' cannot be created because Initiator Node Name 'iqn.2019-12.com.foo.kube17:8692d516cc3' is already in server 'kube17'.
It says it's a warning, but the mount attempt comes to a halt after this happens. Would it be possible to use the existing ACL if the create attempt failed?
The text was updated successfully, but these errors were encountered: