| Summary: | Failure exporting rpm repo to iso | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Barnaby Court <bcourt> |
| Component: | rpm-support | Assignee: | Barnaby Court <bcourt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 2.3 | CC: | mhrivnak, pthomas |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-09 14:30:23 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: | |
[root@pulp-v2-server ~]# rpm -qa |grep pulp-server
pulp-server-2.3.1-0.3.beta.el6.noarch
[root@pulp-v2-server ~]# pulp-admin rpm repo export run --repo-id puppet
+----------------------------------------------------------------------+
Publishing Repository [puppet]
+----------------------------------------------------------------------+
This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.
Exporting packages...
[==================================================] 100%
Rpms: 305/305 items
... completed
Exporting errata...
[==================================================] 100%
Errata: 0/0 items
... completed
Exporting distributions...
[==================================================] 100%
Distributions: 0/0 items
... completed
Generating metadata...
[/]
... completed
[==================================================] 100%
Iso Images: 1/1 items
... completed
Publishing over HTTPS...
[-]
... completed
[root@pulp-v2-server ~]# pulp-admin rpm repo export run --repo-id SAM
+----------------------------------------------------------------------+
Publishing Repository [SAM]
+----------------------------------------------------------------------+
This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.
Exporting packages...
[==================================================] 100%
Rpms: 546/546 items
... completed
Exporting errata...
[==================================================] 100%
Errata: 16/16 items
... completed
Exporting distributions...
[==================================================] 100%
Distributions: 0/0 items
... completed
Generating metadata...
[/]
... completed
[==================================================] 100%
Iso Images: 1/1 items
... completed
Publishing over HTTPS...
[-]
... completed
[root@pulp-v2-server ~]#
Pulp 2.3 released. |
Description of problem: The following exception is thrown when exporting an rpm repository that does not have a checksum. An error is printed to the pulp log an the export fails. Version-Release number of selected component (if applicable): 2.3.1 How reproducible: Always Steps to Reproduce: 1. Create an rpm repo without a checksum type 2. sync the repo 3. export the repo to an ISO Actual results: File "/home/bcourt/PycharmProjects/pulp_rpm/pulp_rpm/src/pulp_rpm/yum_plugin/metadata.py", line 167, in get_repo_checksum_type {'checksum_type': checksum_type}) File "/home/bcourt/PycharmProjects/pulp/server/pulp/server/managers/repo/distributor.py", line 320, in update_distributor_config raise PulpDataException(message) Expected results: Additional info: