| Summary: | pulp-server service fails to start | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Kedar Bidarkar <kbidarka> |
| Component: | Upstream | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED NOTABUG | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | sghai |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-08 10:17:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I was trying to troubleshoot this issue and found that if seeds: <host> entry in /etc/pulp/pulp.conf file is other than seeds: localhost , spulp-server init fails to run. seeds : localhost , service pulp-server init is successful seeds: <the actual pulp hostname> , pulp-server init fails to run. |
Description of problem: [root@ip-10-38-178-162 ~]# service pulp-server start Pulp database not initialized, please run: /etc/init.d/pulp-server init [root@ip-10-38-178-162 ~]# service pulp-server restart Stopping httpd: [FAILED] Stopping Qpid AMQP daemon: [FAILED] Pulp database not initialized, please run: /etc/init.d/pulp-server init [root@ip-10-38-178-162 ~]# /etc/init.d/pulp-server init Starting mongod: [ OK ] Traceback (most recent call last): File "/usr/bin/pulp-migrate", line 19, in <module> from pulp.server.db.migrate import script File "/usr/lib/python2.6/site-packages/pulp/server/db/migrate/script.py", line 27, in <module> connection.initialize() File "/usr/lib/python2.6/site-packages/pulp/server/db/connection.py", line 47, in initialize _connection = pymongo.Connection(seeds) File "/usr/lib64/python2.6/site-packages/pymongo/connection.py", line 305, in __init__ self.__find_master() File "/usr/lib64/python2.6/site-packages/pymongo/connection.py", line 509, in __find_master raise AutoReconnect("could not find master/primary") pymongo.errors.AutoReconnect: could not find master/primary Version-Release number of selected component (if applicable): pulp-0.0.263-4.el6.noarch How reproducible: On starting pulp-server service Fails for both selinux enabled and disabled Steps to Reproduce: 1. 2. 3. Actual results: service pulp-server fails to start Expected results: Additional info: