]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ernesto Puerta [Thu, 10 Oct 2019 09:25:49 +0000 (11:25 +0200)]
doc: new Dashboard Plugin: Debug
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:23:40 +0000 (11:23 +0200)]
mgr/dashboard: log request uuid
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:24:54 +0000 (11:24 +0200)]
mgr/dashboard: add Debug plugin
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:21:52 +0000 (11:21 +0200)]
mgr/dashboard: add new plugin hooks
New plugin hooks are: `init` and `update_cherrypy_config`.
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:20:45 +0000 (11:20 +0200)]
mgr/dashboard: doc plugin infra changes
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:19:59 +0000 (11:19 +0200)]
mgr/dashboard: add SimplePlugin helper
Helper added to simplify common tasks when creating a new plugin
(OPTIONS, COMMANDS, etc).
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:17:43 +0000 (11:17 +0200)]
mgr/dashboard: add new interfaces to plugin
New plugin Mixins (`CanCherrypy`) and Interfaces (`Initializable`,
`ConfiguresCherryPy`) have been added to plugin interfaces.
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:16:13 +0000 (11:16 +0200)]
mgr/dashboard: add Mixins and @final to plugins
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:07:10 +0000 (11:07 +0200)]
mgr: add new Command helper
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Lenz Grimmer [Mon, 23 Sep 2019 09:45:48 +0000 (09:45 +0000)]
mgr/dashboard: NFS list should display the "Pseudo Path" (#30395)
mgr/dashboard: NFS list should display the "Pseudo Path"
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Mykola Golub [Mon, 23 Sep 2019 07:50:01 +0000 (10:50 +0300)]
Merge pull request #30411 from dillaman/wip-41653
rbd-mirror: simplify peer bootstrapping
Reviewed-by: Mykola Golub <mgolub@suse.com>
Patrick Donnelly [Mon, 23 Sep 2019 04:26:50 +0000 (21:26 -0700)]
Merge PR #30428 into master
* refs/pull/30428/head:
doc/dev/developer_guide: fix heading level
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 23 Sep 2019 04:07:02 +0000 (21:07 -0700)]
Merge PR #30435 into master
* refs/pull/30435/head:
doc: improve developer guide doc
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 23 Sep 2019 03:58:45 +0000 (20:58 -0700)]
Merge PR #30497 into master
* refs/pull/30497/head:
ceph-volume: systemd fix typo in log message
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 12:50:37 +0000 (20:50 +0800)]
Merge pull request #30457 from dillaman/wip-41908
osd/PrimaryLogPG: do not append outdata to TMAPUP ops
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Sun, 22 Sep 2019 05:05:07 +0000 (22:05 -0700)]
Merge PR #30427 into master
* refs/pull/30427/head:
doc/cephfs: correct a description mistake about mds states
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 04:12:21 +0000 (12:12 +0800)]
Merge pull request #30432 from yanghonggang/wip-yhg-balancer-eval-maxmin
pybind/mgr/balancer/module.py: add max/min info in stats_by_root
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sun, 22 Sep 2019 04:11:25 +0000 (12:11 +0800)]
Merge pull request #30479 from liewegas/wip-fix-osd-invalid-stats
osd/osd_types: fix {omap,hitset_bytes}_stats_invalid handling on split/merge
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sun, 22 Sep 2019 04:08:58 +0000 (12:08 +0800)]
Merge pull request #29800 from Devp00l/wip-41372
mgr/dashboard: CephFS tab component
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Sun, 22 Sep 2019 04:03:47 +0000 (12:03 +0800)]
Merge pull request #30412 from tchaikov/wip-crimson-osd-make-message
osd,crimson: use make_message for creating message
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 04:01:39 +0000 (12:01 +0800)]
Merge pull request #30408 from p-se/wip-pna-smartctl-report
osd: add common smartctl output to JSON output
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:47:46 +0000 (11:47 +0800)]
Merge pull request #30414 from neha-ojha/wip-fix-missing
osd/PeeringState.h: get_num_missing() should report num_missing()
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:45:55 +0000 (11:45 +0800)]
Merge pull request #30448 from tchaikov/wip-40871
mgr: set hostname in DeviceState::set_metadata()
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:42:43 +0000 (11:42 +0800)]
Merge pull request #30449 from tchaikov/wip-37884
mon,mgr: pass MessageRef to monc.send_mon_message() …
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:41:38 +0000 (11:41 +0800)]
Merge pull request #30413 from vumrao/wip-vumrao-41875
tools/rados: call pool_lookup() after rados is connected.
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:38:41 +0000 (11:38 +0800)]
Merge pull request #30409 from uweigand/cleanup-endian
src/: Clean up endian handling
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:37:41 +0000 (11:37 +0800)]
Merge pull request #30383 from vumrao/wip-vumrao-tools-rados-add-pgid-in-help
tools/rados: add --pgid in help
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:36:43 +0000 (11:36 +0800)]
Merge pull request #30211 from majianpeng/msg-clear-payload
msg/async: clear_payload when requeue_sent.
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Sun, 22 Sep 2019 03:34:58 +0000 (11:34 +0800)]
Merge pull request #30445 from tchaikov/wip-41320
mgr/dashboard: do not log tokens
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Kefu Chai [Sun, 22 Sep 2019 03:33:48 +0000 (11:33 +0800)]
Merge pull request #29947 from iotcg/nosrq
support RDMA NIC without SRQ in msg/async/rdma
Reviewed-by: Roman Penyaev <rpenyaev@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ilya Dryomov [Sat, 21 Sep 2019 09:12:28 +0000 (11:12 +0200)]
Merge pull request #30502 from idryomov/wip-krbd-avoid-hexdump-s
qa: avoid hexdump skip and length options
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Xie Xingguo [Sat, 21 Sep 2019 05:56:52 +0000 (13:56 +0800)]
Merge pull request #30489 from liuchang0812/kill-compile-warning
rgw: kill compile warnning in rgw_object_lock.h
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Ilya Dryomov [Fri, 20 Sep 2019 19:01:09 +0000 (21:01 +0200)]
qa: avoid hexdump skip and length options
On Debian-based distros, hexdump(1) comes from FreeBSD in bsdmainutils
package (other distros ship a Linux version from util-linux). It turns
out that '-s skip' for anything but a regular file has been broken for
ages in FreeBSD -- instead of calling fseek(), it consumed the input
byte by byte with getchar(). This was fixed in commit
7cd5ae492557
"hexdump(1): Speed up -s flag on devices" last year, but it hasn't made
it to the Debian world yet.
bsdmainutils_9.0.6ubuntu3 in xenial had a custom patch for that, but
it's no longer there in bsdmainutils_11.1.2ubuntu1 in bionic. hexdump
-s <large offset> is now a fancy infinite loop!
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Manu Zurmühl [Fri, 20 Sep 2019 14:47:22 +0000 (16:47 +0200)]
ceph-volume: systemd fix typo in log message
Fixes: https://tracker.ceph.com/issues/41942
Signed-off-by: Manu Zurmühl <m.zurmuehl@heinlein-support.de>
Chang Liu [Fri, 20 Sep 2019 12:51:09 +0000 (12:51 +0000)]
rgw: kill compile warnning in rgw_object_lock.h
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Jason Dillaman [Mon, 16 Sep 2019 19:07:36 +0000 (15:07 -0400)]
qa/suites/rbd: test case for rbd-mirror bootstrap
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 20 Sep 2019 11:55:00 +0000 (07:55 -0400)]
Merge pull request #30484 from trociny/wip-handle_start_replay_interrupted
rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 04:46:09 +0000 (12:46 +0800)]
mgr: pass MessageRef to monc.send_mon_message()
less chance to leak memory
see also: https://tracker.ceph.com/issues/37884
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 04:41:46 +0000 (12:41 +0800)]
mon/MonClient: include necessary #includes
ideally, a header file should be self-contained.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 04:30:36 +0000 (12:30 +0800)]
mon/MonClient: add send_mon_message(MessageRef)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 20 Sep 2019 10:18:35 +0000 (18:18 +0800)]
messages/MLog: pass rvalue ref instead const ref to ctor
easier to use this way. and so far, there is no caller of this function
yet.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Fri, 20 Sep 2019 09:21:28 +0000 (09:21 +0000)]
mgr/dashboard Adds multiple selection in osd table (#29662)
mgr/dashboard Adds multiple selection in osd table
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Mykola Golub [Fri, 20 Sep 2019 08:59:27 +0000 (11:59 +0300)]
Merge pull request #30438 from dillaman/wip-41833
cls/rbd: sanitize entity instance messenger version type
Reviewed-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 20 Sep 2019 08:25:01 +0000 (09:25 +0100)]
rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Fri, 20 Sep 2019 02:51:54 +0000 (10:51 +0800)]
Merge pull request #30474 from tchaikov/wip-discard-future
crimson: run in foreground if possible, silence warnings
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuval Lifshitz [Thu, 19 Sep 2019 22:35:02 +0000 (01:35 +0300)]
Merge pull request #28971 from yuvalif/wip-yuval-pubsub-api2
rgw/pubsub: add S3 compliant API to master zone
Alfredo Deza [Thu, 19 Sep 2019 19:10:49 +0000 (15:10 -0400)]
Merge pull request #30101 from rishabh-d-dave/cv-minor
ceph-volume: api/lvm: check if list of LVs is empty
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:33:47 +0000 (14:33 -0400)]
Merge pull request #19020 from zhangsw/feature-rgw-bucketsync-api
rgw: add admin rest api for bucket sync
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:24:47 +0000 (14:24 -0400)]
Merge pull request #29637 from liuchang0812/rgw-es7
rgw: sync with elastic search v7
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:23:31 +0000 (14:23 -0400)]
Merge pull request #29897 from tianshan/fix_list_start_with_null_marker
rgw: fix list versions starts with version_id=null
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:22:18 +0000 (14:22 -0400)]
Merge pull request #29909 from cbodley/wip-40935
rgw: fix default storage class for get_compression_type
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:21:37 +0000 (14:21 -0400)]
Merge pull request #30127 from zhangsw/rgw-fix-adminuser
rgw: add missing admin property when sync user info.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:20:50 +0000 (14:20 -0400)]
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid
rgw: add transaction id to ops log.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:18:59 +0000 (14:18 -0400)]
Merge pull request #30175 from tianshan/improve-data-sync-retry
rgw: improve data sync restart after failure
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:18:14 +0000 (14:18 -0400)]
Merge pull request #30189 from linuxbox2/wip-rgw-ss3lite
rgw: crypt: permit RGW-AUTO/default with SSE-S3 headers
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:17:35 +0000 (14:17 -0400)]
Merge pull request #30194 from vumrao/wip-vumrao-41589
radosgw-admin: add --uid check in bucket list command
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Thu, 19 Sep 2019 18:16:29 +0000 (14:16 -0400)]
Merge pull request #30332 from linuxbox2/wip-ldap-denied
rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Thu, 19 Sep 2019 18:15:33 +0000 (14:15 -0400)]
Merge pull request #30384 from ZVampirEM77/bucket-create-time
rgw: add creation time information into bucket stats
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Abhishek L [Thu, 19 Sep 2019 17:41:00 +0000 (19:41 +0200)]
Merge pull request #29680 from liuchang0812/s3-lock-bugfix
rgw: DefaultRetention requires either Days or Years
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Thu, 19 Sep 2019 16:50:21 +0000 (11:50 -0500)]
osd/osd_types: fix {omap,hitset_bytes}_stats_invalid handling on split/merge
Fixes: https://tracker.ceph.com/issues/41936
Signed-off-by: Sage Weil <sage@redhat.com>
Venky Shankar [Thu, 19 Sep 2019 13:28:32 +0000 (18:58 +0530)]
Merge pull request #30451 from ajarr/fix-41903
mgr/volumes: return string type to ceph-manager
Lenz Grimmer [Thu, 19 Sep 2019 12:48:51 +0000 (12:48 +0000)]
mgr/dashboard: Add smartctl data as an details tab of an OSD (#30324)
mgr/dashboard: Add smartctl data as an details tab of an OSD
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Samuel Just [Wed, 18 Sep 2019 19:17:56 +0000 (12:17 -0700)]
crimson/osd: suppress warnings about unused future<> return values
These are dropped on purpose, suppress warnings.
Signed-off-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 10:11:31 +0000 (18:11 +0800)]
crimson/osd: ShardServices::send_pg_temp() returns future
it should not run in background unless necessary.
please note, we don't have a caller of this method yet.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 09:52:35 +0000 (17:52 +0800)]
crimson/osd: evict object state in foreground
when doing error handling, we need to make sure the stale object state
is evicted before we return.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 09:31:22 +0000 (17:31 +0800)]
crimson/osd: add_peer() in parallel
we should not add peers in background, and we can do this in parallel!
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 08:51:19 +0000 (16:51 +0800)]
crimson/osd: Heartbeat::add_reporter_peers() returns future
the sole caller `Heartbeat::update_peers()` also returns future, so
there is no reason that `add_reporter_peers()` runs in background.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 08:10:54 +0000 (16:10 +0800)]
crimson/osd: fix the order in OSD::update_heartbeat_peers()
before this chance, we do following things in background and in
parallel:
* add peers from pg map
* and peers from whole osdmap
* remove dead peers
but we should prioritize the peer candidates, apparently, the ones from
pgmap should have higher priority. as they are more likely to be used in
cluser and they are more important to current OSD, as they serve the
same set of PGs.
so we need to do these things in a proper order:
1. add peers from pg map
2. and peers from whole osdmap
3. remove dead peers
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 08:06:05 +0000 (16:06 +0800)]
crimson/osd/heartbeat: avoid racing when connecting to peer
before this change, we could initialize connections to newly added peers
in parallel repeatly, if an OSD is listed in up/acting of multiple PGs
served by current OSD.
after this change, we try to add the peer to `Heartbeat.peers` first,
and then try to connect to it with the hb front/back addresses, to avoid
potential repeatly connecting to peer.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ricardo Dias [Thu, 19 Sep 2019 10:08:48 +0000 (11:08 +0100)]
Merge pull request #30270 from ricardoasmarques/wip-41727
mgr/dashboard: Check if `num_sessions` is available
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Venky Shankar [Tue, 17 Sep 2019 19:01:59 +0000 (15:01 -0400)]
mgr/volumes: return string type to ceph-manager
The 'volumes' ceph-mgr module returns a byte type instead of a string
type as the stdout result of commands, `fs subvolume getpath` and
`fs subvolumegroup getpath` to the ceph-mgr. This causes the commands
to hang and the ceph-mgr to utilize 100% CPU. Fix the 'volumes'
ceph-mgr module to return string type to ceph-mgr as the stdout
result of the commands.
Introduced-by: 3d63cd947f55a8508f972ee249ea6a04836429ae
Fixes: https://tracker.ceph.com/issues/41903
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 08:26:56 +0000 (16:26 +0800)]
crimson/osd: do not cluster_msgr.set_myaddrs() in background
we should do the initialization in foreground
Signed-off-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Wed, 18 Sep 2019 19:17:25 +0000 (12:17 -0700)]
crimson/net: avoid warning about signed comparison with enum classes
Signed-off-by: Samuel Just <sjust@redhat.com>
Yang Honggang [Tue, 17 Sep 2019 15:30:30 +0000 (23:30 +0800)]
pybind/mgr/balancer/module.py: add max/min info in stats_by_root
$ ceph balancer eval-verbose hahapool
...
count_by_pool {'hahapool': {'objects': {0: 1L, 1: 1L, 2: 0L, 3: 0L, 4: 1L}, 'bytes': {0: 0L, 1: 0L, 2: 0L, 3: 0L, 4: 0L}, 'pgs': {0: 35, 1: 42, 2: 23, 3: 30, 4: 26}}}
...
stats_by_root {'default': {'objects': {'min': 0.0, 'max': 1.0, 'score': 0.
2970089549436925 , 'stddev': 0.
5477225575051662 , 'avg': 0.6, 'sum_weight': 0.
6000000000000001 }, 'bytes': {'min': 0, 'max': 0, 'score': 0, 'stddev': 0, 'avg': 0, 'sum_weight': 0}, 'pgs': {'min': 23.0, 'max': 42.0, 'score': 0.
07354228523075643 , 'stddev': 7.
52994023880668 , 'avg': 31.2, 'sum_weight': 0.4}}}
max/min can give us an intuitive feel of the pg/bytes/object's distribution.
In addition, sometimes we really want to know which osd hold the most
number of pgs/bytes/objects for specified pool.
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
Kefu Chai [Thu, 19 Sep 2019 02:02:02 +0000 (10:02 +0800)]
Merge pull request #30410 from tchaikov/wip-debian-g++
debian/control: Build-Depends on g++
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Kefu Chai [Thu, 19 Sep 2019 02:01:07 +0000 (10:01 +0800)]
Merge pull request #30405 from p-se/wip-pna-ubuntu-disco-deps
install-deps.sh: add support for Ubuntu Disco Dingo
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 19 Sep 2019 01:22:19 +0000 (09:22 +0800)]
Merge pull request #30453 from tchaikov/wip-doc-crimson
doc/dev/crimson: transpose options of compare.py
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Jason Dillaman [Mon, 16 Sep 2019 17:55:25 +0000 (13:55 -0400)]
doc/rbd: document new rbd mirror bootstrap commands
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 16 Sep 2019 17:28:42 +0000 (13:28 -0400)]
doc/rbd: clarify cluster naming by using site-a/b
The local vs remote cluster naming has been confusing for multiple
users.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 16 Sep 2019 17:21:40 +0000 (13:21 -0400)]
rbd: new 'mirror pool peer bootstrap create/import' commands
These two commands simplify the process of creating users and
exchanging keys between two clusters.
Fixes: https://tracker.ceph.com/issues/41653
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 13 Sep 2019 17:12:02 +0000 (13:12 -0400)]
librbd: new RBD mirroring peer bootstrap API methods
These new methods will help facilitate the creation of keys and
the transfer of cluster connection metadata between Ceph clusters.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Wed, 18 Sep 2019 16:18:46 +0000 (09:18 -0700)]
Merge pull request #30440 from dzafman/wip-41900
Revert "common: default pg_autoscale_mode=on for new pools"
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 15:47:59 +0000 (23:47 +0800)]
Merge pull request #30458 from tchaikov/wip-crimson-cbt-test
test/crimson: lower the bar for cbt test
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Pooja [Fri, 30 Aug 2019 14:13:20 +0000 (16:13 +0200)]
mgr/dashboard Adds multiple selection to osd table
Fixes: https://tracker.ceph.com/issues/38091
Signed-off-by: Pooja <pooja.gautam@ts.fujitsu.com>
Kefu Chai [Wed, 18 Sep 2019 15:38:03 +0000 (23:38 +0800)]
Merge pull request #30433 from tchaikov/wip-crimson-pgls
crimson/osd: add pgls support
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Tue, 17 Sep 2019 16:13:27 +0000 (00:13 +0800)]
crimson/osd: add pgls_filter support
it's modeled after pgnls_filter. and use seastar::map_reduce() for
filtering the objects into the response.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 17 Sep 2019 16:10:19 +0000 (00:10 +0800)]
crimson/osd: return hobject_t from pgls_filter()
so we can use it as the mapper function in seastar::map_reduce().
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 14:57:07 +0000 (22:57 +0800)]
crimson/osd: add pgls support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 14:54:37 +0000 (22:54 +0800)]
crimson/osd: handle pg ops with do_pg_ops()
currently, OpsExecuter tries to load the object info for all ops to be
executed, but the PG ops do not require the existence of object
specified by op. so we need to specialize for them.
in this change,
* `OpsExecuter::execute_pg_op()` is added to handle pg ops without
loading object info first.
* `pgnls` and `pgnls_filter` are handled by
`OpsExecuter::execute_pg_op()`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 17 Sep 2019 14:25:46 +0000 (22:25 +0800)]
crimson/osd/OpsExecuter: pass nspace in msg to do_pg_op()
as pg ops should not require the object info, as there is chance that
the object specified in pg ops does not exist at all.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 17 Sep 2019 14:22:02 +0000 (22:22 +0800)]
crimson/osd/OpsExecuter: s/do_osd_op/execute_osd_op/
will add execute_pg_op() for performing pg specific ops, which do not
need the object state.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 14:26:47 +0000 (22:26 +0800)]
test/crimson: lower the bar for cbt test
sometimes we have
13:27:59 - WARNING - cbt -prefill/incerta08.front.sepia.ceph.com/0: iops_stddev: (or (less) (near 0.05)):: 13.0/9.53939 => rejected
i think it's acceptable
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 18 Sep 2019 14:24:04 +0000 (22:24 +0800)]
github: add "jenkins test crimson perf" to triggers doc
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Tue, 17 Sep 2019 19:49:48 +0000 (15:49 -0400)]
cls/rbd: sanitize entity instance messenger version type
The entity_addr_t::type field does not uniquely identify the connection
and might switch back and forth between LEGACY, V2, and ALL depending on
the client, the OSD, and the OSD map feature bits. Therefore, always
fix the entity address type to ANY prior to any comparisons.
Fixes: https://tracker.ceph.com/issues/41833
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 18 Sep 2019 13:52:17 +0000 (09:52 -0400)]
osd/PrimaryLogPG: do not append outdata to TMAPUP ops
Write operations should not have data but TMAPUP incorrectly appends
the previously read TMAP object to the outdata buferlist.
Fixes: https://tracker.ceph.com/issues/41908
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ilya Dryomov [Wed, 18 Sep 2019 12:53:43 +0000 (14:53 +0200)]
Merge pull request #30452 from idryomov/wip-krbd-discard-direct
qa: avoid page cache for krbd discard round off tests
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Patrick Seidensal [Mon, 16 Sep 2019 13:44:53 +0000 (15:44 +0200)]
osd: add common smartctl output to JSON output
Enables consumers like the dashboard to provide the regular smartctl
output to users.
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Kefu Chai [Wed, 18 Sep 2019 12:11:23 +0000 (20:11 +0800)]
Merge pull request #30386 from tchaikov/wip-run_tox.sh-cleanup
script/run_tox.sh: remove unused code
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 18 Sep 2019 11:42:23 +0000 (19:42 +0800)]
Merge pull request #29734 from hselin/rados_bench_rand_read
tools/rados: use num ops instead of num objs for tracking outstanding IO
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ulrich Weigand [Mon, 16 Sep 2019 15:23:40 +0000 (17:23 +0200)]
headers: Remove __le16/__le32/__le64
These types should no longer be used; use ceph_le16/32/64 instead.
Also removes the cmake check whether those types are provided by
kernel headers (likewise for the __be types, which already were
not used anywhere).
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>