diff --git a/cinder/volume/drivers/dell_emc/unity/adapter.py b/cinder/volume/drivers/dell_emc/unity/adapter.py index 45ed0fef6bf..90b6d73ec2e 100644 --- a/cinder/volume/drivers/dell_emc/unity/adapter.py +++ b/cinder/volume/drivers/dell_emc/unity/adapter.py @@ -795,7 +795,7 @@ class FCAdapter(CommonAdapter): def filter_targets_by_host(self, host): if self.auto_zone_enabled and not host.host_luns: return self.client.get_fc_target_info( - host=host, logged_in_only=True, + host=host, logged_in_only=False, allowed_ports=self.allowed_ports) return [] diff --git a/releasenotes/notes/unity-return-logged-out-initiator-6ab1f96f21bb284c.yaml b/releasenotes/notes/unity-return-logged-out-initiator-6ab1f96f21bb284c.yaml new file mode 100644 index 00000000000..63615261580 --- /dev/null +++ b/releasenotes/notes/unity-return-logged-out-initiator-6ab1f96f21bb284c.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Dell EMC Unity Driver: Fixes `bug 1773305 + `__ + to return the targets which connect to the logged-out initiators. Then the + zone manager could clean up the FC zone based on the correct target wwns.