Bug #8995
closedDocument space requirement for mongodb
Description
Possibly an upstream issue, but mongod does not start during katello-installer on CentOS7.
I'm installing Katello 2.1
Output:
[root@foreman ~]# katello-installer
Could not start Service[mongodb]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait mongod start' returned 1: Redirecting to /bin/systemctl start mongod.service
/Stage[main]/Mongodb::Server::Service/Service[mongodb]/ensure: change from stopped to running failed: Could not start Service[mongodb]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait mongod start' returned 1: Redirecting to /bin/systemctl start mongod.service
/Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not start Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait httpd start' returned 1: Redirecting to /bin/systemctl start httpd.service
/Stage[main]/Apache::Service/Service[httpd]: Could not start Service[httpd]: Execution of '/usr/share/katello-installer/modules/service_wait/bin/service-wait httpd start' returned 1: Redirecting to /bin/systemctl start httpd.service
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.rhel7.local]: Failed to call refresh: Could not load data from https://foreman.rhel7.local
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.rhel7.local]: Could not load data from https://foreman.rhel7.local
Installing Done [100%] [............................................................................................]
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/katello-installer/katello-installer.log
[root@foreman ~]#
When I try starting mongod manually, it also fails:
[root@foreman ~]# systemctl start mongod.service
Job for mongod.service failed. See 'systemctl status mongod.service' and 'journalctl -xn' for details.
[root@foreman ~]# systemctl status mongod.service
mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongod.service; disabled)
Active: failed (Result: exit-code) since Fri 2015-01-16 11:53:14 GMT; 10s ago
Process: 32023 ExecStart=/usr/bin/mongod $OPTIONS run (code=exited, status=100)
Jan 16 11:53:14 foreman.rhel7.local systemd1: Starting High-performance, schema-free document-oriented database...
Jan 16 11:53:14 foreman.rhel7.local mongod32023: about to fork child process, waiting until server is ready for connections.
Jan 16 11:53:14 foreman.rhel7.local mongod32023: forked process: 32025
Jan 16 11:53:14 foreman.rhel7.local mongod32023: ERROR: child process failed, exited with error number 100
Jan 16 11:53:14 foreman.rhel7.local systemd1: mongod.service: control process exited, code=exited status=100
Jan 16 11:53:14 foreman.rhel7.local systemd1: Failed to start High-performance, schema-free document-oriented database.
Jan 16 11:53:14 foreman.rhel7.local systemd1: Unit mongod.service entered failed state.
[root@foreman ~]#
I'm following the install notes at: http://www.katello.org/docs/2.1/installation/index.html rather than the katello-deploy method in order to test the installation method. I have fixed the yum repositories to make sure I am getting the right software:
[root@foreman ~]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.as29550.net
* epel: mirror.bytemark.co.uk
* extras: mirror.bytemark.co.uk
* updates: mirror.bytemark.co.uk
repo id repo name status
base/7/x86_64 CentOS-7 - Base 8,465
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 7,031
extras/7/x86_64 CentOS-7 - Extras 103
foreman/x86_64 Foreman 1.7 308
foreman-plugins/x86_64 Foreman plugins 1.7 158
katello/7/x86_64 Katello Stable 62
katello-candlepin/7/x86_64 An open source entitlement management system. 6
katello-pulp/7/x86_64 Pulp Community Releases 41
puppetlabs-deps/x86_64 Puppet Labs Dependencies El 7 - x86_64 17
puppetlabs-products/x86_64 Puppet Labs Products El 7 - x86_64 123
rhscl-ruby193-epel-7-x86_64 Ruby193 - epel-7-x86_64 405
rhscl-v8314-epel-7-x86_64 V8314 - epel-7-x86_64 23
updates/7/x86_64 CentOS-7 - Updates 1,568
repolist: 18,310
[root@foreman ~]#