ceilometer is not installed. ceilometer-dbsync returned 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Dmitry Ilyin | ||
6.1.x |
Fix Released
|
Critical
|
Dmitry Ilyin |
Bug Description
{"build_id": "2014-04-
Step to reproduce:
1. install fuel master.
2. create env with parameters:
virt_type=kvm
config_
release_
net_
debug=true
auto_
nova_quota=true
settings:
"objects_ceph": true, "osd_pool_size": 1, "sahara": true, "murano": false, "ceilometer": true}
controller_
compute_
3. deploy env.
Expected result:
Success. Deployment of environment '2' is done
Actual result:
Error. Deployment has failed. Check these nodes:'
-------
controller console:
[root@node-1 ~]# ceilometer meter-list
Error communicating with http://
[root@node-1 ~]# mongo
MongoDB shell version: 2.4.6
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://
Questions? Try the support group
http://
> show databases;
admin (empty)
ceilometer (empty)
local 0.078125GB
> exit;
-------
ceilometer log(/var/
http://
-------
Changed in fuel: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Dmitry Ilyin (idv1985) |
Changed in fuel: | |
milestone: | none → 5.0 |
tags: | added: scale |
I reproduced it.
On the first run on 'primary-mongo' role package was installed, service have been started and firewall rule was added:
(/Stage[ main]/Mongodb: :Server: :Install/ Package[ mongodb_ server] /ensure) created 30T14:14: 01.737951+ 00:00 notice: (/Stage[ main]/Mongodb: :Server: :Service/ Service[ mongodb] /ensure) ensure changed 'stopped' to 'running' 30T14:14: 01.932865+ 00:00 notice: (/Stage[ main]/Mongodb: :Firewall/ Firewall[ 120 mongodb]/ensure) created
2014-04-
2014-04-
But then creation of ceilometer database failed:
2014-04- 30T14:14: 34.133064+ 00:00 err: (/Stage[ main]/Openstack ::Mongo_ primary/ Mongodb: :Db[ceilometer] /Mongodb_ database[ ceilometer] ) Could not evaluate: Execution of '/usr/bin/mongo --quiet --eval db.getMon 30T14:14: 34.133480+ 00:00 err: (/Stage[ main]/Openstack ::Mongo_ primary/ Mongodb: :Db[ceilometer] /Mongodb_ database[ ceilometer] ) exception: connect failed
2014-04-
Everything else mongo related failed too and Nailgun started the second try to install primary mongo role
2014-04- 30T14:14: 48.454325+ 00:00 notice: ***** Beginning deployment of node node-4 with role primary-mongo ***** 30T14:14: 48.454719+ 00:00 notice: (/Stage[ zero]/Begin_ deployment/ Notify[ ***** Beginning deployment of node node-4 with role primary-mongo *****]/message) defined 'message' as '***** Beginning deplo 30T14:14: 50.811954+ 00:00 notice: MongoDB params: 127.0.0. 1192.168. 0.1 30T14:14: 50.812272+ 00:00 notice: (/Stage[ main]/Openstack ::Mongo_ primary/ Notify[ MongoDB params: 127.0.0. 1192.168. 0.1]/message) defined 'message' as 'MongoDB params: 127.0.0. 1192.168. 0.1' 30T14:14: 50.907577+ 00:00 notice: Installing package mongodb from 2.4.6-1.mira1 to installed 30T14:14: 51.247689+ 00:00 notice: (/Stage[ main]/Mongodb: :Client/ Package[ mongodb_ client] /ensure) ensure changed '2.4.6-1.mira1' to 'installed' 30T14:14: 51.461579+ 00:00 notice: mongodb configuring databases 30T14:14: 51.462026+ 00:00 notice: (/Stage[ main]/Openstack ::Mongo_ primary/ Notify[ mongodb configuring databases]/message) defined 'message' as 'mongodb configuring databases' 30T14:14: 51.776395+ 00:00 notice: (/Stage[ main]/Openstack ::Mongo_ primary/ Mongodb: :Db[ceilometer] /Mongodb_ database[ ceilometer] /ensure) created 30T14:14: 52.036495+ 00:00 notice: (/Stage[ main]/Openstack ::Mongo_ primary/ Mongodb: :Db[ceilometer] /Mongodb_ user[ceilometer ]/ensure) created 30T14:14: 52.291130+ 00:00 notice: (/Stage[ main]/Openstack ::Mongo_ primary/ Mongodb: :Db[admin] /Mongodb_ database[ admin]/ ensure) created 30T14:14: 52.540861+ 00:00 notice: (/Stage[ main]/Openstack ::Mongo_ primary/ Mongodb: :Db[admin] /Mongodb_ user[admin] /ensure) created 30T14:14: 52.548255+ 00:00 notice: mongodb primary finished
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
2014-04-
and everything went fine.
Then controller role was successfuly deployed successfully too and the entire environment is operational.
Why did mongo client failed to connect to the mongo service on the first deployment run? Maybe the was not enough time for mongo to warm up?