This updates the supported versions to what is supported by Ceph
starting with infernalis.
* CentOS 7 or later
* Debian Jessie 8.x or later
* Ubuntu Trusty 14.04 or later
* Fedora 22 or later
Change-Id: I9b190f9e928dbafb41477d939032390144fb0e5f
spec_helpers didn't change because keystone module (>=5.1.0 <6.0.0)
is not present in openstack/keystone - only >= 6.0.0 and it will
not working for puppet-ceph acceptance tests, because they are running
with Juno code.
Change-Id: Ibf7c55cac755432fb4901587693363cea4c27f42
According to http://ceph.com/docs/master/releases/ only firefly and hammer
are supported versions by ceph.com.
Therefore this proposes to drop the no longer supported versions from the
tests.
Change-Id: Ibe738e7f17e4632e5d1deeabc4e6f937f1b1366a
* remove warning when running without rspec-system
* make README.md and existing nodesets match
* remove the BUNDLE_PATH variable
* update gerritexec invocation
Change-Id: Ibe9c12dc4977f8c45077fb68cb3d0858cca44577
This adds all the necessary rspec beaker nodesets to run single or
multi host tests for the following distributions and respective
versions:
- centos7.0
- centos6.6
- ubuntu trusty
- ubuntu precise
Change-Id: Id3ba6dc837eeeb77b32f575b050f162017aeb256
This commit is a merge of two patchsets that adds
support for EL7 and fixes unit and integration tests.
They are required to be in the same patchset in order
for all tests to pass.
---
Make puppet-ceph unit tests compliant with Puppet4
- Bump rspec-puppet to 2.1.0 includine Puppet 4.0 support [1].
- Bump puppetlabs-apache to 1.4.1
- Bump puppetlabs-concat to 1.2.1
- Fix puppet lint issue with missing doc
- Fix dependency version acceptance tests
- Drop firefly from the ::ceph::rgw::apache tests as it seems buggy.
- Fix acceptance tests. Beaker acceptance test have been enabled for trusty
and centos recently. This module does not yet support them so currently
jenkins tests always fail.
[1] https://github.com/rodjek/rspec-puppet/commits/v2.1.0
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
(cherry picked from commit ca86aafb05)
---
Add EL7 support
If Fedora is 20 or more, CentOS / Red Hat 7, we want to install EPEL7.
Otherwise, we want to setup EPEL6 for backward compatibility with Fedora
19 and before, and CentOS / Red Hat 6.X and before.
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Co-Authored-By: David Gurtner <aldavud@crimson.ch>
Co-Authored-By: Gael Chamoulaud <gchamoul@redhat.com>
Co-Authored-By: Andrew Woodward <xarses@gmail.com>
Co-Authored-By: Florian Haas <florian@hastexo.com>
Co-Authored-By: Jan Kundrat <jkt@kde.org>
Co-Authored-By: Aimon Bustardo <me@aimon.net>
(cherry picked from commit 009d222911)
Closes-bug: #1422516
Closes-bug: #1392002
Change-Id: I4af127715260b7999dcc7c3e0079ffaf28439c1e
For some of the boxes a new version has come out, for others there
was an upgrade in the minor release.
Change-Id: I1ff13eefdaa6676536b9ac38c15beba9849c3751
Update the CentOS 6 CI box from 6.4 to 6.5. This is needed to support
RDO which in turn is a requirement for the rgw/keystone CI tests.
Add CentOS 7 and Ubuntu 14.04 boxes so we can CI test them as a basis
to add support for them.
Because rspec-system and rspec-system-puppet are deprecated in favor
of beaker add dependencies on a fork to provide the necessary features.
This is temporary until all tests are switched to beaker.
Change-Id: I0ef014ff73a431a691fc25c35f6461fec614c337
- The default version in repo should be the latest stable release
- We want to keep tests against all LTS releases as well as the
latest stable release. So drop emperor and add giant. When hammer
is released, we will drop giant and add hammer.
Change-Id: I753c0ef326c4b8585e9e9f330a64160f95edd8a8
There were some missing semicolons in the example script for
gerritexec. Without those the script variable would contain invalid
syntax.
Change-Id: I984100adb1710d41b24b1190fd2e6bb92b8f95f6
Only one of the usecases was clearly marked as not working in this form,
while in reality all but the first do not work.
This could have led to confusion for prospective users of the module or
worse turn them away from using the module.
As the current puppet recipes are proven via CI to actually support these
usecases on Ubuntu Precise and RedHat 6.4 family, instead of adding a
header about them not being expected to work, they were instead adapted
to working examples (with minor adaptions to user specific setups as a
caveat).
Change-Id: Id30d339ef1295bb50dcf017eefc996edfc8dbe60
Closes-Bug: #1327785
Firefly is the latest stable Ceph released and was published May
2014. It is added to all integration tests. The cuttlefish release is
obsoleted to reduce the burden of backward compatibility down to the
last three stable releases.
The journal size for tests is made to be 100MB to use less disk during
testing and lower the risks of running of out space.
Change-Id: I35ad5d702a5f8094bb72c67b87582154e2c017fc
Signed-off-by: Loic Dachary <loic@dachary.org>
Initial preparation:
* Adapt the README with instructions to download and prepare SNT
* Install SNT into the vagrant instances used in the system tests
* all the necessary plumbing around the above two tasks
Change-Id: Ibc9d60f54061d7dbb6e19520597154a06f70382a
Provides the necessary nodset configurations and examples
on how to run the tests on RedHat family systems.
Using CentOS 6.4 as a representative for RedHat family systems,
as there is a box available from the puppetlabs Vagrant boxes
repository with the same Virtualbox version requirements as the
existing Ubuntu Precise one:
http://puppet-vagrant-boxes.puppetlabs.com
This is needed to test solutions for bugs 1264959 and 1264916.
There is a circular dependency issue between those bugs and this:
Cannot test the solutions to those bugs without this patch, but without
solutions to those tests the rspec-system tests for RedHat family
systems won't run. To have only running code committed, this should
only be merged together with the other patches.
Change-Id: I2093635034ca78b7fb6dbfd950cf35af8a03bc6f
Closes-Bug: 1253211
Related-Bug: 1264959
Related-Bug: 1264916
Integration tests need two virtual machines to complete. However, when
running a single integration test (via SPEC=...), it will save time to
not run the second virtual machine if it is not needed.
Change-Id: I0946c7e999186aebf5dc84661112518f63f45ce3
Signed-off-by: Loic Dachary <loic@dachary.org>
The RELEASES environment variable contains the list of ceph releases for
which integration tests are going to be run. This is convenient to speed
up tests when debugging the logic of the implementation and before
making sure it works accross all distributions.
Change-Id: I0d0a6af6f07aeba72c42e6f853353ccf97db8658
Signed-off-by: Loic Dachary <loic@dachary.org>
In the section about integration tests, document the actual gerritexec
oneliner used to trigger integration tests from review.openstack.org
Change-Id: I1b980bf40f66877cbb2bc65b40a82e2a7d2d3204
Signed-off-by: Loic Dachary <loic@dachary.org>
rspec-system will fail to install on jenkins slaves. It does not matter
anyway since it is not going to be used for unit tests. Create a
Gemfile-rspec-system to be used when running integration tests. Although
it would be convenient to be able to
BUNDLE_GEMFILE=Gemfile-rspec-system bundle exec rake spec:system
it will fail because the environment variable won't be propagated where
it should.
.rspec_system/vagrant_projects/x64/Gemfile-rspec-system not found
The README.md file is updated to simply mv to Gemfile which is good
enough for the environment running the integration tests.
A bug was filed against openstack-ci to resolve this installation
problem but it is unclear if and how it could be fixed
https://bugs.launchpad.net/openstack-ci/+bug/1290710
Change-Id: I0bff624892837536419bdbdd6651b009600fe9c6
Signed-off-by: Loic Dachary <loic@dachary.org>
It is a use case listed in https://wiki.openstack.org/
wiki/Puppet-openstack/ceph-blueprint
Adding the ceph blueprint in USECASES.md
Adding a link in the README.md
Closes-Bug: #1243333
Change-Id: Iff1415cace170676c9ff8ec57d05d9bd6bf8ccdf
Blueprint: Add the "I want to spawn a cluster configured with continuous integration" use case to USECASES.md
Signed-off-by: Romain Salot <romain.salot@gmail.com>
* ceph::mon resource
create a MON if ensure == present or destroy one if absent
all combinations of keys / keyring as specified in the blueprint are
supported
* integration tests cover all cases and unit tests are implemented to
ensure syntax correctness
* minor corrections to other classes are included ( two nodes for
integration tests, default values for the ceph class etc. )
* A ceph::mons class wrapper is created for compatibility with
scenario_node_terminus
Closes-Bug: #1251443
Change-Id: Ic56a4124738006f7946ee9c166295f7048cb7854
Signed-off-by: Loic Dachary <loic@dachary.org>
It is a use case listed in https://wiki.openstack.org/wiki/Puppet-
openstack/ceph-blueprint and it would be a useful example when
considering what the puppet-ceph module can do. It must be linked
from the README.md
Closes-Bug: #1243331
Change-Id: I6d477353a0e1bc00eef77e96099e92845f47f21f
Because there is not #integration-tests paragraph, so
https://github.com/stackforge/puppet-ceph#integration-tests is invalid.
I change the paragraph title 'Integration' to 'Integration Test', the
link will be ok.
Change-Id: Ic7bc02e6458e2dd2a81635b92306c56bcd3fa96a