Skip FIP check if VALIDATE_MIGRATION is not True
OVN migration script fails when VALIDATE_MIGRATION is not set to True. oc_check_public_network should return successfully in case VALIDATE_MIGRATION is set to False. Closes bug: #1942344 Change-Id: Ibd0aea5b4e6bf44803d5d0100cacc17d401b03cc
This commit is contained in:
parent
ae4d8a0c20
commit
3c305bf6ae
@ -219,6 +219,7 @@ function check_stack {
|
|||||||
|
|
||||||
oc_check_public_network() {
|
oc_check_public_network() {
|
||||||
|
|
||||||
|
[ "$VALIDATE_MIGRATION" != "True" ] && return 0
|
||||||
source $OVERCLOUDRC_FILE
|
source $OVERCLOUDRC_FILE
|
||||||
openstack network show $PUBLIC_NETWORK_NAME 1>/dev/null || {
|
openstack network show $PUBLIC_NETWORK_NAME 1>/dev/null || {
|
||||||
echo "ERROR: PUBLIC_NETWORK_NAME=${PUBLIC_NETWORK_NAME} can't be accessed by the"
|
echo "ERROR: PUBLIC_NETWORK_NAME=${PUBLIC_NETWORK_NAME} can't be accessed by the"
|
||||||
|
Loading…
Reference in New Issue
Block a user