oVirt / ovirt-ansible-collection

Ansible collection with official oVirt modules and roles
72 stars 89 forks source link

ovirt_disk: Fix issue in detaching the direct LUN #707

Closed michalskrivanek closed 1 year ago

michalskrivanek commented 1 year ago

The direct LUN doesn't have a disk profile and follow_link(self._connection, entity.disk_profile ) will be None. So detaching the LUN will fail with error "'NoneType' object has no attribute 'name'".

Signed-off-by: Nijin Ashok nashok@redhat.com

michalskrivanek commented 1 year ago

backport

michalskrivanek commented 1 year ago

@mnecas can you please check the linting, whether it's a missing exclude or if it's ok to disable completely