Bug 1167888
| Summary: | [CENTOS7] packstack all in one install fails at MongoDB Service[mongodb]: Execution of '/usr/bin/systemctl start mongod' returned 1: Job for mongod.service failed | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Gaël Chamoulaud <gchamoul> |
| Component: | openstack-puppet-modules | Assignee: | Gaël Chamoulaud <gchamoul> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ami Jeain <ajeain> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Juno | CC: | aortega, apevec, bdevcich, gchamoul, hguemar, lbezdick, lmiccini, Neil.Jerram, yeylon |
| Target Milestone: | --- | ||
| Target Release: | Juno | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-puppet-modules-2014.2.6-1 openstack-puppet-modules-2014.1.1-3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-12-17 01:05:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gaël Chamoulaud
2014-11-25 15:01:17 UTC
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. |