Issue #3692
closedCan't get information about published Puppet repositories
Description
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 https://fedora-26-pulp-2-16-stable/v3/releases?module=pulp%2Fpulp
, with headers like {'User-Agent': 'python-requests/2.18.4', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cmVwb3NpdG9yeTo3NjIwZjJjOS0zZWM0LTRlMTMtYWI1MC0xMWM5OTU4YTE2MmI='}
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 python -m unittest pulp_smash.tests.pulp2.puppet.api_v2.test_sync_publish.SyncValidFeedTestCase
.
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:
[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
Updated by dkliban@redhat.com almost 6 years ago
- Status changed from NEW to CLOSED - NOTABUG
We recently removed the pulp/pulp module from the Forge. The test needs to be updated to use a different module.