From 78001f06a79d3bdd52fb7e2702fa4f124b453343 Mon Sep 17 00:00:00 2001 From: wangwei Date: Fri, 21 Sep 2018 16:36:53 +0900 Subject: Fix ceph version in ubuntu The ceph version supported by kolla is now luminous, but the latest ceph version of ubuntu's apt source is mimic, so there will be problems with ceph deployment. This patch solves this problem by specifying the version of the ceph package installed. Change-Id: Ibea3498589b6c3c1512e558919c6ea00c95686cb Closes-bug: #1793667 --- docker/ceph/ceph-base/Dockerfile.j2 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docker/ceph/ceph-base/Dockerfile.j2 b/docker/ceph/ceph-base/Dockerfile.j2 index c4982fac1..4344f4111 100644 --- a/docker/ceph/ceph-base/Dockerfile.j2 +++ b/docker/ceph/ceph-base/Dockerfile.j2 @@ -29,11 +29,25 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% set ceph_base_packages = [ 'btrfs-tools', - 'ceph', + 'ceph=12.2.4-0ubuntu1', + 'ceph-mgr=12.2.4-0ubuntu1', + 'ceph-mon=12.2.4-0ubuntu1', + 'ceph-osd=12.2.4-0ubuntu1', + 'ceph-mds=12.2.4-0ubuntu1', + 'ceph-base=12.2.4-0ubuntu1', + 'ceph-common=12.2.4-0ubuntu1', + 'librbd1=12.2.4-0ubuntu1', + 'python-cephfs=12.2.4-0ubuntu1', + 'python-rados=12.2.4-0ubuntu1', + 'python-rbd=12.2.4-0ubuntu1', + 'libcephfs2=12.2.4-0ubuntu1', + 'librados2=12.2.4-0ubuntu1', + 'libradosstriper1=12.2.4-0ubuntu1', 'e2fsprogs', 'hdparm', 'parted', - 'radosgw', + 'radosgw=12.2.4-0ubuntu1', + 'librgw2=12.2.4-0ubuntu1', 'xfsprogs' ] %} -- cgit v1.2.3