Project

Profile

Help

Issue #3692

Updated by Ichimonji10 almost 6 years ago

Let's say that one creates, syncs, and publishes a Puppet repository. It should then be possible to get information about the Puppet repository's releases, in the same way that one would get information about a Puppet module from the Puppet forge. One of the Pulp Smash tests does just this. It makes an HTTP GET request for a URL like <code>https://fedora-26-pulp-2-16-stable/v3/releases?module=pulp%2Fpulp</code>, with headers like <code>{'User-Agent': 'python-requests/2.18.4', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cmVwb3NpdG9yeTo3NjIwZjJjOS0zZWM0LTRlMTMtYWI1MC0xMWM5OTU4YTE2MmI='}</code> and no request body. Unfortunately, Pulp now responds with an HTTP 404, with no response body. This appears to be a regression. 

 To run the affected test, execute <code>python -m unittest pulp_smash.tests.pulp2.puppet.api_v2.test_sync_publish.SyncValidFeedTestCase</code>. 

 Disabling SELinux on the Pulp server doesn't change the outcome. There are no errors in the Pulp server's logs. This issue affects at least F26 and RHEL 7. This issue affects the stable release of Pulp 2.16, indicating that perhaps one of the dependencies under Pulp has changed. Here are some of the packages used when troubleshooting this test failure: 

 <pre>[root@rhel-7-pulp-2-16-stable ~]# rpm -qa | grep puppet | sort 
 pulp-puppet-admin-extensions-2.16.1-1.el7.noarch 
 pulp-puppet-plugins-2.16.1-1.el7.noarch 
 pulp-puppet-tools-2.16.1-1.el7.noarch 
 puppet-3.6.2-3.el7.noarch 
 python-pulp-puppet-common-2.16.1-1.el7.noarch 
 [root@rhel-7-pulp-2-16-stable ~]# rpm -qa | grep pulp | sort 
 pulp-admin-client-2.16.1-1.el7.noarch 
 pulp-deb-admin-extensions-1.7.0-1.el7.noarch 
 pulp-deb-plugins-1.7.0-1.el7.noarch 
 pulp-docker-admin-extensions-3.1.3-1.el7.noarch 
 pulp-docker-plugins-3.1.3-1.el7.noarch 
 pulp-ostree-admin-extensions-1.3.0-1.el7.noarch 
 pulp-ostree-plugins-1.3.0-1.el7.noarch 
 pulp-puppet-admin-extensions-2.16.1-1.el7.noarch 
 pulp-puppet-plugins-2.16.1-1.el7.noarch 
 pulp-puppet-tools-2.16.1-1.el7.noarch 
 pulp-python-admin-extensions-2.0.2-1.el7.noarch 
 pulp-python-plugins-2.0.2-1.el7.noarch 
 pulp-rpm-admin-extensions-2.16.1-1.el7.noarch 
 pulp-rpm-plugins-2.16.1-1.el7.noarch 
 pulp-selinux-2.16.1-1.el7.noarch 
 pulp-server-2.16.1-1.el7.noarch 
 python-isodate-0.5.0-4.pulp.el7.noarch 
 python-pulp-bindings-2.16.1-1.el7.noarch 
 python-pulp-client-lib-2.16.1-1.el7.noarch 
 python-pulp-common-2.16.1-1.el7.noarch 
 python-pulp-deb-common-1.7.0-1.el7.noarch 
 python-pulp-docker-common-3.1.3-1.el7.noarch 
 python-pulp-oid_validation-2.16.1-1.el7.noarch 
 python-pulp-ostree-common-1.3.0-1.el7.noarch 
 python-pulp-puppet-common-2.16.1-1.el7.noarch 
 python-pulp-python-common-2.0.2-1.el7.noarch 
 python-pulp-repoauth-2.16.1-1.el7.noarch 
 python-pulp-rpm-common-2.16.1-1.el7.noarch 
 python-pulp-streamer-2.16.1-1.el7.noarch 
 </pre>

Back