- Jan 18, 2017
-
-
Logan V authored
-
Sébastien Han authored
adds a ceph-docker-common role and enables custom registry usage
-
- Jan 17, 2017
-
-
Musee Ullah authored
-
- Jan 16, 2017
-
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
This allows for ceph-ansible to use other docker registries. Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- Jan 02, 2017
-
-
Sébastien Han authored
Task put initial mon keyring in mon kv store from ceph-mon/tasks/ceph_keys.yml is failing when cephx is disabled. The root cause is that variable monitor_keyring is not populated by any task from deploy_monitors.yml. Fixes: #1211 Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Dec 19, 2016
-
-
tynorth-cisco authored
in ceph-common there is a fact check for monitor name that will set it to ansible_host or ansible_fqdn
-
- Dec 16, 2016
-
-
Andrew Schoen authored
test: add cluster name support test scenario
-
Sébastien Han authored
Prior to this patch we had several ways to runs containers, we could use ansible's docker module on some distro and on containers distros we were using systemd. We strongly believe threating containers as services with systemd is the right approach so this patch generalizes to all the distros. These days most of the distros are running systemd so it's fair assumption. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
We need to honour the cluster name that was chosen by ceph-ansible and pass it to ceph-docker. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
Once we have our first monitor up and running we need to add it to the monitor store as a safety measure. Just in case the local file gets deleted and you need to add a new monitor. Now you can retrieve this key like this: ceph config-key get initial_mon_keyring > initial_mon_keyring.txt Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Dec 15, 2016
-
-
Sébastien Han authored
Just for clarity and because we can we now show the name of the ceph configuration file that is generated. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Guillaume Abrioux authored
This commit solves the situation where you lost your fetch directory and you are running ansible against an existing cluster. Since no fetch directory is present the file containing the initial mon keyring doesn't exist so we are generating a new one. Signed-off-by:
Guillaume Abrioux <gabrioux@redhat.com>
-
- Dec 14, 2016
-
-
Sébastien Han authored
We can now see the name of the file we are waiting for, depending on the cluster name this will change. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
tynorth-cisco authored
If previous check was not run, .stdout_lines is not a valid key on the dictionary. To get around this, use .get("stdout_lines") instead. Also add in a default empty list
-
- Dec 09, 2016
-
-
Sébastien Han authored
For readibility and clarity we do not run any tasks directly in the main.yml file. This file should only contain include, which helps us later to apply conditionnals if we want to. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
Sébastien Han authored
This commit re-uses some of the existing ceph-ansible variables for a containirzed deployment. There is no reasons why we should add new variables for the containerized deployment. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Dec 07, 2016
-
-
Sébastien Han authored
Once the monitor process starts it will also trigger `ceph-create-keys` which will collect the admin key and bootstrap keys. We used to force this command because we were having issues on some distros like centos 7.0 and 7.1 not triggering this. This is fixed on centos 7.2 and not an issue on ubuntu 14.04 or 16.04 so we can remove this task. If the monitor hangs or fails to start the playbook will fail right after at the "wait for client.admin key exists" task after 300sec. Closes: #1161 Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Dec 01, 2016
-
-
Andrew Schoen authored
This causes a bug when fetch_directory is not a relative path to the playbook location. Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
Andrew Schoen authored
Adding that avoids this bug: https://github.com/ansible/ansible/issues/18206 Without that you'll get failures like: TASK [ceph-mon : set keys permissions] ***************************************** task path: /home/andrewschoen/ceph-ansible/roles/ceph-mon/tasks/ceph_keys.yml:31 fatal: [mon0]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'stdout_lines'"} Signed-off-by:
Andrew Schoen <aschoen@redhat.com>
-
- Nov 29, 2016
-
-
Guillaume Abrioux authored
Refactor the code using 'package' module Fix Issue #520 (However it doesn't cover all cases because some cases are not refactorable. Ex: because of diverging packages name between distribution)
-
- Nov 26, 2016
-
-
Daniel Marks authored
Carefully chosen "always_run: true" parameters for read-only tasks that register variables. This enables --check runs (at least on deployed clusters).
-
- Nov 24, 2016
-
-
Daniel Marks authored
Carefully chosen "always_run: true" parameters for read-only tasks that register variables. This enables --check runs (at least on deployed clusters).
-
- Nov 17, 2016
-
-
Ivan Font authored
- Update rolling update playbook to support containerized deployments for mons, osds, mdss, and rgws - Skip checking if existing cluster is running when performing a rolling update - Fixed bug where we were failing to start the mds container because it was missing the admin keyring. The admin keyring was missing because it was not being pushed from the mon host to the ansible host due to the keyring not being available before running the copy_configs.yml task include file. Now we forcefully wait for the admin keyring to be generated before continuing with the copy_configs.yml task include file - Skip pre_requisite.yml when running on atomic host. This technically no longer requires specifying to skip tasks containing the with_pkg tag - Add missing variables to all.docker.sample - Misc. cleanup Signed-off-by:
Ivan Font <ifont@redhat.com>
-
- Nov 04, 2016
-
-
Sébastien Han authored
Signed-off-by:
Sébastien Han <seb@redhat.com> Co-Authored-By:
Julien Francoz <julien@francoz.net>
-
- Oct 26, 2016
-
-
Adam Huffman authored
-
- Oct 25, 2016
-
-
Leseb authored
Change enabling of extras repo for CentOS to use ini_file
-
- Oct 21, 2016
-
-
Sébastien Han authored
Users reported that pool_default_pg_num is not honoured for the default pool 'rbd'. So now we check the pg num value for the RBD pool and if it does not match pool_default_pg_num then we delete and recreate it. We also make sure the pool is empty first, just in case someone changed the value manually and didn't reflect the change in ceph-ansible. The only issue with this patch is that the pool ID will not be 0 anymore but more likely 1. Signed-off-by:
Sébastien Han <seb@redhat.com>
-
- Oct 19, 2016
-
-
Adam Huffman authored
Signed-off-by:
Adam Huffman <bloch@verdurin.com>
-
- Oct 17, 2016
-
-
Adam Huffman authored
Signed-off-by:
Adam Huffman <bloch@verdurin.com>
-
- Oct 16, 2016
-
-
Adam Huffman authored
-
- Oct 04, 2016
-
-
Patrick Donnelly authored
Also regenerated group_vars. Fixes #986. Signed-off-by:
Patrick Donnelly <pdonnell@redhat.com>
-
Patrick Donnelly authored
Missed by #953. Signed-off-by:
Patrick Donnelly <pdonnell@redhat.com>
-
- Sep 30, 2016
-
-
James Saint-Rossy authored
-
- Sep 26, 2016
-
-
James Saint-Rossy authored
-
James Saint-Rossy authored
-
- Sep 21, 2016
-
-
Paulo Matias authored
By overriding the openstack_pools variable introduced by this commit, the deployer may choose not to create some of the openstack pools, or to add new pools which were not foreseen by ceph-ansible, e.g. for a gnocchi storage backend. For backwards compatibility, we keep the openstack_glance_pool, openstack_cinder_pool, openstack_nova_pool and openstack_cinder_backup_pool variables, although the user may now choose to specify the pools directly as dictionary literals inside the openstack_pools list.
-
- Sep 19, 2016
-
-
Patrick Donnelly authored
Signed-off-by:
Patrick Donnelly <pdonnell@redhat.com>
-
- Sep 09, 2016
-
-
James Saint-Rossy authored
-