Missing OvS DPDK nodes in ovn-controllers
This change is to include missing OvS DPDK nodes also as part of ovn-controllers group in hosts_for_migration file. Change-Id: Ic0727ffdbd1f60574b6d5397177a58172cbd60f0
This commit is contained in:
parent
df9435a9a6
commit
10bb1baf66
@ -170,7 +170,7 @@ generate_ansible_inventory_file() {
|
||||
echo "[ovn-controllers]" >> hosts_for_migration
|
||||
|
||||
# We want to run ovn-controller where OVS agent was running before the migration
|
||||
OVN_CONTROLLERS=$(get_group_hosts "$inventory_file" neutron_ovs_agent)
|
||||
OVN_CONTROLLERS=$(get_group_hosts "$inventory_file" neutron_ovs_agent; get_group_hosts "$inventory_file" neutron_ovs_dpdk_agent)
|
||||
for node_name in $OVN_CONTROLLERS; do
|
||||
node_ip=$(get_host_ip "$inventory_file" $node_name)
|
||||
echo $node_name ansible_host=$node_ip ansible_ssh_user=$UNDERCLOUD_NODE_USER ansible_become=true ovn_controller=true >> hosts_for_migration
|
||||
|
Loading…
x
Reference in New Issue
Block a user