Bug 1494067
| Summary: | cephmetrics-ansible 'Set collectd_dir' task | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Lubos Trilety <ltrilety> |
| Component: | Ceph-Metrics | Assignee: | Zack Cerza <zcerza> |
| Status: | CLOSED ERRATA | QA Contact: | Lubos Trilety <ltrilety> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0 | CC: | anharris, bancinco, ceph-eng-bugs, ceph-qe-bugs, kdreyer |
| Target Milestone: | rc | ||
| Target Release: | 3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cephmetrics-1.0-3.el7cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-05 23:44:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Tested with: cephmetrics-ansible-1.0-6.el7cp.x86_64 cephmetrics are installed successfully. 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:3387 |
Description of problem: 'ceph-collectd : Set collectd_dir' task in {{cephmetrics-ansible directory}}/roles/ceph-collectd/tasks/install_collectd_plugins.yml is not run if devel mode is not chosen, because in main.yml is: - include: install_collectd_plugins.yml when: - not containerized_deployment - devel_mode tags: - collectors Hence collected_dir parameter is not set. However this parameter is required in 'ceph-collectd : Set PluginDir in collectd.conf' task. This causes that run of ansible playbook playbook.yml always fails when devel_mode is not set to true. Version-Release number of selected component (if applicable): cephmetrics-ansible-1.0-1.el7cp.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install cephmetrics-ansible 2. Set what's required and run ansible playbook playbook.yml in /usr/share/cephmetrics-ansible directory Actual results: ansible-playbook run fails Expected results: run ends successfully Additional info: