ERR: Execution of '/usr/bin/mongo --quiet --eval db.getMongo().getDBNames()' returned 1

Bug #1311023 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Dmitry Ilyin

Bug Description

"build_id": "2014-04-22_01-00-26",
"mirantis": "yes",
"build_number": "121",
"nailgun_sha": "978d70312250b72af9d29390f13ce7df8907c05d",
"production": "prod",
"ostf_sha": "7d0ea20e1c450a5f571d91bb03141b12c301184b",
"fuelmain_sha": "8a9c73e7deaa8e6d8cf37deaa4f8c3314a7e0dbc",
"astute_sha": "421a9f28080f8d10b4d006ce06af8568cce40b9b",
"release": "5.0",
"fuellib_sha": "28d82c796081978ef937853dafbe489a251d8103"

1. Create new environment (CentOS, simple mode)
2. Choose Ceilometer installation
3. Add controller+mongo and mongo node
4. Start deployment. It has failed.
5. There are error in puppet logs on single mongo role

(/Stage[main]/Openstack::Mongo/Mongodb::Db[ceilometer]/Mongodb_database[ceilometer]) Could not evaluate: Execution of '/usr/bin/mongo --quiet --eval db.getMongo().getDBNames()' returned 1: Tue Apr 22 09:34:40.045 Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:145

Tags: mongo
Revision history for this message
Anastasia Palkina (apalkina) wrote :
Changed in fuel:
assignee: Max Mazur (mmaxur) → Fuel Library Team (fuel-library)
Revision history for this message
Mike Scherbakov (mihgen) wrote :

I consider this as High priority bug, as it doesn't stop other features from being QAed.

Changed in fuel:
importance: Critical → High
Revision history for this message
Max Mazur (mmaxur) wrote :

we does not support multiple mongodb nodes in simple cluster mode.

Do we need add such feature? Otherwise it looks like UI bug.

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Error on SINGLE mongo node, not multi-node.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

I don't see any reason why we would not want to have multiple mongodb in simple mode.

BTW, we want to get rid of simple mode, and have only HA. Though with an ability to scale up from one HA node to many. So it's mandatory to have support of such in MongoDB scaling as well.

For now, it looks to me as simple backports of some configs from cluster_ha.pp to simple manifest, to support more than one mongo node in simple deployment mode.

I'm also wondering on requirement for having odd number of mongodb nodes. Looks like we don't have any UI limitation on this. Should we introduce one and enforce user to have only odd number of mongodb nodes?

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dmitry Ilyin (idv1985)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

...As well as we don't have now a limitation in UI for deploying HA cluster on even numbers of controllers which cannot form a quorum (i.e 2 controllers should not be allowed to deploy, but 1 and 3 - is OK). Funny is what we have a contrary for mongo roles now.

Revision history for this message
Dmitry Ilyin (idv1985) wrote :

Duplicate if #1308988

Changed in fuel:
status: New → Invalid
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.