Summary: | Creation of bastion sometimes fails because of missing FQDN | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine-metrics | Reporter: | Jan Zmeskal <jzmeskal> |
Component: | Generic | Assignee: | Shirly Radco <sradco> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ivana Saranova <isaranov> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.2.0.2 | CC: | bugs, eslutsky, isaranov, lleistne, sradco |
Target Milestone: | ovirt-4.3.5 | Flags: | sradco:
ovirt-4.3?
lleistne: testing_ack+ |
Target Release: | 1.3.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-metrics-1.3.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-30 14:08:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Bug Depends On: | 1715513 | ||
Bug Blocks: | 1599589, 1710361 |
Description
Jan Zmeskal
2019-02-20 16:13:14 UTC
Moving to POST since the patch this BZ depends on (https://gerrit.ovirt.org/#/c/97643/) has not been merged yet. Once it's merged, this can be moved to MODIFIED. Once it's a part of consumable package, this can be moved to ON_QA and verified by QA. Steps: 1) Edit the config file according to README 2) Run the script configure_ovirt_machines_for_metrics.sh Result: TASK [oVirt.metrics/roles/oVirt.metrics-store-installation : Set fact of the bastion machine FQDN] ****** fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'fqdn'\n\nThe error appears to have been in '/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.metrics-store-installation/tasks/main.yml': line 76, 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: Set fact of the bastion machine FQDN\n ^ here\n"} PLAY RECAP ********************************************************************************************** localhost : ok=44 changed=4 unreachable=0 failed=1 Tested in: ovirt-engine-metrics-1.2.1-0.0.master.20190225200554.el7.noarch (patchset 56) 4.3.1 has been released, please re-target this bug as soon as possible. the issue reproduced again, during the metrics deployment even after applying the patch. https://paste.fedoraproject.org/paste/kEbUoPKMh5BiahumQYPsQQ Cannot verify due to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1715513 Steps: 1) Install metrics store according to the documentation 2) Check that bastion installation does not fail on missing FQDN Result: Playbook waits for bastion's IP and has 30 retries, which seems to be sufficient time for the FQDN to show up. Playbook does not fail and installation of the metrics store was successful. Verified in: ovirt-engine-4.3.4.3-0.1.el7.noarch ovirt-engine-metrics-1.3.2-1.el7ev.noarch ovirt-ansible-vm-infra-1.1.18-1.el7ev.noarch ovirt-ansible-image-template-1.1.11-1.el7ev.noarch This bugzilla is included in oVirt 4.3.5 release, published on July 30th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.5 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. |