Nur Faizin
4de6aa51df
mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS
...
This change fixes error on NFS Ganesha management dashboard that throws an error when request daemon list.
Fixes: https://tracker.ceph.com/issues/39709
Signed-off-by: Nur Faizin <nur.faizin91@gmail.com>
2019-05-16 09:08:17 +07:00
J. Eric Ivancich
ce1df3ceef
Merge pull request #27870 from theanalyst/rgw-objexp-fixes-cli
...
rgw: object expirer fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-05-11 09:10:54 -04:00
Kefu Chai
93ba1a31df
Merge pull request #27926 from tchaikov/wip-38627
...
pybind/mgr: convert str to int using "int()"
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2019-05-11 09:37:39 +08:00
David Zafman
624d1172c3
Merge pull request #27914 from dzafman/wip-39304
...
osd: Include dups in copy_after() and copy_up_to()
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-05-10 17:41:31 -07:00
David Zafman
09fb7a5a12
Merge pull request #27961 from dzafman/wip-39582
...
osd: Output Base64 encoding of CRC header if binary data present
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-10 15:46:16 -07:00
David Zafman
f526c6d55c
osd: Fix merge_log_dups() not remove dup corresponding to log.tail
...
The log tail is not inclusive of the log, so not an overlap
Fix unittest_pglog to verify proper operation
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-05-10 15:31:51 -07:00
David Zafman
d0d244d222
test: unittest_pglog: Additional test cases for trim, copy_up_to and copy_after
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-05-10 15:31:51 -07:00
David Zafman
a008bd8c18
test: unittest_pglog: Remove irrelevant config values
...
osd_min_pg_log_entries and osd_max_pg_log_entries are not involved
in the log handling code being tested.
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-05-10 15:31:51 -07:00
David Zafman
7959159e83
test: Adding standalone test of log copy handling
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-05-10 15:31:51 -07:00
Sage Weil
62e241e4da
Merge PR #27782 into master
...
* refs/pull/27782/head:
os/bluestore: protect BlueFS::FileReader::buf
os/bluestore: log 'buffered' in KernelDevice::read_random
os/bluestore: support RocksDB prefetching at BlueFS
os/bluestore: call BlueFS::_init_logger earlier.
tools/ceph-objectstore-tool: dump perf counters on competion.
os/bluestore: optimize mapping offset to extent in BlueFS.
Reviewed-by: Sage Weil <sage@redhat.com>
2019-05-10 16:29:35 -05:00
Sage Weil
5229e1ec7f
Merge PR #27928 into master
...
* refs/pull/27928/head:
mon/OSDMonitor: require nautilus to set pg_autoscale_mode
mon/OSDMonitor: allow pg_num to increase when require_osd_release < N
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-05-10 16:22:40 -05:00
Sage Weil
4982bd58fc
Merge PR #27877 into master
...
* refs/pull/27877/head:
mon: paxos: introduce new reset_pending_committing_finishers for safety
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-10 16:21:58 -05:00
Neha Ojha
de5c5d8468
Merge pull request #21722 from mslovy/wip-parial-recovery
...
osd: partial recovery strategy based on PGLog
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-05-10 11:48:23 -07:00
Alfredo Deza
d362301306
Merge pull request #28060 from ceph/wip-bz1666822
...
ceph-volume: use the Device.rotational property instead of sys_api
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-05-10 14:37:35 -04:00
Andrew Schoen
f1db0a8648
ceph-volume: skip missing interpreters when running tox tests
...
This will skip tests for versions of python that don't exist on the node
that's running the tests.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2019-05-10 11:04:35 -05:00
Andrew Schoen
8ebff475df
ceph-volume: use the Device.rotational property instead of sys_api
...
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1666822
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2019-05-10 10:41:49 -05:00
Sage Weil
d2c591a142
mon/OSDMonitor: require nautilus to set pg_autoscale_mode
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-05-10 09:31:03 -05:00
Sage Weil
7e7134aa93
mon/OSDMonitor: allow pg_num to increase when require_osd_release < N
...
Setting pg_num_target has no effect when we encode our OSDMap with mimic
or luminous features. Fall back to the pre-nautilus behavior of directly
setting pg_num.
Fixes: http://tracker.ceph.com/issues/39570
Signed-off-by: Sage Weil <sage@redhat.com>
2019-05-10 09:31:03 -05:00
Casey Bodley
8107bc6aef
Merge pull request #27795 from cbodley/wip-rgw-beast-async-body
...
rgw: beast frontend uses yield_context to read/write body
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-05-10 09:05:32 -04:00
Lenz Grimmer
e7ad5ed68d
mgr/dashboard: Added Object Gateway menu tab tests ( #27565 )
...
mgr/dashboard: Added Object Gateway menu tab tests
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-05-10 12:41:09 +02:00
Nathan Cutler
ae4f94c868
Merge pull request #28042 from smithfarm/wip-doc-ceph-backport-sh
...
doc: improve ceph-backport.sh comment block
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-05-10 11:27:30 +02:00
Nathan Cutler
0b6c121805
doc: improve ceph-backport.sh comment block
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-05-10 10:22:50 +02:00
Samuel Just
d20076b7b4
Merge pull request #28048 from athanatos/sjust/wip-peering-state-cleanup
...
More PeeringState and related cleanups to ease use in crimson
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-05-09 20:34:06 -07:00
Sage Weil
5cca06aab8
Merge PR #27811 into master
...
* refs/pull/27811/head:
commom: make cluster_network work.
Reviewed-by: Sage Weil <sage@redhat.com>
2019-05-09 20:42:16 -05:00
David Zafman
00f279db37
osd: Include dups in copy_after() and copy_up_to()
...
Client saw out of order results in a test with a very small
pg_log because a backfill/recovery sent a small number of
log entries for duplicate checks.
Since these copy operations are equivalent to both a copy
and trim (an argument controls how many log entries
transfer), we need to include any new dups with enough
existing dups up to the configured maximum.
Fixes: http://tracker.ceph.com/issues/39304
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-05-09 17:50:27 -07:00
Xie Xingguo
a14545d592
Merge pull request #28050 from dillaman/wip-39448
...
msg/async: reduce verbosity of connection timeout failures
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-05-10 08:39:15 +08:00
sjust@redhat.com
0d7115584e
osd/: Move PG::_prepare_write_info into osd_types prepare_info_keymap
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:34 -07:00
Samuel Just
48ce9f4570
osd/: convert boost::optional users to std::optional
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:26 -07:00
Samuel Just
571195955c
PeeringState: switch remaining boost::optional users
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:26 -07:00
Samuel Just
276023c269
src/osd: Clean up PeeringCtx ownership semantics and pointer/ref usage
...
PeeringCtx was a bit of a mess in terms of tracking down where the
resources were cleaned up. This patch:
- Reworks PeeringCtx to directly own its maps/transaction
- Introduces PeeringCtxWrapper to deal with the message buffering
internally
- Cleans up users to avoid passing pointers through the PeeringState
interface unnecessarily.
This'll allow the PeeringCtx destructor to do its job vastly
simplifying usage in crimson.
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:26 -07:00
Samuel Just
8a2ea310f5
os: break Transaction of of Objectstore, use in crimson
...
Transaction is needed in crimson, but not ObjectStore.
Signed-off-by: Samuel Just <rexludorum@gmail.com>
2019-05-09 17:22:26 -07:00
Samuel Just
7b27aa1eae
src/osd: refactor to use ostream_temp
...
The concept of emitting log lines to a central mon log is likely
to be useful for both crimson and classic, but the mechanism is
likely to be different. Break out OstreamTemp for use in interface.
Signed-off-by: Samuel Just <rexludorum@gmail.com>
2019-05-09 17:22:26 -07:00
Samuel Just
23a261718b
PeeringState: use HBHandle
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:25 -07:00
Samuel Just
bab7ec4f49
osd/PeeringState: include MOSDPGLog.h
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:25 -07:00
Samuel Just
5eda7afb36
osd/: create interface for TPHandle, remove WorkQueue include from MissingLoc
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:25 -07:00
Samuel Just
e754dd8d8e
osd/: move perf counter constants and constructors
...
PeeringState requires the same counters in crimson, but we
need to avoid OSD.h include in PeeringState.
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:25 -07:00
Samuel Just
e41e201a0d
PeeringState::ActivateCommitted: intialize epoch
...
Fixes: https://tracker.ceph.com/issues/39636
Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-09 17:22:25 -07:00
Kefu Chai
adb8075138
Merge pull request #28053 from liu-chunmei/ceph_seastar_bugfix
...
crimson/osd: fix the build broken by df771861
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-10 07:14:47 +08:00
Kefu Chai
cda7429851
Merge pull request #28041 from tchaikov/wip-crimson-v1-auth
...
crimson/mon: fix the v1 auth
Reviewed-by: Samuel Just <sjust@redhat.com>
2019-05-10 07:07:56 +08:00
chunmei Liu
d101593c38
crimson/osd: can't ‘operator<’ ‘ceph_release_t’ and ‘int’
...
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
2019-05-09 15:22:42 -07:00
Patrick Donnelly
f590518a2f
Merge PR #27717 into master
...
* refs/pull/27717/head:
mds: output lock state in format dump
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-05-09 12:32:55 -07:00
Jason Dillaman
081b060820
Merge pull request #28009 from ricardoasmarques/rbd-feature-migrating
...
Add 'RBD_FEATURE_MIGRATING' to rbd.pyx
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-05-09 14:59:16 -04:00
Abhishek Lekshmanan
ef8329f203
doc: add a note on reshard object expirer fixes in PendingReleaseNotes
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-05-09 20:51:50 +02:00
Abhishek Lekshmanan
40bf082da2
doc: add a troubleshooting note on resharding expirer fixes
...
Added a note about the commands added to support stale expired object deletion
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-05-09 20:51:50 +02:00
Jason Dillaman
6b4f9729fd
msg/async: reduce verbosity of connection timeout failures
...
Long running clients connected to thrashing OSDs could result in a
"see no progress in more than <timeout>" message printed to stderr.
This is not an error but can result in test failures when console
output is compared against expected output.
Fixes: http://tracker.ceph.com/issues/39448
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-05-09 14:50:12 -04:00
Abhishek L
475a5b7a65
Merge pull request #27680 from theanalyst/aws-rest-fixes
...
rgw: rest client fixes for cloud sync XML outputs
Reviewed-By: Casey Bodley <cbodley@redhat.com>
2019-05-09 19:55:17 +02:00
Igor Fedotov
054355934a
os/bluestore: protect BlueFS::FileReader::buf
...
Now this buffer might be accessed from BlueRocksRandomAccessFile
which is intended for multi-threading access. Hence we need a
proper protection for the buffer.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-05-09 19:26:29 +03:00
letterwuyu
c04a3ccdd2
osd: make max_num_intervals of ObjectCleanRegions a configuration option
...
Signed-off-by: lishuhao <lishuhao@unitedstack.com>
2019-05-09 22:31:32 +08:00
Lenz Grimmer
37699d09cc
mgr/dashboard: Remove messages.xlf ( #28020 )
...
mgr/dashboard: Remove messages.xlf
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-05-09 16:28:06 +02:00
Kefu Chai
3f10752347
Merge pull request #27976 from mykaul/patch-2
...
doc: Update link to Red Hat documentation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-09 21:20:17 +08:00