oVirt / ovirt-ansible-collection

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

ovirt_disk: Fix issue in detaching the direct LUN #700

Closed nijinashok closed 1 year ago

nijinashok 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'".

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2183112