nsxv3 multi manager:fix backend cleaup
if multiple manager ips set in localrc, then during unstack backend cleanup fails with error:- requests.exceptions.ConnectionError: HTTPSConnectionPool(host='10.112.202.39,10.112.202.7', port=443) so this patch fix that issue. Closes-bug: #1527091 Change-Id: I20ef8c6d08b0d1d85729018dcf65c54dad37db6e
This commit is contained in:
parent
f465606053
commit
8c90cd921d
@ -40,6 +40,10 @@ elif [[ $Q_PLUGIN == 'vmware_nsx' ]]; then
|
|||||||
elif [[ $Q_PLUGIN == 'vmware_nsx_v3' ]]; then
|
elif [[ $Q_PLUGIN == 'vmware_nsx_v3' ]]; then
|
||||||
source $dir/lib/vmware_nsx_v3
|
source $dir/lib/vmware_nsx_v3
|
||||||
if [[ "$1" == "unstack" ]]; then
|
if [[ "$1" == "unstack" ]]; then
|
||||||
|
NSX_MANAGER=${NSX_MANAGERS:-$NSX_MANAGER}
|
||||||
|
IFS=','
|
||||||
|
NSX_MANAGER=($NSX_MANAGER)
|
||||||
|
unset IFS
|
||||||
python $dir/tools/nsxt_cleanup.py --mgr-ip $NSX_MANAGER --user $NSX_USER --password $NSX_PASSWORD
|
python $dir/tools/nsxt_cleanup.py --mgr-ip $NSX_MANAGER --user $NSX_USER --password $NSX_PASSWORD
|
||||||
fi
|
fi
|
||||||
elif [[ $Q_PLUGIN == 'vmware_dvs' ]]; then
|
elif [[ $Q_PLUGIN == 'vmware_dvs' ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user