-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for OpenShift SDN Check #4126
Conversation
Can one of the admins verify this patch?
|
1 similar comment
Can one of the admins verify this patch?
|
@@ -8,4 +8,4 @@ os_firewall_allow: | |||
port: 443/tcp | |||
- service: OpenShift OVS sdn | |||
port: 4789/udp | |||
when: openshift.node.use_openshift_sdn | bool | |||
when: openshift.common.use_openshift_sdn | bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openshift-ansible]$ grep -rn "node.use_openshift_sdn"
roles/openshift_node/defaults/main.yml:11: when: openshift.node.use_openshift_sdn | bool
openshift-ansible]$ grep -rn "common.use_openshift_sdn" | wc -l
20
roles/openshift_facts/library/openshift_facts.py:992: use_sdn = facts['common']['use_openshift_sdn']
roles/openshift_facts/library/openshift_facts.py:995: facts['common']['use_openshift_sdn'] = use_sdn
roles/openshift_facts/library/openshift_facts.py:2026: defaults['common'] = dict(use_openshift_sdn=True, ip=ip_addr,
This is indeed a bug. Wondering why it popped up now, not much more sooner.
aos-ci-test |
[merge] |
Evaluated for openshift ansible merge up to 0bafbb0 |
continuous-integration/openshift-jenkins/merge FAILURE (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/364/) (Base Commit: 593ef65) |
The variable used in the conditional was wrong and had to be changed to be working as intended.