Hide Forgot
We expect it as 404 "not found" in Katello. $ curl -H "Content-Type: application/json" -H "Accept: appli -u admin:admin https://localhost/pulp/api/repository/fsdfd/ -w '%{http_code}' not found 404 ^ This is correct $ curl -H "Content-Type: application/json" -H "Accept: application/ -u admin:admin https://localhost/pulp/api/distribution/fsdfd/ -w '%{http_code}' null 200 ^ This is unexpected, 200 get parsed into Katello which leads to error.
fixed! commit 62d3c95730d11cc5441b209139e5a8978feb0def $ curl -k -H "Content-Type: application/json" -u admin:admin https://localhost/pulp/api/distributions/foo/ -w '%{http_code}' "No distribution foo"404 Also please note that distribution rest url has been renamed to /distributions/
build: 0.249
verified [root@preethi ~]# rpm -q pulp pulp-0.0.254-2.fc15.noarch [root@preethi ~]# curl -k -H "Content-Type: application/json" -u admin:admin https://localhost/pulp/api/distributions/fsdfd/ -w '%{http_code}' "No distribution fsdfd"404[root@preethi ~]#
Pulp v1.0 is released Closed Current Release.