Kefu Chai
3178bb9638
cmake: disable gflags support in rocksdb
...
to silence the warnings like
CMake Warning at CMakeLists.txt:73 (find_package):
By not providing "Findgflags.cmake" in CMAKE_MODULE_PATH this project
has
asked CMake to find a package configuration file provided by "gflags",
but
CMake did not find one.
Could not find a package configuration file provided by "gflags" with
any
of the following names:
gflagsConfig.cmake
gflags-config.cmake
Add the installation prefix of "gflags" to CMAKE_PREFIX_PATH or set
"gflags_DIR" to a directory containing one of the above files. If
"gflags"
provides a separate development package or SDK, be sure it has been
installed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-21 01:17:37 +08:00
Kefu Chai
19aee456c0
cmake,make-dist: use sha256 instead of md5 for checksum
...
the boost's download page offers the SHA256 hash, so it'd be easier to
verify the hash this way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-21 01:17:35 +08:00
Kefu Chai
3f24a7da92
cmake: hide symbols import from other libraries in libcls_*
...
so they will not be involved when resolving symbols. ld tries to
keep a shared library around even if it fails to load it if it offers
some unique symbols. in that case, the library will not be properly
unloaded, and even worse it will interfere with following dlopen()
calls, because it is marked with NODELETE by dlopen(). if it has some
unresolved symbol and does offer some "unique" symbols required by
the library to be loaded, the library will fail to load, despite the
fact that the "unique" symbol is also offered by the executable.
for more details, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60731 and
https://sourceware.org/bugzilla/show_bug.cgi?id=14577
Fixes: http://tracker.ceph.com/issues/23517
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-21 01:02:21 +08:00
Alfredo Deza
a454abc863
doc/man/ceph-volume update flags for activate
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-20 12:48:09 -04:00
Alfredo Deza
ae96b9f0a2
doc/man/ceph-volume update flags for prepare
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-20 12:48:01 -04:00
Casey Bodley
92b12f2a65
rgw: aws4 auth supports PutBucketRequestPayment
...
Fixes: http://tracker.ceph.com/issues/23803
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-20 12:42:43 -04:00
Casey Bodley
d505d77b7e
random: revert change from boost::optional to std::optional
...
somehow this was breaking the seeding of thread-local engines on gcc.
we'll have to investigate this further, but for now i'm reverting this
piece to get messengers working again
Fixes: http://tracker.ceph.com/issues/23778
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-20 12:24:06 -04:00
Lenz Grimmer
580852e229
doc: updated dashboard feature list (added new RGW details, Pools)
...
Updated the dashboard feature list in the documentation to mention
the possibility to list Ceph pools and the RGW users and their buckets.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-04-20 18:11:07 +02:00
Ricardo Dias
2f0984ae06
Merge pull request #21516 from rjfd/wip-dashboard-rest-improvements
...
mgr/dashboard: RESTController improvements
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-20 16:45:26 +01:00
Ricardo Dias
b970e9963b
Merge pull request #21353 from Devp00l/pool-list
...
mgr/dashboard: Pool listing
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-20 16:40:08 +01:00
Jason Dillaman
178aeef759
Merge pull request #21563 from idryomov/wip-krbd-lock-timeout-fixup
...
doc: lock_timeout is a per mapping option
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 11:36:09 -04:00
Jason Dillaman
aa96f44400
qa/workunits/rbd/import_export: update unit formatting
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 11:31:27 -04:00
Jason Dillaman
3e8b74fb3d
qa/workunits/rbd/cli_generic: update unit formatting
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 11:26:48 -04:00
Jason Dillaman
0acc0a8a85
test/cli-integration/rbd: updated unit formatting
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 11:19:46 -04:00
Jason Dillaman
bdcf9d9a2c
rbd: correct object size formatting
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 11:00:37 -04:00
Ilya Dryomov
260741a47d
doc: lock_timeout is a per mapping option
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-20 16:39:09 +02:00
Ilya Dryomov
b0311db99b
Merge pull request #21522 from idryomov/wip-krbd-lock-timeout-test
...
qa: krbd_exclusive_option.sh: add lock_timeout test case
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 16:21:48 +02:00
Ilya Dryomov
b74489ece3
Merge pull request #21513 from idryomov/wip-krbd-notrim-test
...
qa: krbd_fallocate.sh: add notrim test case
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-20 16:20:46 +02:00
Stephan Müller
1b28705be5
mgr/dashboard: Add pool listing
...
Adds a new top level menu entry, called "Pool", which lists all pools
and contains a minimalistic detail view.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-20 16:13:34 +02:00
Stephan Müller
d0d3dfac59
mgr/dashboard: K-v-table uses autoReload input
...
The "autoReload" input from the data table can now be used in the key
value table as well.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-04-20 16:11:12 +02:00
Lenz Grimmer
564cac3e68
Merge pull request #21517 from rjfd/wip-dashboard-fix-rbd-auth
...
mgr/dashboard: rbd: add @AuthRequired to snapshots controller
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-20 15:55:37 +02:00
Lenz Grimmer
6d07530df3
Merge pull request #20869 from votdev/dashboard_rgw_ro
...
mgr/dashboard: Add RGW user and bucket lists (read-only)
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-04-20 15:52:21 +02:00
Jan Fajerski
14e29fdc00
common/strtoll: remove superfluous const modifier
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-04-20 15:30:45 +02:00
Lenz Grimmer
7075470c3c
Merge pull request #21386 from votdev/api_interceptor
...
mgr/dashboard: Rename and refactor ApiInterceptorService class
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-04-20 11:34:47 +02:00
Ricardo Dias
6aa52b675e
Merge pull request #21531 from LenzGr/mgr-dashboard-documentation
...
doc: updated the dashboard feature list
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-04-20 09:55:25 +01:00
Nathan Cutler
f03b9028f5
qa/standalone/ceph-helpers.sh: provide argument to dirname
...
Fixes: http://tracker.ceph.com/issues/23805
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-20 10:10:15 +02:00
Zhang Shaowen
e1a1034aec
rgw: admin rest api shouldn't return error when getting user's stats if
...
the user hasn't create any bucket.
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2018-04-20 16:06:06 +08:00
Willem Jan Withagen
ad6baee3f9
EventKqueue: Clang want realloc return to be typed
...
Otherwise Clang start complaining:
src/msg/async/EventKqueue.cc:202:18: error: assigning to 'struct SaveEvent *' from incompatible type 'void *'
sav_events = realloc(sav_events, sizeof(struct SaveEvent)*newsize);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.`
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-04-20 10:00:03 +02:00
Lenz Grimmer
3666365460
doc: updated the dashboard feature list
...
Updated and improved the Mgr Dashboard feature list: added RBD management
features.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-04-20 09:50:33 +02:00
Patrick Donnelly
8b3b7dbefa
Merge PR #21499 into master
...
* refs/pull/21499/head:
doc/cephfs: update kernel client quotas support info
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2018-04-19 16:15:28 -07:00
Patrick Donnelly
cdd701f434
githubmap: update contributors
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 16:15:27 -07:00
Patrick Donnelly
7fa4965c2a
Merge PR #21472 into master
...
* refs/pull/21472/head:
mds: optimize purge queue expire pos update
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 16:05:25 -07:00
Patrick Donnelly
9b2a919d70
Merge PR #21434 into master
...
* refs/pull/21434/head:
client: add client option descriptions
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-19 14:59:24 -07:00
Casey Bodley
02f64e7f8b
rgw: move all pool creation into rgw_init_ioctx
...
the pool_create/application_enable logic was duplicated in three places,
and only one of them was reporting the error on ERANGE
Fixes: http://tracker.ceph.com/issues/23480
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-19 15:10:36 -04:00
Patrick Donnelly
378a6fcfe8
qa: check old_max_mds is not wiped by marked down twice
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 11:57:45 -07:00
Patrick Donnelly
bee7a113c7
MDSMonitor: do not wipe old_max_mds when marked down twice
...
Fixes: http://tracker.ceph.com/issues/23800
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 11:52:50 -07:00
Patrick Donnelly
a4778e9d62
Merge PR #21498 into master
...
* refs/pull/21498/head:
client: flush the mdlog in _fsync before waiting on unstable reqs
Reviewed-by: dongdong tao <tdd21151186@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-19 11:09:46 -07:00
Boris Ranto
4dde3d355f
Merge pull request #21530 from jan--f/mgr-prometheus-fix-osd-metadata
...
pybind/mgr/prometheus: fix creation of osd_metadata metric
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-04-19 19:42:48 +02:00
Kefu Chai
c5e6f6b0a4
common/strtol: fix strict_strtoll() so it accepts hex starting with 0x
...
- simplify the error handling of strtoll().
- only instantiate ostringstream when handling errors.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-19 23:35:31 +08:00
Jan Fajerski
05a37d4a61
pybind/mgr/prometheus: fix creation of osd_metadata metric
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-04-19 17:34:25 +02:00
Kefu Chai
ed96c33181
Merge pull request #21446 from smithfarm/wip-ctest-py3-fallback
...
cmake/mgr: use Python 3 virtualenv if mgr subinterpreter is Python 3
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-19 23:13:23 +08:00
Kefu Chai
3d5aaf5a59
Merge pull request #21477 from liewegas/wip-kvstore-tool
...
ceph-kvstore-tool: make it a bit more friendly
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-19 22:57:42 +08:00
Kefu Chai
12e42211aa
Merge pull request #21488 from tchaikov/wip-i-choose-to-die-instead-of-leak
...
msg/async/EventKqueue: assert on OOM
Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-04-19 22:57:00 +08:00
Volker Theile
3416cf2ec4
mgr/dashboard: Add ability to cancel notifications.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 16:39:29 +02:00
Volker Theile
9db2d058bc
mgr/dashboard: Do not show notifications for HTTP 409 errors.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 16:39:29 +02:00
Volker Theile
8d775bedce
mgr/dashboard: Rename auth-interceptor and refactor it to display notifications for more errors than 401 and 500.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 16:39:29 +02:00
Andrew Schoen
eaa02bc722
Merge pull request #21496 from ceph/wip-rm23678
...
ceph-volume: allow skipping systemd interactions on activate/create
Reviewed-by: Andrew Schoen <aschoen@redhat.com
2018-04-19 14:36:40 +00:00
Yan, Zheng
e3a38e9e89
mon: respect standby_for_fscid when choosing standby replay mds
...
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-04-19 21:36:26 +08:00
Yan, Zheng
8d40e21de0
mon: fix standby replay in multimds setup
...
The code should break loops for two level. otherwise, in multimds setup,
a standby mds may get assigned to standby replay multiple times. This
bug may cause monitor to crash.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23658
2018-04-19 21:26:31 +08:00
Volker Theile
ee5c9ad03c
mgr/dashboard: Modify RGW proxy response of errors to display a detailed message in the error notification.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 11:35:13 +02:00