Skip to content

flasharray: attach error does not say the array host object name does not match #14863

Todo

Description

@Damans227

problem

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

  1. Register a FlashArray primary storage pool.
  2. Rename the array host object for one KVM host, for example purehost rename b08-36 b08-36-fc.
  3. 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

  1. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions