Commit Graph

53 Commits

Author SHA1 Message Date
Takashi Kajinami 6afa103dad Fix broken links
... and replace google group by our dev mailing list.

Change-Id: I7c97ad0939a79c208e83b7066ea3cb75ccf93d3e
2024-02-02 02:10:27 +09:00
Takashi Kajinami 90861088d3 Update IRC network to OFTC
Change-Id: I3296d3507cb830b80caa75eca58d1249416b580f
2021-05-31 15:38:29 +00:00
Tobias Urdin 9243448ba1 Remove beaker
Change-Id: I6b6a2c66522fbc9455d3953cca9d1ec22c4d5ae6
2020-09-11 10:28:20 +00:00
ZhongShengping 8b9e5bda8e Fix Repository
Change-Id: I01e480b0cadf1fd1f7d7fa838106fa9190232e91
2019-04-21 13:13:48 +08:00
ShangXiao 096fefedc8 Supply hrefs for table of contents according to context
Change-Id: Ic549d8dc68aab07007935ce38d7fd147b2445937
2018-12-04 23:26:56 -08:00
root cc5989cd1c Fix the wrong link URL
Change-Id: I16d050173b361b4534e4fd73a1c3073afd998aef
2018-09-08 14:32:19 +00:00
root 471b6f3dc3 Add "Development" in README
Change-Id: I7048e8db82cf2c7d37fb3e1132a791c23a57b19c
2018-07-28 14:59:14 +00:00
qingszhao 5f57d436be Add the project source code repository in README
Change-Id: Ie13164c4965e2cebca1ae26bf3e6a34294a16d83
2018-07-20 14:34:27 +08:00
wangqi 9996925bc4 add release note link in readme
Change-Id: Ib6254c166f369c44387e48e74d1d3343da8c345f
2018-06-21 14:44:02 +00:00
huang.zhiping e73c3ba465 Update links in README
Change-Id: If0a2be72a9521dd65c6f97d4a04b3996061d624d
2018-04-28 15:46:24 +08:00
chenghuiyu 73bb6a3dd1 Update to the latest address in README
Change-Id: I932e783eb7c6b479855829eb99ccfcce30d8358b
2017-09-21 11:42:04 +08:00
ZhongShengping 3e362caa30 Update URLs in documents according to document migration
Change-Id: I9a3db729fb565e12d1342b1b1c9a62e18a172278
2017-07-14 08:50:53 +08:00
Flavio Percoco ba23b0ac10 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/3df11bf125b912967d746564deae8772

Change-Id: I0374c22bcb647e94c32b17045722b79e75658a7a
2016-11-25 17:31:59 +01:00
Iury Gregory Melo Ferreira 45d47273ec Change wiki to docs
Change-Id: Ie03ff62fa2b9f05610a89e19d6be8e3e4d76f49e
2016-06-02 23:04:40 -03:00
David Gurtner 5fbe54f026 Update supported version information
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
2016-02-11 20:04:04 +01:00
David Gurtner 45d9124a55 Drop deprecated rspec-system tests and releases
This drops the rspec-system tests as well as the tests for
CentOS 6 and Ubuntu Precise.

Change-Id: I99336ae9f12324e8a83f9e7c3e18ef3b0b4b1050
2016-02-06 17:52:04 +01:00
Denis Egorenko 1ddbb0e96b Replace all StackForge names to OpenStack
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
2015-11-09 21:22:24 +03:00
David Gurtner aa6a46bbde Drop no longer supported releases
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
2015-08-20 08:26:31 +00:00
David Gurtner a8bccf57dd Clean the documentation for rspec-beaker
* 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
2015-08-05 12:53:12 +02:00
David Gurtner 498f8e16a3 Add rspec beaker boxes for centos7 and trusy
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
2015-07-14 21:25:41 +02:00
Florian Haas 2b0ba61b46 Bump default release to hammer
Closes-Bug: 1468865

Change-Id: I4d4710e58a54ff079245bb9e811fb5e632b66553
2015-07-01 22:23:10 +02:00
Gael Chamoulaud 71fccdf944 Add EL7 Support, Fix unit and integration tests
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
2015-06-30 16:29:26 -04:00
David Gurtner 16a160a8ff Update CI boxes to latest versions
For some of the boxes a new version has come out, for others there
was an upgrade in the minor release.

Change-Id: I1ff13eefdaa6676536b9ac38c15beba9849c3751
2015-02-28 11:18:06 +00:00
Jenkins 3e32c0e171 Merge "Adding base infrastructure for beaker CI tests" 2015-02-17 23:06:51 +00:00
David Gurtner 89910f19ce Update CI boxes
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
2015-02-17 16:32:56 +01:00
David Gurtner e998f5dd28 Adding base infrastructure for beaker CI tests
Change-Id: Iad5984bd9eab24d2ff589fd6d70b3ed46bab56ec
2015-02-03 23:47:47 +01:00
Jenkins 62cd20af9b Merge "Bump default version to giant, test against giant and drop emperor" 2015-02-03 00:22:31 +00:00
David Moreau Simard e147439ecd Bump default version to giant, test against giant and drop emperor
- 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
2015-02-02 10:45:12 -05:00
David Gurtner b7f9a6b6cf fix the example script for gerritexec
There were some missing semicolons in the example script for
gerritexec. Without those the script variable would contain invalid
syntax.

Change-Id: I984100adb1710d41b24b1190fd2e6bb92b8f95f6
2015-01-31 01:11:45 +01:00
David Gurtner 4db0825273 Rewrite the usecases to actually working scenarios
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
2014-12-20 14:12:59 +01:00
Jenkins 02cab06c16 Merge "Implements : emphasize integration tests in README.md" 2014-07-12 07:21:21 +00:00
Baillagou Florian 8d1e123694 Implements : emphasize integration tests in README.md
Closes-Bug: #1326247
Change-Id: Ibd296ab0b4c50d8ab42d427bd711df9235c4b4f4
2014-07-11 15:21:47 +02:00
David Gurtner d8135bf957 Added fenced code blocks into README.md
Closes-bug: #1327784
Change-Id: I14236eb03a7788b55f1c9abbf89b8050e7d5e72b
2014-07-11 15:17:14 +02:00
Jenkins 32288590b1 Merge "Preparation for scenario_node_terminus tests" 2014-06-04 02:33:23 +00:00
Loic Dachary 8ca2b452a5 obsolete cuttlefish and add firefly
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>
2014-05-31 11:20:44 +02:00
David Gurtner 145990f2a8 Support single node CS tests on CentOS 6.4
Change-Id: I005468c86cae2817c6113268946a0a99ddd3111a
2014-05-30 18:02:01 +02:00
David Gurtner 2969db6436 Preparation for scenario_node_terminus tests
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
2014-05-30 00:18:49 +02:00
David Gurtner 3bd524541f Create rspec-system tests for RedHat family
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
2014-05-26 01:08:47 +02:00
Loic Dachary e452e22c7a ENV['MACHINES'] overrides [first second]
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>
2014-04-24 22:52:07 +02:00
Loic Dachary 2d23f3aab3 ENV['RELEASES'] overrides the [cuttlefish dumpling emperor]
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>
2014-04-21 17:51:07 +02:00
Loic Dachary 6b499de115 add gerritexec example in README
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>
2014-03-18 15:30:17 +00:00
Loic Dachary 17ce646164 remove rspec-system dependencies from Gemfile
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>
2014-03-11 08:54:54 +01:00
Simon Pruvost 90e13f66d6 Added the content of the ceph Blueprint in the USECASES.md and linked it in the README.md
Change-Id: I260246b9f50ea9afca02711bdba658f0a590c4b5
Implements: I want to run benchmarks on three new machines
Closes-Bug: #1243332
2014-02-06 16:31:14 +01:00
Romain Salot 0738769cd3 Add use case to USECASES.md
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>
2014-01-09 21:37:31 +01:00
Loic Dachary 66d91a3d19 ceph::mon create or destroy monitors
* 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>
2013-12-18 22:18:31 +01:00
Loic Dachary 0465e38326 README.md: fix typo in link to USECASES.md
Change-Id: Ie6cedce40e96a023dd8591cbd136bbc75319166c
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-12-17 00:36:06 +01:00
Anthony Leprêtre c8d7470b25 Adds use case to USECASES.md
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
2013-12-09 18:14:02 +01:00
Anthony Leprêtre ce74ba9910 Update "README.md" and "USECASES.md" (I want to operate a production cluster)
Change-Id: I295132cde84f2b6d53d29690204b522bf229d4dc
2013-12-05 13:35:50 +01:00
Rongze Zhu 582ba496ff Add more dashes to match title line length
Change-Id: I7b54980a001f03884e2f513ee50e45a64341e552
2013-11-19 00:12:02 +08:00
Rongze Zhu 28642f9cdc Fix error link
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
2013-11-18 23:42:39 +08:00