ceph-ansible/roles/ceph-common
Ken Dreyer bf57efaf3c ceph-common: install nfs-ganesha FSALs on Debian
Prior to this change, ceph-ansible would install the main NFS Ganesha
server daemon on Ubuntu, but it would skip the Ceph FSALs.

Running "apt-get install nfs-ganesha" will only install the main NFS Ganesha
server. It does *not* pull in the RGW FSAL
(/usr/lib/x86_64-linux-gnu/ganesha/libfsalrgw.so)

Running "apt-get install nfs-ganesha-fsal" will install the RGW FSAL as
well as the main NFS Ganesha server package.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-03-14 08:37:45 -06:00
..
defaults avoid setting vfs_cache_pressure 2017-03-03 11:20:05 -07:00
files remove references to Inktank Ceph Storage 2016-07-26 13:57:32 -06:00
handlers fix grep match pattern for osd ids 2017-02-20 16:35:56 +08:00
meta rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
plugins/actions sync config_template plugin with master branch 2016-11-08 10:12:16 -06:00
tasks ceph-common: install nfs-ganesha FSALs on Debian 2017-03-14 08:37:45 -06:00
templates ceph-common: set ms bind ipv6 = true in ceph.conf when using ipv6 2017-02-07 12:34:29 -06:00
LICENSE rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
README.md remove apache support for RGW 2016-11-18 13:13:12 -07:00

README.md

Ansible role: Ceph Common

This role does several things prior to bootstrapping your Ceph cluster:

  • Checks the system and validates that Ceph can be installed
  • Tunes the operating system if the node is an OSD server
  • Installs Ceph
  • Generates ceph.conf

Requirements

Move the plugins/actions/config_template.py file to your top level playbook directory. Edit your ansible.cfg like so:

action_plugins = plugins/actions

Depending on how you are managing your playbook, the path might be different so edit the file accordingly if necessary.

Role variables

Have a look at defaults/main.yml.

Mandatory variables

  • Install source, choose one of these:
    • ceph_stable
    • ceph_dev
    • ceph_rhcs
    • ceph_custom
  • journal_size
  • monitor_interface
  • public_network
  • cluster_network

Handlers

  • update apt cache
  • restart ceph-mon
  • restart ceph-osd
  • restart ceph-mds
  • restart ceph-rgw
  • restart ceph-restapi

Dependencies

None

Example Playbook

- hosts: servers
  remote_user: ubuntu
  roles:
     - { role: leseb.ceph-common }

Misc

This role is a mandatory dependency for the following roles:

  • ceph-mon
  • ceph-osd
  • ceph-mds
  • ceph-rgw
  • ceph-restapi

Contribution

THIS REPOSITORY DOES NOT ACCEPT PULL REQUESTS. PULL REQUESTS MUST GO THROUGH CEPH-ANSIBLE.

License

Apache

Author Information

This role was created by Sébastien Han.