Commit Graph

11 Commits

Author SHA1 Message Date
James Page 536c22a6a2 Retire project
Leave README around for those that follow.

Change-Id: I34f8092296c70cd1b51de7c48d7ee589f410d55d
2018-09-14 11:53:08 -06:00
Chris MacNaughton 6b1a224e67 Add support for ceph-osd broker requests
This is to support ceph-osd requesting movement
of OSD devices into various buckets.

This also implements the osd side with
an action to move a disk

Change-Id: I609ceb8662b20ca06b71d66696d101bda799e25c
2016-12-12 13:54:49 -05:00
Chris MacNaughton 39ffd26452 Add action to list unmounted disks
This action is fairly simple in that it returns
a list of unmounted disks

This also includes a git-sync to pull in charms.ceph
changes.
Change-Id: Idb6eabd565b0a9951bb0b212b81a57497ada56f1
Closes-Bug: 1645481
2016-12-12 12:16:04 -05:00
Alex Kavanagh d82e89ea20 Pause/resume for ceph charm
This changeset provides pause and resume actions to the ceph charm.
The pause action issues a 'ceph osd out <local_id>' for each of the
ceph osd ids that are on the unit.  The action does not stop the
ceph osd processes.

Note that if the pause-health action is NOT used on the ceph charm then the
cluster will start trying to rebalance the PGs accross the remaining OSDs.  If
the cluster might reach its 'full ratio' then this will be a breaking action.
The charm does NOT check for this eventuality.

The resume action issues a 'ceph osd in <local_id>' for each of the
local ceph osd process on the unit.

The charm 'remembers' that a pause action was issued, and if
successful, it shows a 'maintenance' workload status as a reminder.

Change-Id: Ic5b5b33e59e72e13843d874a08e3d142a1befde3
2016-04-08 14:48:56 +00:00
Chris Holcombe 612ba454c4 Merge upstream and resolve conflicts with actions and actions.yaml 2016-02-18 17:16:55 -08:00
Chris Holcombe c3d20a0eb6 Fix up the niggles and provide feedback to the action user as to why something failed 2016-02-18 17:10:56 -08:00
James Page f16e3fac52 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.
2016-02-18 11:02:17 +00:00
Chris MacNaughton 7709b7d538 rename actions 2016-02-12 08:26:13 -05:00
Chris Holcombe 1977cdbde1 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. . 2016-01-18 08:07:35 -08:00
Chris MacNaughton 44365d5878 add pause/resume actions
pause calls:
`ceph osd set noout
ceoh osd set nodown`

resume calls:
`ceph osd unset noout
ceph osd unset nodown`
2016-01-14 13:17:19 -05:00
Chris Holcombe 92ad787332 Actions are working and lightly tested. Need to create a more robust, automated test setup 2015-12-14 17:44:22 -08:00