Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions doc/source/configuration/cephadm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,22 @@ for Cinder, Cinder backup, Glance, and Nova in Kolla Ansible.
mgr: "profile rbd pool=images"
state: present

Ceph Commands
~~~~~~~~~~~~~

It is possible to run an arbitrary list of commands against the cluster after deployment
by setting the ``cephadm_commands`` variable. ``cephadm_commands`` should be a list of commands
to pass to ``cephadm shell -- ceph``. For example:

.. code:: yaml

# A list of commands to pass to cephadm shell -- ceph. See stackhpc.cephadm.commands
# for format.
cephadm_commands:
# Configure Prometheus exporter to listen on a specific interface. The default
# is to listen on all interfaces.
- "config set mgr mgr/prometheus/server_addr 10.0.0.1"

Deployment
==========

Expand Down
4 changes: 4 additions & 0 deletions etc/kayobe/cephadm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ cephadm_cluster_network: "{{ storage_mgmt_net_name | net_cidr }}"
# List of Cephx keys. See stackhpc.cephadm.keys role for format.
#cephadm_keys:

# A list of commands to pass to cephadm shell -- ceph. See stackhpc.cephadm.commands
# for format.
#cephadm_commands:

###############################################################################
# Kolla Ceph auto-configuration.

Expand Down