Description of problem: When user removes label from host's network interface, also network is removed. Version-Release number of selected component (if applicable): ansible-2.5.0-2.fc27.noarch ovirt-engine-4.2.3-0.1.el7.noarch How reproducible: always Steps to Reproduce: 1. create dummy_1 interface on host, create test_network in engine 2. assign network and add label to interface --- - hosts: - engine tasks: - name: Add VM Networks ovirt_host_networks: auth: "{{ ansible_auth }}" name: "vhost05" interface: dummy_1 networks: - name: test_network labels: - INT check: true save: true 3. label and network added, see in admin portal hosts detail -> Network interfaces -> Setup Host Networks 4. remove the label --- - hosts: - engine tasks: - name: Remove label ovirt_host_networks: auth: "{{ ansible_auth }}" name: "vhost05" interface: dummy_1 labels: - INT check: true save: true state: absent Actual results: label and network are removed from the interface Expected results: only label is removed, network stays assigned to interface dummy_1
When only label or only network is defined for deletion, only the specified item is really removed. When defined both, both are removed. verified in ansible-2.6.1-1.el7ae.noarch with ovirt-engine-4.2.5.1-0.1.el7ev.noarch
HI Ondra / Lucie, This bug is on verified and 4.2.5 is out. Why is this bug still open? Who can confirm the correct status of it? Thank you!
(In reply to Marina from comment #3) > HI Ondra / Lucie, > > This bug is on verified and 4.2.5 is out. > Why is this bug still open? > Who can confirm the correct status of it? > > Thank you! The fix was provided in Ansible Engine 2.5.1 released in errata https://errata.devel.redhat.com/advisory/33631 but we cannot add RHV bugs to Ansible Engine erratas, so such bugs need to be closed manually.
https://access.redhat.com/errata/RHBA-2018:1210