241 Commits

Author SHA1 Message Date
Jenkins
f74a4a6df7 Merge "Add support for replacing a failed OSD drive" 2016-03-21 15:15:32 +00:00
Jenkins
a4ca8124e2 Merge "add juju availability zone to ceph osd location when present" 2016-03-21 15:13:33 +00:00
Chris MacNaughton
c94e0b4b0e add juju availability zone to ceph osd location when present
The approach here is to use the availability zone as an imaginary rack.
All hosts that are in the same AZ will be in the same imaginary rack.
From Ceph's perspective this doesn't matter as it's just a bucket after all.
This will give users the ability to further customize their ceph deployment.

Change-Id: Ie25ac1b001db558d6a40fe3eaca014e8f4174241
2016-03-18 09:09:06 -04:00
Chris Holcombe
a8790f2303 Add support for replacing a failed OSD drive
This patch adds an action to replace a hard drive for an particular
osd server.  The user executing the action will give the OSD number
and also the device name of the replacement drive.  The rest is
taken care of by the action. The action will attempt to go through
all the osd removal steps for the failed drive.  It will force
unmount the drive and if that fails it will lazy unmount the drive.
This force and then lazy pattern comes from experience with dead
hard drives not behaving nicely with umount.

Change-Id: I914cd484280ac3f9b9f1fad8b35ee53e92438a0a
2016-03-17 08:41:15 -07:00
Ryan Beisner
0cb5cd7f6d Update amulet test to include a non-existent osd-devices value
The osd-devices charm config option is a whitelist, and the
charm needs to gracefully handle items in that whitelist which
may not exist.

Change-Id: Iea212ef0e0987767e0e666ee2e30a59d4bef189a
2016-03-16 17:58:39 +00:00
Billy Olsen
5eb7fb5b65 Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: I7216b8338ca3f548b6b373821d2bf9a4dca37286
2016-03-15 20:12:08 -07:00
Jenkins
2014a12c2b Merge "support Ceph's --dmcrypt flag for OSD preparation" 2016-03-04 16:10:21 +00:00
Chris MacNaughton
130a309a15 support Ceph's --dmcrypt flag for OSD preparation
Tests now verify that ceph osds are running to ensure
they pass in either order

Change-Id: Ia543f4b085d4e97976ba08db508761f8dde97c42
2016-03-03 17:03:30 -05:00
James Page
d938364366 Resync charm-helpers
Change-Id: Ibbfcc6d2f0086ee9baf347ccfdf0344ed9c0fb82
2016-03-02 12:06:15 +00:00
uoscibot
3d885c2543 Adapt imports and metadata for github move 2016-02-29 10:45:55 +00:00
James Page
2585d6f872 Add support for multiple l3 networks. 2016-02-25 15:48:22 +00:00
James Page
9fffe0d990 Add gitreview prior to migration to openstack 2016-02-24 21:53:28 +00:00
James Page
16454a8967 Fix amulet tests for recent nova-compute changes. 2016-02-23 09:51:08 +00:00
Edward Hope-Morley
72a8deb4a6 fix amulet 2016-02-22 15:21:12 -05:00
Liam Young
12ec3ee899 [james-page, r=gnuoy] Add configuration option for toggling use of direct io for OSD journals 2016-02-22 09:25:29 +00:00
Edward Hope-Morley
384d3c80d5 remove unused function 2016-02-18 17:10:53 +00:00
Edward Hope-Morley
3f59f4fc7f post-review fixes 2016-02-18 11:39:47 +00:00
James Page
d0c6e72f6d Update amulet test definitions; Wait for workload status before testing. 2016-02-17 11:25:47 +00:00
James Page
f4888692eb Tidy tox targets 2016-02-16 06:59:45 +00:00
Ryan Beisner
a8d160208d Update amulet test definitions; Wait for workload status before testing. 2016-02-12 21:23:26 +00:00
James Page
391a2001bb Resolve symlinks in get_devices(). 2016-02-12 12:25:39 +00:00
Edward Hope-Morley
408b1c7a4e [hopem,r=]
Support multiple l3 segments.
Closes-Bug: 1523871
2016-02-10 15:21:47 +00:00
Bjorn Tillenius
be11fb6dbd Lint. 2016-02-02 19:02:58 +02:00
Bjorn Tillenius
fdc6ec1a34 Resolve symlinks in get_devices(). 2016-02-02 16:54:17 +02:00
James Page
c481c88eec Rebase 2016-01-30 15:45:55 +01:00
James Page
960ae19acf Add support for multiple journals 2016-01-29 10:47:17 +01:00
James Page
e42a99d1c6 Rebase, fixup lint 2016-01-29 08:31:13 +01:00
Corey Bryant
4b3cba9646 [beisner, r=corey.bryant] Sync charm-helpers and enable amulet tests 018 and 020 2016-01-25 09:14:48 -05:00
Ryan Beisner
9383c4d513 enable liberty amulet test targets 2016-01-22 22:32:15 +00:00
Ryan Beisner
e8d7bc59fe sync charmhelpers for mitaka cloud archive support 2016-01-22 22:29:34 +00:00
Peter Sabaini
a37fe08143 Make writing the zapfile safer 2016-01-22 16:57:11 +01:00
James Page
f738fb038f Fix liberty/mitaka typo from previous test definition update batch. 2016-01-19 14:32:44 +00:00
Ryan Beisner
aa010942ba Fix typo in mitaka amulet test definition 2016-01-19 12:47:41 +00:00
James Page
19b2ecfc86 Add configuration option for toggling use of direct io for OSD journals 2016-01-18 16:42:36 +00:00
Edward Hope-Morley
7919f8f9dd [hopem,r=]
Add loglevel config option.
Closes-Bug: 1520236
2016-01-18 10:17:06 +00:00
Corey Bryant
3cc60d9923 [chris.macnaughton, r=cholcombe] Add support for Ceph Infernalis release 2016-01-14 15:15:32 +00:00
Edward Hope-Morley
d6aeb13ce3 [hopem,r=]
Add loglevel config option.
Closes-Bug: 1520236
2016-01-13 14:48:57 +02:00
Chris MacNaughton
46fb69d94d add support for infernalis 2016-01-12 09:16:54 -05:00
Liam Young
43b561fe97 Update test combo definitions, remove Vivid deprecated release tests, update bundletester testplan yaml, update tests README. 2016-01-12 07:41:57 +00:00
Ryan Beisner
fa9fb6b829 Update bundletester testplan yaml file 2016-01-08 21:45:48 +00:00
Ryan Beisner
0726c3e6ef Update tests/README 2016-01-08 21:45:34 +00:00
Ryan Beisner
32a72fa4bf Re-number amulet test file names; add missing combos as not-executable for now. 2016-01-08 21:45:10 +00:00
Ryan Beisner
515fb688ce Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:44:50 +00:00
Ryan Beisner
b343323092 remove amulet tests for unsupported releases 2016-01-08 21:44:25 +00:00
Peter Sabaini
954c43e80f * Handle multiple journals
* Select least-used journal disk instead of blind RR

* Add safeguard for OSD journals

* Avoid zapping journals repeatedly, add check for journal partition type

* Check that journal devices don't overlap with data devices
2015-12-21 11:59:34 +01:00
James Page
204cf03269 Update maintainer 2015-11-18 10:30:34 +00:00
Corey Bryant
af6fb6620f [james-pages,r=corey.bryant] Add tox support for lint and unit tests. 2015-11-02 21:37:33 +00:00
James Page
71b77dca86 resync requirements with openstack upstream 2015-10-30 15:05:27 +09:00
James Page
ab2c851e5c Make things alot simpler 2015-10-30 12:37:15 +09:00
James Page
ab8a2f4aed Drop testrepository from bzr 2015-10-30 11:23:36 +09:00