cinder doesn't send notifications to ceilometer

Bug #1312631 reported by Ivan Berezovskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Ivan Berezovskiy
5.0.x
Fix Released
High
Ivan Berezovskiy

Bug Description

1. ISO version > 137
2. Deploy environment with cinder, mongo and ceilometer (Centos or Ubuntu, neutron or nova).
3. Deploy is successful.
4. Create any volume, then go to cli on controller and run 'ceilometer meter-list'. Notifcations from cinder like 'volume' and 'volume.size' are not present.

This problem could be solved by adding control_exchange=cinder to /etc/cinder/cinder.conf

Changed in fuel:
assignee: nobody → Ivan Berezovskiy (iberezovskiy)
Changed in fuel:
status: New → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in fuel:
importance: Undecided → Medium
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.0
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/90326
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=839f9f8027ca862201205f29c6abd2eac53e7db3
Submitter: Jenkins
Branch: master

commit 839f9f8027ca862201205f29c6abd2eac53e7db3
Author: iberezovskiy <email address hidden>
Date: Fri Apr 25 13:47:57 2014 +0400

    Small fix for cinder to send notifications

    Closes-bug: #1312631

    Change-Id: If3303db68e4c3276344d1ddc0334fab230d86462

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #216
"build_id": "2014-05-22_01-10-31",
"mirantis": "yes",
"build_number": "216",
"ostf_sha": "5c479f04c35127576d35526650ec83b104f9a33d",
"nailgun_sha": "31fcb161ff8d6bfb861b041467440752c0e9c537",
"production": "docker",
"api": "1.0",
"fuelmain_sha": "dda9cff27999e74b80e8e6a9e665e7e9677ab994",
"astute_sha": "9a0d86918724c1153b5f70bdae008dea8572fd3e",
"release": "5.0",
"fuellib_sha": "872b6a7a968b619a493ad46c504910020ea2edae"

Changed in fuel:
status: Fix Committed → Fix Released
Changed in fuel:
importance: Medium → High
milestone: 5.0 → 5.1
milestone: 5.1 → 5.0.1
Revision history for this message
Vadim Rovachev (vrovachev) wrote :

{"build_id": "2014-08-03_02-01-14", "ostf_sha": "a3fa823ea0e4e03beb637ae07a91adea82c33182", "build_number": "389", "auth_required": true, "api": "1.0", "nailgun_sha": "bd0127be0061029f9f910547db5e633c82244942", "production": "docker", "fuelmain_sha": "e99879292cf6e96b8991300d947df76b69134bb1", "astute_sha": "ce86172e77661026c91fdf1ff8066d7df1f7d89d", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "4e3fdd75f8dabde8e5d07067545d8043a70a176b"}

Env:

virt_type=kvm
config_mode=multinode
release_name=Icehouse on CentOS 6.5
net_provider=neutron
net_segment_type=gre
debug=true
auto_assign_floating_ip=true
nova_quota=true

settings:
   "volumes_lvm": false
   "volumes_ceph": true
   "images_ceph": true
   "ephemeral_ceph": false
   "objects_ceph": true
   "osd_pool_size": 1
   "sahara": true
   "murano": false
   "ceilometer": true

nodes:
   "node_1_controller":{"manufacturer":"KVM", "roles": ["controller", "mongo"]},
   "node_2_compute":{"manufacturer":"Supermicro", "roles": ["compute"]},
   "node_3_ceph":{"manufacturer":"KVM", "roles": ["ceph-osd"]}}

Cinder notifications does not working

Revision history for this message
Ivan Berezovskiy (iberezovskiy) wrote :

Parameter notification_driver was missed in cinder.conf.

When you deploy cluster without role 'cinder' (for example, with ceph node) parameter 'ceilometer' doesn't pass into openstack:cinder class from osnailyfacter:cluster_(simple or ha) manifest. In openstack:cinder class we have:
if $ceilometer {
    class { "cinder::ceilometer": }
  }
That means that cinder:ceilometer class doesn't execute and parameter notification_driver isn't written in cinder.conf.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/112007

Mike Scherbakov (mihgen)
no longer affects: fuel/5.0.x
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/112007
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=e313d375479b26c2f3e142ed71209db81a2b74e4
Submitter: Jenkins
Branch: master

commit e313d375479b26c2f3e142ed71209db81a2b74e4
Author: iberezovskiy <email address hidden>
Date: Tue Aug 5 16:35:06 2014 +0400

    Fix sending parameter 'ceilometer' to openstack::cinder class

    If role 'cinder' isn't exist in cluster, parameter 'ceilometer'
    isn't sent in openstack:cinder class, and then cinder:ceilometer
    manifest doesn't execute

    Change-Id: Ib654853a5dae5344deabf9404f8972041c8bd157
    Closes-bug: #1312631

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/5.1.x
Revision history for this message
Denis Egorenko (degorenko) wrote :

{"build_id": "2014-08-14_19-52-36", "mirantis": "yes", "build_number": "170", "ostf_sha": "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f", "nailgun_sha": "af3d1922bfc21345f81be3454115ab6139675c35", "production": "docker", "api": "1.0", "fuelmain_sha": "fd58828f404e4298ed338e8f44c6a326cebd31de", "astute_sha": "6db5f5031b74e67b92fcac1f7998eaa296d68025", "release": "5.0.1", "fuellib_sha": "a31dbac8fff9cf6bc4cd0d23459670e34b27a9ab"}

Verified on:

Env1:
virt_type=qemu
config_mode=multinode
release_name=Icehouse on Ubuntu
net_provider=neutron
net_segment_type=gre
debug=true
settings:
   "volumes_lvm": true
   "volumes_ceph": false
   "ceilometer": true

Env2:
virt_type=qemu
config_mode=multinode
release_name=Icehouse on Ubuntu
net_provider=neutron
net_segment_type=gre
debug=true
settings:
   "volumes_lvm": false
   "volumes_ceph": true
   "ceilometer": true

No bug.

Revision history for this message
Denis Egorenko (degorenko) wrote :

{"build_id": "2014-08-14_19-52-36", "mirantis": "yes", "build_number": "170", "ostf_sha": "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f", "nailgun_sha": "af3d1922bfc21345f81be3454115ab6139675c35", "production": "docker", "api": "1.0", "fuelmain_sha": "fd58828f404e4298ed338e8f44c6a326cebd31de", "astute_sha": "6db5f5031b74e67b92fcac1f7998eaa296d68025", "release": "5.0.1", "fuellib_sha": "a31dbac8fff9cf6bc4cd0d23459670e34b27a9ab"}

Verified on:

Env1:
virt_type=qemu
config_mode=multinode
release_name=Icehouse on CentOS
net_provider=neutron
net_segment_type=gre
debug=true
settings:
   "volumes_lvm": true
   "volumes_ceph": false
   "ceilometer": true

Env2:
virt_type=qemu
config_mode=multinode
release_name=Icehouse on CentOS
net_provider=neutron
net_segment_type=gre
debug=true
settings:
   "volumes_lvm": false
   "volumes_ceph": true
   "ceilometer": true

No bug.

Fuel-5.0.1 RC2

Revision history for this message
Denis Egorenko (degorenko) wrote :

Fuel 5.1 verified on:

{"build_id": "2014-08-12_10-52-56", "ostf_sha": "d2a894d228c1f3c22595a77f04b1e00d09d8e463", "build_number": "425", "auth_required": true, "api": "1.0", "nailgun_sha": "c7e00e5a00499d9f8dec608541dad1d745a8dd2e", "production": "docker", "fuelmain_sha": "9d4463400b4924159c978af43855e48bcf2a84b2", "astute_sha": "b52910642d6de941444901b0f20e95ebbcb2b2e9", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "54d834afccf1f8a97e4a82d7d081e7d1a1e068a1"}

Verified on:

Env1:
virt_type=qemu
config_mode=multinode
release_name=Icehouse on CentOS / Ubuntu
net_provider=neutron
net_segment_type=gre
debug=true
settings:
   "volumes_lvm": true
   "volumes_ceph": false
   "ceilometer": true

Env2:
virt_type=qemu
config_mode=multinode
release_name=Icehouse on CentOS / Ubuntu
net_provider=neutron
net_segment_type=gre
debug=true
settings:
   "volumes_lvm": false
   "volumes_ceph": true
   "ceilometer": true

No bug.

Changed in fuel:
status: Fix Committed → Fix Released
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.