Merge "Change ceph version to Jewel"
This commit is contained in:
commit
99897c5438
@ -14,6 +14,12 @@ auth cluster required = cephx
|
||||
auth service required = cephx
|
||||
auth client required = cephx
|
||||
|
||||
# NOTE(inc0): This line will mean that if ceph was upgraded, it will run as root
|
||||
# until contents of /var/lib/ceph are chowned to ceph user.
|
||||
# This change was introduced in Jewel version and we should include
|
||||
# chown operation in upgrade procedure. https://bugs.launchpad.net/kolla/+bug/1620702
|
||||
setuser match path = /var/lib/ceph/$type/$cluster-$id
|
||||
|
||||
[mon]
|
||||
# NOTE(SamYaple): The monitor files have been known to grow very large. The
|
||||
# only fix for that is to compact the files.
|
||||
|
@ -137,7 +137,7 @@ Finally deploy the Ceph-enabled OpenStack:
|
||||
Using a Cache Tier
|
||||
==================
|
||||
|
||||
An optional `cache tier <http://docs.ceph.com/docs/hammer/rados/operations/cache-tiering/>`_
|
||||
An optional `cache tier <http://docs.ceph.com/docs/jewel/rados/operations/cache-tiering/>`_
|
||||
can be deployed by formatting at least one cache device and enabling cache.
|
||||
tiering in the globals.yml configuration file.
|
||||
|
||||
@ -167,7 +167,7 @@ After this run the playbooks as you normally would. For example:
|
||||
Setting up an Erasure Coded Pool
|
||||
================================
|
||||
|
||||
`Erasure code <http://docs.ceph.com/docs/hammer/rados/operations/erasure-code/>`_
|
||||
`Erasure code <http://docs.ceph.com/docs/jewel/rados/operations/erasure-code/>`_
|
||||
is the new big thing from Ceph. Kolla has the ability to setup your Ceph pools
|
||||
as erasure coded pools. Due to technical limitations with Ceph, using erasure
|
||||
coded pools as OpenStack uses them requires a cache tier. Additionally, you
|
||||
|
@ -85,7 +85,7 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
|
||||
{% set base_centos_yum_repo_packages = [
|
||||
'epel-release ',
|
||||
'yum-plugin-priorities',
|
||||
'centos-release-ceph-hammer',
|
||||
'centos-release-ceph-jewel',
|
||||
'centos-release-qemu-ev'
|
||||
] %}
|
||||
|
||||
@ -122,7 +122,7 @@ RUN yum -y install \
|
||||
http://mirror.centos.org/centos-7/7/extras/x86_64/Packages/epel-release-7-5.noarch.rpm \
|
||||
&& rpm -Uvh --nodeps \
|
||||
http://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-mitaka/centos-release-openstack-mitaka-1-3.el7.noarch.rpm \
|
||||
http://mirror.centos.org/centos-7/7/extras/x86_64/Packages/centos-release-ceph-hammer-1.0-5.el7.centos.noarch.rpm \
|
||||
http://mirror.centos.org/centos-7/7/extras/x86_64/Packages/centos-release-ceph-jewel-1.0-1.el7.centos.noarch.rpm \
|
||||
http://mirror.centos.org/centos-7/7/extras/x86_64/Packages/centos-release-qemu-ev-1.0-1.el7.noarch.rpm \
|
||||
http://mirror.centos.org/centos-7/7/extras/x86_64/Packages/centos-release-virt-common-1-1.el7.centos.noarch.rpm \
|
||||
http://mirror.centos.org/centos-7/7/extras/x86_64/Packages/centos-release-storage-common-1-2.el7.centos.noarch.rpm \
|
||||
@ -156,15 +156,7 @@ RUN yum -y install \
|
||||
|
||||
{# We are back to the basic if conditional here which is:
|
||||
if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] #}
|
||||
|
||||
{% block base_redhat_binary_versionlock %}
|
||||
RUN yum -y update \
|
||||
&& yum -y install \
|
||||
yum-plugin-versionlock \
|
||||
&& yum clean all
|
||||
COPY versionlock.list /etc/yum/pluginconf.d/
|
||||
{% endblock %}
|
||||
|
||||
{% block base_redhat_binary_versionlock %}{% endblock %}
|
||||
{% if install_type == 'binary' %}
|
||||
{% set base_centos_binary_packages = [
|
||||
'sudo',
|
||||
|
@ -14,7 +14,7 @@ deb http://security.debian.org jessie/updates main
|
||||
deb http://httpredir.debian.org/debian stretch main
|
||||
|
||||
# Ceph repo
|
||||
deb http://download.ceph.com/debian-hammer/ jessie main
|
||||
deb http://download.ceph.com/debian-jewel/ jessie main
|
||||
|
||||
# Maria DB repo
|
||||
deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/debian jessie main
|
||||
|
@ -17,7 +17,7 @@ deb http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu xenial main
|
||||
deb http://repo.percona.com/apt xenial main
|
||||
|
||||
# Ceph repo
|
||||
deb http://download.ceph.com/debian-hammer/ xenial main
|
||||
deb http://download.ceph.com/debian-jewel/ xenial main
|
||||
|
||||
# Elastic repo
|
||||
deb http://packages.elastic.co/elasticsearch/2.x/debian stable main
|
||||
|
@ -1,12 +0,0 @@
|
||||
1:ceph-0.94.5-1.el7.*
|
||||
1:ceph-common-0.94.5-1.el7.*
|
||||
1:ceph-debuginfo-0.94.5-0.el7.*
|
||||
1:ceph-devel-compat-0.94.5-1.el7.*
|
||||
1:ceph-libs-compat-0.94.5-1.el7.*
|
||||
1:ceph-radosgw-0.94.5-1.el7.*
|
||||
1:librados2-0.94.5-1.el7.*
|
||||
1:libcephfs1-0.94.5-1.el7.*
|
||||
1:librbd1-0.94.5-1.el7.*
|
||||
1:python-cephfs-0.94.5-1.el7.*
|
||||
1:python-rados-0.94.5-1.el7.*
|
||||
1:python-rbd-0.94.5-1.el7.*
|
@ -24,10 +24,6 @@ MAINTAINER {{ maintainer }}
|
||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||
|
||||
RUN useradd --user-group ceph \
|
||||
&& mkdir -p /home/ceph \
|
||||
&& chown -R ceph: /home/ceph
|
||||
|
||||
{% block ceph_base_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
{{ include_footer }}
|
||||
|
5
releasenotes/notes/ceph-jewel-33caab815946cb4c.yaml
Normal file
5
releasenotes/notes/ceph-jewel-33caab815946cb4c.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- Change Ceph version to Jewel
|
||||
upgrade:
|
||||
- Version of Ceph has been changed from Hammer to Jewel
|
@ -48,7 +48,6 @@ EOF
|
||||
# Optimize the repos to take advantage of the Infra provided mirrors for Ubuntu
|
||||
sed -i 's|^#apt_sources_list.*|apt_sources_list = /etc/kolla/sources.list|' /etc/kolla/kolla-build.conf
|
||||
sudo cp /etc/apt/sources.list /etc/kolla/sources.list
|
||||
sudo cat /etc/apt/sources.list.available.d/ceph-deb-hammer.list | sudo tee -a /etc/kolla/sources.list
|
||||
sudo cat /etc/apt/sources.list.available.d/ubuntu-cloud-archive.list | sudo tee -a /etc/kolla/sources.list
|
||||
# Append non-infra provided repos to list
|
||||
cat << EOF | sudo tee -a /etc/kolla/sources.list
|
||||
|
Loading…
x
Reference in New Issue
Block a user