-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation on how to redeploy broken registry. #10585
Comments
yes, even i am facing the same issue, can someone please help |
fwiw i had the same or similar issue... I dont recall what lead to it but here is how i solved it. Deleted everything related to the docker-registry deployment. The service, router, deployments (all of the failed ones), and the service. Then I ran
That errored because of a few existing things, primarily the service account, but the registry itself came up. |
A note to myself for documenting this. A deployment config needs to be re-created after service. Otherwise, the registry pod will lack environment variables
To test it:
If undefined,
Update: since 3.9, the following will be printed if the variables aren't set:
|
I got it resolved by modifying below line in YAML playbook and re-compile the OSO. [nodes] openshift_schedulable=true is the important parameter which is not letting the registry pod spawn (if sets to "false" ) in case you have single node in infra region. Once done, it took couple of mins to make my OSO registry working. Regards,Sandeep |
What works for me is the following |
@walidshaari thanks, you helped me out, your command worked for me 👍 |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
@walidshaari THX, worked for me |
Resolves: openshift/origin#10585 Signed-off-by: Michal Minář <miminar@redhat.com>
/remove-lifecycle stale |
The doc work I started needs a rewrite. But the registry operator will change things in a way that all guidance will become obsolete. This could be resolved with a documentation for the operator. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
/lifecycle rotten |
/lifecycle frozen |
Missing documentation on how to redeploy broken registry. An openshift install shows the following output.
oc status
svc/docker-registry - 172.30.61.89:5000
dc/docker-registry deploys registry.access.redhat.com/openshift3/ose-docker-registry:v1.2.1
deployment #1 failed 2 hours ago
But the registry says it's working
openshift admin registry
Docker registry "docker-registry" service exists
oc get svc
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
docker-registry 172.30.61.89 5000/TCP 2h
kubernetes 172.30.0.1 443/TCP,53/UDP,53/TCP 4d
router 172.30.48.169 80/TCP,443/TCP,1936/TCP 1h
There is not documentation about how to redeploy or rebuild a broken registry. This is causing new container builds to fail.
Version
oc v1.2.1
kubernetes v1.2.0-36-g4a3f9c5
Additional Information
[Note] Running diagnostic: ClusterRegistry
Description: Check that there is a working Docker registry
ERROR: [DClu1006 from diagnostic ClusterRegistry@openshift/origin/pkg/diagnostics/cluster/registry.go:203]
The "docker-registry" service exists but has no associated pods, so it
is not available. Builds and deployments that use the registry will fail.
ERROR: [DClu1001 from diagnostic ClusterRegistry@openshift/origin/pkg/diagnostics/cluster/registry.go:173]
The "docker-registry" service exists but no pods currently running, so it
is not available. Builds and deployments that use the registry will fail.
The text was updated successfully, but these errors were encountered: