Commit Graph

85 Commits

Author SHA1 Message Date
Zuul 0a03288a72 Merge "Add nagios check for radosgw-admin sync status" 2024-01-10 07:40:46 +00:00
Danny Cocks 8d7c1060aa Add nagios check for radosgw-admin sync status
This duplicates the check performed for ceph status and specialises it for
radosgw-admin sync status instead.

The config options available are:
- nagios_rgw_zones: this is which zones are expected to be connected
- nagios_rgw_additional_checks: this is equivalent to nagios_additional_checks
and allows for a configurable set of strings to grep for as critical alerts.

Change-Id: Ideb35587693feaf1cc0736e981005332e91ca861
2024-01-10 10:42:24 +11:00
Luciano Lo Giudice 03868b2c9f Revert default source to 'bobcat'
The Openstack libs don't recognize Ceph releases when specifying
the charm source. Instead, we have to use an Openstack release.
Since it was set to quincy, reset it to bobcat.

Closes-Bug: #2026651
Change-Id: Ibac09d2bf77eeba69789434eaa6112c2028fbf64
2023-12-15 17:45:31 -03:00
Samuel Walladge ffe81367e1 Add config option for rbd_stats_pools
This allows configuration RBD IO statistics collection for RBD pools.

Co-authored-by: Yoshi Kadokawa <yoshi.kadokawa@canonical.com>

Closes-Bug: #2042405

Related-Bug: #1989648
Change-Id: I2252163533a312f0f53165f946711ab20bb0e3c9
2023-11-13 00:35:37 +00:00
Peter Sabaini ab84214805 Set consistent source
Avoid the unintuitive situation where users are deploying from
channel=quincy but get an older ceph due to deploying series=focal by
explicitly setting source=quincy which is what most users want anyway;
those that do not can still explicitly set source.

Change-Id: I9428e93ba6107ba5e2ebcc667995b3d88eb03d27
2023-07-10 09:36:25 +02:00
Peter Sabaini 357421f391 Testing: use mysql and rabbitmq from LTS
For better stability use LTS series for rabbitmq and mysql when
testing instead of interim releases.

Also remove xena (non-lts) from tests and yoga as a source default

Change-Id: Ie443c55dc4cc1b7f63eacfee79b28f210f1277e4
2023-05-22 08:58:38 +02:00
Chi Wai, Chan 845111311b Make check_ceph_status.py a bit more "noisy" by default.
Closes-Bug: #1989154
Change-Id: Ie0d73f14698e4f3ba4e7231920a622f587b4330f
2022-10-05 15:01:09 +08:00
Billy Olsen d72e8db254 Updates for jammy enablement
- charmcraft: build-on 20.04 -> run-on 20.04/22.04 [*archs]
- Refresh tox targets
- Drop impish bundles and OSCI testing
- Add jammy metadata
- Default source is yoga
- Resync charmhelpers and charms.ceph

Change-Id: Ib62d7f882f22146419dfe920045b73452f9af2cb
2022-04-07 14:16:20 +01:00
Chris MacNaughton c07fb2dc6a Remove functionality for auth-supported
Closes-Bug: #1841445
Change-Id: I394d025ff5c0b4a73c6683d67b0949484a5924a1
2022-03-22 11:30:32 +01:00
Luciano Lo Giudice 691605e6fc Add balancer module support for 'upmap'
This allows the user to change the configuration parameter
'balancer-mode' via Juju in order to set the balancer mode for Ceph.

Change-Id: I60dbd5f163e0c9d004275eff65db7ada41ad2660
Closes-Bug: #1888914
2021-10-04 11:53:21 -03:00
Cornellius Metto 320ddae827 Add configuration options for disk usage alerting thresholds
The ceph cluster degrades to HEALTH_{WARN|CRIT} when the following
default thresholds are breached:

mon data avail warn = 30
mon data avail crit = 5

- These thresholds can be conservative. It might be desirable
  to change them.
- A specific common scenario is when ceph-mon units are run in lxd
  containers which report the disk usage of the underlying host. The
  underlying host may have its own monitoring and its own
  thresholds which can lead to duplicate or conflicting alerts.


Closes-Bug: #1890777
Change-Id: I13e35be71697b98b19260970bcf9812a43ef9369
2021-05-12 17:25:50 +03:00
Liam Young d875568ad7 Support ceph client over CMRs
Support ceph client over CMRs of and only if permit-insecure-cmr
config option has been set to true, otherwise go into a blocked
state.

To support CMR clients try and get client service name from relation
data first before falling back to using the remote unit name. Using
the remote unit name fails when the clients are connecting via a
cross-model relation.

The clients side change is here: https://github.com/juju/charm-helpers/pull/481

Change-Id: If9616170b8af9eac309dc6e8edd670fb5cfd8e0f
Closes-Bug: #1780712
2020-10-01 12:27:01 +00:00
Peter Matulis 258d00f9bf Improve README
This improvement is part of a wave of polish
in preparation for the launch of the Ceph product.

In config.yaml, modernise example values for 'source'
and use consistent words with the ceph-osd, ceph-mon,
and ceph-fs charms. Also improve description for
'expected-osd-count'.

Change-Id: Ieaf3b9c2700bcf72ebb34b159cf5c9b761b1514d
2020-07-13 12:39:55 -04:00
James Page 15e158f6eb Revert "Remove explicit fsid charm config option"
Revert the removal of the fsid charm configuration option.

This is required for the in-place migration of an existing Ceph
deployment into a Charm managed deployment.

This reverts commit 54c3f21221.

Change-Id: I260b3eef85465293cc7ec554913dc66d9a4b7ee4
Closes-Bug: 1846337
2019-10-25 12:39:32 +01:00
Chris MacNaughton a3dfd8041b Enable pg_autoscaler for new Nautilus installations
This change also allows an admin to enable it for existing
installations that are upgraded to Nautilus via a config
option.

This change also enabled bionic-train to allow testing with
Ceph Nautilus.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/52
Depends-On: https://github.com/juju/charm-helpers/pull/343
Change-Id: Ic532204aa1576cdbeb47de7410f421aa9e4bac42
2019-09-12 10:18:40 +02:00
Marian Gasparovic caa1cd8d6a Creates nrpe check for number of OSDs
Alert is triggered when number of known OSDs in osdmap is different
than number of "in" or "up" OSDs.

Change-Id: Id3d43f0146452d0bbd73e1ce98616a994eaee090
Partial-Bug: 1735579
2019-05-03 10:02:31 +02:00
Marian Gasparovic 8e4fe57295 Creates aditional nrpe checks which parse warning/error messages
When Ceph is in a warning state for reason1 and in the meantime
new reason2 appears, operator is not alerted and also cannot mute
alarms selectively (as described in bug #1735579)
This patch alllows to specify a dictionary of 'name':'regex' where
'name' will become ceph-$name check in nrpe and $regex will be
searched for in warning/error messages. It is specified via
charm nagios_additional_checks parameter.
There is also nagios_additional_checks_critical parameter which
specifies if those checks are reported as warning or error.

Change-Id: I73a7c15db88793bb78841d8395535c97ca2af872
Partial-Bug: 1735579
2019-04-02 12:05:22 +02:00
Frode Nordahl e899641dae Enable image features when ``rbd-mirror`` relation present
The RBD Mirroring feature requires ``journaling`` and
``exclusive-lock`` image features to be enabled.

Set the appropriate value so new images get these features
automatically.

Change-Id: Ie36c23b27fb7238814993756cb1d72e86309ab02
2019-03-04 11:14:50 +01:00
xuleibj 2bf225f5f7 Remove words occured twice times.
There are two 'the' in the warning text,it is necessary to remove one of them.

Change-Id: If61a95c88d8542c99c0373be5f4555e322803408
2018-12-19 19:21:56 +08:00
Marian Gasparovic 35c8e40e83 Don't return Critical when ceph is in warning state.
Current implementation returns Critical when Ceph is in warning
state, checking for some known exceptions which are considered
operational tasks. However this causes many Alarms.
This patch changes the behavior to report Warning when Ceph is
in HEALTH_WARN. If known operational tasks are exceeding
thresholds, Critical is returned.

Change-Id: I7a330189da8f0ba9168cedb534823c5e8f4795ba
2018-11-21 16:49:14 +01:00
Shane Peters 7a362ff0a5 Add disable-pg-max-object-skew option
Openstack clouds that use ceph will typically start their life with
at least one pool (glance) loaded with a disproportionately high
amount of data/objects where other pools may remain empty. This can
trigger a HEALTH_WARN if mon_pg_warn_max_object_skew is exceeded
but that is actually a false positive.

Change-Id: I5a535dbb17db2149630d971d85ac311f14298b09
Closes-Bug: 1720374
2018-11-16 07:36:01 +00:00
Ryan Beisner 54c3f21221 Remove explicit fsid charm config option
The charm has had the capability to automatically handle fsid
in deployments for several cycles.

Explicitly setting the fsid can lead to unpredictable behavior
when data from previous deployments remains on block devices,
and when the fsid is explicitly static across those separate
deployments.  ex. Ceph would see the fsid match and attempt to
use the block device from a previous deployment as-is and
unsuccessfully.

This primarily affects legacy development and CI environments,
which may be in place from a time before the charm autoatically
handled fsids.  The recommendation is for both test and production
deployments to defer fsid generation to the charm.

Change-Id: I0b87576810faa08a81dc2d559ef925ea02f58db0
Partial-bug: #1698154
2018-06-05 09:07:03 -07:00
Xav Paice e93c4a903a Update ceph nagios plugin
Changes ceph plugin so it ignores ceph rebalancing unless there is a
large percentage of misplaced/degraded objects (return warning for
that).

Adds config options to tweak that monitoring, and also just warn if
nodeep-scrub was deliberately set.

Includes some basic unit tests.

Change-Id: I317448cd769597068a706d3944d9d5419e0445c1
2017-11-07 13:34:27 +13:00
Billy Olsen e7964d40c8 Add ceph-bootstrap relation for ceph charm migration
This commit adds the no-bootstrap config option and a new relation
for sharing existing monitor information with the ceph-mon charm
(e.g. the fsid and monitor-secret).

Change-Id: Iced246b79572142df5608bf731b6b2759ea81fd0
Implements-Blueprint: charm-ceph-migration
2017-10-02 21:11:16 -07:00
Frode Nordahl 79e7fccf08 Cleanup config.yaml
Change-Id: Iac96aa23468eb5fd860e7ad92975f506d1b805a4
2017-07-16 18:21:47 +02:00
Chris MacNaughton f1b925aa59 add default features support
Change-Id: I0f0491180561aa75c43aac4a64acc9170622a6e6
2017-07-13 08:59:51 +02:00
Jenkins 20d9a606a0 Merge "Change mon-host config to monitor-hosts for consistency" 2017-05-22 15:11:54 +00:00
Sandor Zeestraten 73e52a50f6 Update docs for no-longer mandatory config options
Specifying the `fsid` and `monitor-secret` config options are no longer
mandatory when deploying ceph-mon as of [1].

This updates the readme and config option descriptions to reflect this.

[1]: https://github.com/openstack/charm-ceph-mon/commit/ce4fe7a0

Change-Id: I0d2e0be05ff5845e3c287e131a553810faecb038
Closes-Bug: 1661737
2017-04-09 12:21:04 +02:00
Billy Olsen 064d436855 Change mon-host config to monitor-hosts for consistency
The ceph-proxy charm and this charm both allow the specification
of monitor hosts for different purposes. This change brings the
ceph-mon charm in agreement with the ceph-proxy charm regarding
what the name of the config option should be.

Change-Id: I0defbbdf09710109bd7edf25987e3aef266117ac
2017-03-31 10:53:29 -07:00
Chris Holcombe 03cf585d2f Import Existing Clusters
Adding a config.yaml variable to allow existing ceph
monitor clusters to be imported. This patch will use
the config variable first and the get_mon_hosts function
second in order to determine which mons are in the cluster.

Change-Id: Ia06c509edb18615a9582f0184b03196a04ce9a0f
2017-03-29 08:24:40 -07:00
James Page e69a771922 Revert "Add AppArmor profile"
ceph-mon is typically deployed under LXC or LXD, where apparmor is
not supported; revert addition of apparmor profile feature as its
currently breaking MAAS+LXD deployments.

This reverts commit d337fdbfd0.
This reverts commit cf0f18d59a.

Change-Id: I94b7c7f5dc0245d273394aeb352731f7bffb1c91
2016-07-18 16:23:32 +01:00
Billy Olsen a76fda632f Add weight to ceph broker for pool creation
Adds a weight parameter to the Ceph Broker API in order to allow the
proper number of placement groups to be calculated based upon the
relative amount of data that a pool will consume from the Ceph storage
cluster.

This commit adds two new config options:
 1. 'expected-osd-count', an integer, which allows users deploying a
    bundle in an all-in-one deployment to specify the number of OSDs
    that are expected in the configuration in order to prevent faulty
    calculations due to races (e.g. pool creation requested prior to
    having all of the OSDs join the Ceph cluster).
 2. 'pgs-per-osd', an integer, which allows users to tweak the number
    of placement groups per OSD based upon expected growth of the
    Ceph cluster itself.

Partial-Bug: #1492742

Change-Id: Ia67a8a9d62a20182d440490b084551d89b8292e9
Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2016-07-13 14:37:01 -07:00
Chris Holcombe cf0f18d59a AppArmor Profile
This change adds an app armor profile for ceph-mon.  It defaults
to complain mode.  This will log all apparmor failures but not
enforce them.

Change-Id: I8b98580cda84191dff46105f8ce01d4a7a7d414f
2016-07-05 13:21:45 -07:00
Edward Hope-Morley 7fdc5b52c5 Add support for user-provided ceph config
Adds a new config-flags option to the charm that
supports setting a dictionary of ceph configuration
settings that will be applied to ceph.conf.

This implementation supports config sections so that
settings can be applied to any section supported by
the ceph.conf template in the charm.

Includes some unit test code cleanup.

Closes-Bug: 1522375
Change-Id: I5fa0890d87425499dbd48af6f2bc1f196713a975
2016-07-03 16:17:23 +01:00
Jenkins a91fb89c69 Merge "Add support for availability zones to the crush map" 2016-04-01 17:43:03 +00:00
Chris MacNaughton aef61caa46 Add support for availability zones to the crush map
If the deployemnt environment supports it, and the user would like to,
we can use Juju's Availability Zone information to setup the Ceph
cluster to use Availability Zones as the failure domain instead of
the host.

Change-Id: I4566696750b388918761ded0ed5beb0bf82ff501
Depends-On: Ie25ac1b001db558d6a40fe3eaca014e8f4174241
2016-04-01 17:32:12 +00:00
Edward Hope-Morley eab3c4f160 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks. Also
add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: If3e20565b1917828cb9fa2cf00b93bd13c1db00f
2016-03-29 20:26:58 +01:00
Chris MacNaughton b497f4de1e Merge ceph charm into ceph-mon
Squashed commit of the following:

commit 9b832d9391f9fea2d1491d01da6101585930fc75
Merge: e2432c4 7b36210
Author: Chris MacNaughton <chmacnaughton@gmail.com>
Date:   Mon Mar 21 16:40:54 2016 -0400

    Merge branch 'master' of github.com:openstack/charm-ceph into charm-ceph-mon

    Change-Id: I42cfe6f1e5887627981f8ce4beff164803cc3957

commit 7b36210bac5bef3bacae2614995e123ef926453f
Author: Chris Holcombe <xfactor973@gmail.com>
Date:   Fri Mar 18 15:37:06 2016 -0700

    Add ceph-osd to ceph

    This change adds ceph-osd back into ceph for amulet testing.

    Change-Id: Ice4aaf7739e8c839189313d3f6175a834cf64219

commit e87e0b7bd22fe5ccae2aafcf6bd30f145405e01b
Author: Ryan Beisner <ryan.beisner@canonical.com>
Date:   Wed Mar 16 17:33:48 2016 +0000

    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: I5f9c6c1e4519fd671d6d36b415c9c8f763495dad

commit ffce15d52333de4063d04b808cfbca5d890fb996
Merge: fe8bf6e 9614896
Author: Jenkins <jenkins@review.openstack.org>
Date:   Wed Mar 16 17:45:25 2016 +0000

    Merge "Revert "Make 'blocked' status when node have no storage device""

commit 961489609d85851bd63c6825339a296bdf74e320
Author: Chris Holcombe <xfactor973@gmail.com>
Date:   Wed Mar 16 16:55:02 2016 +0000

    Revert "Make 'blocked' status when node have no storage device"

    This reverts commit fc04dd0fff33639b812627d04645134dd7d4d3de.

    Change-Id: I9efbf623fc9aa6096725a15e53df426739ac16ff

commit fe8bf6e4a5cb466a5efc6403c215e7aece2c6b9c
Author: Billy Olsen <billy.olsen@gmail.com>
Date:   Tue Mar 15 20:08:20 2016 -0700

    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: I99761d2fdf120bacff58d0aa5c2e584382c2e72b

commit fc04dd0fff33639b812627d04645134dd7d4d3de
Author: Seyeong Kim <seyeong.kim@canonical.com>
Date:   Fri Mar 11 06:07:52 2016 +0000

    Make 'blocked' status when node have no storage device

    Currently there is an msg for no storage status on
    ceph node. But it doesn't make this charm state
    'blocked'.

    is_storage_fine function has been created to check
    storage devices on ceph_hooks.py and using it on
    assess_status.

    Change-Id: I790fde0280060fa220ee83de2ad2319ac2c77230
    Closes-Bug: lp1424510

commit a7c5e85c408ab8446a18cc6761b1d0b292641ea7
Author: Ryan Beisner <ryan.beisner@canonical.com>
Date:   Fri Mar 4 14:36:38 2016 +0000

    Enable Xenial-Mitaka amulet test target.

    Change-Id: I0c386fc0c052cc1ac52c0a30f7a39fa914a61100

commit e80c5097c26ac4eb200a289daa272d5c7ac82539
Author: uoscibot <uosci-testing-bot@ubuntu.com>
Date:   Mon Feb 29 10:45:49 2016 +0000

    Adapt imports and metadata for github move

commit 391ed288fc763b69f0cd92459f236e7581a5f244
Merge: 78250bd 6228ea2
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Thu Feb 25 13:34:27 2016 -0500

    [hopem,r=]

    Support multiple l3 segments.
    Closes-Bug: 1523871

commit 6228ea2a8fa578c3c6b24b59f621e6e1026a7668
Merge: 6159390 78250bd
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Thu Feb 25 09:29:46 2016 -0500

    sync /next

commit 78250bd65c861adcb321f1c634def29fcfdaa8a9
Author: James Page <james.page@ubuntu.com>
Date:   Wed Feb 24 21:53:28 2016 +0000

    Add gitreview prior to migration to openstack

commit 61593905939359ba72768ccb8f1a450a571c1d24
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Wed Feb 24 15:56:20 2016 -0500

    only use fallback for get_public_addr() if networks not provided in config

commit 34841b0aea85b3d5693a5336dbf956a406414474
Merge: 08d1cbc 092368d
Author: James Page <james.page@ubuntu.com>
Date:   Wed Feb 24 14:22:20 2016 +0000

    Add actions to support configuration of erasure coded pools.

commit 092368d646d4e02b2d2ac08026b6cbf2c94a4042
Merge: de98010 08d1cbc
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Tue Feb 23 08:19:56 2016 -0800

    Merge upstream

commit 08d1cbcdc943493a556e0187d2b3e6fbe83b69e3
Merge: 2d4ff89 414e519
Author: James Page <james.page@ubuntu.com>
Date:   Tue Feb 23 09:49:50 2016 +0000

    Fix amulet tests for nova-compute changes.

commit 414e5195c939a99adcaf79e27eb057c07c7f4761
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Mon Feb 22 15:21:00 2016 -0500

    fix amulet

commit e99e991be21c6d98fc670bcafa30684c0ba4d5e0
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Mon Feb 22 12:56:00 2016 -0500

    fixup

commit de98010f6f8d81e63d47ac03d33aa40bd870c7ea
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Mon Feb 22 08:05:32 2016 -0800

    charmhelpers sync

commit 2d4ff89e4bba2e93e08a6dd00bc2367e90b708fe
Merge: f16e3fa f98627c
Author: Liam Young <liam.young@canonical.com>
Date:   Mon Feb 22 09:26:38 2016 +0000

    [james-page, r=gnuoy] Add configuration option for toggling use of direct io for OSD journals

commit f3803cb60d55154e35ac2294170b27fb348141b3
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Fri Feb 19 08:11:18 2016 -0800

    Change /usr/bin/python2.7 to /usr/bin/python

commit 612ba454c4263d9bfc672fe168a55c2f01599d70
Merge: c3d20a0 f16e3fa
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Thu Feb 18 17:16:55 2016 -0800

    Merge upstream and resolve conflicts with actions and actions.yaml

commit c3d20a0eb67918d11585851a7b5df55ce0290392
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Thu Feb 18 17:10:56 2016 -0800

    Fix up the niggles and provide feedback to the action user as to why something failed

commit ea5cc48ccbb5d6515703bd5c93c13b2147972cd1
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Thu Feb 18 17:42:05 2016 +0000

    more

commit f58dd864eac130a6bc20b46c1495d7fa34a54894
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Thu Feb 18 17:09:52 2016 +0000

    restore sanity

commit 32631ccde309040b92ba76ecc12b16bad953f486
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Thu Feb 18 11:40:09 2016 +0000

    post-review fixes

commit 7ada8f0de65d397648d041fae20ed21b3f38bd15
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Thu Feb 18 11:36:46 2016 +0000

    post-review fixes

commit f16e3fac5240133c1c7dfd406caacd21b364532a
Merge: a0ffb8b 7709b7d
Author: James Page <james.page@ubuntu.com>
Date:   Thu Feb 18 11:02:17 2016 +0000

    Add pause/resume cluster health actions

    Add actions to pause and resume cluster health monitoring within ceph for all osd devices.

    This will ensure that no rebalancing is done whilst maintenance actions are happening within the cluster.

commit a0ffb8bf97c9cf3c19d17090c96f2ea60c89da65
Merge: 65439ba 531b40d
Author: James Page <james.page@ubuntu.com>
Date:   Thu Feb 18 10:38:53 2016 +0000

    Wait for quorom and query the right unit remote_unit when not in radosgw context

commit 65439ba7dc3acf494c9a8d11e2cdd274d144b485
Merge: 5e77170 afd390b
Author: James Page <james.page@ubuntu.com>
Date:   Wed Feb 17 11:28:44 2016 +0000

    Update test target definitions;  Wait for unit status.

commit 531b40d9b2d216b467cca59d7649ab5bb4577b3d
Author: Liam Young <liam.young@canonical.com>
Date:   Wed Feb 17 10:15:37 2016 +0000

    Wait for quorom and query the right unit remote_unit when not in radosgw context

commit 5e77170f378be92a3e2e8de3c06dad158b4a14ca
Author: James Page <james.page@ubuntu.com>
Date:   Tue Feb 16 06:59:17 2016 +0000

    Tidy tox targets

commit 732d8e11cd5058e680a5982bce77648952c8532f
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Fri Feb 12 14:17:34 2016 -0800

    Used a list as an integer.  I meant to use the size of the list

commit afd390b3ed4212883a02ca971e5613246c3ae6a8
Author: Ryan Beisner <ryan.beisner@canonical.com>
Date:   Fri Feb 12 21:24:20 2016 +0000

    No need to not wait for nonexistent nrpe

commit 9721ce8006720d24b8e4133fbbb8a01d989a71c8
Author: Ryan Beisner <ryan.beisner@canonical.com>
Date:   Fri Feb 12 21:02:36 2016 +0000

    Disable Xenial test re: pending lp1537155

commit d12e2658f5b5e6c38b98ae986134f83df2e0a380
Author: Ryan Beisner <ryan.beisner@canonical.com>
Date:   Fri Feb 12 20:57:08 2016 +0000

    Update test target definitions;  Wait for unit status.

commit 7709b7d5385757fc6d8fe48fa7646efcdb77564a
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Feb 12 08:26:13 2016 -0500

    rename actions

commit 2c945523486227dd1c58a1c1a76a779d9c131a71
Merge: 5b5e6dc 27d5d4b
Author: James Page <james.page@ubuntu.com>
Date:   Fri Feb 12 12:34:20 2016 +0000

    Resolve symlinks in get_devices().

commit 7edce1dd489a4718a150f7f38ffd366855e49828
Author: Edward Hope-Morley <edward.hope-morley@canonical.com>
Date:   Wed Feb 10 15:20:52 2016 +0000

    [hopem,r=]

    Support multiple l3 segments.
    Closes-Bug: 1523871

commit 27d5d4b8bb0fd61a3910dad1bdf46adc2b476649
Author: Bjorn Tillenius <bjorn@canonical.com>
Date:   Tue Feb 2 19:01:53 2016 +0200

    Lint.

commit 6980d3a3418ba512e65a79a62b140b238d54a17b
Author: Bjorn Tillenius <bjorn@canonical.com>
Date:   Tue Feb 2 17:34:19 2016 +0200

    Resolve symlinks in get_devices().

commit f98627c1c163d702ae1142a6153801073d57280c
Merge: 4f0dc6d 5b5e6dc
Author: James Page <james.page@ubuntu.com>
Date:   Sat Jan 30 15:45:01 2016 +0100

    rebase

commit eaa365a180e8eda88e6ef9f1a6c975a0b780dee5
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Fri Jan 22 15:21:45 2016 -0800

    Clean up another lint error

commit 477cdc96fbe124509995a02c358c24c64451c9e4
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Fri Jan 22 15:04:27 2016 -0800

    Patching up the other unit tests to passing status

commit faa7b3ad95ebed02718ff58b3e3203b7d59be709
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 16:42:58 2016 -0500

    remove regex

commit 1e3b2f5dd409a02399735aa2aeb5e78d18ea2240
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 16:10:15 2016 -0500

    lint fix

commit 620209aeb47900430f039eb2e65bfe00db672e32
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 16:05:15 2016 -0500

    use search instead of match

commit 2f47939fa84c43c485042325a925d72797df6480
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 15:16:22 2016 -0500

    fix line length

commit f203a5bdfc12a2a99e3695840f16182e037f1df1
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 15:02:10 2016 -0500

    modify regex to not care about order

commit 706b272fc91d432921750b3af09689361f4b8bb9
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 14:16:46 2016 -0500

    try with sleeping

commit 66d6952a65ceb5c8858f262daf127f96ed03ea81
Merge: e446a77 5b5e6dc
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Fri Jan 22 10:46:50 2016 -0800

    Merge upstream and resolve conflicts

commit fc714c96f40bac9fb89108cd56962343472f63cf
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 11:10:34 2016 -0500

    fix variable name

commit 8cb53237c6588a00d86dcc0a564d18eb7cd751ae
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 10:47:26 2016 -0500

    update to use correct(?) commands

commit b762e9842ca335845fe3a442dfdde838e5246b3b
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 22 08:01:03 2016 -0500

    update tests.yaml

commit e446a7731cbe377f30c88bb99083745ba95caa4e
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Thu Jan 21 14:19:53 2016 -0800

    Clean up lint warnings.  Also added a few more mock unit tests

commit 32ff93e8d0166b2346c422cbb9cd53bc4f805256
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Thu Jan 21 09:38:47 2016 -0800

    Adding a unit test file for ceph_ops

commit 4f0dc6d8b76b8545453293b2c69e2d6a164db10e
Author: James Page <james.page@ubuntu.com>
Date:   Mon Jan 18 16:39:49 2016 +0000

    Add configuration option for toggling use of direct io for OSD journals

commit 1977cdbde1d0fa7ad57baa07d97f477143d54787
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Mon Jan 18 08:07:35 2016 -0800

    Add actions to lint.  Change actions.yaml to use enum and also change underscores to dashes.  Log action_fail in addition to exiting -1.  Merge v2 requests with v1 requests since this does not break backwards compatibility.  Add unit tests.  Modify tox.ini to include actions.  .

commit 3f0e16bcc483952e340fa89505011b7a115ff421
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 15 16:45:00 2016 -0500

    fix version

commit c665092be6f9d07f45a0b9baf2e0f128e4ecdc37
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Fri Jan 15 16:20:27 2016 -0500

    updating tests

commit 80de4d7256efbbc6c2ab7cdfcb1ab292668be607
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Thu Jan 14 13:19:10 2016 -0500

    update readme

commit 44365d58785e9ba63179d092b875c2029024aa8b
Author: Chris MacNaughton <chris.macnaughton@canonical.com>
Date:   Thu Jan 14 13:17:19 2016 -0500

    add pause/resume actions

    pause calls:
    `ceph osd set noout
    ceoh osd set nodown`

    resume calls:
    `ceph osd unset noout
    ceph osd unset nodown`

commit bdd4e69e801e2178532e31216efe7e815b06f864
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Tue Dec 15 04:54:21 2015 -0800

    Missed a few typos

commit 0158586bde1a1f878c0a046a97510b8b90a95ce9
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Tue Dec 15 04:41:22 2015 -0800

    lint errors

commit 92ad78733279112bbba8e12d3fb19809ab9d0ff7
Author: Chris Holcombe <chris.holcombe@canonical.com>
Date:   Mon Dec 14 17:44:22 2015 -0800

    Actions are working and lightly tested.  Need to create a more robust, automated test setup

Change-Id: Ia18b19961dab66bb6c19ef7e9c421b2fec60fcc7
2016-03-24 14:31:49 -04:00
Edward Hope-Morley db07108c6b update config.yaml 2016-02-24 15:59:01 -05:00
Chris MacNaughton 90e9865a97 remove osd stuff 2016-01-25 11:10:14 -05:00
Edward Hope-Morley 7acd31a61c [hopem,r=]
Add loglevel config option.
Closes-Bug: 1520236
2016-01-13 14:45:54 +02:00
Andrew Wilkins 669fd96b11 Add osd-devices and osd-journal block storage
Add the "osd-devices" block-type storage, with
minimum of 0 and no maximum. Volumes assigned to
a unit will be added as OSDs.

Also, add the "osd-journal" block-type storage,
with minimum of 0 and maximum of 1. The osd-journal
storage, if supplied, will be used in favour of
osd-journal configuration if supplied.

For now, handling of osd-journal is static, just
as the configuration method was before. Removing
or adding the journal after deployment is not
currently supported. This is possible with further
changes, but requires stopping Ceph and migrating
the existing journal, and so out of scope here.
2015-11-23 17:13:18 +08:00
Edward Hope-Morley a3f6410398 [trivial] Cleanup config.yaml
Partially-Closes-Bug: 1473426
2015-07-10 15:14:18 +01:00
Liam Young 52206e6503 [bradm, r=gnuoy] Handle case of empty nagios_servicegroups setting 2015-02-26 11:01:14 +00:00
Edward Hope-Morley 84c16fe67d [nobuto,r=hopem]
Increase more sysctl values by default to allow 256k
threads per process and 2M threads in total.

Closes-Bug: #1420339
2015-02-19 10:17:31 +00:00
Brad Marshall ef2c766011 [bradm] Add nagios_servicegroups config option 2015-02-19 12:12:47 +10:00
Nobuto Murata 9b2f1ecfc7 fix lint warning 2015-02-18 15:46:35 +09:00
Nobuto Murata ada656e1d9 update config.yaml description 2015-02-16 18:42:32 +09:00
Nobuto Murata 5e1b9194ad increase more sysctl values by default to allow 256k threads per process
and 2M threads in total, LP: #1420339
2015-02-16 15:35:20 +09:00
Liam Young 1eba2e8969 [gnuoy,trivial] Fix charm proof warning 2015-02-04 15:31:08 +00:00