Bug 1330357

Summary: Fail to deploy pod after installing env with openshift_master_portal_net='172.31.0.0/16'
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Andrew Butcher <abutcher>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: aos-bugs, bleanhar, jialiu, jokerman, mmccomas, xtian
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openshift-ansible-3.0.86-1.git.0.e221ac1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 16:40:54 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:

Description Ma xiaoqiang 2016-04-26 02:06:22 UTC
Description of problem:
Fail to deploy pod after installing env with openshift_master_portal_net='172.31.0.0/16'


Version-Release number of selected component (if applicable):
openshift-ansible-3.0.85-1


How reproducible:
always

Steps to Reproduce:
1. install env with following parameters:
vim hosts
<--snip-->
openshift_master_portal_net='172.31.0.0/16'
<--snip-->
$ ansible-playbook -i hosts openshift-ansible/playbooks/byo/config.yml -v


Actual results:
Fail to deploy the router pod
# oc logs router-1-deploy
F0425 21:05:56.768947       1 deployer.go:70] couldn't get deployment default/router-1: Get https://172.31.0.1:443/api/v1/namespaces/default/replicationcontrollers/router-1: x509: certificate is valid for 10.240.0.7, 104.197.81.211, 130.211.160.125, 172.30.0.1, not 172.31.0.1

Generate the certificate with wrong hostnames

Expected results:
Deploy the router successfully

Additional info:

Comment 2 Ma xiaoqiang 2016-04-27 07:16:53 UTC
Check on openshift-ansible-3.0.86-1

Install ha-master env and check the router and registry
# oc get pod
NAME                      READY     STATUS    RESTARTS   AGE
docker-registry-2-6bfg2   1/1       Running   0          14m
docker-registry-2-emhqc   1/1       Running   0          14m
router-1-mzwyk            1/1       Running   0          13m
router-1-wixfc            1/1       Running   0          14m

router and registry is deployed successfully.
move this issue to VERIFIED if openshift-3.0.86 is released in puddle.

Comment 3 Ma xiaoqiang 2016-04-28 00:41:46 UTC
Check on openshift-ansible-3.0.87-1


Install ha-master env and check the router and registry
# oc get pod
NAME                       READY     STATUS             RESTARTS   AGE
docker-registry-1-deploy   0/1       DeadlineExceeded   0          11m
docker-registry-2-hws7f    1/1       Running            0          1m
docker-registry-2-iyuq4    1/1       Running            0          2m
router-1-deploy            1/1       Running            0          3m
router-1-h3k6j             1/1       Running            0          1m


Move it to VERIFIED.

Comment 5 errata-xmlrpc 2016-05-12 16:40:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1065