mirror of https://github.com/ceph/ceph-ansible.git
1359869497
Resolves issue: Multiple RGW Ceph.conf Issue #1258 In multi-RGW setup, in ceph.conf the RGW sections contain identical bind IP in civetweb line. So this modification fixes that issue and puts the right IP for each RGW. Signed-off-by: SirishaGuduru SGuduru@walmartlabs.com Modified ceph-defaults and ran generate_group_vars_sample.sh group_vars/osds.yml.sample and group_vars/rhcs.yml.sample are not part of the changes. But they got modified when generate_group_vars_sample.sh is ran to generate group_vars/ all.yml.sample. Uncommented added variables in ceph-defaults Updated tests by adding value for radosgw_interface Added radosgw_interface to centos cluster tests Modified ceph-rgw role,rebased and ran generate_group_vars_sample.sh In ceph-rgw role removed check_mandatory_vars.yml. Rebased on master. Ran generate_group_vars_sample.sh and then the below files got modified. |
||
---|---|---|
.. | ||
defaults | ||
files | ||
meta | ||
plugins/actions | ||
tasks | ||
templates | ||
LICENSE | ||
README.md |
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.