Bug 1829361 - The conditional check 'groups.oo_masters_to_config | length > 1' failed
Summary: The conditional check 'groups.oo_masters_to_config | length > 1' failed
Keywords:
Status: CLOSED DUPLICATE of bug 1828484
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Russell Teague
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-29 12:59 UTC by Oleg Bulatov
Modified: 2020-04-29 13:02 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-29 13:02:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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