Skip to content

StorageGroup.list_candidate_adapter_ports() raises KeyError for FC-type storage groups #2239

Description

@andy-maier

FC-type storage groups do not have a property "candidate-adapter-port-uris". The StorageGroup.list_candidate_adapter_ports() method accesses that property unconditionally and raises KeyError for FC-type storage groups.

While the method is documented to apply only to FCP-type storage groups, it leaves it open what happens when called for FC-type storage groups. The KeyError that is raised is not documented.

Proposal: The method should return None in case of an FC-type storage group, and document that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions