]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
8 years agofix python3 compatibility in jinja2 template. 1112/head
Shengjing Zhu [Tue, 22 Nov 2016 13:52:52 +0000 (21:52 +0800)]
fix python3 compatibility in jinja2 template.

rename iterkeys to keys

8 years agoMerge pull request #1104 from ktdreyer/rm-apache
Sébastien Han [Mon, 21 Nov 2016 10:13:19 +0000 (11:13 +0100)]
Merge pull request #1104 from ktdreyer/rm-apache

remove apache support for RGW

8 years agoremove apache support for RGW 1104/head ktdreyer/rm-apache
Ken Dreyer [Thu, 17 Nov 2016 22:43:31 +0000 (15:43 -0700)]
remove apache support for RGW

libfcgi is dead upstream (http://tracker.ceph.com/issues/16784)

The RGW developers intend to remove libfcgi support entirely before the
Luminous release.

Since libfcgi gets little-to-no developer attention or testing, remove
it entirely from ceph-ansible.

8 years agoMerge pull request #1107 from font/osd_keyring_err v2.0.0
Sébastien Han [Fri, 18 Nov 2016 14:18:01 +0000 (15:18 +0100)]
Merge pull request #1107 from font/osd_keyring_err

Fix error caused by missing OSD cluster keyring

8 years agoMerge pull request #1106 from ktdreyer/rpm-packaging
Sébastien Han [Fri, 18 Nov 2016 14:16:14 +0000 (15:16 +0100)]
Merge pull request #1106 from ktdreyer/rpm-packaging

add RPM packaging for CI

8 years agoFix error caused by missing OSD cluster keyring 1107/head
Ivan Font [Fri, 18 Nov 2016 07:03:11 +0000 (23:03 -0800)]
Fix error caused by missing OSD cluster keyring

Ansible task was not properly fetching OSD cluster keyring causing
the keyring to be missing when we needed to authenticate. Similarly, we
were not properly waiting on the OSD keyring to be available before
continuing.

Signed-off-by: Ivan Font <ifont@redhat.com>
8 years agoadd RPM packaging for CI 1106/head
Ken Dreyer [Thu, 17 Nov 2016 22:21:20 +0000 (15:21 -0700)]
add RPM packaging for CI

"make rpm" will build a ceph-ansible RPM and place it in the current
working directory.

This will allow us to run this command in Jenkins for every branch.

8 years agoMerge pull request #1105 from ceph/libvirt-domain-conflicts
Alfredo Deza [Thu, 17 Nov 2016 21:27:33 +0000 (16:27 -0500)]
Merge pull request #1105 from ceph/libvirt-domain-conflicts

tests: sets random_hostname to true for libvirt nodes

8 years agotests: sets random_hostname to true for libvirt nodes 1105/head
Andrew Schoen [Thu, 17 Nov 2016 21:25:06 +0000 (15:25 -0600)]
tests: sets random_hostname to true for libvirt nodes

This will keep us from having name conflicts between our different
testing scenarios.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1103 from ceph/gatherkeys-timeout
Andrew Schoen [Thu, 17 Nov 2016 17:49:55 +0000 (11:49 -0600)]
Merge pull request #1103 from ceph/gatherkeys-timeout

testing: add a timeout per ansible call to workaround possible gatherkeys issues

8 years agotesting: add a timeout per ansible call to workaround possible gatherkeys issues 1103/head
Alfredo Deza [Thu, 17 Nov 2016 17:47:49 +0000 (12:47 -0500)]
testing: add a timeout per ansible call to workaround possible gatherkeys issues

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #1099 from jsaintrocc/checkmode-fix
Sébastien Han [Thu, 17 Nov 2016 16:02:22 +0000 (17:02 +0100)]
Merge pull request #1099 from jsaintrocc/checkmode-fix

Replaced Ansible 2.2 specific `check_mode: no`

8 years agoMerge pull request #1100 from ceph/rhbz-1395073
Sébastien Han [Thu, 17 Nov 2016 15:49:08 +0000 (16:49 +0100)]
Merge pull request #1100 from ceph/rhbz-1395073

rolling_update: bump retries for osd_check/retries to 20 minutes

8 years agorolling_update: bump retries for osd_check/retries to 20 minutes 1100/head
Alfredo Deza [Thu, 17 Nov 2016 15:43:58 +0000 (10:43 -0500)]
rolling_update: bump retries for osd_check/retries to 20 minutes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1395073

8 years agoReplaced Ansible 2.2 specific check_mode: no with backwards compatible always_run... 1099/head
James Saint-Rossy [Wed, 16 Nov 2016 21:47:43 +0000 (16:47 -0500)]
Replaced Ansible 2.2 specific check_mode: no with backwards compatible always_run: yes

8 years agoMerge pull request #1098 from ceph/libvirt-devices
Alfredo Deza [Wed, 16 Nov 2016 21:20:35 +0000 (16:20 -0500)]
Merge pull request #1098 from ceph/libvirt-devices

tests: make libvirt use the same device names as virtualbox

8 years agotests: make libvirt use the same device names as virtualbox 1098/head
Andrew Schoen [Wed, 16 Nov 2016 19:01:22 +0000 (13:01 -0600)]
tests: make libvirt use the same device names as virtualbox

This makes our libvirt boxes come up with the OS on /dev/vda and
three devices added at /dev/sd{a/b/c} so that we can ensure that
the OSD devices we want to use can always be available for
both virtualbox and libvirt for both xenial and centos7.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1097 from ceph/ansible-ci-version v2.0
Sébastien Han [Wed, 16 Nov 2016 15:46:59 +0000 (16:46 +0100)]
Merge pull request #1097 from ceph/ansible-ci-version

ci: bump ansible version to 2.2

8 years agoci: bump ansible version to 2.2 1097/head
Sébastien Han [Wed, 16 Nov 2016 15:44:45 +0000 (16:44 +0100)]
ci: bump ansible version to 2.2

ceph-ansible is now fully compliant with ansible 2.2 so bumping the
ansible version to make we test the right things.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1092 from ceph/ceph-boxes
Andrew Schoen [Wed, 16 Nov 2016 15:42:31 +0000 (09:42 -0600)]
Merge pull request #1092 from ceph/ceph-boxes

Use new ceph vagrant boxes

8 years agoMerge pull request #1068 from ceph/v2.2
Sébastien Han [Wed, 16 Nov 2016 15:33:40 +0000 (16:33 +0100)]
Merge pull request #1068 from ceph/v2.2

moving to ansible v2.2 compatibility

8 years agoMerge pull request #1082 from albertomurillo/v2.2 1068/head
Sébastien Han [Wed, 9 Nov 2016 08:53:22 +0000 (09:53 +0100)]
Merge pull request #1082 from albertomurillo/v2.2

sync config_template plugin with master branch

8 years agoMerge pull request #1096 from ceph/cleanup-yml-tests
Sébastien Han [Wed, 16 Nov 2016 13:52:06 +0000 (14:52 +0100)]
Merge pull request #1096 from ceph/cleanup-yml-tests

tests: remove all validating yml playbooks

8 years agotests: remove all validating yml playbooks 1096/head
Alfredo Deza [Wed, 16 Nov 2016 13:49:51 +0000 (08:49 -0500)]
tests: remove all validating yml playbooks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: define the ceph box in the sample vagrant_variable file 1092/head
Alfredo Deza [Tue, 15 Nov 2016 12:51:47 +0000 (07:51 -0500)]
testing: define the ceph box in the sample vagrant_variable file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: disable vagrant sync folder add on xenial mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:45:57 +0000 (14:45 -0500)]
testing: disable vagrant sync folder add on xenial mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: disable vagrant sync folder add on xenial mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:45:43 +0000 (14:45 -0500)]
testing: disable vagrant sync folder add on xenial mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: disable vagrant sync folder add on centos 7 mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:45:07 +0000 (14:45 -0500)]
testing: disable vagrant sync folder add on centos 7 mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: disable vagrant sync folder add on centos 7 mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:44:49 +0000 (14:44 -0500)]
testing: disable vagrant sync folder add on centos 7 mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: use ceph vagrant box on ubuntu xenial mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:43:02 +0000 (14:43 -0500)]
testing: use ceph vagrant box on ubuntu xenial mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: use ceph vagrant box on ubuntu xenial mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:42:35 +0000 (14:42 -0500)]
testing: use ceph vagrant box on ubuntu xenial mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: add comment for ceph vagrant boxes on centos 7 mon osd scenario
Alfredo Deza [Mon, 14 Nov 2016 19:41:39 +0000 (14:41 -0500)]
testing: add comment for ceph vagrant boxes on centos 7 mon osd scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: add comment for ceph vagrant boxes on centos 7 mon osd mds rgw scenario
Alfredo Deza [Mon, 14 Nov 2016 19:41:23 +0000 (14:41 -0500)]
testing: add comment for ceph vagrant boxes on centos 7 mon osd mds rgw scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotesting: parse and set DISABLE_SYNCED_FOLDER in vagrant file
Alfredo Deza [Mon, 14 Nov 2016 18:25:26 +0000 (13:25 -0500)]
testing: parse and set DISABLE_SYNCED_FOLDER in vagrant file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agotests: disable sync folder when testing
Alfredo Deza [Mon, 14 Nov 2016 18:24:25 +0000 (13:24 -0500)]
tests: disable sync folder when testing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #1093 from ceph/RHBZ-1394929
Alfredo Deza [Mon, 14 Nov 2016 21:10:06 +0000 (16:10 -0500)]
Merge pull request #1093 from ceph/RHBZ-1394929

rolling update: stop services before upgrading and start afterwards

8 years agorolling update: stop RGWs before upgrade and start afterwards 1093/head
Andrew Schoen [Mon, 14 Nov 2016 20:44:55 +0000 (14:44 -0600)]
rolling update: stop RGWs before upgrade and start afterwards

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1394929

8 years agorolling update: stop MDSs before upgrading and start afterwards
Andrew Schoen [Mon, 14 Nov 2016 20:42:52 +0000 (14:42 -0600)]
rolling update: stop MDSs before upgrading and start afterwards

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1394929

8 years agorolling update: stop MONs before upgrading and start afterwards
Andrew Schoen [Mon, 14 Nov 2016 20:40:31 +0000 (14:40 -0600)]
rolling update: stop MONs before upgrading and start afterwards

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1394929

8 years agorolling update: stop OSDs before upgrading
Andrew Schoen [Mon, 14 Nov 2016 20:25:46 +0000 (14:25 -0600)]
rolling update: stop OSDs before upgrading

This avoids a bug where OSDs are sometimes restarted twice on
upgrades which leaves the OSD process running but not marked up.

See:

https://bugzilla.redhat.com/show_bug.cgi?id=1394928
https://bugzilla.redhat.com/show_bug.cgi?id=1391675
https://bugzilla.redhat.com/show_bug.cgi?id=1394929

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1394929

8 years agoMerge pull request #1091 from ceph/rgw-when
Sébastien Han [Mon, 14 Nov 2016 15:25:26 +0000 (16:25 +0100)]
Merge pull request #1091 from ceph/rgw-when

ceph-rgw: add systemd condition

8 years agoMerge pull request #1032 from ceph/backward-compat-rhcs
Sébastien Han [Mon, 14 Nov 2016 14:49:42 +0000 (15:49 +0100)]
Merge pull request #1032 from ceph/backward-compat-rhcs

common: backward compatibility name for rhcs

8 years agoceph-rgw: add systemd condition 1091/head
Sébastien Han [Mon, 14 Nov 2016 14:12:20 +0000 (15:12 +0100)]
ceph-rgw: add systemd condition

We have a fact that detects the package manager, so we can detect if
systemd is used. Radosgw was still using some old logic from Ubuntu.
Ubuntu 16.04 now has systemd so we don't need to configure rgw as it was
running on upstart.

Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agoMerge pull request #1089 from ceph/vagrant-boxes
Alfredo Deza [Thu, 10 Nov 2016 21:16:07 +0000 (16:16 -0500)]
Merge pull request #1089 from ceph/vagrant-boxes

tests: adds a few more scenarios

8 years agotests: adds comments to tox.ini describing each scenario 1089/head
Andrew Schoen [Thu, 10 Nov 2016 18:04:56 +0000 (12:04 -0600)]
tests: adds comments to tox.ini describing each scenario

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: make the centos7-mon-osd scenario use raw_multi_journal
Andrew Schoen [Thu, 10 Nov 2016 17:59:45 +0000 (11:59 -0600)]
tests: make the centos7-mon-osd scenario use raw_multi_journal

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds the centos7-cluster scenario to tox.ini
Andrew Schoen [Wed, 9 Nov 2016 20:52:37 +0000 (14:52 -0600)]
tests: adds the centos7-cluster scenario to tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds a scenario for a centos7 1mon 1osd 1mds 1rgw cluster
Andrew Schoen [Wed, 9 Nov 2016 20:51:54 +0000 (14:51 -0600)]
tests: adds a scenario for a centos7 1mon 1osd 1mds 1rgw cluster

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds the xenial mon-osd-mds-rgw scenario as xenial-cluster
Andrew Schoen [Wed, 9 Nov 2016 20:16:12 +0000 (14:16 -0600)]
tests: adds the xenial mon-osd-mds-rgw scenario as xenial-cluster

I tried adding the scenario as xenial-mon-osd-mds-rgw but for
whatever reason tox refused to select that environment. Changing the
name to xenial-cluster fixed that though.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: adds a scenario to test a xenial 1mon 1osd 1mds 1rgw cluster
Andrew Schoen [Wed, 9 Nov 2016 20:14:10 +0000 (14:14 -0600)]
tests: adds a scenario to test a xenial 1mon 1osd 1mds 1rgw cluster

This scenario duplicates what we are currently doing with our
ceph-ansible testing using OVH and a single node, except now
we are using 4 separate nodes.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: make xenial-mon-osd use raw_multi_journal instead of collocation
Andrew Schoen [Wed, 9 Nov 2016 20:12:59 +0000 (14:12 -0600)]
tests: make xenial-mon-osd use raw_multi_journal instead of collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agoMerge pull request #1087 from ceph/vagrant-boxes
Sébastien Han [Wed, 9 Nov 2016 11:09:00 +0000 (12:09 +0100)]
Merge pull request #1087 from ceph/vagrant-boxes

use vagrant boxes that support libvirt and virtualbox

8 years agotests: provide a way use libvirt with vagrant and tox 1087/head
Andrew Schoen [Tue, 8 Nov 2016 23:00:09 +0000 (17:00 -0600)]
tests: provide a way use libvirt with vagrant and tox

This allows for:

tox -- --provider=libvirt

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agotests: change the centos box to centos/7
Andrew Schoen [Tue, 8 Nov 2016 21:53:58 +0000 (15:53 -0600)]
tests: change the centos box to centos/7

This box supports both libvirt and virtualbox. Eventually we want to
be building our own boxes but this should work in the short term.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agotests: change the xenial box to yk0/ubuntu-xenial
Andrew Schoen [Tue, 8 Nov 2016 21:48:16 +0000 (15:48 -0600)]
tests: change the xenial box to yk0/ubuntu-xenial

This box supports both virtualbox and libvirt. Eventually
we want to be building our own vagrant boxes, but this might
work for now.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: vagrant#boxes

8 years agoMerge pull request #1086 from ceph/testing-updates
Alfredo Deza [Tue, 8 Nov 2016 18:39:32 +0000 (13:39 -0500)]
Merge pull request #1086 from ceph/testing-updates

testing: adds 3 new functional testing scenarios

8 years agotests: adds the vagrant_variables.yml that were previously ignored 1086/head
Andrew Schoen [Tue, 8 Nov 2016 17:29:47 +0000 (11:29 -0600)]
tests: adds the vagrant_variables.yml that were previously ignored

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agodon't ignore vagrant_variables.yml in test directories
Andrew Schoen [Tue, 8 Nov 2016 17:03:25 +0000 (11:03 -0600)]
don't ignore vagrant_variables.yml in test directories

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: updates tox to test the new scenarios
Andrew Schoen [Tue, 8 Nov 2016 16:34:16 +0000 (10:34 -0600)]
tests: updates tox to test the new scenarios

This also turns on -vv for ansible and adds an environment for
ansible==1.9.4 testing.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: adds a 1mon 1osd centos7 test scenario
Andrew Schoen [Tue, 8 Nov 2016 16:32:39 +0000 (10:32 -0600)]
tests: adds a 1mon 1osd centos7 test scenario

This uses journal collocation for the osd.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: adds a 1mon 1osd xenial test scenario
Andrew Schoen [Tue, 8 Nov 2016 16:24:36 +0000 (10:24 -0600)]
tests: adds a 1mon 1osd xenial test scenario

This sets up the osd using journal collocation

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: ceph.conf tests for the xenial 3 mon cluster
Andrew Schoen [Tue, 8 Nov 2016 16:18:11 +0000 (10:18 -0600)]
tests: ceph.conf tests for the xenial 3 mon cluster

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: adds a xenial 3 mon test scenario
Andrew Schoen [Tue, 8 Nov 2016 16:16:46 +0000 (10:16 -0600)]
tests: adds a xenial 3 mon test scenario

This can be used to test if mon hosts and
mon initial members are being set properly with
multiple hosts.

Also, to verify that monitor_address and monitor_interface
options both work as described.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: ignore folders created by ceph-ansible during testing
Andrew Schoen [Tue, 8 Nov 2016 16:12:59 +0000 (10:12 -0600)]
tests: ignore folders created by ceph-ansible during testing

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agocommon: reformat mon_initial_members with indention
Andrew Schoen [Tue, 8 Nov 2016 15:58:35 +0000 (09:58 -0600)]
common: reformat mon_initial_members with indention

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agocommon: provide a default for monitor_address_block
Andrew Schoen [Tue, 8 Nov 2016 15:57:23 +0000 (09:57 -0600)]
common: provide a default for monitor_address_block

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agotests: remove the initial_members scenario
Andrew Schoen [Tue, 8 Nov 2016 15:50:09 +0000 (09:50 -0600)]
tests: remove the initial_members scenario

This was just a placeholder until we could get more valid scenarios in
place.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agocommon: check for monitor_interface before monitor_address in ceph.conf
Andrew Schoen [Sat, 5 Nov 2016 15:50:46 +0000 (10:50 -0500)]
common: check for monitor_interface before monitor_address in ceph.conf

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: testing#updates

8 years agosync config_template plugin with master branch 1082/head
Alberto Murillo Silva [Mon, 7 Nov 2016 22:37:42 +0000 (16:37 -0600)]
sync config_template plugin with master branch

ansible 2.2 deprecates first_available_file option which is used in
the config_template module by 'generate ceph configuration file' task.

This change syncs the config_module files from their master repository
in github.com/openstack/openstack/ansible-plugins which includes the fix

https://github.com/openstack/openstack-ansible-plugins/commit/2f6cac2cf6ddebf462e21c70da7f60fa334b5f1e

Signed-off-by: Alberto Murillo Silva <alberto.murillo.silva@intel.com>
8 years agoMerge pull request #1074 from ceph/test-group-vars
Alfredo Deza [Mon, 7 Nov 2016 17:16:06 +0000 (12:16 -0500)]
Merge pull request #1074 from ceph/test-group-vars

functional test scenarios should include a group_vars dir

8 years agotests: require a group_vars folder in the scenario dir 1074/head
Andrew Schoen [Fri, 4 Nov 2016 21:35:45 +0000 (16:35 -0500)]
tests: require a group_vars folder in the scenario dir

This will allow for no changes needed in the ansible playbook command
when adding new scenarios. Each scenario will just need a hosts file and
a group_vars directory to define how the cluster should be setup.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1058 from ceph/pytest-harness
Andrew Schoen [Fri, 4 Nov 2016 19:08:35 +0000 (14:08 -0500)]
Merge pull request #1058 from ceph/pytest-harness

testing harness with py.test and Vagrant

8 years agotests: add a hosts file for the initial_members scenario 1058/head
Alfredo Deza [Fri, 4 Nov 2016 18:47:59 +0000 (14:47 -0400)]
tests: add a hosts file for the initial_members scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: gitignore the .tox subdir
Alfredo Deza [Fri, 4 Nov 2016 18:09:29 +0000 (14:09 -0400)]
tests: gitignore the .tox subdir

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: make the tox.ini config call the ssh config helper script
Alfredo Deza [Fri, 4 Nov 2016 18:01:28 +0000 (14:01 -0400)]
tests: make the tox.ini config call the ssh config helper script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add a helper script to generate vagrant ssh configs
Alfredo Deza [Fri, 4 Nov 2016 17:58:07 +0000 (13:58 -0400)]
tests: add a helper script to generate vagrant ssh configs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: remove the need for a setenv entry per scenario in tox.ini
Andrew Schoen [Fri, 4 Nov 2016 17:49:18 +0000 (12:49 -0500)]
tests: remove the need for a setenv entry per scenario in tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: pytest#harness

8 years agotests: adds a tox.ini to run the functional tests
Andrew Schoen [Fri, 4 Nov 2016 17:25:06 +0000 (12:25 -0500)]
tests: adds a tox.ini to run the functional tests

This currently tests the initial-members scenario for both ansible 2.1
and ansible 2.2. It assumes a hosts file and vagrant_ssh_config exists
in the scenario directory.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: pytest#harness

8 years agotests: mon_initial_members should look for the right hostname
Alfredo Deza [Thu, 3 Nov 2016 20:52:29 +0000 (16:52 -0400)]
tests: mon_initial_members should look for the right hostname

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: fix helper to use the actual lines form ceph.conf
Alfredo Deza [Thu, 3 Nov 2016 17:05:19 +0000 (13:05 -0400)]
tests: fix helper to use the actual lines form ceph.conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: use a different vagrant box
Alfredo Deza [Thu, 3 Nov 2016 12:07:38 +0000 (08:07 -0400)]
tests: use a different vagrant box

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: include the vagrant_variables.yml file specific to this scenario
Alfredo Deza [Fri, 28 Oct 2016 11:23:33 +0000 (07:23 -0400)]
tests: include the vagrant_variables.yml file specific to this scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create a README with some explanation on how to use the test harness
Alfredo Deza [Thu, 27 Oct 2016 20:55:27 +0000 (16:55 -0400)]
tests: create a README with some explanation on how to use the test harness

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: define a requirements.txt file
Alfredo Deza [Thu, 27 Oct 2016 19:44:38 +0000 (15:44 -0400)]
tests: define a requirements.txt file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create an example scenario file
Alfredo Deza [Thu, 27 Oct 2016 19:43:35 +0000 (15:43 -0400)]
tests: create an example scenario file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create the conftest file that does all the magic
Alfredo Deza [Thu, 27 Oct 2016 19:39:12 +0000 (15:39 -0400)]
tests: create the conftest file that does all the magic

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add the symlinked Vagrantfile to initial_members
Alfredo Deza [Thu, 27 Oct 2016 19:37:52 +0000 (15:37 -0400)]
tests: add the symlinked Vagrantfile to initial_members

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agocreate a scenario config file for mon initial members
Alfredo Deza [Thu, 27 Oct 2016 19:30:40 +0000 (15:30 -0400)]
create a scenario config file for mon initial members

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add __init__.py for functional tests
Alfredo Deza [Thu, 27 Oct 2016 19:29:28 +0000 (15:29 -0400)]
tests: add __init__.py for functional tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: common basic tests for after installation
Alfredo Deza [Thu, 27 Oct 2016 19:29:12 +0000 (15:29 -0400)]
tests: common basic tests for after installation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: add __init__.py for mon tests
Alfredo Deza [Thu, 27 Oct 2016 19:28:37 +0000 (15:28 -0400)]
tests: add __init__.py for mon tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: create a test to check for mon_initial_members
Alfredo Deza [Thu, 27 Oct 2016 19:24:44 +0000 (15:24 -0400)]
tests: create a test to check for mon_initial_members

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agotests: placeholder pytest.ini to define test root dir
Alfredo Deza [Thu, 27 Oct 2016 18:10:48 +0000 (14:10 -0400)]
tests: placeholder pytest.ini to define test root dir

Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: pytest#harness

8 years agoMerge pull request #1073 from ceph/upgrade
Leseb [Fri, 4 Nov 2016 16:34:12 +0000 (17:34 +0100)]
Merge pull request #1073 from ceph/upgrade

rolling_update: add variable to upgrade ceph

8 years agorolling_update: add variable to upgrade ceph 1073/head
Sébastien Han [Fri, 4 Nov 2016 16:31:02 +0000 (17:31 +0100)]
rolling_update: add variable to upgrade ceph

My stupid self removed this crucial variable here: 217ce3ca thinking it
was another hard coded variable import where this is actually the
trigger for the upgrade.

Closes: #1071
Signed-off-by: Sébastien Han <seb@redhat.com>
8 years agomoving to ansible v2.2 compatibility
Sébastien Han [Thu, 3 Nov 2016 09:16:33 +0000 (10:16 +0100)]
moving to ansible v2.2 compatibility

Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Julien Francoz julien@francoz.net
8 years agoMerge pull request #1070 from ceph/RHBZ-1391675
Ivan Font [Thu, 3 Nov 2016 20:12:34 +0000 (13:12 -0700)]
Merge pull request #1070 from ceph/RHBZ-1391675

rolling update: fix restarts of radosgw

8 years agorolling update: fix restarts of radosgw 1070/head
Andrew Schoen [Thu, 3 Nov 2016 19:30:01 +0000 (14:30 -0500)]
rolling update: fix restarts of radosgw

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1391675
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
8 years agoMerge pull request #1069 from ceph/dmycrypt-checks
Andrew Schoen [Thu, 3 Nov 2016 15:28:22 +0000 (10:28 -0500)]
Merge pull request #1069 from ceph/dmycrypt-checks

osd dmcrypt: add ability to check devices

8 years agoMerge pull request #1065 from ceph/fix-conf-template
Leseb [Thu, 3 Nov 2016 14:30:51 +0000 (15:30 +0100)]
Merge pull request #1065 from ceph/fix-conf-template

various fixes for the ceph.conf template