| Summary: | pulp-server fails to init/restart without pulp-admin | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> | ||||
| Component: | rel-eng | Assignee: | Jeff Ortel <jortel> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.0.0 | CC: | dgao, skarmark, tsanders | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | Sprint 30 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-02-24 20:16:38 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Preethi Thomas
2011-09-01 12:41:08 UTC
on rhel5
[root@pulp-qe-rhel5 ~]# service pulp-server init
Starting mongod: [ OK ]
Traceback (most recent call last):
File "/usr/bin/pulp-migrate", line 19, in ?
from pulp.server.db.migrate import script
File "/root/pulp/src/pulp/server/db/migrate/script.py", line 20, in ?
from pulp.server import auditing
File "/root/pulp/test/unit/../../src/pulp/server/auditing.py", line 33, in ?
from pulp.server import async
File "/root/pulp/test/unit/../../src/pulp/server/async.py", line 19, in ?
from gofer.messaging.async import ReplyConsumer, Listener
ImportError: No module named async
This looks like old pulp code. Can you verify this is the latest version? The problem is that you have a pulp checkout in /root/pulp which is in the python path:
>>> for p in sys.path:
... print p
...
/root/pulp/src
/usr/lib64/python24.zip
/usr/lib64/python2.4
/usr/lib64/python2.4/plat-linux2
/usr/lib64/python2.4/lib-tk
/usr/lib64/python2.4/lib-dynload
/usr/lib64/python2.4/site-packages
/usr/lib64/python2.4/site-packages/Numeric
/usr/lib64/python2.4/site-packages/gtk-2.0
/usr/lib/python2.4/site-packages
mv /root/pulp to something else like /root/_pulp and it works.
pulp-migrate moved to main 'pulp' rpm. build: 0.230 Fails_qa From ssl_error_log [Tue Sep 06 11:29:33 2011] [error] [client 127.0.0.1] Certificate Verification: Error (10): certificate has expired [Tue Sep 06 11:29:33 2011] [error] [client 127.0.0.1] Re-negotiation handshake failed: Not accepted by client!? After pulp-admin is installed [Tue Sep 06 11:59:49 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Tue Sep 06 11:59:49 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) Created attachment 521903 [details]
Reproduce Log
Log of efforts to reproduce.
Spotted this in /var/log/messages Oct 2 03:06:02 pulp-nightly rsyslogd: [origin software="rsyslogd" swVersion="5.7.9" x-pid="576" x-info="http://www.rsyslog.com"] rsyslogd was HUPed Oct 2 03:06:03 pulp-nightly qpidd[30827]: 2011-10-02 03:06:03 error Execution exception: resource-locked: Queue pulp.task has an exclusive consumer. No more consumers allowed. (qpid/broker/Queue.c pp:385) Oct 2 03:21:56 pulp-nightly qpidd[30827]: 2011-10-02 03:21:56 warning LinkRegistry task late 3 times by 665ms on average. Oct 2 03:22:02 pulp-nightly qpidd[30827]: 2011-10-02 03:22:02 warning LinkRegistry task late 3 times by 212ms on average. Oct 2 03:22:02 pulp-nightly qpidd[30827]: 2011-10-02 03:22:02 warning ManagementAgent::periodicProcessing task late 1 times by 52ms on average. Oct 2 03:22:08 pulp-nightly qpidd[30827]: 2011-10-02 03:22:08 warning LinkRegistry task late 2 times by 599ms on average. Oct 2 03:22:13 pulp-nightly qpidd[30827]: 2011-10-02 03:22:13 warning LinkRegistry task late 1 times by 1665ms on average. This may be related to the rsyslog daemon screwing up qpidd. Added: export SYSTEMCTL_IGNORE_DEPENDENCIES=1 To both: pulp-server and pulp-cds scripts. Cut-n-paste error in #9. Actually added: 'export SYSTEMCTL_SKIP_REDIRECT=1' build: 0.248 [root@pulp-qe ~]# rpm -qa | grep "pulp-admin" [root@pulp-qe ~]# service pulp-server init data model in use matches the current version database migration to version 29 complete Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |