Problem:
I am unable to push an image to the katello container registry
Expected outcome:
A push to the registry succeeds
Foreman and Proxy versions:
foreman 1.24.3
proxy 1.24.3
Foreman and Proxy plugin versions:
Katello 3.14.1
Distribution and version:
centos 7.8 2003
Other relevant data:
An example of a push
docker push katello.redacted.com:5000/redatcted-kubernetes_docker_registry-kubernetes-prod/dashboard-frontend:latest
The push refers to repository [katello.redatcted.com:5000/redatcted-kubernetes_docker_registry-kubernetes-prod/dashboard-frontend]
280d4bf6bb7d: Preparing
2b516b05286b: Preparing
6ad8d562c843: Preparing
425ee8569962: Preparing
5d9ee84be1ec: Preparing
6bcd003260b2: Waiting
50644c29ef5a: Waiting
error parsing HTTP 405 response body: invalid character '<' looking for beginning of value: "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>405 Method Not Allowed</title>\n<h1>Method Not Allowed</h1>\n<p>The method is not allowed for the requested URL.</p>\n"
looking in the logs i can see it also say a post is unallowed.
I noticed there is an option to allow push in /etc/foreman/plugins/katello.yaml
I set that as follows
:container_image_registry:
:crane_url: https://katello.redacted.com:5000
:crane_ca_cert_file: /etc/pki/katello/certs/katello-server-ca.crt
:allow_push: true
However I still end up with the same outcome.
A docker login works just fine.
Is there something I am missing? or not understanding?
I have created a product as follows
Products > Kubernetes_Docker_Registry > Repositories > kubernetes-prod
Which indicates its Published At : katello.redacted.com:5000/redacted-kubernetes_docker_registry-kubernetes-prod