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

Bug 1489454

Summary: [ovirt-ansible-roles] ovirt-image-template: swapped parameter template_disk_format and template_disk_interface
Product: Red Hat Enterprise Virtualization Manager Reporter: Petr Kubica <pkubica>
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.2.0Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-roles-1.1.1-0.el7ev Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1492095 (view as bug list) Environment:
Last Closed: 2018-05-15 18:00:33 UTC Type: Bug
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:    
Bug Blocks: 1492095    

Description Petr Kubica 2017-09-07 13:31:01 UTC
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

Comment 1 Yaniv Lavi 2017-09-14 14:20:50 UTC
Please move this to oVirt

Comment 4 Petr Kubica 2018-01-02 12:53:42 UTC
Verified
ovirt-ansible-infra-1.1.2-1.el7ev.noarch
ovirt-ansible-cluster-upgrade-1.1.3-1.el7ev.noarch
ovirt-ansible-vm-infra-1.1.3-1.el7ev.noarch
ansible-2.4.1.0-1.el7ae.noarch
ovirt-ansible-image-template-1.1.4-1.el7ev.noarch
ovirt-ansible-roles-1.1.2-1.el7ev.noarch
ovirt-ansible-manageiq-1.1.4-1.el7ev.noarch

Comment 9 errata-xmlrpc 2018-05-15 18:00:33 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/RHEA-2018:1534

Comment 10 Franta Kust 2019-05-16 13:06:05 UTC
BZ<2>Jira Resync