[Openstack] How to change mongodb password

Mark Kirkwood mark.kirkwood at catalyst.net.nz
Thu Sep 17 04:54:56 UTC 2015


On 17/09/15 05:39, venkatesh kotipalli wrote:
> Hi All,
> 
> When i am Create the Ceilometer database password is *p at ssw0rd. *I noticed
> that openstack-ceilometer-api.service is failed. I am check the logs it
> wont allow @ symbol.
>  api server log file is like this:
> 
> *2015-09-16 22:41:48.340 7192 TRACE ceilometer     raise InvalidURI("':' or
> '@' characters in a username or password "*
> *2015-09-16 22:41:48.340 7192 TRACE ceilometer InvalidURI: ':' or '@'
> characters in a username or password must be escaped according to RFC 2396.*
> 
> How can i change the mongodb password. please help me guys.
> 
> Regards,
> Venkatesh.k
> 
> 

You can do that using the db.updateUser() method from the mongo cli. See
http://docs.mongodb.org/master/tutorial/change-own-password-and-custom-data/

Regards

Mark




More information about the Openstack mailing list