Bug 1427040
| Summary: | STI build failed due to cert error | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wenkai Shi <weshi> |
| Component: | Installer | Assignee: | Russell Teague <rteague> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.5.0 | CC: | aos-bugs, ccoleman, jokerman, mifiedle, mmccomas |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-08 13:46:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1427378 | ||
| Bug Blocks: | |||
|
Description
Wenkai Shi
2017-02-27 08:05:57 UTC
It also needs to sign for DNS:docker-registry.default.svc as well as the service IP The docker-registry service did not exist at the time it collected the service IP, therefore it failed to obtain the IP. Added a task to create the service. https://github.com/openshift/openshift-ansible/pull/3512 Seems the cert has been create correctly, but met another bug here: BZ# 1427378 # openssl x509 -in /etc/origin/master/registry.crt -text ... X509v3 Subject Alternative Name: DNS:docker-registry-default.0228-nqx.qe.rhcloud.com, DNS:docker-registry.default.svc.cluster.local, DNS:172.30.131.16, IP Address:172.30.131.16 ... Because of the docker registry was not created during installation(BZ# 1427378), and the docker registry is secure registry by default. It means a new cert must to created if need a new docker registry for STI build testing. Will test this when BZ# 1427378 fix. Verified this bug with openshift-ansible-3.5.20-1.git.0.5a5fcd5.el7.noarch, and PASS.
# openssl x509 -in /etc/origin/master/registry.crt -text
X509v3 Subject Alternative Name:
DNS:docker-registry-default.0302-obm.qe.rhcloud.com, DNS:docker-registry.default.svc.cluster.local, DNS:172.30.136.182, IP Address:172.30.136.182
Though BZ#1427378 is only fix partially, need some other minor polish, following the workaround of comment #6 and #7 mentioned in BZ#1427378 to continue this bug verification. Sti build is passed without any cert error.
|