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
This commit is contained in:
wangwei 2018-09-21 16:36:53 +09:00
parent 6a0b2ee29a
commit 78001f06a7

View File

@ -29,11 +29,25 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set ceph_base_packages = [ {% set ceph_base_packages = [
'btrfs-tools', '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', 'e2fsprogs',
'hdparm', 'hdparm',
'parted', 'parted',
'radosgw', 'radosgw=12.2.4-0ubuntu1',
'librgw2=12.2.4-0ubuntu1',
'xfsprogs' 'xfsprogs'
] %} ] %}