Failed to install ceilometer on Ubuntu, when mongodb is not running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Low
|
Unassigned |
Bug Description
mongo ceilometer --eval "db.dropDatabas
MongoDB shell version: 2.0.4
connecting to: ceilometer
Wed May 22 16:56:17 Error: couldn't connect to server 127.0.0.1 shell/mongo.js:84
exception: connect failed
------
devstack/
function configure_
setup_develop $CEILOMETER_DIR
[ ! -d $CEILOMETER_
sudo chown $USER $CEILOMETER_
[ ! -d $CEILOMETER_
sudo chown $USER $CEILOMETER_
iniset_
iniset $CEILOMETER_CONF DEFAULT notification_topics 'notifications'
iniset $CEILOMETER_CONF DEFAULT verbose True
# Install the policy file for the API server
cp $CEILOMETER_
cp $CEILOMETER_
iniset $CEILOMETER_CONF DEFAULT policy_file $CEILOMETER_
# the compute and central agents need these credentials in order to
# call out to the public nova and glance APIs
iniset $CEILOMETER_CONF DEFAULT os_username ceilometer
iniset $CEILOMETER_CONF DEFAULT os_password $SERVICE_PASSWORD
iniset $CEILOMETER_CONF DEFAULT os_tenant_name $SERVICE_
iniset $CEILOMETER_CONF DEFAULT os_auth_url $OS_AUTH_URL
iniset $CEILOMETER_CONF keystone_authtoken auth_protocol http
iniset $CEILOMETER_CONF keystone_authtoken admin_user ceilometer
iniset $CEILOMETER_CONF keystone_authtoken admin_password $SERVICE_PASSWORD
iniset $CEILOMETER_CONF keystone_authtoken admin_tenant_name $SERVICE_
iniset $CEILOMETER_CONF keystone_authtoken signing_dir $CEILOMETER_
configure_
cleanup_
}
# cleanup_
# runs that a clean run would need to clean up
function cleanup_
mongo ceilometer --eval "db.dropDatabas
}
Changed in devstack: | |
importance: | Undecided → Low |
status: | New → Triaged |
Can devstack do some check for the mongo service, before devstack install/config the ceilometer?