A single MongoDB instance is permitted for OpenStack HA mode

Bug #1338486 reported by Anastasia Palkina
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexandra Morozova
5.0.x
Won't Fix
High
MOS Ceilometer

Bug Description

"build_id": "2014-07-03_12-42-15",
"mirantis": "yes",
"build_number": "89",
"ostf_sha": "d0fe60e0eba61685008b86d101f459fc2d3bb654",
"nailgun_sha": "5c18e962d85b878e53ff6eb6eeeb14658814c5b8",
"production": "docker",
"api": "1.0",
"fuelmain_sha": "1072bc723d14427d5fdc24662ffe1af0641e0d9a",
"astute_sha": "644d279970df3daa5f5a2d2ccf8b4d22d53386ff",
"release": "5.0.1",
"fuellib_sha": "385d713b569bc0633e695b44ff7eedf3417f0575"

1. Create new environment (CentOS, HA mode)
2. Choose both Ceph
3. Choose Ceilometer installation
4. Add 1 controller+mongo, 2 controllers, 1 compute, 3 ceph
5. Untag Management network and move storage and management networks to other interfaces (see screen)
6. Start deployment. It was successful
7. Start OSTF tests. It was successful
8. Power off controller+mongo
9. Start Sanity OSTF tests
10. Test "List ceilometer availability" has failed

[root@node-12 ~]# ceilometer meter-list
WARNING (http:173) Request returned failure status.
HTTPInternalServerError (HTTP 500)

Controller+mongo - node-11
Controllers - node-12,13

Logs are here https://drive.google.com/a/mirantis.com/file/d/0B6SjzarTGFxaTzdwM0xUNHpFZ0U/edit?usp=sharing

Changed in fuel:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Anastasia Palkina (apalkina) wrote :
summary: - Ceilometer meter-list is unavailable after power-off one of controllers
- in HA
+ A single MongoDB instance is permitted for OpenStack HA mode
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

I suggest the following text for the release note:

HA mode allows setting up a single MongoDB instance as a Ceilometer backend.

Fuel 5.0.1 installs MongoDB as a Ceilometer backend. When installing OpenStack in HA mode, Fuel does not enforce user to setup several MongoDB nodes. As a result, user can setup a single MongoDB instances for Ceilometer, which is not acceptable for HA environment. To avoid the issue when setting up OpenStack in HA mode, make sure that you configure Fuel to setup MongoDB on more than one OpenStack controller.

tags: added: release-notes
Revision history for this message
Dina Belova (dbelova) wrote :

Where are the release notes posted? Are they posted to the docs repository as well? If so, I'll assign this t myself and write the appropriate docs page.

Revision history for this message
Dina Belova (dbelova) wrote :

In 5.1 it possibly should be added the checking that in HA mode MongoDB is also set in HA mode (on UI side) - that it'll be at least 3 Mongo instances there - not necessary on the controllers, but 3 at least.

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

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

Changed in fuel:
assignee: Vitaly Kramskikh (vkramskikh) → Alexandra Morozova (astepanchuk)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/106368
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=67195cc95fb4be14c9ca09739cea1a4898e25d58
Submitter: Jenkins
Branch: master

commit 67195cc95fb4be14c9ca09739cea1a4898e25d58
Author: Alexandra Morozova <email address hidden>
Date: Fri Jul 11 16:07:01 2014 +0300

    Added warning for MongoDB role in HA mode

    at least 3 nodes with MongoDB Role are needed

    Change-Id: Ieceaf7d57485c1961ff7ed987f204f404cc8c8ac
    Closes-bug: 1338486

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

Verified on ISO #381
"build_id": "2014-08-01_02-01-14",
"ostf_sha": "15f3be5fbafb7a8c7075b5077a5074a50e679c25",
"build_number": "381",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "51f32395eebe2514e78eb7e0a85e694826be40d6",
"production": "docker",
"fuelmain_sha": "7990f5bfa7fea5b74ebf0402b1918109b9bc505b",
"astute_sha": "f655ee86ebf0359b014f00cff63d0aaf15c65308",
"feature_groups": ["mirantis"],
"release": "5.1",
"fuellib_sha": "5571b86a667e28d4c9770fcce4d32163dee5a710"

Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/5.1.x
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.