Bug 1330357 - Fail to deploy pod after installing env with openshift_master_portal_net='172.31.0.0/16'
Summary: Fail to deploy pod after installing env with openshift_master_portal_net='172...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Andrew Butcher
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 02:06 UTC by Ma xiaoqiang
Modified: 2016-07-04 00:46 UTC (History)
6 users (show)

Fixed In Version: openshift-ansible-3.0.86-1.git.0.e221ac1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:40:54 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.