[ceilometer]Failed to connect to db

Bug #1587469 reported by Artem Minasyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Critical
Unassigned

Bug Description

After deploy environment we have problem with connecting to mongo. We have such logs in ceilometer-api.log http://paste.openstack.org/show/506569/. Looks like this problem was reproduced because of incorrect index in database.

Changed in mos:
importance: Undecided → Critical
assignee: nobody → MOS Ceilometer (mos-ceilometer)
Revision history for this message
Igor Degtiarov (idegtiarov) wrote :

The main issue is not with connection to mongo database connection is ok. Main issue in ttl index modification, we change sorting order for ttl_indexes in mongo and got this bug because such index already exists but its key pattern is opposite.

There is no problem for just created databases.

Will add fix in new change request.

Changed in mos:
assignee: MOS Ceilometer (mos-ceilometer) → Igor Degtiarov (idegtiarov)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/ceilometer (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Igor Degtiarov <email address hidden>
Review: https://review.fuel-infra.org/21435

Changed in mos:
status: New → In Progress
Changed in mos:
milestone: none → 9.0
Dina Belova (dbelova)
tags: added: area-ceilometer
tags: added: swarm-fail
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/ceilometer (9.0/mitaka)

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

Commit: f5309ab4ac5d135e5c8a91a4965a09a538a95455
Author: Igor Degtiarov <email address hidden>
Date: Wed Jun 1 13:35:52 2016

Fix bug 1587469

Improve indexes update in MongoDB with paying attention on ttl indexes
key pattern when index is already exists

Closes-Bug:#1587469
Change-Id: Ic7685df7c19026fd960650b40ebb727575728358

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Artem Minasyan (aminasyan) wrote :
Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/ceilometer (mcp/newton)

Fix proposed to branch: mcp/newton
Change author: Igor Degtiarov <email address hidden>
Review: https://review.fuel-infra.org/33380

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/ceilometer (11.0/ocata)

Fix proposed to branch: 11.0/ocata
Change author: Igor Degtiarov <email address hidden>
Review: https://review.fuel-infra.org/33781

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/ceilometer (mcp/ocata)

Fix proposed to branch: mcp/ocata
Change author: Igor Degtiarov <email address hidden>
Review: https://review.fuel-infra.org/34489

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/ceilometer (mcp/newton)

Change abandoned by Ilya Tyaptin <email address hidden> on branch: mcp/newton
Review: https://review.fuel-infra.org/33380

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/ceilometer (mcp/ocata)

Change abandoned by Ilya Tyaptin <email address hidden> on branch: mcp/ocata
Review: https://review.fuel-infra.org/34489

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/ceilometer (11.0/ocata)

Change abandoned by Roman Podoliaka <email address hidden> on branch: 11.0/ocata
Review: https://review.fuel-infra.org/33781
Reason: we don't use 11.0/ocata anymore - mcp/ocata is the correct branch name

Changed in mos:
assignee: Igor Degtiarov (idegtiarov) → nobody
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.