Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1492095

Summary: [downstream clone - 4.1.7] [ovirt-ansible-roles] ovirt-image-template: swapped parameter template_disk_format and template_disk_interface
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-ansible-rolesAssignee: Ondra Machacek <omachace>
Status: CLOSED ERRATA QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.5CC: mgoldboi, mperina, pkubica, pstehlik, ylavi
Target Milestone: ovirt-4.1.7Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-roles-1.0.4-1.el7ev Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1489454 Environment:
Last Closed: 2017-11-07 17:27:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1489454    
Bug Blocks:    

Description rhev-integ 2017-09-15 12:50:34 UTC
+++ This bug is a downstream clone. The original bug is: +++
+++   bug 1489454 +++
======================================================================

Description of problem:
swapped parameter template_disk_format and template_disk_interface

  - name: Deploy the qcow image to oVirt engine
    ovirt_disks:
      auth: "{{ ovirt_auth }}"
      name: "{{ template_disk_name | default(template_name) }}"
      interface: "{{ template_disk_format | default('virtio') }}"
      size: "{{ template_disk_size}}"
      format: "{{  template_disk_interface | default('cow') }}"
      image_path: "{{ image_path }}"
      storage_domain: "{{ template_disk_storage | default(disk_storage_domain.name) }}"
      force: "{{ ovirt_templates | length == 0 }}"
    register: ovirt_disk
    when: ovirt_templates | length == 0
    tags:
- ovirt-template-image

link:
https://github.com/oVirt/ovirt-ansible/blob/master/roles/ovirt-image-template/tasks/qcow2_image.yml

Version-Release number of selected component (if applicable):
ovirt-ansible-roles-1.0.2-1.el7ev.noarch
ansible-2.3.1.0-3.el7.noarch

(Originally by Petr Kubica)

Comment 1 rhev-integ 2017-09-15 12:50:38 UTC
Please move this to oVirt

(Originally by ylavi)

Comment 3 rhev-integ 2017-09-15 12:50:44 UTC
Please move this to oVirt

(Originally by ylavi)

Comment 6 Petr Kubica 2017-10-18 05:50:03 UTC
Verified in
ansible-2.3.2.0-2.el7.noarch
ovirt-ansible-roles-1.0.4-1.el7ev.noarch

Comment 8 errata-xmlrpc 2017-11-07 17:27:31 UTC
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