Bug 674103
| Summary: | repo list --groupid throws type error | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 22 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:08:36 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: | 647488 | ||
Not getting this same error message but there is a different error:
$ sudo pulp-admin repo list --groupid=pulp
error: operation failed: not found
$ sudo pulp-admin repo list
+------------------------------------------+
List of Available Repositories
+------------------------------------------+
Id pulp-repo1
Name pulp-repo
FeedURL http://repos.fedorapeople.org/repos/pulp/pulp/
FeedType yum
Arch noarch
Sync Schedule 2 * * * *
Packages 0
Files 0
Distributions None
Publish True
Clones []
Groups [u'pulp']
Filters []
commit 82a2dcba4630e9044bf2be8b6ac9e5b80c3e666b
$ sudo pulp-admin repo list --groupid=grp2
+------------------------------------------+
List of Available Repositories
+------------------------------------------+
Id f14-clone2
Name f14-clone1
Feed URL file:///var/lib/pulp//repos/repos/pulp/pulp/fedora-14/x86_64
Feed Type local
Feed Certs No
Consumer Certs No
Architecture noarch
Sync Schedule None
Packages 10
Files 0
Distributions None
Publish True
Clones []
Groups ['grp2']
Filters []
build: 0.160 [root@preethi ~]# rpm -q pulp
pulp-0.0.160-1.fc14.noarch
root@preethi ~]# pulp-admin repo list --groupid=test-grp
+------------------------------------------+
List of Available Repositories
+------------------------------------------+
Id f13-clone
Name f13-clone
Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/x86_64/
Feed Type yum
Feed Certs No
Consumer Certs Yes
Architecture x86_64
Sync Schedule None
Packages 10
Files 0
Distributions None
Publish True
Clones []
Groups ['test-grp']
Filters []
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Description of problem: [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id f13 Name f13 FeedURL http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 3102 Files 0 Distributions ks-f13-x86_64 Publish True Clones [] Groups None Id f14 Name f14 FeedURL http://download.devel.redhat.com/released/F-14/GOLD/Fedora/x86_64/os/ FeedType yum Arch x86_64 Sync Schedule None Packages 2766 Files 0 Distributions ks-f14-x86_64 Publish True Clones [] Groups group1 [root@preethi ~]# pulp-admin repo list --groupid=group1 Traceback (most recent call last): File "/usr/bin/pulp-admin", line 147, in <module> admin.main() File "/usr/lib/python2.7/site-packages/pulp/client/cli/base.py", line 98, in main command.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 229, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 240, in run if not len(repos): TypeError: object of type 'NoneType' has no len()