diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-23 07:56:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-23 07:56:41 -0800 |
commit | 1dc60bb8a49afaf2e6efcf9a3740f1f112671872 (patch) | |
tree | fddba9520d1860e8322de6a1982b5f94b41cc036 /playbooks/common | |
parent | 710f368cd1512613fe6f4cdcfd613589e9cfb296 (diff) | |
parent | 548cd3fc8fd8865c4ed3e1425a3d915db413f0a5 (diff) | |
download | openshift-1dc60bb8a49afaf2e6efcf9a3740f1f112671872.tar.gz openshift-1dc60bb8a49afaf2e6efcf9a3740f1f112671872.tar.bz2 openshift-1dc60bb8a49afaf2e6efcf9a3740f1f112671872.tar.xz openshift-1dc60bb8a49afaf2e6efcf9a3740f1f112671872.zip |
Merge pull request #6812 from sdodson/bz1396350
Automatic merge from submit-queue.
Ensure that node names are lowerecased before matching
The name field is always lowercase whereas the nodename may not have
been in the past. Ensure that we lowercase it before looking for
matching nodes.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1396350
Diffstat (limited to 'playbooks/common')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml b/playbooks/common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml index fc1cbf32a..07be0b0d4 100644 --- a/playbooks/common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml +++ b/playbooks/common/openshift-cluster/upgrades/initialize_nodes_to_upgrade.yml @@ -31,7 +31,7 @@ with_items: " {{ groups['oo_nodes_to_config'] }}" when: - hostvars[item].openshift is defined - - hostvars[item].openshift.common.hostname in nodes_to_upgrade.results.results[0]['items'] | map(attribute='metadata.name') | list + - hostvars[item].openshift.common.hostname | lower in nodes_to_upgrade.results.results[0]['items'] | map(attribute='metadata.name') | list changed_when: false # Build up the oo_nodes_to_upgrade group, use the list filtered by label if |