Bug 1540260
| Summary: | ovirt metrics enabled gluster deployment playbooks | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-metrics | Reporter: | Lukas Svaty <lsvaty> |
| Component: | Generic | Assignee: | Shirly Radco <sradco> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | unspecified | CC: | bugs, lsvaty, lveyde |
| Target Milestone: | ovirt-4.2.2 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-metrics-1.1.3.3 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-29 11:17:12 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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1540261 | ||
|
Description
Lukas Svaty
2018-01-30 16:03:26 UTC
Please attach the ovirt-host-deploy-ansible log file. Shirly can you please specify what are you looking for in deploy log? I believe there is no additional information there. I would recommend trying to reproduce this.
Running deployment playbook:
2018-02-28 12:10:53,251+01 INFO [org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor] (EE-ManagedThreadFactory-engine-Thread-14) [1ba50bd6] Executing Ansible command: [/usr/bin/ansible-playbook, -v, --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa, --inventory=/tmp/ansible-inventory2784335582542152903, --extra-vars=host_deploy_cluster_version=4.1, --extra-vars=host_deploy_cluster_name=CL41, --extra-vars=host_deploy_gluster_enabled=false, --extra-vars=host_deploy_virt_enabled=true, --extra-vars=host_deploy_vdsm_port=54321, --extra-vars=host_deploy_override_firewall=true, --extra-vars=host_deploy_firewall_type=IPTABLES, --extra-vars=ansible_port=22, --extra-vars=host_deploy_post_tasks=/etc/ovirt-engine/ansible/ovirt-host-deploy-post-tasks.yml, --extra-vars=host_deploy_ovn_tunneling_interface=1.1.1.1, --extra-vars=host_deploy_ovn_central=null, /usr/share/ovirt-engine/playbooks/ovirt-host-deploy.yml] [Logfile: /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20180228121053-1.1.1.1-1ba50bd6.log]
See... vars=host_deploy_gluster_enabled=false
However gluster playbooks are being run
Looking into /usr/share/ovirt-engine/playbooks/ovirt-host-deploy.yml:
- hosts: all
remote_user: root
roles:
- role: ovirt-host-deploy
- role: hc-gluster-cgroups
when: host_deploy_virt_enabled and host_deploy_gluster_enabled
^^ This should be False
... output omitted...
However, if metrics playbook were running on the host it's "False" instead of False.. thus string "False" in condition is True
Inside host deploy log you will see only deployment playbook, metrics playbook and afterwards gluster playbook, nothing unusual.
verified in ovirt-engine-metrics-1.1.3.3-1.el7ev.noarch This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 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. |