openstack-ansible/releasenotes/notes/repo-server-glusterfs-181d0ab5c62e13d6.yaml
Jonathan Rosser 28ee648343 Use glusterfs to synchronise repo server contents
The /var/lib/glusterd directory is bind mounted into
/openstack/glusterd/<...> to preserve the peer state, specifically
the peer UUID.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_mount/+/837750
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-repo_server/+/839411
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/837582
Change-Id: I5c01e0ffd4bc7a5340309d00a1061e6d2f300bd5
2022-05-12 13:37:36 +00:00

27 lines
1.6 KiB
YAML

---
features:
- |
The mechanism used previously to syncronise repo server contents between
highly available sets of repo servers in a multinode deployment (lsyncd
and rsync over ssh) is removed and replaced with a shared filesystem
mount. This permits much easier support for multi operating system and
multi processor architectures in the deployment when building and serving
python wheels using the repo server. The default deployment will run a
glusterfs server in each repo server host, and mount the glusterfs
fileystem at /var/www/repo using the system_mount ansible role. If a
deployment wishes to use an alternative external shared filesystem, the
new variable `openstack_repo_server_enable_glusterfs` can be set to `false`
and alternative mounts created by overriding the new `repo_server_systemd_mounts`
variable. It is mandatory to use some type of shared filesystem for the
repo server in all deployments.
upgrade:
- |
The repo server hosts will stop and uninstall existing lsyncd and rsync
services from the repo server hosts. This functionality will be replaced
by default with a glusterfs shared filesystem. If a deployment uses a
firewall on the control plane, the rules should be updated to allow the
glusterfs traffic between the repo server hosts. Alternative external shared
filesystems (eg NFS, cephfs, others) may be used if required and the new
variables `repo_server_systemd_mounts` and `openstack_repo_server_enable_glusterfs`
allow a deployment to override the default use of glusterfs.