Bug 609118
Summary: | pulp consumer bind --consumerid --repoid not working | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Shveta <ssachdev> |
Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | pthomas, whayutin |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 13:59:53 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: | |||
Bug Depends On: | |||
Bug Blocks: | 641987 |
Description
Shveta
2010-06-29 13:22:20 UTC
[root@preethi ~]# pulp repo list +-------------------------------------------+ List of Available Repositories +-------------------------------------------+ Label rhel-i386-server-5 Name rhel-i386-server-5 Feed {'url': 'satellite.rhn.redhat.com/rhel-i386-server-5', 'type': 'rhn', 'supported_types': ['yum', 'local', 'rhn']} Arch i386 Sync Schedule None Packages 2125 Package Categories ['development', 'desktops', 'language-support', 'apps', 'servers', 'base-system'] Package Groups 99 Label f12 Name f12 Feed {'url': 'http://download.devel.redhat.com/released/F-12/GOLD/Fedora/i386/os/', 'type': 'yum', 'supported_types': ['yum', 'local', 'rhn']} Arch i386 Sync Schedule None Packages 0 Package Categories ['development', 'desktops', 'language-support', 'apps', 'servers', 'base-system'] Package Groups 192 [root@preethi ~]# pulp consumer bind --repoid=f12 --consumerid=preethi.usersys.redhat.com Traceback (most recent call last): File "/usr/bin/pulp", line 5, in <module> pkg_resources.run_script('pulp==0.0.6', 'pulp') File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/EGG-INFO/scripts/pulp", line 26, in <module> pulpcli.PulpCore().main() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/pulpcli.py", line 102, in main cmd.main() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/core/basecore.py", line 43, in main self._do_core() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/core/core_consumer.py", line 129, in _do_core self._bind() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/core/core_consumer.py", line 212, in _bind self.repolib.update() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/repolib.py", line 68, in update return action.perform() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/repolib.py", line 128, in perform for cont in self.getUniqueContent(): File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/repolib.py", line 151, in getUniqueContent products = self.pulp.getProducts() File "/usr/lib/python2.6/site-packages/pulp-0.0.6-py2.6.egg/pulptools/repolib.py", line 90, in getProducts for repoid in consumer['repoids']: TypeError: 'NoneType' object is unsubscriptable [root@preethi ~]# rm -Rf /etc/pulp/consumer git pull, install w/ developer setup.. not tito follow git work around..register a new user try again [root@fedora12g2 ~]# pulp-admin -u admin -p admin consumer bind --id=10.65.193.75 --repoid=TAKE3rhel-i386-server-5 Successfully subscribed Consumer [10.65.193.75] to Repo [TAKE3rhel-i386-server-5] Closing with Community Release 15 pulp-0.0.223-4. |