ceph-ansible | Ansible playbooks to deploy Ceph, the distributed filesystem | DevOps library
kandi X-RAY | ceph-ansible Summary
kandi X-RAY | ceph-ansible Summary
Ansible playbooks to deploy Ceph, the distributed filesystem.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Run the module
- Create a list of buckets
- Generate command to execute ceph
- Execute multiple commands
- Generate the ceph command
- Generate a v2 playbook
- Return the color of the phase
- Returns the time delta for a phase
- Create a list of buckets
- Create a bucket
- Return the ceph volume command
- Generate a ceph rule
- Remove a rule
- Create users
- Generate a ceph command
- Generate a rule
- Delete all images in the config
- Delete the gateway configuration
ceph-ansible Key Features
ceph-ansible Examples and Code Snippets
brew install flocker-1.11.0 # (this lets us use `flocker-ca`)
brew install ansible # (or you can install ansible inside a python virtualenv.)
vagrant plugin install vai
git clone --recursive https://github.com/ClusterHQ/flocker-ceph-vagra
cloud deploy
─> nova deploy
─> nova-api
─> install
─> configure
─> nova-conductor
─> install
─> configure
─> nova-post-configure
─> db_create
─> keystone_setup
─>
[ceph-grafana]
grafana_host.example.com
[osds]
osd0.example.com
osd1.example.com
osd2.example.com
[mons]
mon0.example.com
mon1.example.com
mon2.example.com
[mdss]
mds0.example.com
[rgws]
rgw0.example.com
Community Discussions
Trending Discussions on ceph-ansible
QUESTION
I need some help in adding a new OSD disk to the existing Ceph cluster using Ceph-Ansible deployment, I have 3 OSD hosts and want to add one disk to 1st OSD host, I tried to include the new disk in the osd.yml file under devices section, but I got failed deployment cause ansible return an error that it cannot find the included new disk in 2nd and 3rd OSD host.
Is there a way to tell ceph-ansible to include new disk /dev/sde for instance to only 1st OSD host?
...ANSWER
Answered 2020-Nov-04 at 11:48You should add devices
variable to the host_vars
of your first node.
If you have an inventory directory you can add host_vars
directory in your inventory directory and add a file with your hostname in your hosts. For example if you have node1 in your hosts.yaml
you should create a file named node1.yaml
in host_vars
directory and add devices
variable in it so this variable is just used for this host.
You can find more info about host_vars
here: https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#organizing-host-and-group-variables
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ceph-ansible
You can use ceph-ansible like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page