MT#11263 Start/stop glusterfs-server manually for manipulations with network.yml

We have migrated to ngcp.inc with modern list of services to be stopped
at the end of ngcp-installer.
See commit e75b01441c for more details.

Unfortunately deployment.sh is performing 'magic' with network.yml and depends on glusterfs
for pulling/pushing configs from/to shared storage. I am planning to move this 'magic' to
ngcp-installer, but while it is here, we have to start stop glusterfs-server manually.

Change-Id: Ia0aac183df52a1e2bd51ff6f2326f8438cad5b79
changes/19/1019/2
Alexander Lutay 12 years ago
parent bfd912dd7e
commit 39356329d0

@ -1625,6 +1625,9 @@ elif "$PRO_EDITION" ; then
exit 0
fi
# we have to start glusterfs-server back to work with shared storage
invoke-rc.d glusterfs-server start
if [ "$ROLE" = "sp1" ] ; then
cp /etc/ngcp-config/network.yml /etc/ngcp-config/network.yml.factory_default
@ -1723,6 +1726,9 @@ elif "$PRO_EDITION" ; then
echo "Skipping ngcpcfg init-mgmt as it is not available"
fi
fi
# we have to stop glusterfs-server back
invoke-rc.d glusterfs-server stop
EOT
fi

Loading…
Cancel
Save