Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1882203

Summary: [3.11] - missing named certificate separate playbook
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: InstallerAssignee: Russell Teague <rteague>
Installer sub component: openshift-ansible QA Contact: Gaoyun Pei <gpei>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: bleanhar, rabdulra, wjiang
Version: 3.11.0   
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Named certificates are only updated during master certificate redeploy. Consequence: Requires running master certificate redeploy to be run to update named certificates. Fix: Added a playbook specifically for updating named certificates. Result: Named certificates can be updated independently without additional risk during master certificate redeploy.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-22 11:02:25 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:

Comment 7 weiwei jiang 2020-10-09 10:36:20 UTC
checked and now we can redeploy named certificates with specific playbook now, so move to verified.

openshift-ansible-3.11.306-1.git.0.75ef178.el7.noarch
openshift-ansible-roles-3.11.306-1.git.0.75ef178.el7.noarch
openshift-ansible-docs-3.11.306-1.git.0.75ef178.el7.noarch
openshift-ansible-playbooks-3.11.306-1.git.0.75ef178.el7.noarch


# ansible-playbook -i ~/qe-inventory-host-file -vvv /usr/share/ansible/openshift-ansible/playbooks/openshift-master/redeploy-named-certificates.yml
......
PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
ci-vm-10-0-149-112.hosted.upshift.rdu2.redhat.com : ok=14   changed=0    unreachable=0    failed=0    skipped=27   rescued=0    ignored=0   
ci-vm-10-0-149-23.hosted.upshift.rdu2.redhat.com : ok=14   changed=0    unreachable=0    failed=0    skipped=27   rescued=0    ignored=0   
ci-vm-10-0-150-163.hosted.upshift.rdu2.redhat.com : ok=56   changed=2    unreachable=0    failed=0    skipped=51   rescued=0    ignored=0   
localhost                  : ok=14   changed=0    unreachable=0    failed=0    skipped=4    rescued=0    ignored=0   


INSTALLER STATUS *****************************************************************************************************************************************************************************************************************************
Initialization  : Complete (0:00:23)
Friday 09 October 2020  06:32:09 -0400 (0:00:20.354)       0:00:57.618 ******** 
=============================================================================== 
openshift_control_plane : verify API server ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 20.35s
/usr/share/ansible/openshift-ansible/roles/openshift_control_plane/handlers/main.yml:13 -----------------------------------------------------------------------------------------------------------------------------------------------------
Gather Cluster facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 4.22s
/usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml:27 --------------------------------------------------------------------------------------------------------------------------------------------------------------------
Initialize openshift.node.sdn_mtu ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.99s
/usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml:61 --------------------------------------------------------------------------------------------------------------------------------------------------------------------
openshift_control_plane : restart master ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.90s
/usr/share/ansible/openshift-ansible/roles/openshift_control_plane/tasks/restart.yml:2 ------------------------------------------------------------------------------------------------------------------------------------------------------
openshift_named_certificates : openshift_facts ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 3.36s
/usr/share/ansible/openshift-ansible/roles/openshift_named_certificates/tasks/main.yml:8 ----------------------------------------------------------------------------------------------------------------------------------------------------
openshift_master_facts : Set master facts --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.86s
/usr/share/ansible/openshift-ansible/roles/openshift_master_facts/tasks/main.yml:2 ----------------------------------------------------------------------------------------------------------------------------------------------------------
Gathering Facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2.12s
/usr/share/ansible/openshift-ansible/playbooks/init/basic_facts.yml:2 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gathering Facts ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.49s
/usr/share/ansible/openshift-ansible/playbooks/init/basic_facts.yml:7 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
get openshift_current_version --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.84s
/usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml:10 --------------------------------------------------------------------------------------------------------------------------------------------------------------------
openshift_named_certificates : Ensure named certificate directory exists -------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.46s
/usr/share/ansible/openshift-ansible/roles/openshift_named_certificates/tasks/main.yml:36 ---------------------------------------------------------------------------------------------------------------------------------------------------
openshift_named_certificates : Backup Named Certificates ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.46s
/usr/share/ansible/openshift-ansible/roles/openshift_named_certificates/tasks/main.yml:24 ---------------------------------------------------------------------------------------------------------------------------------------------------
openshift_sanitize_inventory : Check for usage of deprecated variables ---------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.40s
/usr/share/ansible/openshift-ansible/roles/openshift_sanitize_inventory/tasks/deprecations.yml:4 --------------------------------------------------------------------------------------------------------------------------------------------
openshift_control_plane : slurp ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.38s
/usr/share/ansible/openshift-ansible/roles/openshift_control_plane/tasks/check_existing_config.yml:10 ---------------------------------------------------------------------------------------------------------------------------------------
Detecting Operating System from ostree_booted ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.34s
/usr/share/ansible/openshift-ansible/playbooks/init/basic_facts.yml:19 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
openshift_sanitize_inventory : include_tasks ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.33s
/usr/share/ansible/openshift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:31 ---------------------------------------------------------------------------------------------------------------------------------------------------
openshift_sanitize_inventory : include_tasks ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 0.27s
/usr/share/ansible/openshift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:4 ----------------------------------------------------------------------------------------------------------------------------------------------------
Fetch ca.crt from cluster if exists --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.27s
/usr/share/ansible/openshift-ansible/playbooks/init/sanity_checks.yml:34 --------------------------------------------------------------------------------------------------------------------------------------------------------------------
openshift_named_certificates : Check if the named certificates directory exists ------------------------------------------------------------------------------------------------------------------------------------------------------- 0.26s
/usr/share/ansible/openshift-ansible/roles/openshift_named_certificates/tasks/main.yml:16 ---------------------------------------------------------------------------------------------------------------------------------------------------
openshift_master_facts : Retrieve current scheduler config ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.26s
/usr/share/ansible/openshift-ansible/roles/openshift_master_facts/tasks/main.yml:54 ---------------------------------------------------------------------------------------------------------------------------------------------------------
set_fact openshift_portal_net if present on masters ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.25s
/usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml:19 --------------------------------------------------------------------------------------------------------------------------------------------------------------------

Comment 10 errata-xmlrpc 2020-10-22 11:02:25 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 (OpenShift Container Platform 3.11.306 bug fix and enhancement update), 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-2020:4170