Bug 869101
Summary: | rpm repo content distribution command for a repo results in an error | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Sayli Karmarkar <skarmark> |
Component: | user-experience | Assignee: | Jay Dobies <jason.dobies> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | Master | CC: | cperry |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | Sprint 41 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-04-08 16:01:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sayli Karmarkar
2012-10-23 03:13:19 UTC
This seems to be happening with a repo containing a distro as well. Updating summary. admin.log in case when a distribution exists - 2012-10-22 23:17:44,893 - ERROR - Client-side exception occurred Traceback (most recent call last): File "/home/skarmark/git/pulp1/pulp/platform/src/pulp/client/extensions/core.py", line 478, in run exit_code = Cli.run(self, args) File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 933, in run exit_code = command_or_section.execute(self.prompt, remaining_args) File "/home/skarmark/git/pulp1/pulp/platform/src/pulp/client/extensions/extensions.py", line 224, in execute return self.method(*arg_list, **clean_kwargs) File "/home/skarmark/git/pulp_rpm/pulp_rpm/src/pulp_rpm/extension/admin/contents.py", line 189, in distribution _content_command(self.context, [TYPE_DISTRIBUTION], self.write_distro, **kwargs) File "/home/skarmark/git/pulp_rpm/pulp_rpm/src/pulp_rpm/extension/admin/contents.py", line 362, in _content_command out_func(units) File "/home/skarmark/git/pulp_rpm/pulp_rpm/src/pulp_rpm/extension/admin/contents.py", line 200, in write_distro distro_meta = distro['metadata'] KeyError: 'metadata' commit 4572a3f95a0e754c5cd2c704bea4e86e2891a26d build: 2.1.0-0.3.alpha [root@cloud-qe-8 ~]# rpm -qa |grep pulp-server pulp-server-2.1.0-0.20.beta.noarch [root@cloud-qe-8 ~]# [root@cloud-qe-8 ~]# pulp-admin rpm repo content distribution --repo-id rhel6-3 Id: ks-Red Hat Enterprise Linux-Server-6.3-x86_64 Family: Red Hat Enterprise Linux Architecture: x86_64 Variant: Server Storage Path: /var/lib/pulp/content/distribution/ks-Red Hat Enterprise Linux-Server-6.3-x86_64 Files: Filename: initrd.img Relative Path: images/pxeboot/initrd.img Size: 0 Checksum Type: sha256 Checksum: c7a8108e8620e19767c1c75cc4d0a75200d9d50cdf184d983a514ff727dc1e d5 Filename: vmlinuz Relative Path: images/pxeboot/vmlinuz Size: 0 Checksum Type: sha256 Checksum: a2ef8593c58b514e5c0bd4203742df7a8f5bd6166b97b97c66831aa499d859 cd Filename: boot.iso Relative Path: images/boot.iso Size: 0 Checksum Type: sha256 Checksum: 4eaab6d6331e1315f68202e4e436fbfa7d158143ea0e0b70d6d03c9d11755a 16 Filename: efiboot.img Relative Path: images/efiboot.img Size: 0 Checksum Type: sha256 Checksum: 285502130ff6282398322ac681c80d3934533d03e09dd6031f17ceaa6b6fb7 aa Filename: install.img Relative Path: images/install.img Size: 0 Checksum Type: None Checksum: None Filename: efidisk.img Relative Path: images/efidisk.img Size: 0 Checksum Type: sha256 Checksum: ddb95cb7053d1a3b9ec76d3a4268651f44feddca53a725f084010be3cabe58 c7 Filename: product.img Relative Path: images/product.img Size: 0 Checksum Type: sha256 Checksum: 5d9a7302b833dda38b0601b42a9563bf7f50bb2f9c1f5bab4221d0b9d29a33 13 [root@cloud-qe-8 ~]# [root@cloud-qe-8 ~]# pulp-admin rpm repo content distribution --repo-id zoo Pulp 2.1 released http://www.pulpproject.org/2013/04/05/pulp-2-1-0-released/ |