Browse Source

Merge "Fix ssh to nodes during ML2/OVS to ML2/OVN migration" into stable/ussuri

changes/48/735948/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
cab42a1038
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/ovn_migration/tripleo_environment/ovn_migration.sh

+ 1
- 1
tools/ovn_migration/tripleo_environment/ovn_migration.sh View File

@@ -77,7 +77,7 @@ file again."
get_host_ip() {
inventory_file=$1
host_name=$2
ip=`jq -r --arg role _meta --arg hostname $host_name 'to_entries[] | select(.key == $role) | .value.hostvars[$hostname].management_ip' $inventory_file`
ip=`jq -r --arg role _meta --arg hostname $host_name 'to_entries[] | select(.key == $role) | .value.hostvars[$hostname].ansible_host' $inventory_file`
if [[ "x$ip" == "x" ]] || [[ "x$ip" == "xnull" ]]; then
# This file does not provide translation from the hostname to the IP, or
# we already have an IP (Queens backwards compatibility)


Loading…
Cancel
Save