From Fedora Project Wiki

Revision as of 11:45, 2 April 2013 by Eglynn (talk | contribs) (Created page with "By default glance notifications are simply discarded (via the so-called '''noop''' notification strategy). So the first step is to ensure that these notifications are routed v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

By default glance notifications are simply discarded (via the so-called noop notification strategy). So the first step is to ensure that these notifications are routed via the qpid AMQP provider instead:

 sudo openstack-config --set /etc/glance/glance-api.conf DEFAULT notifier_strategy qpid
 sudo service openstack-glance-api restart

Then use the ceilometer CLI to display the image.* meters:

 ceilometer meter-list
 +--------------+-------+--------------------------------------+---------+----------------------------------+
 | Name         | Type  | Resource ID                          | User ID | Project ID                       |
 +--------------+-------+--------------------------------------+---------+----------------------------------+
 | image        | gauge | c0c77c78-90ad-40d1-b552-d98eeb8840ef |         | 14b14be2016d4ce8b2d8a13578e279b0 |
 | image.size   | gauge | c0c77c78-90ad-40d1-b552-d98eeb8840ef |         | 14b14be2016d4ce8b2d8a13578e279b0 |
 | image.update | delta | c0c77c78-90ad-40d1-b552-d98eeb8840ef |         | 14b14be2016d4ce8b2d8a13578e279b0 |
 | image.upload | delta | c0c77c78-90ad-40d1-b552-d98eeb8840ef |         | 14b14be2016d4ce8b2d8a13578e279b0 |
 +--------------+-------+--------------------------------------+---------+----------------------------------+