Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
f52eee42
Commit
f52eee42
authored
5 years ago
by
Zuul
Committed by
Gerrit Code Review
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge "ceph-nfs: Add rpcbind to Ubuntu host bootstrap"
parents
61a74c0f
efcaf400
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/baremetal/defaults/main.yml
+4
-0
4 additions, 0 deletions
ansible/roles/baremetal/defaults/main.yml
doc/source/reference/storage/ceph-guide.rst
+47
-19
47 additions, 19 deletions
doc/source/reference/storage/ceph-guide.rst
with
51 additions
and
19 deletions
ansible/roles/baremetal/defaults/main.yml
+
4
−
0
View file @
f52eee42
...
@@ -75,12 +75,16 @@ easy_install_available: >-
...
@@ -75,12 +75,16 @@ easy_install_available: >-
not (ansible_distribution == 'Debian' and
not (ansible_distribution == 'Debian' and
ansible_distribution_major_version is version(10, 'ge')) }}
ansible_distribution_major_version is version(10, 'ge')) }}
# Ubuntu 18+ bundles nfs-ganesha 2.6.0 with Ceph Mimic packages,
# which does udp rpcbind test even with NFSv3 disabled - therefore
# rpcbind needs to be installed, when Ceph NFS is enabled.
debian_pkg_install
:
debian_pkg_install
:
-
"
{{
docker_apt_package
}}"
-
"
{{
docker_apt_package
}}"
-
git
-
git
-
"
{%
if
not
easy_install_available
%}python-pip{%
endif
%}"
-
"
{%
if
not
easy_install_available
%}python-pip{%
endif
%}"
-
python-setuptools
-
python-setuptools
-
ntp
-
ntp
-
"
{%
if
enable_ceph_nfs|bool
%}rpcbind{%
endif
%}"
redhat_pkg_install
:
redhat_pkg_install
:
-
epel-release
-
epel-release
...
...
This diff is collapsed.
Click to expand it.
doc/source/reference/storage/ceph-guide.rst
+
47
−
19
View file @
f52eee42
...
@@ -118,7 +118,7 @@ are not mandatory.
...
@@ -118,7 +118,7 @@ are not mandatory.
Using an external journal drive
Using an external journal drive
-------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note::
.. note::
...
@@ -179,6 +179,9 @@ Enable Ceph in ``/etc/kolla/globals.yml``:
...
@@ -179,6 +179,9 @@ Enable Ceph in ``/etc/kolla/globals.yml``:
enable_ceph: "yes"
enable_ceph: "yes"
Ceph RADOS Gateway
~~~~~~~~~~~~~~~~~~
RadosGW is optional, enable it in ``/etc/kolla/globals.yml``:
RadosGW is optional, enable it in ``/etc/kolla/globals.yml``:
.. code-block:: yaml
.. code-block:: yaml
...
@@ -195,27 +198,10 @@ You can enable RadosGW to be registered as Swift in Keystone catalog:
...
@@ -195,27 +198,10 @@ You can enable RadosGW to be registered as Swift in Keystone catalog:
By default RadosGW supports both Swift and S3 API, and it is not
By default RadosGW supports both Swift and S3 API, and it is not
completely compatible with Swift API. The option `ceph_rgw_compatibility`
completely compatible with Swift API. The option `ceph_rgw_compatibility`
in ``
ansible/group_vars/all
.yml`` can enable/disable the RadosGW
in ``
/etc/kolla/globals
.yml`` can enable/disable the RadosGW
compatibility with Swift API completely. After changing the value, run the
compatibility with Swift API completely. After changing the value, run the
"reconfigure“ command to enable.
"reconfigure“ command to enable.
Configure the Ceph store type in ``ansible/group_vars/all.yml``, the default
value is ``bluestore`` in Rocky:
.. code-block:: yaml
ceph_osd_store_type: "bluestore"
.. note::
Regarding number of placement groups (PGs)
Kolla sets very conservative values for the number of PGs per pool
(`ceph_pool_pg_num` and `ceph_pool_pgp_num`). This is in order to ensure
the majority of users will be able to deploy Ceph out of the box. It is
*highly* recommended to consult the official Ceph documentation regarding
these values before running Ceph in any kind of production scenario.
RGW requires a healthy cluster in order to be successfully deployed. On initial
RGW requires a healthy cluster in order to be successfully deployed. On initial
start up, RGW will create several pools. The first pool should be in an
start up, RGW will create several pools. The first pool should be in an
operational state to proceed with the second one, and so on. So, in the case of
operational state to proceed with the second one, and so on. So, in the case of
...
@@ -230,6 +216,48 @@ copies for the pools before deployment. Modify the file
...
@@ -230,6 +216,48 @@ copies for the pools before deployment. Modify the file
osd pool default size = 1
osd pool default size = 1
osd pool default min size = 1
osd pool default min size = 1
NFS
~~~
NFS is an optional feature, you can enable it in ``/etc/kolla/globals.yml``:
.. code-block:: yaml
enable_ceph_nfs: "yes"
.. note::
If you are using Ubuntu, please enable Ceph NFS before using
``kolla-ansible bootstrap-servers`` command - it will install required rpcbind
package.
Store type
~~~~~~~~~~
Configure the Ceph store type in ``/etc/kolla/globals.yml``, the default
value is ``bluestore`` in Rocky:
.. code-block:: yaml
ceph_osd_store_type: "bluestore"
Recommendations
---------------
Placement groups
~~~~~~~~~~~~~~~~
Regarding number of placement groups (PGs)
Kolla sets very conservative values for the number of PGs per pool
(`ceph_pool_pg_num` and `ceph_pool_pgp_num`). This is in order to ensure
the majority of users will be able to deploy Ceph out of the box. It is
*highly* recommended to consult the official Ceph documentation regarding
these values before running Ceph in any kind of production scenario.
Cluster Network
~~~~~~~~~~~~~~~
To build a high performance and secure Ceph Storage Cluster, the Ceph community
To build a high performance and secure Ceph Storage Cluster, the Ceph community
recommend the use of two separate networks: public network and cluster network.
recommend the use of two separate networks: public network and cluster network.
Edit the ``/etc/kolla/globals.yml`` and configure the ``cluster_interface``:
Edit the ``/etc/kolla/globals.yml`` and configure the ``cluster_interface``:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment