c0d028e245
Change the release of Ceph from 12.2.3 (Luminous) to latest 13.2.2 (Mimic). Additionally use supported RHEL/Centos Images rather then Ubuntu images, which are now considered deprecated by Redhat. - Uplift all Ceph images to the latest 13.2.2 ceph-container images. - RadosGW by default will now use the Beast backend. - RadosGW has relaxed settings enabled for S3 naming conventions. - Increased RadosGW resource limits due to backend change. - All Luminous specific tests now test for both Luminous/Mimic. - Gate scripts will remove all none required ceph packages. This is required to not conflict with the pid/gid that the Redhat container uses. Change-Id: I9c00f3baa6c427e6223596ade95c65c331e763fb
42 lines
1.3 KiB
Docker
42 lines
1.3 KiB
Docker
FROM docker.io/ubuntu:xenial
|
|
MAINTAINER pete.birley@att.com
|
|
|
|
ARG LIBVIRT_VERSION=ocata
|
|
ARG CEPH_RELEASE=mimic
|
|
ARG PROJECT=nova
|
|
ARG UID=42424
|
|
ARG GID=42424
|
|
|
|
ADD https://download.ceph.com/keys/release.asc /etc/apt/ceph-release.asc
|
|
RUN set -ex ;\
|
|
export DEBIAN_FRONTEND=noninteractive ;\
|
|
apt-key add /etc/apt/ceph-release.asc ;\
|
|
rm -f /etc/apt/ceph-release.asc ;\
|
|
echo "deb http://download.ceph.com/debian-${CEPH_RELEASE}/ xenial main" | tee /etc/apt/sources.list.d/ceph.list ;\
|
|
apt-get update ;\
|
|
apt-get upgrade -y ;\
|
|
apt-get install --no-install-recommends -y \
|
|
ceph-common \
|
|
cgroup-tools \
|
|
dmidecode \
|
|
ebtables \
|
|
iproute2 \
|
|
libvirt-bin=${LIBVIRT_VERSION} \
|
|
pm-utils \
|
|
qemu \
|
|
qemu-block-extra \
|
|
qemu-efi \
|
|
openvswitch-switch ;\
|
|
groupadd -g ${GID} ${PROJECT} ;\
|
|
useradd -u ${UID} -g ${PROJECT} -M -d /var/lib/${PROJECT} -s /usr/sbin/nologin -c "${PROJECT} user" ${PROJECT} ;\
|
|
mkdir -p /etc/${PROJECT} /var/log/${PROJECT} /var/lib/${PROJECT} /var/cache/${PROJECT} ;\
|
|
chown ${PROJECT}:${PROJECT} /etc/${PROJECT} /var/log/${PROJECT} /var/lib/${PROJECT} /var/cache/${PROJECT} ;\
|
|
usermod -a -G kvm ${PROJECT} ;\
|
|
apt-get clean -y ;\
|
|
rm -rf \
|
|
/var/cache/debconf/* \
|
|
/var/lib/apt/lists/* \
|
|
/var/log/* \
|
|
/tmp/* \
|
|
/var/tmp/*
|