Skip to content

Infrared plugin that configures and involkes ceph-ansible.

Notifications You must be signed in to change notification settings

rhos-infra/ir-plugin-ceph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General

ceph-ansible is a project maintained by ceph community that aims to install ceph. Using ceph-ansible requires making choices to get properly configured cluster.

ir-plugin-ceph wraps ceph-ansible [1] and facilitates ceph-ansible driven installation from as an infrared plugin. But is also can be used as a stand-alone ansible wrapper for ceph-ansible.

OS support

This code was verified to deploy ceph on:

  • CentOS 7.3 (vm)

Using this code as an infrared plugin

Since infrared updates ansible inventory file to contain provisioned ceph nodes in [ceph] group, all is needed is to add infrared puling and run the installation with enabled/disabled containers

infrared plugin add "https://review.gerrithub.io/rhos-infra/ir-plugin-ceph"
infrared install-ceph --containers-enabled true

or

infrared install-ceph --containers-enabled false

Note: currently --containers-enabled param makes no difference both for CentOS (ceph will be deployed uncontainerized).

Using this code as an ansile playbook

Following steps are required

  1. provision vm
  2. scp ~/.ssh/id_rsa.pub key to the root@<vm_ip>:/root/.ssh/authorized_keys (assuming to other info is contained in /root/.ssh/authorized_keys !!)
  3. updates params.yml with your <vm_ip>
  4. run ansible-playbook -i hosts main.yml [email protected]

Refs

[1] https://github.com/ceph/ceph-ansible

About

Infrared plugin that configures and involkes ceph-ansible.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages