]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
John Spray [Thu, 11 Oct 2018 09:23:52 +0000 (05:23 -0400)]
test: remove quirky argparse case
This relied on a behaviour where positional
arguments could be omitted if the subsequent
argument was of a different type.
This was pretty weird, and in any case the reweight-by-utilization
command is likely to go away soon.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 10 Oct 2018 13:51:38 +0000 (09:51 -0400)]
mgr,mon: use CephChoices for confirmation flags
...so that arg parsing can rely on strings satisfying
a "doesn't start with --" convention.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 9 Oct 2018 13:57:07 +0000 (09:57 -0400)]
test: add cases for CLI's --key=val style
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 9 Oct 2018 13:09:56 +0000 (09:09 -0400)]
mon: remove dead "cluster_snap" command
This had existed in a disabled state (by having an empty
string for the cli/rest field in the command definition)
for a long time. Now that that field is gone, we don't
have a concept of "disabled" commands any more, so
let's just clean up this loose end.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 28 Sep 2018 14:40:23 +0000 (10:40 -0400)]
pybind: enable --keyword=arguments in ceph_argparse
This is a simple implementation that treats anything
that matches the "--X=Y" pattern as separate from
positional arguments.
This works well for optional arguments. Mandatory
arguments still need to be specified positionally,
or the parsing code will think the command's
argument description has not been satisfied.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 27 Sep 2018 15:08:54 +0000 (11:08 -0400)]
ceph.in: some cleanups
Add some docstrings to functions, remove some
dead code and places where e.g. dicts were used
unncessary.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 27 Sep 2018 09:49:37 +0000 (05:49 -0400)]
ceph.in: misc cleanups
Get this pyflakes-clean ahead of making
changes for keyword arguments.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 27 Sep 2018 14:37:36 +0000 (10:37 -0400)]
common: remove unused 'avail' field from commands
This was introduced for the now-removed ceph-rest-api
gateway. It enabled limiting certain commands
to be CLI-only or rest-only, but in practice almost
everything just said "cli,rest" here.
Now that ceph-rest-api is gone, let's remove this
field.
The CLI client code already tolerated the absence
of this field, so older CLI clients will not mind.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 1 Mar 2018 16:43:57 +0000 (16:43 +0000)]
mon: fix help string for `osd crush rule create-replicated`
Signed-off-by: John Spray <john.spray@redhat.com>
Kefu Chai [Fri, 2 Nov 2018 02:44:04 +0000 (10:44 +0800)]
Merge pull request #24616 from tchaikov/wip-wip-librados-3
librados: split C++ and C APIs into different source files
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Patrick Donnelly [Thu, 1 Nov 2018 21:58:23 +0000 (14:58 -0700)]
Merge PR #24555 into master
* refs/pull/24555/head:
doc: document optional timeout argument for `cache drop`
mds: make timeout parameter optional for "cache drop"
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Thu, 1 Nov 2018 21:53:25 +0000 (14:53 -0700)]
Merge PR #24747 into master
* refs/pull/24747/head:
client: add new routine to get fscid from a ceph_mount
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Josh Durgin [Thu, 1 Nov 2018 21:52:24 +0000 (14:52 -0700)]
Merge pull request #24868 from liewegas/wip-doc-fix
doc/rados/operations/crush-map-edits: fix 'take' syntax
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Thu, 1 Nov 2018 03:52:07 +0000 (11:52 +0800)]
rpm,deb: package libceph-common.so.* not libceph-common.so*
be more explicit on what we are packaging. because only
libceph-common.so.${soversion} will be packaged, since libceph-common.so
won't be installed by cmake anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 1 Nov 2018 03:50:45 +0000 (11:50 +0800)]
cmake: do not create symlink for libceph-common.so.*
and bump up its soversion, so it won't conflict with libceph-common.so.0
offered by librados2.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 1 Nov 2018 02:57:46 +0000 (10:57 +0800)]
qa: add librados3 to exclude list of pre-nautilus install tasks
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 1 Nov 2018 02:57:16 +0000 (10:57 +0800)]
qa: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Oct 2018 11:33:32 +0000 (19:33 +0800)]
doc: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Oct 2018 10:15:30 +0000 (18:15 +0800)]
debian: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Oct 2018 10:15:13 +0000 (18:15 +0800)]
rpm: s/librados2/librados3/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Oct 2018 10:08:36 +0000 (18:08 +0800)]
cmake: bump librados so version
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Oct 2018 09:49:26 +0000 (17:49 +0800)]
librados: bump version number
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Oct 2018 07:34:52 +0000 (15:34 +0800)]
qa: update test_envlibrados_for_rocksdb.sh for libradospp split
include a patch so rocksdb can use libradospp instead of librados. will
upstream the patch and make it work for both pre-nautilus librados and
nautilus libradospp
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 23 Oct 2018 03:26:37 +0000 (11:26 +0800)]
rpm: add libradospp* packages
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 23 Oct 2018 03:11:53 +0000 (11:11 +0800)]
debian: add libradospp* packages
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 9 Jan 2018 09:19:28 +0000 (17:19 +0800)]
librados: move C++ APIs into libradospp
the goal is to decouple C++ API from C API, and to version them
differently, as they are targeting different consumers.
this allows us to change the C++ API and bumping up its soversion
without requiring consumer to recompile the librados client for
using the new librados. in this way, C++ API can move faster than
C API. for example, if bufferlist interface is changed for better
performance, and this breaks existing API/ABI, we can bump up
the C++ library's soversion, and and the C library's version unchanged
but ship the new librados's C binding. so the librados client linked
against librados's C library will be able to take advantage of
the improvement in C++ library. while the librados client
linked against C++ library won't break at runtime due to unresolved
symbol or changed structure layout.
this is massive change, the genereal idea is to
* split librados.cc into two source files: librados_c.cc and
librados_cxx.cc, the former for implementing C APIs, the later
for C++ APIs.
* extract the C++ API in librados into librados-cxx, the library
name will be libradospp. but we can change it before nautilus
is released.
* link these librados libraries with static libraries which it
depends on, so "-Wl,--exclude-libs,ALL" link flags can help
hide the non-public symbols.
* extract the tests exercising librados' C++ API into a different
source file named *_cxx.cc. for instance, to move the C++ tests
in aio.cc into aio_cxx.cc
* extract the shared helper functions which do not use any librados
or librados-cxx APIs into test_shared{.cc,h}. the "shared" here
means, *shared* by C++ and C tests.
* extract the test fixtures, i.e., the subclasses of testing::Test,
for testing C++ APIs into testcase_cxx.cc.
* update qa/workunits/rados/test.sh accordingly to add the splitted
tests
* update the consumers of librados to link against librados-cxx
instead, if they are using the C++ API.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 24 Oct 2018 07:35:05 +0000 (15:35 +0800)]
librados: move get_inconsistent_pgs() into RadosClient
so we don't need parse the pg string and render it again for librados C
API.
the downside of this change is that, get_inconsistent_pgs() could be
implemented using RadosClient, instead be *in* it. but before we have
a place for the helper functions for these higher-level functions,
RadosClient is a good place for hosting them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Thu, 1 Nov 2018 16:06:11 +0000 (12:06 -0400)]
Merge pull request #24406 from ivancich/wip-rgw-renew-reshard-lock
rgw: renew resharding locks to prevent expiration
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Thu, 1 Nov 2018 13:55:58 +0000 (09:55 -0400)]
Merge pull request #20598 from rishabh-d-dave/fix-rbdfuse-look-for-ceph-conf
rbd-fuse: look for ceph.conf in standard locations
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Lenz Grimmer [Thu, 1 Nov 2018 13:04:39 +0000 (14:04 +0100)]
Merge pull request #24829 from p-na/pna-fix-docstring
mgr/dashboard: Fix links to external documentation
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Remy Zandwijk [Wed, 31 Oct 2018 20:42:11 +0000 (15:42 -0500)]
doc/rados/operations/crush-map-edits: fix 'take' syntax
Fixes: https://tracker.ceph.com/issues/21496
Signed-off-by: Remy Zandwijk <remy@luckyhands.nl>
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Wed, 31 Oct 2018 18:56:29 +0000 (14:56 -0400)]
Merge pull request #21767 from cfanz/wip-fix-rgw-race-condition
rgw: avoid race condition in RGWHTTPClient::wait()
Ricardo Marques [Wed, 31 Oct 2018 18:36:36 +0000 (18:36 +0000)]
Merge pull request #24810 from rhcs-dashboard/35691-landing-page-chart-improvements
mgr/dashboard: Landing Page: chart improvements
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Matt Benjamin [Wed, 31 Oct 2018 18:30:02 +0000 (14:30 -0400)]
Merge pull request #20794 from ghost/wip-nfs-doc-err
doc: replace rgw_namespace_expire_secs with rgw_nfs_namespace_expire_secs
Matt Benjamin [Wed, 31 Oct 2018 18:26:02 +0000 (14:26 -0400)]
Merge pull request #21599 from cfanz/wip-fix-rgw-build-error
rgw: fix radosgw-admin build error
Joao Eduardo Luis [Wed, 31 Oct 2018 14:39:06 +0000 (14:39 +0000)]
Merge pull request #19983 from gohighsec/validate_hitset
mon:validate hit_set values before set
Casey Bodley [Wed, 31 Oct 2018 12:04:23 +0000 (08:04 -0400)]
Merge pull request #24848 from joke-lee/wip-doc-radosgw-admin
rgw: add --op-mask in radosgw-admin help info
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Alfredo Deza [Wed, 31 Oct 2018 11:06:02 +0000 (07:06 -0400)]
Merge pull request #24840 from ceph/wip-rm36648
ceph-volume systemd import main so console_scripts work for executable
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
yuliyang [Wed, 31 Oct 2018 06:50:13 +0000 (14:50 +0800)]
rgw: add --op-mask in radosgw-admin help info
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
Sage Weil [Tue, 30 Oct 2018 22:36:55 +0000 (17:36 -0500)]
Merge PR #19411 into master
* refs/pull/19411/head:
osd: Step down RecoveryCtx from class to struct
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Oct 2018 22:32:25 +0000 (17:32 -0500)]
Merge PR #19288 into master
* refs/pull/19288/head:
bluestore/BlueRocksEnv: Object initialization after deletion
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Sage Weil [Tue, 30 Oct 2018 22:18:06 +0000 (17:18 -0500)]
Merge PR #19142 into master
* refs/pull/19142/head:
doc/dev/kernel-client-troubleshooting: Add kernel dynamic debuggin
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Sage Weil [Tue, 30 Oct 2018 22:17:36 +0000 (17:17 -0500)]
Merge PR #19146 into master
* refs/pull/19146/head:
doc/dev/logs: Removes non-existence file path
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Oct 2018 21:09:06 +0000 (16:09 -0500)]
Merge PR #19726 into master
* refs/pull/19726/head:
osd: Sanity check, if too full or not
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:09:45 +0000 (15:09 -0500)]
Merge PR #24809 into master
* refs/pull/24809/head:
os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
os/bluestore: improve error handling for migrate ops in
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:08:00 +0000 (15:08 -0500)]
Merge PR #21009 into master
* refs/pull/21009/head:
rados: fix error message for cache(-try)-flush-evict-all commands
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:07:44 +0000 (15:07 -0500)]
Merge PR #24534 into master
* refs/pull/24534/head:
librados: Copy buffer on AIO read
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:06:45 +0000 (15:06 -0500)]
Merge PR #24545 into master
* refs/pull/24545/head:
os/bluestore: debug_omit_block_device_write isn't always respected.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:06:25 +0000 (15:06 -0500)]
Merge PR #24548 into master
* refs/pull/24548/head:
Objecter: add ignore cache flag if got redirect reply
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:06:10 +0000 (15:06 -0500)]
Merge PR #24599 into master
* refs/pull/24599/head:
os/bluestore/KernelDevice: Honor discard_granularity
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 30 Oct 2018 20:05:51 +0000 (15:05 -0500)]
Merge PR #24742 into master
* refs/pull/24742/head:
osd: slightly refactor PrimaryLogPG::do_op.
osd: avoid unnecessary map lookups in PrimaryLogPG::do_op.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Tue, 30 Oct 2018 19:50:28 +0000 (15:50 -0400)]
ceph-volume systemd import main so console_scripts work for executable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Yehuda Sadeh [Tue, 30 Oct 2018 16:00:19 +0000 (09:00 -0700)]
Merge pull request #22132 from yehudasa/wip-menv
ceph-menv: mrun shell environment
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 30 Oct 2018 15:20:02 +0000 (10:20 -0500)]
Merge PR #24755 into master
* refs/pull/24755/head:
mgr/diskprediction: use global device_failure_prediction_mode setting
Reviewed-by: John Spray <john.spray@redhat.com>
Lenz Grimmer [Tue, 30 Oct 2018 14:58:01 +0000 (15:58 +0100)]
Merge pull request #24764 from tspmelo/wip-jest-ci
mgr/dashboard: Reduce Jest logs in CI
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Tue, 30 Oct 2018 14:50:31 +0000 (15:50 +0100)]
Merge pull request #24633 from Devp00l/wip-issue-36467
mgr/dashboard: Add a unit test form helper class
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Patrick Nawracay [Tue, 30 Oct 2018 13:57:49 +0000 (14:57 +0100)]
mgr/dashboard: Cleanup imports
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Patrick Nawracay [Tue, 30 Oct 2018 13:41:20 +0000 (14:41 +0100)]
mgr/dashboard: Fix links to documentations
- Added anchor to Grafana in URL of OSD, Overall Performance
- Fixed URL in Object Gateway, Buckets
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
Sage Weil [Tue, 30 Oct 2018 13:47:54 +0000 (08:47 -0500)]
Merge PR #24668 into master
* refs/pull/24668/head:
mgr/DaemonState: fix get_config_defaults locking
mgr: adjust DaemonState device index when daemon metadata is updated
mgr/DaemonState: clear devices in set_metadata
Reviewed-by: Tim Serong <tserong@suse.com>
Alfredo Deza [Tue, 30 Oct 2018 13:12:17 +0000 (09:12 -0400)]
Merge pull request #24773 from sileht/no-scripts
ceph-volume: use console_scripts
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Rishabh Dave [Thu, 25 Oct 2018 13:26:50 +0000 (13:26 +0000)]
rbd-fuse: look for ceph.conf in standard locations
Fixes: http://tracker.ceph.com/issues/12219
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Stephan Müller [Fri, 19 Oct 2018 15:29:13 +0000 (17:29 +0200)]
mgr/dashboard: Renamed CdFormGroups inital test description
Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Thu, 2 Aug 2018 10:48:52 +0000 (12:48 +0200)]
mgr/dashboard: Use form helper in dashboard tests
Using form helper in pool, RGW user, user and role form tests and
although in the cd-validator tests.
Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Tue, 30 Oct 2018 11:19:12 +0000 (12:19 +0100)]
Merge pull request #24715 from ricardoasmarques/fix-36564
mgr/dashboard: Fix ts error on iSCSI page
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Stephan Müller [Thu, 2 Aug 2018 10:50:24 +0000 (12:50 +0200)]
mgr/dashboard: Add a unit test form helper class
This class helps testing forms, most methods were outsourced from the
pool form test suite.
Fixes: https://tracker.ceph.com/issues/36467
Signed-off-by: Stephan Müller <smueller@suse.com>
Kefu Chai [Tue, 30 Oct 2018 10:57:12 +0000 (18:57 +0800)]
Merge pull request #24735 from b-ranto/wip-rpm-dashboards
build/ops: rpm: Package grafana dashboards
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Tue, 30 Oct 2018 10:29:36 +0000 (10:29 +0000)]
Merge pull request #23569 from jcsp/wip-kubejacker
script/kubejacker: include cls libs
Reviewed-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Tue, 30 Oct 2018 09:50:20 +0000 (10:50 +0100)]
Merge pull request #22833 from rjfd/wip-dashboard-jwt
mgr/dashboard: JWT authentication
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
alfonsomthd [Mon, 29 Oct 2018 20:24:03 +0000 (21:24 +0100)]
mgr/dashboard: Landing Page: chart improvements
- Updated chart colors.
- Added border for chart slices (visual impairment help).
- Adjusted chart vertical centering.
Fixes: https://tracker.ceph.com/issues/35691
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Josh Durgin [Tue, 30 Oct 2018 04:23:11 +0000 (21:23 -0700)]
Merge pull request #21243 from majianpeng/osd-misc-cleanup
osd/ReplicatedBackend: remove useless assert
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jianpeng Ma [Mon, 22 Oct 2018 10:09:02 +0000 (18:09 +0800)]
osd/ReplicatedBackend: remove useless assert.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Gregory Farnum [Mon, 29 Oct 2018 22:16:29 +0000 (15:16 -0700)]
Merge pull request #13925 from nvedant07/bug_fix_1
osdmaptool/cleanup: Completed osdmaptool's usage
Gregory Farnum [Mon, 29 Oct 2018 20:45:48 +0000 (13:45 -0700)]
Merge pull request #24791 from falcon78921/wip-docs-demodocs
doc: added demo document changes section
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Igor Fedotov [Mon, 29 Oct 2018 18:14:32 +0000 (21:14 +0300)]
os/bluestore: omit redundant '/' in OSD path for ceph-bluestore-tool if
needed.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Ricardo Dias [Tue, 3 Jul 2018 15:57:06 +0000 (16:57 +0100)]
mgr/dashboard: run-frontend-unittests: fix CEPH_ROOT initialization
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 3 Jul 2018 10:34:11 +0000 (11:34 +0100)]
mgr/dashboard: frontend: JWT authentication implementation
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 3 Jul 2018 10:33:33 +0000 (11:33 +0100)]
mgr/dashboard: run-backend-api-request.sh: support for JTW tokens
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 3 Jul 2018 10:32:54 +0000 (11:32 +0100)]
mgr/dashboard: backend: JWT based authentication
Signed-off-by: Ricardo Dias <rdias@suse.com>
Igor Fedotov [Mon, 29 Oct 2018 15:18:18 +0000 (18:18 +0300)]
os/bluestore: improve error handling for migrate ops in
ceph_bluestore-tool.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Ricardo Marques [Tue, 23 Oct 2018 10:20:09 +0000 (11:20 +0100)]
mgr/dashboard: Fix ts error on iSCSI page
This error only happens until initiator is connected to the target.
Fixes: https://tracker.ceph.com/issues/36564
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Sage Weil [Mon, 29 Oct 2018 13:46:43 +0000 (08:46 -0500)]
Merge PR #24686 into master
* refs/pull/24686/head:
os/bluestore: show compress and buffered from WriteContext
os/bluestore: fix rename race with trim on replacement onode at old name
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Sage Weil [Thu, 25 Oct 2018 13:30:49 +0000 (08:30 -0500)]
mgr/diskprediction: use global device_failure_prediction_mode setting
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 29 Oct 2018 13:42:48 +0000 (08:42 -0500)]
Merge PR #24229 into master
* refs/pull/24229/head:
common: drop BL_BACKWARD_COMPAT in bufferlist.
osd: OSDMap encoding uses bufferlist::contiguous_filler.
mds: encode_xattrs() uses buffer::list::contiguous_filler.
common: introduce contiguous_filler to optimize ENCODE_START.
common: optimize hole appending in bufferlist.
common: duplicate an encoding macro to suppress warnings.
common: drop backward iteration from bufferlist.
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 29 Oct 2018 13:36:34 +0000 (08:36 -0500)]
Merge PR #24787 into master
* refs/pull/24787/head:
Merge PR #24796 into nautilus
osd: fix heartbeat_reset unlock
Merge PR #24780 into nautilus
Merge PR #24761 into nautilus
Merge PR #24651 into nautilus
osd: fix race between op_wq and context_queue
test: Make sure kill_daemons failure will be easy to find
test: Add flush_pg_stats to make test more deterministic
Igor Fedotov [Mon, 29 Oct 2018 13:30:36 +0000 (16:30 +0300)]
qa/standtalone/osd-bluefs-volume-ops: remove redundant code.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Lenz Grimmer [Mon, 29 Oct 2018 12:07:25 +0000 (13:07 +0100)]
Merge pull request #24763 from zmc/wip-36416
mgr/dashboard: Map dev 'releases' to master
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Mon, 29 Oct 2018 02:25:55 +0000 (21:25 -0500)]
Merge PR #24796 into nautilus
* refs/pull/24796/head:
osd: fix heartbeat_reset unlock
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Mon, 29 Oct 2018 01:21:53 +0000 (20:21 -0500)]
osd: fix heartbeat_reset unlock
Fixes
51d8e2457d73c709bfa4f706793696b3ce704ff9 , which moved to lock_guard
but didn't remove the unlock call on this exit path.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 29 Oct 2018 01:11:10 +0000 (20:11 -0500)]
Merge PR #24774 into master
* refs/pull/24774/head:
cmake: update dpdk drivers/modules to accomodate dpdk submodule
spdk: update to latest v18.07
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Mon, 29 Oct 2018 01:08:32 +0000 (20:08 -0500)]
Merge PR #24666 into master
* refs/pull/24666/head:
include/types: fixed compile warning for signed/unsigned comparison
osd/PrimaryLogPG: uncommitted dup ops should respond with logged return code
osd/PrimaryLogPG: propagate error return codes on object copy_get ops
osd/PGLog: optionally record error return codes for extra_reqids
osd/osd_types: include PG log return codes in object copy data
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 28 Oct 2018 14:41:31 +0000 (09:41 -0500)]
Merge PR #24688 into master
* refs/pull/24688/head:
common: make ceph_abort store same crash info as ceph_assert
global: store assert msg in global and dump to crash meta
pybind/mgr: make 'ceph crash ls' output sorted list
log: don't clear ring when dump_recent is called
ceph-crash: make clear to user that 'posted' should be directory
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 28 Oct 2018 14:41:01 +0000 (09:41 -0500)]
Merge PR #24780 into nautilus
* refs/pull/24780/head:
osd: take heartbeat_lock before checking for session
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Sun, 28 Oct 2018 14:39:50 +0000 (09:39 -0500)]
Merge PR #24780 into master
* refs/pull/24780/head:
osd: take heartbeat_lock before checking for session
Merge PR #24725 into nautilus
qa/tasks/qemu: use unique clone directory to avoid race with workunit
mds: add missing mds_lock
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Sun, 28 Oct 2018 14:39:34 +0000 (09:39 -0500)]
Merge PR #24778 into master
* refs/pull/24778/head:
rpm: use %license macro for packaging license file
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Sun, 28 Oct 2018 14:26:49 +0000 (22:26 +0800)]
Merge pull request #24792 from falcon78921/wip-doc-grammar1
doc: fixed typo in man page
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Oct 2018 14:24:04 +0000 (22:24 +0800)]
Merge pull request #24702 from wjwithagen/wjw-fix-blkdev-serial-const
common: mark BlkDev::serial() const to match with its declaration
Reviewed-by: Kefu Chai <kchai@redhat.com>
James McClune [Sun, 28 Oct 2018 06:02:59 +0000 (02:02 -0400)]
doc: fixed minor grammar error
Changed buchket to bucket
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
James McClune [Sun, 28 Oct 2018 05:44:17 +0000 (01:44 -0400)]
doc: added demo document changes section
Added a brief section about how to demo Ceph documentation
changes.
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
Radoslaw Zarzynski [Sat, 27 Oct 2018 06:30:57 +0000 (08:30 +0200)]
osd: slightly refactor PrimaryLogPG::do_op.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 27 Oct 2018 05:07:21 +0000 (13:07 +0800)]
Merge pull request #24785 from falcon78921/wip-docs-36605
doc: purge subcommand link broken
Reviewed-by: Kefu Chai <kchai@redhat.com>