| Summary: | cds failing to register | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | nodes | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | ||
| 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-24 20:14:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Looks like repo_cert_utils is used by CDS so it cannot import from server.<anything>. Perhaps the encode_unicode() should be moved into the common package. Moved encode_unicode() and decode_unicode() to common/util.py and updated references. Fixed: ed8801b9040627dff34a0e0eb66e1f00c0abde95 build: 0.266 verified [root@f16-cds ~]# rpm -q pulp-cds pulp-cds-0.0.266-1.fc16.noarch [root@f16-cds ~]# [root@katello-test ~]# pulp-admin cds register --hostname=f16-cds.usersys.redhat.com Successfully registered CDS [f16-cds.usersys.redhat.com] [root@katello-test ~]# rpm -q pulp pulp-0.0.266-1.el6.noarch [root@katello-test ~]# Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Description of problem: cds failing to register Version-Release number of selected component (if applicable): [root@f16-cds ~]# rpm -q pulp-cds pulp-cds-0.0.265-1.fc16.noarch [root@f16-cds ~]# How reproducible: Steps to Reproduce: 1. install cds and try to register it pulp server 2. 3. Actual results: From client.log 2012-02-10 16:49:48,631 [ERROR][MainThread] __import() @ plugin.py:507 - plugin "cdsplugin", import failed Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gofer/agent/plugin.py", line 495, in __import mod = imp.load_source(syn, path) File "/usr/lib64/gofer/plugins/cdsplugin.py", line 27, in <module> from pulp.cds.cdslib import CdsLib, SecretFile File "/usr/lib/python2.7/site-packages/pulp/cds/cdslib.py", line 21, in <module> from pulp.repo_auth.repo_cert_utils import RepoCertUtils File "/usr/lib/python2.7/site-packages/pulp/repo_auth/repo_cert_utils.py", line 54, in <module> from pulp.server.util import encode_unicode ImportError: No module named server.util Expected results: Additional info: