<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);"><div>Hi All</div><div>Listing publications gives the following error when any publication is being created. I don't recall see this issue before 3.3. Can this be fixed?</div><div><br></div><div>Traceback (most recent call last):</div><div>  File "./listpub.py", line 15, in <module></div><div>    PublicationsRpmApi(rpm_client).list().results</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api/publications_rpm_api.py", line 289, in list</div><div>    return self.list_with_http_info(**kwargs)  # noqa: E501</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api/publications_rpm_api.py", line 401, in list_with_http_info</div><div>    collection_formats=collection_formats)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 353, in call_api</div><div>    _preload_content, _request_timeout, _host)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 192, in __call_api</div><div>    return_data = self.deserialize(response_data, response_type)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 264, in deserialize</div><div>    return self.__deserialize(data, response_type)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 303, in __deserialize</div><div>    return self.__deserialize_model(data, klass)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 639, in __deserialize_model</div><div>    kwargs[attr] = self.__deserialize(value, attr_type)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 281, in __deserialize</div><div>    for sub_data in data]</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 281, in <listcomp></div><div>    for sub_data in data]</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 303, in __deserialize</div><div>    return self.__deserialize_model(data, klass)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/api_client.py", line 641, in __deserialize_model</div><div>    instance = klass(**kwargs)</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py", line 76, in __init__</div><div>    self.metadata_checksum_type = metadata_checksum_type</div><div>  File "/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py", line 192, in metadata_checksum_type</div><div>    .format(metadata_checksum_type, allowed_values)</div><div>ValueError: Invalid value for `metadata_checksum_type` (), must be one of ['unknown', 'md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']</div><div><br></div><div><br></div><div>To reproduce the issue. run the below program when a creating publication task is running.</div><div><br></div><div>#!/usr/bin/env python</div><div>from pulpcore.client import pulpcore</div><div>from pulpcore.client import pulp_rpm</div><div>from pulpcore.client.pulp_rpm import PublicationsRpmApi</div><div><br></div><div># Configure HTTP basic authorization: basic</div><div>configuration = pulpcore.Configuration()</div><div>configuration.host = '<a spellcheck="false" bbg-destination="rte:bind" data-destination="rte:bind" href="http://pulpserver">http://pulpserver</a>'</div><div>configuration.username = 'admin'</div><div>configuration.password = 'admin'</div><div>configuration.safe_chars_for_path_param = '/'</div><div><br></div><div>rpm_client = pulp_rpm.ApiClient(configuration)</div><div><br></div><div>PublicationsRpmApi(rpm_client).list().results</div><div><br></div><div><br></div></div></body></html>