- Apr 11, 2019
-
-
Sébastien Han authored
osd_scenario now defaults to lvm and should not be changed. So we don't need to test it. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Make python linter happy. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Mar 26, 2019
-
-
Dimitri Savineau authored
Ubuntu cloud archive is configurable via ceph_repository variable but the uca choice isn't accepted. This commit fixes this issue and also validates the associated uca repository variables. Resolves: #3739 Signed-off-by:
Dimitri Savineau <dsavinea@redhat.com>
-
- Feb 01, 2019
-
-
Andrew Schoen authored
If osd_auto_discovery is set with the lvm scenario it's expected for lvm_volumes and devices to be empty. Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- Jan 02, 2019
-
-
Justin Riley authored
This is documented as valid: https://github.com/ceph/ceph-ansible/blob/561746f75e3913b30e6ae3f14768ebc8a516bf66/group_vars/all.yml.sample#L245 Signed-off-by:
Justin Riley <justin.t.riley@gmail.com>
-
- Dec 04, 2018
-
-
Rishabh Dave authored
Signed-off-by:
Rishabh Dave <ridave@redhat.com>
-
- Nov 28, 2018
-
-
Guillaume Abrioux authored
change default value of `radosgw_address` to keep consistency with `monitor_address`. Moreover, `ceph-validate` checks if the value is '0.0.0.0' to determine if it has to run `check_eth_rgw.yml`. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1600227 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Nov 27, 2018
-
-
Guillaume Abrioux authored
validate must accept ceph nautilus release. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Nov 19, 2018
-
-
Dan Mick authored
"missing variable" errors introduced by PR3058 would attempt to be reported, but since the exception contained no "path" definition, would cause a second exception in the Invalid exception handler. Make the exception handler verify that any field it tries to use exists, clean up its message formatting, and reduce the verbose level to see the literal error from notario in case more goes wrong in future. Signed-off-by:
Dan Mick <dan.mick@redhat.com>
-
- Nov 08, 2018
-
-
Andrew Schoen authored
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1630975 Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- Nov 05, 2018
-
-
VasishtaShastry authored
ceph-validate used to throw error for setting flags as 'true' or 'false' for True and False Now user can set the flags 'dmcrypt' and 'osd_auto_discovery' as 'true' or 'false' Will fix - Bug 1638325 Signed-off-by:
VasishtaShastry <vipin.indiasmg@gmail.com>
-
- Oct 31, 2018
-
-
Rishabh Dave authored
This reverts commit 192c0baf.
-
Rishabh Dave authored
This code should probably move to Ansible codebase. Signed-off-by:
Rishabh Dave <ridave@redhat.com>
-
- Oct 30, 2018
-
-
Guillaume Abrioux authored
As of `mimic`, restapi is no longer available because of manager daemon. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Oct 24, 2018
-
-
Rishabh Dave authored
Be sure that error.path has more than one members before using them. Signed-off-by:
Rishabh Dave <ridave@redhat.com>
-
- Oct 19, 2018
-
-
Andrew Schoen authored
If the version of python-notario is < 0.0.13 an error message is given like "TypeError: validate() got an unexpected keyword argument 'defined_keys'", which is not helpful in figuring out you've got an incorrect version of python-notario. This check will avoid that situation by telling the user that they need to upgrade python-notario before they hit that error. Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- Aug 09, 2018
-
-
Andrew Schoen authored
This adds the action 'batch' to the ceph-volume module so that we can run the new 'ceph-volume lvm batch' subcommand. A functional test is also included. If devices is defind and osd_scenario is lvm then the 'ceph-volume lvm batch' command will be used to create the OSDs. Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- Jul 12, 2018
-
-
Andy McCrae authored
The original_basename option in the copy module changed to be _original_basename in Ansible 2.6+, this PR resyncs the config_template module to allow this to work with both Ansible 2.6+ and before. Additionally, this PR removes the _v1_config_template.py file, since ceph-ansible no longer supports versions of Ansible before version 2, and so we shouldn't continue to carry that code. Closes: #2843 Signed-off-by:
Andy McCrae <andy.mccrae@gmail.com>
-
- Jun 29, 2018
-
-
Andy McCrae authored
Some fixes have gone into git.openstack.org/openstack/ansible-config_template to deal with a few bugs we have run into. This PR brings the ceph-ansible config_template version up to the same as the ansible-config_template openstack repo. Closes: #2742 Signed-off-by:
Andy McCrae <andy.mccrae@gmail.com>
-
- Jun 11, 2018
-
-
Guillaume Abrioux authored
This error message may be confusing and need to be more explicit on where you have to install notario, indeed, people may think this library must be installed on configured nodes while it must be installed on the node you are running the playbook. Fixes: #2649 Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- May 22, 2018
-
-
Alfredo Deza authored
The bluestore lvm osd scenario does not require a journal entry. For this reason we need to have a separate schema for that and filestore or notario will fail validation for the bluestore lvm scenario because the journal key does not exist in lvm_volumes. Signed-off-by:
Alfredo Deza <adeza@redhat.com> (cherry picked from commit d916246bfeb927779fa920bab2e0cc736128c8a7)
-
- May 18, 2018
-
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
objectstore is not a valid option, it's osd_objectstore and it's already validated in install_options Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
validates monitor_address, monitor_address_block and monitor_interface Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Alfredo Deza authored
Signed-off-by:
Alfredo Deza <adeza@redhat.com>
-
- Apr 23, 2018
-
-
Sébastien Han authored
Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Apr 18, 2018
-
-
Andy McCrae authored
Add support for the Ansible --diff mode in config_template. This will show the before/after for config_template changes, in the same way as the base copy and template modules do. To utilise this run your playbooks with "--diff --check".
-
- Mar 16, 2018
-
-
Andy McCrae authored
In ec042219 we added OrderedDict and sorted to be able to preserve order for config_template k,v pairs inside a section. This patch adds a similar ordering for the sections themselves, which could still change order and intiiate handler restarts. OrderedDict isn't needed because we use .items() to return a list that can then be sorted().
-
- Mar 14, 2018
-
-
Andy McCrae authored
Having callback_plugins, and action plugins in random locations causes a lot of disparity. We should centralize this into one place in the plugins directory and fix up the ansible.cfg to reflect this. Additionally, since the ansible.cfg already reflects action_plugins, we don't need a link to action_plugins in the base of the repository.
-
- Oct 13, 2017
-
-
Guillaume Abrioux authored
Handlers are always triggered in ceph-ansible because ceph.conf file is generated with a randomly order for the different keys/values pairs in sections. In python, a dict is not sorted. It means in our case each time we try to generate the ceph.conf file it will be rendered with a random order since the mecanism behind consist of rendering a file from a python dict with keys/values. Therefore, as a quick workaround, forcing this dict to be sorted before rendering the configuration file will ensure that it will be rendered always the same way. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-