This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.此内容没有您所选择的语言版本。
Chapter 13. Troubleshooting builds
Use the following to troubleshoot build issues.
13.1. Resolving denial for access to resources 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
If your request for access to resources is denied:
- Issue
- A build fails with:
requested access to the resource is denied
requested access to the resource is denied
- Resolution
- You have exceeded one of the image quotas set on your project. Check your current quota and verify the limits applied and storage in use:
oc describe quota
$ oc describe quota
13.2. Service certificate generation failure 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
If your request for access to resources is denied:
- Issue
-
If a service certificate generation fails with (service’s
service.alpha.openshift.io/serving-cert-generation-error
annotation contains):
secret/ssl-key references serviceUID 62ad25ca-d703-11e6-9d6f-0e9c0057b608, which does not match 77b6dd80-d716-11e6-9d6f-0e9c0057b60
secret/ssl-key references serviceUID 62ad25ca-d703-11e6-9d6f-0e9c0057b608, which does not match 77b6dd80-d716-11e6-9d6f-0e9c0057b60
- Resolution
-
The service that generated the certificate no longer exists, or has a different
serviceUID
. You must force certificates regeneration by removing the old secret, and clearing the following annotations on the serviceservice.alpha.openshift.io/serving-cert-generation-error
,service.alpha.openshift.io/serving-cert-generation-error-num
:
oc delete secret <secret_name> oc annotate service <service_name> service.alpha.openshift.io/serving-cert-generation-error- oc annotate service <service_name> service.alpha.openshift.io/serving-cert-generation-error-num-
$ oc delete secret <secret_name>
$ oc annotate service <service_name> service.alpha.openshift.io/serving-cert-generation-error-
$ oc annotate service <service_name> service.alpha.openshift.io/serving-cert-generation-error-num-
Note
The command removing annotation has a -
after the annotation name to be removed.