1. Deploy Charmed Kubernetes with docker instead of containerd
2. Deploy docker-registry as described in the docs[1]
3. Configure docker-registry with a bogus http-host e.g. https://127.0.0.1:12345
4. Relate docker-registry to docker
5. Wait for docker to enter blocked/idle status with "docker login failed, see juju debug-log"
6. Configure docker-registry with http-host=
7. Wait for docker-registry and docker charms to run their hooks and enter idle state
At this point the docker charm should still show blocked/idle, even though it has logged in successfully.
Reproduction steps:
1. Deploy Charmed Kubernetes with docker instead of containerd /127.0. 0.1:12345
2. Deploy docker-registry as described in the docs[1]
3. Configure docker-registry with a bogus http-host e.g. https:/
4. Relate docker-registry to docker
5. Wait for docker to enter blocked/idle status with "docker login failed, see juju debug-log"
6. Configure docker-registry with http-host=
7. Wait for docker-registry and docker charms to run their hooks and enter idle state
At this point the docker charm should still show blocked/idle, even though it has logged in successfully.
[1]: https:/ /ubuntu. com/kubernetes/ docs/docker- registry