+++ This bug is a downstream clone. The original bug is: +++ +++ bug 1490934 +++ ====================================================================== Description of problem: cannot add network interface to VM - name: Create VMs no_log: "{{ not debug_vm_create }}" ovirt_vms: auth: "{{ ovirt_auth }}" cluster: "{{ item.profile.cluster }}" template: "{{ item.profile.template }}" name: "{{ item.name }}" memory: "{{ item.profile.memory }}" cpu_cores: "{{ item.profile.cores }}" high_availability: "{{ item.profile.high_availability | default(omit) }}" cloud_init: host_name: "{{ item.name }}.{{ item.profile.domain | default(omit) }}" authorized_ssh_keys: "{{ item.profile.ssh_key | default('') }}" user_name: root root_password: "{{ item.profile.root_password | default(omit) }}" cloud_init_nics: "{{ item.profile.nics | default([]) }}" with_items: - "{{ vms }}" changed_when: false async: 800 poll: 0 register: all_vms tags: - ovirt-vm-infra Version-Release number of selected component (if applicable): ovirt-ansible-roles-1.0.3-1.el7ev.noarch ansible-2.3.2.0-2.el7.noarch (Originally by Petr Kubica)
Still cannot add interface with network to VM from template nics: - {name: nic1, 'network': ovirtmgmt} will create a VM with nic1: <Empty>
tested version: ansible-2.3.2.0-2.el7.noarch ovirt-ansible-roles-1.0.4-1.el7ev.noarch
You forgot to specify profile of the network. Please try with specifying profile.
Yes, I forgot Verified in ansible-2.3.2.0-2.el7.noarch ovirt-ansible-roles-1.0.4-1.el7ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3137