gluster / gluster-containers

Dockerfiles (CentOS, Fedora, Red Hat) for GlusterFS
https://github.com/gluster/gluster-containers/pkgs/container/gluster-containers
223 stars 135 forks source link

Update container builds to work with current versions of CentOS and Fedora #158

Closed nixpanic closed 5 years ago

nixpanic commented 5 years ago

This PR fixes several issues after new versions of CentOS and Fedora have been released. Without these changes, the container builds are failing.

  1. https://bugzilla.redhat.com/1676612 has been fixed, and downgrading to a previous version is not needed anymore. Furthermore, the old package is not available any longer on the CentOS mirrors. This now causes image builds to fail.
  2. The gluster-setup.service needs to be started before glusterd.service, not rpcbind.service. For some reason this is already correct for CentOS, but was not updated for Fedora. With Fedora 31 having the dependency correct is required.
  3. OpenStack Pike has been deprecated and is not available for CentOS anymore. Building the S3 container fails due to missing packages. With OpenStack Queens the image building works again.
nixpanic commented 5 years ago

This is now ready to be reviewed and can be merged. Thanks!