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

Bug 1613914

Summary: engine_fqdn is undefined in wait_for_api - while using engine_url
Product: [oVirt] ovirt-ansible-collection Reporter: Petr Kubica <pkubica>
Component: manageiqAssignee: Ondra Machacek <omachace>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.1.10CC: mperina
Target Milestone: ovirt-4.2.7Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-ansible-manageiq-1.1.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-02 14:32:51 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: 1576433    
Bug Blocks:    

Description Petr Kubica 2018-08-08 14:33:41 UTC
Description of problem:
2018-08-08 14:26:19,418 p=18471 u=root |  TASK [oVirt.manageiq : Add oVirt/RHV provider to ManageIQ/CloudForms] **********
2018-08-08 14:26:19,418 p=18471 u=root |  task path: /root/ansible-roles-deps/oVirt.manageiq/tasks/wait_for_api.yml:50
2018-08-08 14:26:19,446 p=18471 u=root |  fatal: [engine]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: 'engine_fqdn' is undefined\n\nThe error appears to have been in '/root/ansible-roles-deps/oVirt.manageiq/tasks/wait_for_api.yml': line 50, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add oVirt/RHV provider to ManageIQ/CloudForms\n  ^ here\n"
}

Version-Release number of selected component (if applicable):
ansible-2.6.2-1.el7.noarch
ovirt-ansible-manageiq-1.1.11-1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. use engine_url instead of engine_fqdn

Comment 1 Petr Kubica 2018-08-30 12:58:49 UTC
Still failing, now is undefined engine_url (tested from ansible tower)

fatal: [she-test-09.rhev.lab.eng.brq.redhat.com]: FAILED! => {
    "msg": "The task includes an option with an undefined variable. The error was: 'engine_url' is undefined\n\nThe error appears to have been in '/usr/share/ansible/roles/oVirt.manageiq/tasks/wait_for_api.yml': line 50, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add oVirt/RHV provider to ManageIQ/CloudForms\n  ^ here\n"
}

tested version:
ovirt-ansible-manageiq-1.1.12-0.1.master.20180823081650.el7.noarch

Comment 2 Petr Kubica 2018-09-05 13:17:24 UTC
Verified in ovirt-ansible-manageiq-1.1.12-0.1.master.20180904110406.el7.noarch

Comment 3 Raz Tamir 2018-09-05 13:30:11 UTC
QE verification bot: the bug was verified upstream

Comment 4 Sandro Bonazzola 2018-11-02 14:32:51 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.