Commit Graph

165 Commits (53b1e1ba0814dfbb88cebc2953ce9026cc5b0105)

Author SHA1 Message Date
Andrew Schoen dba8694794 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
2016-11-08 10:35:43 -06:00
Andrew Schoen f62d15bf20 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>
2016-11-08 10:35:43 -06:00
Andrew Schoen d213080d19 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
2016-11-08 10:35:43 -06:00
Andrew Schoen d5a7f3de8f 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>
2016-11-04 16:35:45 -05:00
Alfredo Deza 3511e12253 tests: add a hosts file for the initial_members scenario
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 14:47:59 -04:00
Alfredo Deza 8cda2db9c3 tests: mon_initial_members should look for the right hostname
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 14:13:30 -04:00
Alfredo Deza 08e7103766 tests: fix helper to use the actual lines form ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:34 -04:00
Alfredo Deza 1caacfd02b tests: use a different vagrant box
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza 0b044c89f3 tests: include the vagrant_variables.yml file specific to this scenario
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza 4b93837e4d tests: add the symlinked Vagrantfile to initial_members
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza f828b3d3fc create a scenario config file for mon initial members
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza cdac170cbf tests: add __init__.py for functional tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:33 -04:00
Alfredo Deza 757356d57e tests: common basic tests for after installation
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:32 -04:00
Alfredo Deza fe7bfbb62f tests: add __init__.py for mon tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:32 -04:00
Alfredo Deza d73843c36c tests: create a test to check for mon_initial_members
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: pytest#harness
2016-11-04 13:59:32 -04:00