more workaround of mongondb

addressing:
Apr 27 13:46:57 fed-cloud09.cloud.fedoraproject.org systemd[1]: [/usr/lib/systemd/system/mongod.service:9] Not an absolute path, ignoring:...d.pid}

ERROR : Error appeared during Puppet run: 209.132.184.9_mongodb.pp
Error: Unable to connect to mongodb server! (209.132.184.9:27017)
You will find full trace in log /var/tmp/packstack/20150427-145246-tOWo3U/manifests/209.132.184.9_mongodb.pp.log
Please check log file /var/tmp/packstack/20150427-145246-tOWo3U/openstack-setup.log for more information
This commit is contained in:
Miroslav Suchý 2015-04-27 15:06:20 +00:00
parent 7597a43ea7
commit d287fa6d43

View file

@ -247,6 +247,8 @@
regexp="RABBITMQ_NODE_PORT"
line=" 'RABBITMQ_NODE_PORTTTTT' => $port,"
backup=yes
- action: yum state=present pkg=mongodb-server
- ini_file: dest=/usr/lib/systemd/system/mongod.service section=Service option=PIDFile value=/var/run/mongodb/mongod.pid
- lineinfile:
dest=/usr/lib/python2.7/site-packages/packstack/puppet/templates/mongodb.pp
regexp="pidfilepath"