Bug 1829361

Summary: The conditional check 'groups.oo_masters_to_config | length > 1' failed
Product: OpenShift Container Platform Reporter: Oleg Bulatov <obulatov>
Component: InstallerAssignee: Russell Teague <rteague>
Installer sub component: openshift-ansible QA Contact: Johnny Liu <jialiu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: urgent    
Priority: unspecified    
Version: 3.11.0   
Target Milestone: ---   
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: 2020-04-29 13:02:38 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:

Description Oleg Bulatov 2020-04-29 12:59:26 UTC
Description of problem:

CI fails to run e2e tests for 3.11

How reproducible:

Always.

Steps to Reproduce:
1. run the e2e-gcp job on the release-3.11 branch

Actual results:

https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/24837/pull-ci-openshift-origin-release-3.11-e2e-gcp/1036

https://search.svc.ci.openshift.org/?search=oo_masters_to_config&maxAge=48h&context=1&type=bug%2Bjunit&name=&maxMatches=5&maxBytes=20971520&groupBy=job

Expected results:

Green tests.

Additional info:

Evaluate oo_all_hosts --------------------------------------------------- 0.08s
/usr/share/ansible/openshift-ansible/playbooks/init/evaluate_groups.yml:15 ----
openshift_sanitize_inventory : include_tasks ---------------------------- 0.07s
/usr/share/ansible/openshift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml:31 
Failure summary:
  1. Hosts:    35.243.162.60
     Play:     Initialize basic host facts
     Task:     Ensure openshift_master_cluster_hostname is set when deploying multiple masters
     Message:  The conditional check 'groups.oo_masters_to_config | length > 1' failed. The error was: error while evaluating conditional (groups.oo_masters_to_config | length > 1): 'dict object' has no attribute 'oo_masters_to_config'
               
               The error appears to be in '/usr/share/ansible/openshift-ansible/roles/openshift_sanitize_inventory/tasks/main.yml': line 131, column 3, but may
               be elsewhere in the file depending on the exact syntax problem.
               
               The offending line appears to be:
               
               
               - name: Ensure openshift_master_cluster_hostname is set when deploying multiple masters
                 ^ here

Comment 1 Russell Teague 2020-04-29 13:02:38 UTC

*** This bug has been marked as a duplicate of bug 1828484 ***