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 FCP-type storage groups. The KeyError that is raised is not documented.

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

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions