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
{{ message }}
Repository navigation
flasharray: attach error does not say the array host object name does not match #14863
When the FlashArray host object name does not match the CloudStack host name, attaching a volume to a VM on that host fails with an error that does not say what is wrong.
The driver looks up the host on the array by its CloudStack name. When it is not found, attach skips creating the connection and then fails with "Volume attach did not return lun information", and what reaches the user is "Error revoking access for host ... to volume ...". Nothing points at the name mismatch.
versions
ACS 4.22.1.1, KVM, FlashArray over FibreChannel, Purity//FA 6.10.6. The code is the same on 4.22 and main.
The steps to reproduce the bug
Register a FlashArray primary storage pool.
Rename the array host object for one KVM host, for example purehost rename b08-36 b08-36-fc.
Attach a FlashArray volume to a VM running on that host.
ERROR [o.a.c.s.d.d.AdaptiveDataStoreDriverImpl] Error granting host Host {"id":4,"name":"b08-36",...} access to volume ...
ERROR [o.a.c.s.d.d.AdaptiveDataStoreDriverImpl] Error revoking access for host Host {"id":4,"name":"b08-36",...} to volume ...
CloudRuntimeException: Error revoking access for host Host {"id":4,"name":"b08-36",...} to volume VolumeObject {...}
What to do about it?
Fail the attach with a message that says the host was not found on the array and that the names must match.
Activity