add actions for osd reweight and osd crush reweight
Bug #1675387 reported by
JuanJo Ciarlante
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph Monitor Charm |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
It would be very useful to be able to have
ceph reweight ops framed inside actions.
Most used ones:
ceph osd reweight osd.N WEIGHT
ceph osd crush reweight osd.N WEIGHT
ceph osd reweight-
It would be also useful to be able to have
something to reweight all OSDs at a particular
juju unit, something like e.g.:
juju run-action ceph-mon/0 reweight-
unit=ceph-osd/42 weight=0.2
Changed in charm-ceph-mon: | |
assignee: | nobody → Chris Holcombe (xfactor973) |
tags: | added: sts |
Changed in charm-ceph-mon: | |
assignee: | Chris Holcombe (xfactor973) → nobody |
Changed in charm-ceph-mon: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
milestone: | none → 18.02 |
Changed in charm-ceph-mon: | |
milestone: | 18.02 → 18.05 |
Changed in charm-ceph-mon: | |
milestone: | 18.05 → 18.08 |
Changed in charm-ceph-mon: | |
milestone: | 18.08 → 18.11 |
Changed in charm-ceph-mon: | |
milestone: | 18.11 → 19.04 |
Changed in charm-ceph-mon: | |
milestone: | 19.04 → 19.07 |
Changed in charm-ceph-mon: | |
milestone: | 19.07 → 19.10 |
Changed in charm-ceph-mon: | |
milestone: | 19.10 → 20.01 |
Changed in charm-ceph-mon: | |
milestone: | 20.01 → 20.05 |
Changed in charm-ceph-mon: | |
milestone: | 20.05 → 20.08 |
Changed in charm-ceph-mon: | |
milestone: | 20.08 → none |
To post a comment you must log in.
I've been trying to avoid creating actions on the ceph-mon charm that are a 1:1 mapping to the underlying ceph command. Any of the commands you mentioned could easily be run with a juju run command without having the additional overhead of the juju run-action interface. Anything that requires multiple steps is a great candidate for an action.