]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Jason Dillaman [Fri, 26 Apr 2019 12:11:17 +0000 (08:11 -0400)]
Merge pull request #27755 from trociny/wip-rbd-io-scheduler-leak
librbd: leak on canceling simple io scheduler timer task
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
J. Eric Ivancich [Thu, 25 Apr 2019 22:18:57 +0000 (18:18 -0400)]
Merge pull request #27411 from ivancich/wip-clean-up-logging
rgw: clean up some logging
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
J. Eric Ivancich [Thu, 25 Apr 2019 22:17:21 +0000 (18:17 -0400)]
Merge pull request #27456 from wjwithagen/wjw-fix-rgw_amqp.cc
rgw: use the compatibilty function for pthread_setname
Reviewed-by: Kefu Chai <kchai@redhat.com>
J. Eric Ivancich [Thu, 25 Apr 2019 22:14:59 +0000 (18:14 -0400)]
Merge pull request #27617 from cbodley/wip-39295
rgw: bucket stats report mtime in UTC
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
David Zafman [Thu, 25 Apr 2019 22:06:56 +0000 (15:06 -0700)]
Merge pull request #27503 from dzafman/wip-39099
osd: Give recovery for inactive PGs a higher priority
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 25 Apr 2019 21:42:24 +0000 (14:42 -0700)]
Merge pull request #27764 from neha-ojha/wip-fix-mimic-x-singleton
qa/suites/upgrade: use correct branch names
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
David Zafman [Wed, 24 Apr 2019 03:26:22 +0000 (20:26 -0700)]
test: osd-recovery-scrub.sh ignore error from kill_daemons()
Another work around for http://tracker.ceph.com/issues/38195
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 16 Apr 2019 21:44:07 +0000 (14:44 -0700)]
osd: Add new object_location_counts to pg_stat_t
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 18 Apr 2019 02:41:58 +0000 (19:41 -0700)]
mgr: If the requested OSD is down don't trust osd_stat info
If we have a down AND out OSD it may contains osd_stat with num_pgs == 0.
When all PGs aren't active+clean we need an accurate value or we consider
the osd missing stat info.
Fixes: https://tracker.ceph.com/issues/38930
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 18 Apr 2019 00:11:02 +0000 (17:11 -0700)]
mon, mgr: Improve PG count by changing up to up_no_acting in pg_count
By not adding a field to pg_count, we don't have to worry about
versioning or backwards compatibility. A mixed cluster won't
be any worse than before.
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Sat, 13 Apr 2019 18:32:19 +0000 (11:32 -0700)]
mgr: Improve ok-to-stop by using the avail_no_missing for recovery
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 12 Apr 2019 23:21:12 +0000 (16:21 -0700)]
osd: Prevent priority from overflowing in the next base level
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 23 Apr 2019 21:04:54 +0000 (14:04 -0700)]
test: Add tests for pool recovery priority conversion
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 11 Apr 2019 23:54:52 +0000 (16:54 -0700)]
osd, mon: New pool recovery priority range -10 to 10
Use OSD_POOL_PRIORITY_MAX and OSD_POOL_PRIORITY_MIN constants
Scale legacy priorities if exceeds maximum
Signed-off-by: David Zafman <dzafman@redhat.com>
Abhishek L [Thu, 25 Apr 2019 17:40:47 +0000 (19:40 +0200)]
Merge pull request #27781 from theanalyst/rgw-admin-delete-at
rgw: admin: handle delete_at attr in object stat output
Reviewed-By: Casey Bodley <cbodley@redhat.com>
Abhishek Lekshmanan [Thu, 25 Apr 2019 12:13:33 +0000 (14:13 +0200)]
rgw: admin: handle delete_at attr in object stat output
Fixes: https://tracker.ceph.com/issues/39481
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Kefu Chai [Thu, 25 Apr 2019 08:35:07 +0000 (16:35 +0800)]
Merge pull request #27574 from iotcg/iwarp_rocev2
msg/async/rdma: fix memory leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
Changcheng Liu [Thu, 25 Apr 2019 05:10:54 +0000 (13:10 +0800)]
msg/async/rdma: use ibv_device_attr object type in Device class
1. Avoid to do memory management without using pointer to operate the
allocated space.
2. Since member type has been changed in class Device, it use member
domain operator "." to access to the sub-member in object.
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Changcheng Liu [Thu, 25 Apr 2019 05:08:11 +0000 (13:08 +0800)]
msg/async/rdma: free memory when Infiniband obj is freed
device_list is allocated in Infiniband::init.
When Infiniband obj is destructed, free the allocated
space in case of memory leak.
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Changcheng Liu [Thu, 25 Apr 2019 05:02:29 +0000 (13:02 +0800)]
msg/async/rdma: check allocated memory immediately before using it
The new "allocation functions" will through exception if it failes to
allocate space. There's no need to assert(devices) here for every
get_device operation.
Refer to: https://en.cppreference.com/w/cpp/memory/new/bad_alloc
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Changcheng Liu [Thu, 25 Apr 2019 05:00:45 +0000 (13:00 +0800)]
msg/async/rdma: free member hold memory when destructing obj
device_context_list hold the memory allocated through
ibv_get_device_list. release the memory through calling
ibv_free_device_list.
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Changcheng Liu [Thu, 25 Apr 2019 04:58:30 +0000 (12:58 +0800)]
msg/sync/rdma: abort rdma operation when ibv_query_device failed
ibv_query_device return none zero when failing to query rdma
device. run ceph_abort in any case when ibv_query_device return
none zero.
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Kefu Chai [Thu, 25 Apr 2019 05:30:10 +0000 (13:30 +0800)]
Merge pull request #27741 from tchaikov/doc/dev/wip-corpus.rst
doc/dev/corpus.rst: correct instructions
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Thu, 25 Apr 2019 01:40:17 +0000 (20:40 -0500)]
Merge PR #27626 into master
* refs/pull/27626/head:
mgr/dashboard: Do not default to 'admin' as Admin Resource
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Gabriel Brascher <gabriel@apache.org>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Sage Weil [Thu, 25 Apr 2019 01:38:19 +0000 (20:38 -0500)]
Merge PR #26184 into master
* refs/pull/26184/head:
mgr/dashboard: Replace IP address validation with Python standard library functions
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Sage Weil [Thu, 25 Apr 2019 01:38:02 +0000 (20:38 -0500)]
Merge PR #26730 into master
* refs/pull/26730/head:
src/test: remove unused objects to calculate accurate dedup ratio.
src/tools: fix counting total objects
src/tools: fix printing wrong offset.
src/tools: fix dedup tool's name
qa/workunit: add rabin chunk test
src/tool: add rabin fingerprint option to cephdeduptool
src/common: add rabin fingerprint class
Initail work for rabin fingerprint
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Thu, 11 Apr 2019 01:45:32 +0000 (18:45 -0700)]
osd: For recovery track OSDs that have 0 missing to know how degraded we are
Add backfill priority log message and remove redundanacy to recovery priority
Fixes: https://tracker.ceph.com/issues/39099
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Wed, 24 Apr 2019 22:00:57 +0000 (17:00 -0500)]
Merge PR #27566 into master
* refs/pull/27566/head:
auth: kill AuthUnknownSessionHandler
auth: kill AuthUnknown* (except AuthUnknownSessionHandler)
msg: remove old ms_* auth methods from Dispatcher interface
mon/MonClient: discard old challenge if authorizer is bad
msg/async/ProtocolV1: use AuthServer and AuthClient
mon/Monitor: handle v1 call into handle_auth_request
msg/Connection: add is_msgr2()
mon/MonClient: tolerate lack of authorizer for some dispatchers
Reviewed-by: Ricardo Dias <rdias@suse.com>
Casey Bodley [Wed, 24 Apr 2019 20:07:33 +0000 (16:07 -0400)]
Merge pull request #27579 from cbodley/wip-rgw-split-log-trim
rgw: split mdlog/datalog trimming into separate files
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Neha Ojha [Wed, 24 Apr 2019 20:01:20 +0000 (13:01 -0700)]
qa/suites/upgrade: use correct branch names
Signed-off-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Wed, 24 Apr 2019 19:47:59 +0000 (15:47 -0400)]
Merge pull request #26173 from cbodley/wip-rgw-async-putobjprocessor
rgw: add YieldingAioThrottle for async PutObj/GetObj
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Sage Weil [Fri, 12 Apr 2019 21:22:04 +0000 (16:22 -0500)]
auth: kill AuthUnknownSessionHandler
The only user is ProtocolV1, which passes in an in-use auth_method...
which must be either AUTH_NONE or AUTH_CEPHX since we successfully
authenticated at this point.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 Apr 2019 21:20:45 +0000 (16:20 -0500)]
auth: kill AuthUnknown* (except AuthUnknownSessionHandler)
These are unreferenced by any other code.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 Apr 2019 19:21:20 +0000 (14:21 -0500)]
msg: remove old ms_* auth methods from Dispatcher interface
In the mon there is an opportunity to further clean up the code around
get_authorizer().
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Apr 2019 18:52:07 +0000 (13:52 -0500)]
mon/MonClient: discard old challenge if authorizer is bad
If we are a server/accepter, and we get a bad authorizer, discard our old
challenge, since the previous exchange has failed. This way if the client
retries, their new authorize attempt won't conflict with our old challenge.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 12 Apr 2019 19:19:38 +0000 (14:19 -0500)]
msg/async/ProtocolV1: use AuthServer and AuthClient
Stop using the old ms_* auth methods and instead use the new interfaces
(like V2).
Signed-off-by: Sage Weil <sage@redhat.com>
David Zafman [Wed, 24 Apr 2019 17:58:11 +0000 (10:58 -0700)]
Merge pull request #27279 from dzafman/wip-divergent
Improvements to standalone tests
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 24 Apr 2019 16:18:48 +0000 (00:18 +0800)]
Merge pull request #27750 from tchaikov/wip-silence-gcc-warning
test/objectstore: silence -Wsign-compare warning
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Sage Weil [Wed, 24 Apr 2019 15:48:17 +0000 (10:48 -0500)]
Merge PR #27721 into master
* refs/pull/27721/head:
tools: pin the version of breathe that works with Python2
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Wed, 24 Apr 2019 14:08:48 +0000 (15:08 +0100)]
librbd: leak on canceling simple io scheduler timer task
When the timer task is canceled it is just deleted and the passed
context will not be executed.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Casey Bodley [Thu, 18 Apr 2019 13:18:37 +0000 (09:18 -0400)]
test/rgw: rgw throttle tests use mock operations
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 17 Apr 2019 21:04:55 +0000 (17:04 -0400)]
rgw: add optional_yield to Aio::librados_op()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 17 Apr 2019 21:04:37 +0000 (17:04 -0400)]
rgw: add optional_yield to get_obj_data
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 17 Apr 2019 21:03:54 +0000 (17:03 -0400)]
rgw: add optional_yield to PutObjProcessors
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Wed, 24 Apr 2019 13:49:00 +0000 (15:49 +0200)]
Merge pull request #27221 from LenzGr/update-backportscripts
script: Obtain milestones via github API
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Casey Bodley [Mon, 28 Jan 2019 17:41:41 +0000 (12:41 -0500)]
rgw: read ops use make_throttle() with optional_yield
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 28 Jan 2019 18:12:11 +0000 (13:12 -0500)]
rgw: write ops use make_throttle() with optional_yield
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 28 Jan 2019 18:11:17 +0000 (13:11 -0500)]
rgw: add make_throttle() for optionally-async AioThrottle
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 10 Oct 2018 12:04:31 +0000 (08:04 -0400)]
rgw: add YieldingAioThrottle
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 10 Oct 2018 12:03:55 +0000 (08:03 -0400)]
rgw: add BlockingAioThrottle
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 24 Apr 2019 13:42:28 +0000 (09:42 -0400)]
Merge pull request #25692 from Liuchang0812/fix-26835
rgw: returns LimitExceeded when user creates too many ACLs
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 24 Apr 2019 13:41:52 +0000 (09:41 -0400)]
Merge pull request #25044 from tianshan/fix_36763
rgw: set null version object acl issues
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 24 Apr 2019 13:41:31 +0000 (09:41 -0400)]
Merge pull request #21154 from mslovy/rgw-admin-api
rgw: update op_mask of user via admin rest api
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 24 Apr 2019 13:40:36 +0000 (09:40 -0400)]
Merge pull request #17338 from tianshan/fix_roles_pool
rgw: add roles_pool in RGWZoneParams dump/decode json
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 24 Apr 2019 13:40:16 +0000 (09:40 -0400)]
Merge pull request #17591 from shashalu/fix-bucket-list-versions
rgw: list_bucket versions return NextVersionIdMarker = "null" if next_marker.instance is empty
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Wed, 24 Apr 2019 13:37:49 +0000 (08:37 -0500)]
Merge PR #27472 into master
* refs/pull/27472/head:
doc/rados/operations/devices: document device failure prediction
Reviewed-by: Rick Chen <rick.chen@prophetstor.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Wed, 24 Apr 2019 13:34:26 +0000 (21:34 +0800)]
Merge pull request #27573 from iotcg/corpus
import-generated.sh: use PATH to get ceph-dencoder
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 24 Apr 2019 13:15:19 +0000 (08:15 -0500)]
Merge PR #27696 into master
* refs/pull/27696/head:
osd: make use of pg history and past_intervals in pg_create2 messages
mon/OSDMonitor: track history and past_intervals for creating pgs
osd/osd_types: make PastIntervals pi_compact_rep print participants
osd/osd_types: take bare const OSDMap * to check_new_interval
osd/osd_types: add pg_history_t ctor that takes creation epoch+stamp
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Wed, 24 Apr 2019 13:14:55 +0000 (08:14 -0500)]
Merge PR #27656 into master
* refs/pull/27656/head:
doc/dev/erasure-coded-pool: update
doc/rados/operations/erasure-code*: update default ec profile references
common/options: change default erasure-code-profile to k=2 m=2
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 24 Apr 2019 12:58:35 +0000 (20:58 +0800)]
test/objectstore: silence -Wsign-compare warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Wed, 24 Apr 2019 12:40:43 +0000 (15:40 +0300)]
Merge pull request #27683 from dillaman/wip-24668
qa/workunits/rbd: use more recent qemu-iotests that support Bionic
Reviewed-by: Mykola Golub <mgolub@suse.com>
Lenz Grimmer [Thu, 18 Apr 2019 11:33:22 +0000 (13:33 +0200)]
script: Obtain milestones via github API
Replace the hard-coded list of milestones with an API request
that obtains this data from github directly.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
Changcheng Liu [Sat, 13 Apr 2019 08:15:35 +0000 (16:15 +0800)]
import-generated.sh: correct access to ceph-dencoder
align with instructions in doc/dev/corpus.rst.
doc/dev/corpus.rst is under change by kchai@redhat.com
in PR 27552.
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Kefu Chai [Mon, 22 Apr 2019 13:26:39 +0000 (21:26 +0800)]
doc/dev/corpus.rst: correct instructions
* should keep all OSD up and running, otherwise some tests will wait for
healthy cluster for ever.
* should start 2 MGR for an active-standby setting -- better coverage
this way
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 24 Apr 2019 11:49:54 +0000 (19:49 +0800)]
Merge pull request #27704 from tchaikov/wip-denc-dump
denc: allow DencDumper to dump OOB buffer
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Wed, 24 Apr 2019 11:41:03 +0000 (13:41 +0200)]
mgr/dashboard: iSCSI: Limit members to 1 group (#27520)
mgr/dashboard: iSCSI: Limit members to 1 group
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Wed, 24 Apr 2019 11:38:14 +0000 (13:38 +0200)]
Merge pull request #27722 from rhcs-dashboard/39434-prometheus-replace-whitespaces
mgr/prometheus: replace whitespaces in metrics' names
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Wed, 24 Apr 2019 11:31:50 +0000 (13:31 +0200)]
Merge pull request #27678 from tspmelo/wip-iscsi-discovery-read
mgr/dashboard: Fix iSCSI Discovery user permissions
Lenz Grimmer [Wed, 24 Apr 2019 11:29:46 +0000 (13:29 +0200)]
Merge pull request #27609 from tspmelo/wip-iscsi-form-warn
mgr/dashboard: Fix iSCSI target form warning
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Mykola Golub [Wed, 24 Apr 2019 10:00:52 +0000 (13:00 +0300)]
Merge pull request #27720 from dillaman/wip-39407
rbd-mirror: clear out bufferlist prior to listing mirror images
Reviewed-by: Mykola Golub <mgolub@suse.com>
myoungwon oh [Wed, 24 Apr 2019 05:58:09 +0000 (14:58 +0900)]
src/test: remove unused objects to calculate accurate dedup ratio.
Signed-off-by: Myoungwon Oh <ommw@sk.com>
Kefu Chai [Tue, 23 Apr 2019 11:23:05 +0000 (19:23 +0800)]
denc: use scope_guard to close(fd)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Apr 2019 14:08:15 +0000 (22:08 +0800)]
crush,msg: silence -Wsign-compare warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Apr 2019 13:27:16 +0000 (21:27 +0800)]
denc: allow DencDumper to dump OOB buffer
if encoder encodes buffers into the bufferlist directly, the
contiguous_appender's out_of_band_offset would be greater than zero, in
that case, we should dump the bufferlist passed to appender instead of
just looking at the [pre_pos, post_pos).
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 22 Apr 2019 13:13:03 +0000 (21:13 +0800)]
denc: rewrite DENC_DUMP_{PRE,POST} using template
* for better readability
* for better debugging experience
* so we can `friend` it in a class in a follow-up change
Signed-off-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Wed, 24 Apr 2019 00:44:08 +0000 (08:44 +0800)]
Merge pull request #27719 from xiexingguo/wip-crush-node-flags
mon/OSDMonitor: crush node flags - two fixes; add tests
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Tue, 23 Apr 2019 19:50:07 +0000 (15:50 -0400)]
Merge pull request #26107 from alimaredia/wip-dpp-rgw-put-obj-processor
rgw: log refactoring for putobj_processor
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Mon, 4 Mar 2019 20:55:11 +0000 (15:55 -0500)]
rgw: log refactoring for AtomicObjProcessor complete
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Sage Weil [Tue, 23 Apr 2019 18:08:29 +0000 (13:08 -0500)]
Merge PR #27628 into master
* refs/pull/27628/head:
common: optimize check_utf8
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 23 Apr 2019 18:06:52 +0000 (13:06 -0500)]
Merge PR #27702 into master
* refs/pull/27702/head:
osd/PG: fix last_complete re-calculation on splitting
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Tue, 23 Apr 2019 18:06:15 +0000 (13:06 -0500)]
Merge PR #27691 into master
* refs/pull/27691/head:
os/bluestore: fix out-of-bound access in bmap allocator.
os/bluestore: reproduce out-of-bound access for bmap allocator
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Apr 2019 18:05:44 +0000 (13:05 -0500)]
Merge PR #27707 into master
* refs/pull/27707/head:
common/util: handle long lines in /proc/cpuinfo
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Patrick Donnelly [Tue, 23 Apr 2019 17:53:52 +0000 (10:53 -0700)]
Merge PR #27537 into master
* refs/pull/27537/head:
mds: better output of 'ceph health detail'
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 23 Apr 2019 17:52:41 +0000 (10:52 -0700)]
Merge PR #27511 into master
* refs/pull/27511/head:
mds: fix SnapRealm::resolve_snapname for long name
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 23 Apr 2019 17:50:49 +0000 (10:50 -0700)]
Merge PR #27077 into master
* refs/pull/27077/head:
test: check listattr for snapshot btime entry
test: extend LibCephFS.Xattrs test
client: remove unused vxattr length helpers
client: fix _listxattr() vxattr buffer length calculation
test: add libcephfs snap.btime xattr test
client: add ceph.snap.btime vxattr
mds: carry snapshot creation time with InodeStat
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Casey Bodley [Tue, 23 Apr 2019 16:48:55 +0000 (12:48 -0400)]
Merge pull request #27725 from theanalyst/perf-counter-names
rgw: sync counters: drop spaces from counter names
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Abhishek Lekshmanan [Tue, 23 Apr 2019 15:27:08 +0000 (17:27 +0200)]
rgw: sync counters: drop spaces from counter names
Since this might break modules like prometheus and general json processing tools
aren't too happy with spaces.
Fixes: https://tracker.ceph.com/issues/39434
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
alfonsomthd [Tue, 23 Apr 2019 14:20:47 +0000 (16:20 +0200)]
mgr/prometheus: replace whitespaces in metrics' names
Fixes: https://tracker.ceph.com/issues/39434
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Jason Dillaman [Tue, 23 Apr 2019 14:07:26 +0000 (10:07 -0400)]
Merge pull request #27703 from tchaikov/wip-rbd-replay-denc
rbd_replay: call the member decode() explicitly
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Lenz Grimmer [Tue, 23 Apr 2019 13:54:23 +0000 (15:54 +0200)]
mgr/dashboard: Clean up TableComponent tests and code (#26784)
mgr/dashboard: Clean up TableComponent tests and code
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Alfredo Deza [Tue, 23 Apr 2019 13:09:09 +0000 (09:09 -0400)]
tools: pin the version of breathe that works with Python2
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Mon, 22 Apr 2019 11:26:54 +0000 (19:26 +0800)]
rbd_replay: call the member decode() explicitly
otherwise, the one defined using WRITE_RAW_ENCODER is called instead.
so in this change, rename the the member function which happens to have
the same signature with
decode(type &v, ::ceph::bufferlist::const_iterator& p)
where `type` is `__u8`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Tue, 23 Apr 2019 12:24:52 +0000 (08:24 -0400)]
rbd-mirror: clear out bufferlist prior to listing mirror images
The second call to list mirrored images will fail deep within the
msgr code due to a "bad crc in data" error.
Fixes: http://tracker.ceph.com/issues/39407
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 23 Apr 2019 12:11:38 +0000 (08:11 -0400)]
Merge pull request #27521 from trociny/wip-rbd-remove-clone_v2-parent
librbd: optionally move parent image to trash on remove
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 23 Apr 2019 12:11:07 +0000 (08:11 -0400)]
Merge pull request #27484 from majianpeng/rbd-nbd
rbd-nbd: sscanf return 0 mean not-match
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 9 Apr 2019 21:45:47 +0000 (16:45 -0500)]
doc/rados/operations/devices: document device failure prediction
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Tue, 23 Apr 2019 12:07:13 +0000 (08:07 -0400)]
Merge pull request #27697 from cbodley/wip-rgw-bucket-list-unordered
rgw: cls_bucket_list_unordered lists a single shard
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Sage Weil [Fri, 19 Apr 2019 21:41:04 +0000 (16:41 -0500)]
osd: make use of pg history and past_intervals in pg_create2 messages
If we get a mismatched epoch and past_intervals, error out early, or else
we'll end up asserting later in the PastIntervals code.
Signed-off-by: Sage Weil <sage@redhat.com>
Ashish Singh [Tue, 29 Jan 2019 09:33:18 +0000 (15:03 +0530)]
mgr/dashboard: Replace IP address validation with Python standard library functions
Instead of self-written validation methods to validate IPv4 and IPv6 addresses.
Use Python's standard library functions `ipaddress`.
Signed-off-by: Ashish Singh <assingh@redhat.com>
Kefu Chai [Tue, 23 Apr 2019 11:14:55 +0000 (19:14 +0800)]
Merge pull request #27713 from tchaikov/wip-24842
doc/rbd/rbd-cloudstack: update disk offering URL to new docs
Reviewed-by: Wido den Hollander <wido@42on.com>