Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. packstack --allinone --provision-all-in-one-ovs-bridge=n Actual results: ERROR : Error appeared during Puppet run: 200.7.4.253_mongodb.pp Error: Could not start Service[mongodb]: Execution of '/usr/bin/systemctl start mongod' returned 1: Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details. You will find full trace in log /var/tmp/packstack/20141121-030314-aeb3_0/manifests/200.7.4.253_mongodb.pp.log Additional info: On CentOS 7, the pidfile for mongodb should be /var/run/mongodb/mongod.pid !!!!
Which mongodb RPM do you have? There was EPEL7 update where services were renamed: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3830/mongodb-2.6.5-2.el7
mongodb-server-2.6.5-2.el7.x86_64 It will affect fedora 22 as well! http://pkgs.fedoraproject.org/cgit/mongodb.git/commit/?id=2e5a1db501f5ebe7c522c34df534f068c976dafd
I've found that adding the pid filepath to /usr/lib/python2.7/site-packages/packstack/puppet/templates/mongodb.pp works as a workaround. I added the pidfilepath line. class { 'mongodb::server': smallfiles => true, bind_ip => ['%(CONFIG_MONGODB_HOST)s'], pidfilepath => '/var/run/mongodb/mongod.pid', }
I am seeing this problem too.
A Pull Request has been sent upstream by Ivan Necas https://github.com/puppetlabs/puppetlabs-mongodb/pull/148
openstack-puppet-modules-2014.2.6-1 is available in the public RDO Juno repository
RDO Icehouse fix: https://github.com/redhat-openstack/openstack-puppet-modules/commit/fc58b47ac6b1261bc7e99279ce9cc24cd806803b
RDO Icehouse update https://review.gerrithub.io/217314 pushed to stage, waiting for stage CI jobs to return before pushing live.
RDO Icehouse update is now live.