polling namespaces for ceilometer shouldn't be hardcoded

Bug #1586359 reported by Ivan Berezovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Fix Committed
High
Mikhail Ivanov
9.x
Fix Released
High
Mikhail Ivanov

Bug Description

Steps to reproduce:

Deploy fuel environment with ceilometer enabled.
Add centos compute nodes, install ceilometer polling agent.

Expected result:
ceilometer polling agent on centos computes is setup to
poll compute specific meters (has compute namespace)

Actual result:
polling namespace is set to 'central,compute'

Root cause:
polling namespace for ceilometer is hard-coded here:
/etc/sysconfig/openstack-ceilometer-polling

This file https://review.fuel-infra.org/gitweb?p=openstack-build/ceilometer-build.git;a=blob;f=centos7/rpm/SOURCES/openstack-ceilometer-polling;h=c2fcada250d80af7a8ad78ee27464a136d0e1ac8;hb=refs/heads/9.0/mitaka
should be removed

Reproduced on 356 ISO:
https://product-ci.infra.mirantis.net/job/9.0.all/356/

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to openstack-build/ceilometer-build (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/21363
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 95d0377b474330b0816a9ba9d518f2d08e65d6bd
Author: Mikhail Ivanov <email address hidden>
Date: Mon May 30 13:32:10 2016

Remove openstack-ceilometer-polling

Related-Bug:#1586359

Change-Id: I6ff028ff3a9e97ea056c9b08b46413abcc571d85

Revision history for this message
Mikhail Ivanov (mivanov) wrote :
Revision history for this message
Nikita Karpin (mkarpin) wrote :

Checked the fix for 9.0 and iso 420 namespace is correct and file /etc/sysconfig/openstack-ceilometer-polling is absent

ls /etc/sysconfig/openstack-ceilometer-polling

ls: cannot access /etc/sysconfig/openstack-ceilometer-polling: No such file or directory

cat /var/log/ceilometer/polling.log | grep namespace

2016-06-02 10:34:40.693 24687 DEBUG oslo_service.service [req-346895d7-7b0c-4640-901f-b72328f24672 admin - - - -] polling_namespaces = ['compute'] log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2517

tags: added: 10.0-reviewed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to openstack-build/ceilometer-build (master)

Reviewed: https://review.fuel-infra.org/21373
Submitter: Pkgs Jenkins <email address hidden>
Branch: master

Commit: bc836877ed36af8d6e1cc39b55f88cca0cd7c568
Author: Mikhail Ivanov <email address hidden>
Date: Mon Jul 25 12:26:38 2016

Update openstack-ceilometer

- Remove openstack-ceilometer-polling
- Update dependencies

Change-Id: Ic1d240d7f7c6693582a22b8965a582f155123bce
Related-Bug:#1581611
Related-Bug:#1586359

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.