44 Commits

Author SHA1 Message Date
Ryan Beisner
8f83824e2b Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I57ebccde4c04b1b6b312f152ea778f8ad820b196
2018-10-04 16:38:20 -07:00
Doug Hellmann
4c77d1e082 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Id0fbfafd412f7428b84e620a9a0254db6dc4d1c6
Story: #2002586
Task: #24317
2018-09-11 13:06:56 -04:00
Ryan Beisner
f22273eff1 Update functional test definitions
Use ceph-mds@.service systemd configuration

Use the upstream provided ceph-mds@ service systemd configuration
in favour of the now removed ceph-mds service - this integrates
with ceph-mds.target and is the preferred way to manage the
daemon.

Change-Id: I33b8a9c9fe1ab2f065897a5d4d3beb9dae249c57
2018-09-05 06:06:51 +01:00
Zuul
f780863ca0 Merge "Rebuild for sync charm-helpers to ensure rocky support" 2018-07-19 21:28:34 +00:00
Chris MacNaughton
8ba9d20211 Rebuild for sync charm-helpers to ensure rocky support
Change-Id: I9e6aa27afb6c04130b4e7d3dcea86c40b5268f89
2018-07-19 14:33:53 +02:00
Ryan Beisner
cd6a3f789c Update functional test definitions
Change-Id: Ie7cdce3c9bb29381e3f754dff84bc7645d3273aa
2018-07-18 18:34:33 -04:00
Ryan Beisner
f214abacdf Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I6da2c6327a7916a55f8f6b848f7c2a0db3741ae4
2018-07-11 14:03:10 -05:00
Chris MacNaughton
d24b04241a Update tests to use Juju storage
Due to changes to the ceph-osd charm, it is
suggested to use Juju storage for testing.

Change-Id: I844030005f7a470a286039d58580fa1701144a8b
Related-Bug: #1698154
2018-06-05 08:12:09 +02:00
David Ames
f8742ebe57 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: Iaddaede55c19231dc23941015c3d8dd7347d583e
2018-05-11 14:44:20 -07:00
Ryan Beisner
2193cbd10a Update tox.ini to stop using unverified package
As of pip 10.0, --allow-unverified is not permitted.

Use of the flag in this repo was previously used to force
installation of python-apt to accommodate certain unit tests.

The unverified package, python-apt, is no longer necessary
for test execution.

Related-Bug: #1760720

Change-Id: I4907223e5a63226d8945de8b2d4f1e0dd11a6528
2018-04-03 16:28:47 +00:00
Chris MacNaughton
33ae66bc52 Add xenial Queens amulet tests to gate
Change-Id: I22e2a936d85796637eb13864951e76ee110b82e0
2018-02-23 08:16:30 +01:00
Ryan Beisner
386609289a Rebuild for sync charm-helpers
Change-Id: Ifcb52bbf47bf5248bd93ceb4504bf0d93a8b28a2
2018-02-21 14:02:29 -06:00
David Ames
48491feea1 Rebuild for sync charm-helpers
Change-Id: I50350c722959333fd25e355afde747d5bf615cac
2018-01-19 10:18:39 -08:00
David Ames
0918cd453d Make xenial-pike the default smoke test
Change-Id: Ib6a8db01d826ea604477cfa0963a4bd56aea198a
2017-12-11 09:54:25 -08:00
Ryan Beisner
6b4551868a Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: Id066e4444b5eec17229f1731ccfb725a423b1e13
2017-12-05 05:27:04 +00:00
Ryan Beisner
1b61475baf Update amulet test definitions
Change-Id: Iaf46e2339e8d6afda6524b3fdeae6c0af780c0c2
2017-10-18 01:31:45 +00:00
Ryan Beisner
f0b681f94c Update requirements for git charmhelpers
Change-Id: Ia72ee80797e8b1c4f62ca089a46462b34e34f4db
2017-10-03 04:33:51 +00:00
Ryan Beisner
3cb7f1791d Add Artful dev series metadata
Change-Id: I136250a5987f42c86f858389aa426d4635545992
2017-09-27 20:27:41 +00:00
Chris MacNaughton
502e84f7fd Remove keyring from expected ceph.conf
The global keyring was removed from ceph-mon configuration
to better support colocating ceph-mon and ceph-osd.

Change-Id: Ic1ce5f7fa4f0ba7f36b96b3204634b010d1346d3
Closes-Bug: #1719869
2017-09-27 08:41:38 -04:00
Ryan Beisner
5408137dd4 Remove deprecated series metadata and tests
Change-Id: I96b2e848babc60a7930966152d5d2585ee1c238f
2017-08-23 09:51:29 -05:00
Jenkins
31cc1d1f3a Merge "Modify tests.yaml which specifies bundletester config params with the following key:value pairs:" 2017-08-15 14:22:48 +00:00
Jenkins
bab15c5e1a Merge "Remove reference to old config yaml" 2017-08-10 06:16:43 +00:00
Andrew McLeod
0a9f9b8912 Modify tests.yaml which specifies bundletester config params
with the following key:value pairs:

- reset_timeout: 600

Change-Id: I418febadc043abf21995916bb9ce26dfc3c9d32e
2017-08-09 14:23:15 -06:00
Ryan Beisner
e4970ab0c4 Update charm icon
Change-Id: I12de6b87c7b2a89d63f022834a52ff2da0b2899d
Closes-bug: #1686739
2017-07-31 13:48:41 -05:00
Ryan Beisner
7ef9a87a79 Remove reference to old config yaml
Closes-Bug: #1707701

Change-Id: Idcf84a118302f495ca2b148719a412d3c093164e
2017-07-31 13:44:57 -05:00
David Ames
a143ce2f51 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Icecfbedb4d567a10ef48ec095442204cc3de35de
2017-05-03 10:03:18 -07:00
Jenkins
1c4609a01f Merge "Force a rebuild after interface-ceph-mds change." 2017-03-21 17:32:59 +00:00
Jenkins
c399d48cd7 Merge "Enable Ocata Amulet Tests" 2017-03-21 17:09:49 +00:00
Jorge Niedbalski
21d6b04a01 Force a rebuild after interface-ceph-mds change.
Force a charm rebuild after fixing
LP: #1659645.

Closes-Bug: #1659645

Change-Id: Id38734bc1a18d03711d02d8e47e4aeefd6e828ee
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
2017-03-21 13:04:27 -03:00
David Ames
aad2a20e77 Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.

Change-Id: I6f59db20a955a00fb3497095de683f93680537ec
2017-03-20 13:59:20 +00:00
Jorge Niedbalski
73e6e31a89 Force a charmhelpers sync to 0.14.0.
This is a partial fix required for fixing
LP: #1671861, this change is intended to
retrigger the build using the latest charmhelpers
release available at https://pypi.python.org/pypi/charmhelpers/0.14.0
that includes the changes introduced on the public bug.

Change-Id: Icf36ff6efe60313c305f292c9a7dadaf079eb8ae
Closes-Bug: #1671861
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com>
2017-03-16 17:16:01 -03:00
Chris MacNaughton
b5064bd226 Remove ceph-base layer
This migrates the required functionality from the
Ceph base layer into this one to remove the
requirement on ceph-base

Change-Id: I136aeeb24a5dddadf4c9306ffe324653ed5b1a66
2017-02-21 16:52:12 -05:00
James Page
074e02ab94 General tidy of charm ready for release
Switch functional tests to use cephx; Tests should really
align to default configuration, which is to have cephx
enabled for a deployment.

Updated README to be a little simpler, and default to
Xenial rather than Trusty.

Added proper Ceph icon.

Drop layer dependency on ceph-base - it brings in loads
of stuff we don't need.

Tidy config.yaml to drop duplicate ceph-public-network.

Depends-On: Ied8d5306ab77b8e68efd0a8e5df4087a067f0367
Change-Id: I4ab5438db93ae613e9232ca42df1c23614e212e6
2017-02-13 09:39:35 +00:00
Chris Holcombe
2353ff93ff Public Network Support
Add public network support to CephFS.  This patch also
adds in support for ipv6 and juju network spaces.

Closes-Bug: 1659338
Change-Id: Ibfb6377f5831f26da302308818c093c9d7e715dc
2017-02-09 12:11:04 +00:00
Ryan Beisner
caff36e33d Add .gitreview and clean up repo
Several updates to make this consistent with other OpenStack
charms repos, and to enable Gerrit + OSCI test gates.

- Update .gitignore.

- Add .gitreview for gerrit.

- Add copyright file, and copyright headers.

- Add tox.ini and src/tox.ini

- Add tests README

- Fix layer.yaml

- Add unit tests.

- Add amulet tests.

- fixed lint.

See running bug/TODO list:

- https://bugs.launchpad.net/charm-ceph-fs

Change-Id: Iaec5f25706387f9b59b36e307e954318b23c9417
Depends-On: I3f78a5a3231377f5542b81cec27dd4531144cfd1
Closes-Bug: 1640895
Closes-Bug: 1640896
Closes-Bug: 1640898
Closes-Bug: 1640900
Closes-Bug: 1640902
Closes-Bug: 1653767
2017-01-06 08:29:43 -08:00
Chris Holcombe
746780d0ea Add actions to set,get and remove quotas 2016-10-26 15:59:52 -07:00
Chris Holcombe
1829282205 Add relation param to setup_mds 2016-10-21 10:47:14 -07:00
Chris Holcombe
2253a11710 WIP to use ceph_broker 2016-10-06 15:57:53 -07:00
Chris Holcombe
a5f3a99399 Add status update messages 2016-09-20 10:05:54 -07:00
Chris Holcombe
8dd4240847 Use socket.gethostname instead of letters for mds names 2016-09-20 09:41:01 -07:00
Chris Holcombe
e2d4555e49 Service crashes with wrong mds name but everything else works 2016-09-19 15:28:16 -07:00
Chris MacNaughton
3ffc850f34
nearly complete 2016-09-15 09:33:40 -07:00
Chris Holcombe
55093d7e4b Add ceph_api 2016-08-03 09:15:07 -07:00
Chris MacNaughton
0fe84902e4 initial commit 2016-06-30 13:06:08 -04:00