Hide Forgot
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:
PR: https://github.com/pulp/pulp_rpm/pull/397
[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.