extend ceph broker api to allow pool pg_num override
Bug #1517846 reported by
Edward Hope-Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
High
|
Edward Hope-Morley | ||
ceph (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
Currently when we create a pool with the ceph broker api it will choose the optimal pg_num/pgp_num based on the number of OSDs in the cluster thus giving the maximum possible. There are occasions where we might not want this e.g. for RGW pools, of which there are many, which are not all used in the same way. Therefore, we need a way to override the number of PGs given to a pool.
Related branches
lp:~hopem/charm-helpers/lp1517846
- Liam Young (community): Approve
-
Diff: 66 lines (+26/-17)1 file modifiedcharmhelpers/contrib/storage/linux/ceph.py (+26/-17)
lp:~hopem/charms/trusty/ceph/lp1517846
- Liam Young (community): Approve
-
Diff: 1254 lines (+541/-123)16 files modifiedhooks/charmhelpers/cli/__init__.py (+3/-3)
hooks/charmhelpers/contrib/charmsupport/nrpe.py (+44/-8)
hooks/charmhelpers/contrib/network/ip.py (+5/-3)
hooks/charmhelpers/contrib/storage/linux/ceph.py (+53/-46)
hooks/charmhelpers/core/hookenv.py (+46/-0)
hooks/charmhelpers/core/host.py (+66/-19)
hooks/charmhelpers/core/hugepage.py (+10/-1)
hooks/charmhelpers/core/kernel.py (+68/-0)
hooks/charmhelpers/core/services/helpers.py (+5/-2)
hooks/charmhelpers/core/strutils.py (+30/-0)
hooks/charmhelpers/core/templating.py (+13/-6)
hooks/charmhelpers/fetch/__init__.py (+1/-1)
tests/charmhelpers/contrib/amulet/deployment.py (+4/-2)
tests/charmhelpers/contrib/amulet/utils.py (+56/-16)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+111/-12)
tests/charmhelpers/contrib/openstack/amulet/utils.py (+26/-4)
lp:~hopem/charm-helpers/lp1517846.2
- Billy Olsen: Approve
- charmers: Pending requested
-
Diff: 33 lines (+11/-4)1 file modifiedcharmhelpers/contrib/storage/linux/ceph.py (+11/-4)
affects: | charms → ceph (Juju Charms Collection) |
Changed in ceph-osd (Juju Charms Collection): | |
importance: | Undecided → High |
milestone: | none → 16.01 |
Changed in charm-helpers: | |
assignee: | nobody → Edward Hope-Morley (hopem) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in ceph (Juju Charms Collection): | |
status: | New → In Progress |
Changed in ceph-osd (Juju Charms Collection): | |
status: | New → In Progress |
Changed in ceph (Juju Charms Collection): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in ceph-osd (Juju Charms Collection): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
no longer affects: | ceph-osd (Juju Charms Collection) |
Changed in charm-helpers: | |
status: | In Progress → Fix Released |
Changed in ceph (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
Changed in ceph (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This will be needed for a complete solution of https:/ /bugs.launchpad .net/charms/ +source/ ceph-radosgw/ +bug/1476749