diff options
author | Feng Pan <fpan@redhat.com> | 2016-12-02 22:00:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-02 22:00:51 +0000 |
commit | 6b0166ef6e4673afee9589d6b55e94236a31a721 (patch) | |
tree | c6b54cb72fb99a48d5078c4c699ac24b397c4642 /lib/undercloud-functions.sh | |
parent | d9f9c45d2c2a70877a0e9dd689ddb6173501ae0d (diff) | |
parent | ffeea8b7aff158a65b5f8c7baf445c6f2206790f (diff) |
Merge "Fixes using single network (previously called flat) for deploy"
Diffstat (limited to 'lib/undercloud-functions.sh')
-rwxr-xr-x | lib/undercloud-functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/undercloud-functions.sh b/lib/undercloud-functions.sh index bd93aa78..a5d3b78d 100755 --- a/lib/undercloud-functions.sh +++ b/lib/undercloud-functions.sh @@ -253,6 +253,7 @@ sudo systemctl restart openstack-heat-api EOI # configure external network +if [[ "$enabled_network_list" =~ "external" ]]; then ssh -T ${SSH_OPTIONS[@]} "root@$UNDERCLOUD" << EOI if [[ "$external_installer_vm_vlan" != "native" ]]; then cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-vlan${external_installer_vm_vlan} @@ -274,6 +275,7 @@ else fi fi EOI +fi # WORKAROUND: must restart the above services to fix sync problem with nova compute manager # TODO: revisit and file a bug if necessary. This should eventually be removed |