diff --git a/devstack/gluster-functions.sh b/devstack/gluster-functions.sh index 798b3e4..324c074 100755 --- a/devstack/gluster-functions.sh +++ b/devstack/gluster-functions.sh @@ -8,7 +8,7 @@ function install_glusterfs { if [[ ${DISTRO} =~ rhel7 ]] && [[ ! -f /etc/yum.repos.d/glusterfs-epel.repo ]]; then sudo wget $GLUSTERFS_CENTOS_REPO -O /etc/yum.repos.d/glusterfs-epel.repo elif is_ubuntu; then - sudo add-apt-repository ppa:gluster/glusterfs-8 -y + sudo add-apt-repository ppa:gluster/glusterfs-11 -y NO_UPDATE_REPOS=False REPOS_UPDATED=False fi @@ -25,12 +25,15 @@ function install_glusterfs { # Start gluster service function _start_glusterfs { sudo systemctl start glusterd + sudo systemctl enable glusterd + sudo systemctl status glusterd } # Stop running gluster service # Triggered from devstack/plugin.sh as part of devstack "unstack" function stop_glusterfs { sudo systemctl stop glusterd + sudo systemctl disable glusterd } # Clean Shares