ceph-ansible | And write roles | DevOps library
kandi X-RAY | ceph-ansible Summary
kandi X-RAY | ceph-ansible Summary
Deploy ceph cluster with ansible. And write roles and tools to make the process of deploy more convenience.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a config file from the config overrides
- Write this configuration to a file - like object
- Write an option to the config
- Write check to file
- Write entry to file
- Run a template
- Grab the options from the module
- Returns merged config overrides
- Recursively merge two dictionaries
- Merge config overrides into yaml
ceph-ansible Key Features
ceph-ansible Examples and Code Snippets
Community Discussions
Trending Discussions on ceph-ansible
QUESTION
I implemented Ceph Pacific Stable 6.0 with Ceph-Ansible on Ubuntu 20.04 LTS but when I want to change size of my pool from 3 to 1 with following command:
...ANSWER
Answered 2022-Jan-09 at 18:46- Add the following option under section
[global]
inceph.conf
:
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