Bug 603901
| Summary: | pulp consumer list error | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | wes hayutin <whayutin> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | jconnor, ssachdev |
| Target Milestone: | --- | Keywords: | QA-Closed |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-20 16:11:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
[root@localhost ~]# pulp repo list
+-------------------------------------------+
List of Available Repositories
+-------------------------------------------+
Traceback (most recent call last):
File "/usr/bin/pulp", line 26, in <module>
pulpcli.CLI().main()
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 516, in main
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 56, in main
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 310, in _do_core
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 354, in _list
NameError: global name 'constants' is not defined
[root@localhost ~]#
[root@localhost ~]# pulp consumer create --id=1 --description=user01
Successfully created Consumer [ 1 ]
[root@localhost ~]# pulp consumer list
+-------------------------------------------+
List of Consumers
+-------------------------------------------+
Traceback (most recent call last):
File "/usr/bin/pulp", line 26, in <module>
pulpcli.CLI().main()
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 516, in main
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 56, in main
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 139, in _do_core
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 173, in _list
NameError: global name 'constants' is not defined
[root@localhost pulp]# pulp repo list
+-------------------------------------------+
List of Available Repositories
+-------------------------------------------+
Traceback (most recent call last):
File "/usr/bin/pulp", line 26, in <module>
pulpcli.CLI().main()
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 516, in main
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 56, in main
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 310, in _do_core
File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 354, in _list
NameError: global name 'constants' is not defined
[root@localhost pulp]#
[root@localhost pulp]# git show
commit 0aa40cb3e6527d5be703d152c577f18f43ae8a0a
Author: Pradeep Kilambi <pkilambi>
Date: Tue Jun 15 11:21:40 2010 -0400
server/client = 10.16.120.143 root/dog [root@fedora12g2 ~]# pulp-admin -u admin -p admin consumer list
+-------------------------------------------+
Consumer Information
+-------------------------------------------+
Id 10.65.201.137
Description 10.65.201.137
Subscribed Repos /consumers/10.65.201.137/repoids/
Profile http://localhost:8811/consumers/10.65.201.137/package_profile/
Id 10.65.193.75
Description 10.65.193.75
Subscribed Repos /consumers/10.65.193.75/repoids/
Profile http://localhost:8811/consumers/10.65.193.75/package_profile/
Closed after review. |
Description of problem: commit 29a9294f2b6955d04221ca9b2ee445b1cfc659b0 [root@localhost noarch]# pulp consumer list +-------------------------------------------+ List of Consumers +-------------------------------------------+ [root@localhost noarch]# pulp consumer create --id=0 --description=user-00 Successfully created Consumer [ 0 ] [root@localhost noarch]# pulp consumer list +-------------------------------------------+ List of Consumers +-------------------------------------------+ Traceback (most recent call last): File "/usr/bin/pulp", line 26, in <module> pulpcli.CLI().main() File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 516, in main File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 56, in main File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 139, in _do_core File "build/bdist.linux-i686/egg/pulptools/pulpcli.py", line 173, in _list NameError: global name 'constants' is not defined