Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1494067

Summary: cephmetrics-ansible 'Set collectd_dir' task
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Lubos Trilety <ltrilety>
Component: Ceph-MetricsAssignee: Zack Cerza <zcerza>
Status: CLOSED ERRATA QA Contact: Lubos Trilety <ltrilety>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: 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:

Description Lubos Trilety 2017-09-21 12:29:39 UTC
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:

Comment 3 Lubos Trilety 2017-10-24 10:22:33 UTC
Tested with:
cephmetrics-ansible-1.0-6.el7cp.x86_64

cephmetrics are installed successfully.

Comment 6 errata-xmlrpc 2017-12-05 23:44:47 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/RHBA-2017:3387