Bug 1305670 - RFE: add --pg-num to osdmaptool --test-map-pgs to allow the user to experiment with other pg counts
Summary: RFE: add --pg-num to osdmaptool --test-map-pgs to allow the user to experime...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RADOS
Version: 3.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 3.0
Assignee: Josh Durgin
QA Contact: Ramakrishnan Periyasamy
Erin Donnelly
URL:
Whiteboard:
Depends On:
Blocks: 1494421
TreeView+ depends on / blocked
 
Reported: 2016-02-08 20:47 UTC by Samuel Just
Modified: 2017-12-05 23:29 UTC (History)
9 users (show)

Fixed In Version: RHEL: ceph-12.1.4-1.el7cp Ubuntu: ceph_12.1.4-2redhat1xenial
Doc Type: Enhancement
Doc Text:
.A new `--pg-num` option for the `osdmaptool` utility The `osdmaptool` utility now includes the `--pg-num` option that can be used with the `--test-map-pgs` option. This allows the user to test placement policies with a different number of placement groups (PGs) than are in the OSD map.
Clone Of:
Environment:
Last Closed: 2017-12-05 23:29:38 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 14701 None None None 2016-02-08 20:48:07 UTC
Red Hat Product Errata RHBA-2017:3387 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Samuel Just 2016-02-08 20:47:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 Ramakrishnan Periyasamy 2017-09-04 12:10:50 UTC
Moving this bug to verified state.

Command console output:

[ubuntu@host031 ~]$ sudo osdmaptool --test-map-pgs --pg-num 64 ./osdmap 
osdmaptool: osdmap file './osdmap'
pool 1 pg_num 64
pool 2 pg_num 64
#osd	count	first	primary	c wt	wt
osd.0	42	12	12	0.904388	1
osd.1	51	12	12	0.904388	1
osd.2	40	15	15	0.904388	1
osd.3	51	14	14	0.904388	1
osd.4	42	15	15	0.904388	1
osd.5	40	13	13	0.904388	1
osd.6	35	15	15	0.904388	1
osd.7	46	21	21	0.904388	1
osd.8	37	11	11	0.904388	1
 in 9
 avg 42 stddev 5.37484 (0.127972x) (expected 6.1584 0.146629x))
 min osd.6 35
 max osd.1 51
size 0	0
size 1	0
size 2	0
size 3	128

Comment 13 errata-xmlrpc 2017-12-05 23:29:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3387


Note You need to log in before you can comment on or make changes to this bug.