- Issued:
- 2013-06-11
- Updated:
- 2013-06-11
RHBA-2013:0935 - Bug Fix Advisory
Synopsis
openstack-ceilometer bug fix advisory
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated openstack-ceilometer, mongodb, snappy, and gperftools packages that fix
several bugs are now available for Red Hat OpenStack 3.0 (Grizzly) Preview.
Description
OpenStack ceilometer provides facilities to enable the measurement and
collection of metrics from other OpenStack services. These packages are provided
as a Technology Preview. For more information on the scope and nature of support
for items marked as Technology Preview refer to:
https://access.redhat.com/support/offerings/techpreview/
These updated packages fix the following bugs:
- Ceilometer requires the MongoDB database engine. Previously users were
required to obtain MongoDB from the Extra Packages for Enterprise Linux (EPEL)
software repository. The MongoDB database engine and the additional packages it
depends upon have now been added to Red Hat OpenStack 3.0 Preview. Please note
that the use of MongoDB is only supported in conjunction with ceilometer.
(BZ#967898, BZ#969033, BZ#969034)
- Previously, the initialization scripts explicitly referenced the default
upstream configuration file.The configuration file containing distribution
specific default settings was ignored. Distribution specific configuration
defaults are now honored to ensure that ceilometer is able to start correctly.
(BZ#967710)
- The upstream configuration for ceilometer defaults enable the V1 API, which
requires flask. Flask is not available in Red Hat OpenStack, without it
installed the ceilometer services would fail to start. Due to the change to
honor distribution specific configuration values the V1 API is now disabled and
flask is no longer required. (BZ#967700)
Follow these steps to install this technology preview release of ceilometer:
1) Install the ceilometer packages.
# yum install "*ceilometer*" mongodb-server
2) Update the MongoDB configuration file and start the service.
# sed -i '/--smallfiles/!s/OPTIONS=\"/OPTIONS=\"--smallfiles /'
/etc/sysconfig/mongod
3) Create a "ceilometer" user with access to the "services" tenant in Keystone.
Additionally create a "ResellerAdmin" role. Finally add both the "admin" and
"ResellerAdmin" roles to the "ceilometer" user, again ensure that the "services"
tenant is used.
4) Open the /etc/ceilometer/ceilometer.conf file in a text editor and set the
appropriate values for the configuration keys in the "keystone_authtoken"
section of the file. In particular ensure that:
- auth_host is set to the IP address or host name of the Keystone server.
- auth_port is set to 34357
- auth_protocol is set to http
- admin_tenant_name is set to services.
- admin_user is set to ceilometer
- admin_password is set to the password specified when creating the
ceilometer user.
4) Start the ceilometer services and enable them to ensure that they start
automatically in future:
# service mongod start
# service openstack-ceilometer-compute start
# service openstack-ceilometer-central start
# service openstack-ceilometer-collector start
# service openstack-ceilometer-api start
# chkconfig mongod on
# chkconfig openstack-ceilometer-compute on
# chkconfig openstack-ceilometer-central on
# chkconfig openstack-ceilometer-collector on
# chkconfig openstack-ceilometer-api on
Note that these instructions assume an "all in one" style deployment on a single
host. In a multiple node deployment the openstack-ceilometer-compute service
must be deployed and running on each compute node. All ceilometer configuration
settings must also be set on each compute node.
It is also possible to deploy the openstack-ceilometer-collector and
openstack-ceilometer-api services on separate hosts. This requires that the
database_connection configuration key is set on each node to ensure that it
contains the location of the MongoDB database server. For example:
database_connection=mongodb://IP:27017/ceilometer
Replace IP with the IP address or host name of the MongoDB database server.
All users of Red Hat OpenStack 3.0 (Grizzly) Preview that use ceilometer are
advised to install these updated packages.
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258
Documentation for both stable and preview releases of Red Hat OpenStack is
available at:
https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/
In particular it is highly recommended that all users read the Release Notes
document for the relevant Red Hat OpenStack release prior to installation.
Affected Products
- Red Hat OpenStack grizzly x86_64
Fixes
- BZ - 967700 - python-ceilometer depends on flask
- BZ - 967710 - ceilometer init script does not uses the dist configs
CVEs
(none)
Red Hat OpenStack grizzly
SRPM | |
---|---|
gperftools-2.0-3.el6ost.2.src.rpm | SHA-256: ee6acaaa54c81e726652fe6fbf50264df2147306bc1ff241520556ca2747b785 |
mongodb-2.2.4-2.el6ost.src.rpm | SHA-256: 672380e1c6af726ac0c6e98e654e82f7ec180d5526a3d2c964fe1a3b85c9c8e9 |
openstack-ceilometer-2013.1-6.el6ost.src.rpm | SHA-256: 236e5cb0fcab11b8cf21ef23650cc8a98c77a34fc222e4636ac8b1a2707c98ee |
snappy-1.0.5-1.el6ost.src.rpm | SHA-256: a77b488265d5089b205679601a74c9cb3bcafb346a9cc3f1616cb862af803f6a |
v8-3.14.5.8-1.el6ost.src.rpm | SHA-256: b85b69a2df0d845b8d95dfd135834423df785498a7a5298123fffa35bfa424cc |
x86_64 | |
gperftools-debuginfo-2.0-3.el6ost.2.x86_64.rpm | SHA-256: 059fabc101f5e4489eda8f8defd700564987cef21991008f69562f2d9eb47347 |
gperftools-libs-2.0-3.el6ost.2.x86_64.rpm | SHA-256: 39ebc552c2fabc9e008ea16d70e22c8dbb845c22701a54e25b970fd90d8d1988 |
libmongodb-2.2.4-2.el6ost.x86_64.rpm | SHA-256: a41ec98d24f2cb01f8ae8ff3ee8988aa2dab0ffe951491327ddd44c03787ff70 |
mongodb-2.2.4-2.el6ost.x86_64.rpm | SHA-256: 995d6cf31f26a6e59139ea184b6512db6fd1b1c48d72b0f06d045e62b62d164b |
mongodb-debuginfo-2.2.4-2.el6ost.x86_64.rpm | SHA-256: 6f6fcb4c479e80c1a51dad9fd026ea25f630441074d587a41b5f34053deae15d |
mongodb-server-2.2.4-2.el6ost.x86_64.rpm | SHA-256: 64a726dac808426794c7a8e2e39ad5331d81db1ed4143ce685e777338c4a3008 |
openstack-ceilometer-api-2013.1-6.el6ost.noarch.rpm | SHA-256: 75d52351bb75803511535906bcb9b8590f20b2313ddf1d6704ca4e19ec37c8a8 |
openstack-ceilometer-central-2013.1-6.el6ost.noarch.rpm | SHA-256: a850447d448c14ec92c39cc74fd4a07edb0ded07fd5ac7c5a5b64f7e9f2540bd |
openstack-ceilometer-collector-2013.1-6.el6ost.noarch.rpm | SHA-256: dd0ab88594803b02d1f8abb33d197edcc807e26b64d93545c44a36629dfa9047 |
openstack-ceilometer-common-2013.1-6.el6ost.noarch.rpm | SHA-256: a162eef52d473720f84dbac17d19469057a73599b08115b077baa62168cc69c9 |
openstack-ceilometer-compute-2013.1-6.el6ost.noarch.rpm | SHA-256: 422668fb1efabe87c97f6c91cab8f3dff2bc085206b4a74ca7ae85c27477db82 |
python-ceilometer-2013.1-6.el6ost.noarch.rpm | SHA-256: d3ea0f709195d0d0021029d43a1e3f3cc52aaf3dd3e30700224dbb9bb836078c |
snappy-1.0.5-1.el6ost.x86_64.rpm | SHA-256: bdab6428344dc5180f5b4d3b86cd202afeb97a3ca81f7241077d53d117ac5253 |
snappy-debuginfo-1.0.5-1.el6ost.x86_64.rpm | SHA-256: 3f139368c621ec0bd3998857ad55bb2b8f8983927af454a41ea660bad68a8cb6 |
v8-3.14.5.8-1.el6ost.x86_64.rpm | SHA-256: a027e295381e11ca55eabc8683f340d8dce566d4b25cef64579c9ef08294e5f7 |
v8-debuginfo-3.14.5.8-1.el6ost.x86_64.rpm | SHA-256: dc0ccf4f937cbce5cf4a8934d5021cf4d7ca75f571803b87e73b344eabbcbaee |
v8-devel-3.14.5.8-1.el6ost.x86_64.rpm | SHA-256: 71b5a583040db36c5ab81b826f555ed53932bb23922ba8f831ee443b912fc38f |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.