diff --git a/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/check_nfv_instances.yml b/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/check_nfv_instances.yml index 469facdaf..2d7a94095 100644 --- a/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/check_nfv_instances.yml +++ b/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/check_nfv_instances.yml @@ -15,8 +15,8 @@ xmlstring: "{{ instance_xml_data }}" xpath: /domain/devices/interface content: attribute - attribute: type register: xmlinterfacetype + ignore_errors: true - name: Set default no valid nfv instance {{ vm_id }} set_fact: @@ -26,9 +26,10 @@ set_fact: valid_nfv_instance: true when: "{{ interface_type.interface.type == 'vhostuser' }}" - loop: "{{ xmlinterfacetype.matches}}" + loop: "{{ xmlinterfacetype.matches }}" loop_control: loop_var: interface_type + ignore_errors: true - name: Validate NFV instance vars: diff --git a/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/validate_instance.yml b/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/validate_instance.yml index ec7ec4cab..b062fe661 100644 --- a/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/validate_instance.yml +++ b/roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/validate_instance.yml @@ -4,7 +4,6 @@ xmlstring: "{{ instance_xml_data }}" xpath: /domain/numatune/memory content: attribute - attribute: nodeset register: xml_instance_node - name: Get instance associated numa nodes @@ -17,7 +16,6 @@ xmlstring: "{{ instance_xml_data }}" xpath: /domain/cputune/vcpupin content: attribute - attribute: cpuset register: xml_vcpus - name: Get instance vcpus list @@ -48,7 +46,6 @@ xmlstring: "{{ instance_xml_data }}" xpath: /domain/cputune/emulatorpin content: attribute - attribute: cpuset register: xml_emulatorpin - name: Check emulatorpin valid or not @@ -66,7 +63,6 @@ xmlstring: "{{ instance_xml_data }}" xpath: /domain/memoryBacking/hugepages/page content: attribute - attribute: size register: xmlhugepages - name: Set instance {{ vm_id }} hugepages details