Bug 1553563 - Web console upgrade no longer honors openshift_master_console_port in a upgrade env.
Summary: Web console upgrade no longer honors openshift_master_console_port in a upgra...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-09 04:57 UTC by Johnny Liu
Modified: 2018-03-12 12:15 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1550148
Environment:
Last Closed: 2018-03-12 12:15:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Samuel Padgett 2018-03-09 13:43:00 UTC
It looks like `openshift_sanitize_inventory` is called from `basic_facts`, which should be called during an upgrade. I will investigate.

Comment 2 Samuel Padgett 2018-03-09 15:11:46 UTC
I've confirmed the install correctly fails when the `openshift_master_console_port` is set and the upgrade_control_plane.yml playbook is run. This is expected since we have removed that option from openshift-ansible. You will need to set up a service node port manually to run the console on a different port. We are removing some infrequently used options to simplify the install.

If this is not what you're seeing, please let us know.

Comment 3 Samuel Padgett 2018-03-09 20:17:52 UTC
To be clear, both 3.9 install and upgrade should fail early with a message if `openshift_master_console_port` is set, even if you were previously running with a different port. You might need the following fix to see the message:

https://github.com/openshift/openshift-ansible/pull/7471

Comment 4 Yanping Zhang 2018-03-12 05:31:28 UTC
Steps to Verified:
1. Install a 3.7 ocp cluster with console port is set to 7443, and api port is set to 443. Then upgrade to 3.9 with openshift-ansible v3.9.7, could see the upgrade failed with the error:
 "The OpenShift web console port must now match the API server port. If you were previoiusly running the web console on a different port than the API server, please open a support ticket."
2. Install a 3.7 cluster with  console port and api port are defaulted 8443, upgrade to 3.9 with openshift-ansible v3.9.7 with parameter "openshift_master_console_port=7443" set, then the upgrade failed also with the error:
 "The OpenShift web console port must now match the API server port. If you were previoiusly running the web console on a different port than the API server, please open a support ticket."

The bug is fixed, so move it to Verified.


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