Bug 1494067 - cephmetrics-ansible 'Set collectd_dir' task
Summary: cephmetrics-ansible 'Set collectd_dir' task
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Metrics
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: 3.0
Assignee: Zack Cerza
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-21 12:29 UTC by Lubos Trilety
Modified: 2017-12-05 23:44 UTC (History)
5 users (show)

Fixed In Version: cephmetrics-1.0-3.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:44:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph cephmetrics pull 125 0 None None None 2017-10-09 22:47:23 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.