Commit Graph

87101 Commits

Author SHA1 Message Date
Sage Weil
9c4660fd09
Merge pull request #22093 from liewegas/wip-24162
msg/async/Event: clear time_events on shutdown

Reviewed-by: Hoamai Wang <haomai@xsky.com>
2018-05-24 13:01:44 -05:00
Sage Weil
2d115b337b
Merge pull request #21491 from majianpeng/kerneldevice
os/bluestore/KernelDevice: misc cleanup

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-24 13:01:24 -05:00
Wido den Hollander
20f5696a73
mgr/telemetry: Check if boolean is False or not present
Now we disable the module if the boolean is True

Signed-off-by: Wido den Hollander <wido@42on.com>
2018-05-24 18:48:29 +02:00
Igor Fedotov
71c3b58da4 tools/ceph-bluestore-tool: update size label on bluefs expand
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-05-24 19:05:48 +03:00
Lenz Grimmer
32663e19bf
Merge pull request #22216 from votdev/fix_table_pagination_style
mgr/dashboard: Fix some datatable CSS issues

Approved-by: Ricardo Marques <rimarques@suse.com>
2018-05-24 16:33:34 +02:00
Adam Kupczyk
d998580c7d common/arch/arm: Improve CPU feature check.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2018-05-24 15:40:03 +02:00
Igor Fedotov
ffac450da5 tools/ceph-bluestore-tool: add support for proper setting size, btime,
description, osd_uuid fields

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-05-24 16:32:01 +03:00
Sage Weil
55bccd44da test/cli/monmaptool: fix test
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-24 08:22:14 -05:00
Sage Weil
7f6b3834fa osd/OSDMap: make NAUTILUS feature bit significant
It's not actually significant to the encoding yet, but it will be, so put
this in place now.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-24 08:22:14 -05:00
Sage Weil
dc85b8429e mon: add initial NAUTILUS feature/compatset bits
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-24 08:22:14 -05:00
Igor Fedotov
fa65e7bf65 tool/ceph-bluestore-tool: avoid mon/config access when calling global_init
This caused a permanent stuck on tool's startup.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-05-24 16:03:45 +03:00
Volker Theile
5e84bc5fee mgr/dashboard: Fix some datatable CSS issues
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-24 14:42:43 +02:00
Kefu Chai
921134312e
Merge pull request #22214 from joscollin/wip-ceph-fuse-typo
doc: Fix typo in ceph-fuse(8)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-24 20:16:50 +08:00
Jos Collin
7fd3189c98 doc: Fix typo in ceph-fuse
Fixes: https://github.com/ceph/ceph/pull/21616#pullrequestreview-122923127
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-05-24 17:28:53 +05:30
Tiago Melo
b6305630c4 mgr/dashboard: Add unit tests for all frontend pipes
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-24 12:44:06 +01:00
Orit Wasserman
308bc86a64
Merge pull request #22205 from tchaikov/wip-librgw_admin_user
deb,rpm: package librgw_admin_user.{h,so.*}
2018-05-24 13:57:46 +03:00
Ricardo Dias
379a008e77
mgr/dashboard: tox: ignore .vscode directory from linting
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-24 10:50:59 +01:00
Ricardo Dias
455c9b1a2a
mgr/dashboard: controller infrastructure refactor
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-24 10:50:58 +01:00
Kefu Chai
18b3f70249
Merge pull request #22181 from tchaikov/wip-24025
cmake/modules/BuildRocksDB.cmake: enable compressions for rocksdb

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-05-24 17:46:48 +08:00
Ricardo Dias
8fb798fb93
mgr/dashboard: removed browsable api
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-24 10:42:24 +01:00
Ricardo Dias
b7726f7ccb
mgr/dashboard: restcontroller: removed proxy methods
Now the dispatcher will call directly the RESTController methods:
list, create, delete, set, etc...

Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-24 10:40:27 +01:00
Ricardo Dias
f15b93e94d
mgr/dashboard: task: fix bug in __eq__ method
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-24 10:40:27 +01:00
Patrick Nawracay
dd542084fb
mgr/dashboard: Remove unused imports
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-05-24 10:39:55 +01:00
Patrick Nawracay
5230f3a07c
mgr/dashboard: Add documentation for method endpoints
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-05-24 10:39:36 +01:00
Patrick Nawracay
ea68cfe624
mgr/dashboard: Code refactoring
- Remove definition and usage of `isfunction` function and replace it
  with Pythons built-in `callable.

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-05-24 10:39:12 +01:00
Kefu Chai
27768ab272 dout: declare dpp using decltype(auto) instead of auto
this makes `pdpp` an alias of `dpp`, guess this ensure GCC that the
returned `sub` is a constant.

In file included from /home/kefu/dev/ceph/src/kv/LevelDBStore.h:25,
                 from /home/kefu/dev/ceph/src/kv/KeyValueDB.cc:6:
/home/kefu/dev/ceph/src/osd/osd_types.h: In lambda function:
/home/kefu/dev/ceph/src/common/dout.h:101:75: error: the value of ‘pdpp’
is not usable in a constant expression
     dout_impl(pdpp->get_cct(),
ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
                                                                           ^
/home/kefu/dev/ceph/src/common/dout.h:81:58: note: in definition of
macro ‘dout_impl’
       return (cctX->_conf->subsys.template should_gather<sub, v>()); \
                                                          ^~~
/home/kefu/dev/ceph/src/osd/osd_types.h:2992:3: note: in expansion of
macro ‘ldpp_dout’
   ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl;
   ^~~~~~~~~
/home/kefu/dev/ceph/src/common/dout.h💯12: note: ‘pdpp’ was not
declared ‘constexpr’
   if (auto pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for
'this' */ \
            ^~~~
/home/kefu/dev/ceph/src/common/dout.h💯12: note: in definition of
macro ‘ldpp_dout’
   if (auto pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for
'this' */ \
            ^~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-24 17:31:13 +08:00
Abhishek Lekshmanan
17dab9b3f2 doc: rgw: fix tagging support status
As of mimic, policy and LC conditionals for tagging are merged, so let's drop
the unsupported status.

Fixes: http://tracker.ceph.com/issues/24164
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-05-24 11:05:56 +02:00
Kefu Chai
ea62de37fc deb,rpm: package librgw_admin_user.{h,so.*}
* install and package librgw_admin_user.h, so developers can use it to
  create rgw user.
* package librgw_admin_user, so user can use it to create rgw user.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-24 16:45:58 +08:00
Kefu Chai
3766cdff1f cmake: always turn off bjam debugging output
we have 'DH_VERBOSE=1' in debian/rules, which instructs debhelper to
pass -DCMAKE_VERBOSE_MAKEFILE=ON to cmake. but the verbose output for
building boost does not really help if something goes wrong while
building the deb packages. if we do want to enable the verbose output,
we can always enable it by passing `-d <N>' to it. see
https://boostorg.github.io/build/manual/develop/index.html#bbv2.overview.invocation.options
.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-24 16:06:09 +08:00
Kefu Chai
2ac6a4980c
Merge pull request #22198 from dzafman/wip-minor
test: wait_for_pg_stats() should do another check after last 13 secon…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-24 14:40:21 +08:00
Mao Zhongyi
dba5435b9f test: silence unused variable warning
Remove the unused variable 'poolid' in TEST(LibRadosMicsPool,
PoolCreationRace).

Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-05-24 10:00:44 +08:00
David Zafman
151de1797b test: wait_for_pg_stats() should do another check after last 13 second sleep
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-23 17:27:14 -07:00
Yehuda Sadeh
5325701f88
Merge pull request #22194 from yehudasa/wip-fix-build
rgw: fix build

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-23 15:41:19 -07:00
Neha Ojha
7cfc95b367 qa/suites/rados/objectstore: move yaml files under a subdir
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-23 15:39:23 -07:00
Neha Ojha
dca3275f0c qa: whitelist SMALLER_PGP_NUM
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-23 15:15:54 -07:00
Yehuda Sadeh
7fbe2b4209 rgw: fix build
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-05-23 14:11:51 -07:00
Sage Weil
671eb5302b
Merge pull request #22190 from smithfarm/wip-google-style
doc/SubmittingPatches.rst: use Google style guide for doc patches

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-23 15:06:04 -05:00
Nathan Cutler
47ff2bf0d5 doc/SubmittingPatches.rst: rv double spaces and Please
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-05-23 20:29:37 +02:00
Nathan Cutler
6f2e7cada8 doc/SubmittingPatches.rst: use Google style guide for doc patches
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-05-23 20:24:23 +02:00
Casey Bodley
12b2e591ff
Merge pull request #22186 from cbodley/wip-cmake-rgw-request
cmake: remove deleted rgw_request.cc from CMakeLists.txt

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-23 12:47:19 -04:00
Josh Durgin
dfdedce895 osd: increase default hard pg limit
The hard limit was too easy to hit during failure cases, especially
due to mismatched device sizes causing high variance in pgs/osd.

Fixes: https://tracker.ceph.com/issues/24243
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2018-05-23 09:17:04 -07:00
Kefu Chai
71462ddf05 cmake/modules/BuildRocksDB.cmake: enable compressions for rocksdb
we should enable them if they are found.

currently, we don't have bzip2 compressor plugin, so it's not detected
in the cmake script. we can always enable it for rocksdb in future.

Fixes: http://tracker.ceph.com/issues/24025
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-23 23:59:41 +08:00
Casey Bodley
04147d56ab cmake: remove deleted rgw_request.cc from CMakeLists.txt
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-23 11:53:15 -04:00
Yuri Weinstein
9b10512d8e qa/tests: added supported distor for powercycle suite
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-23 08:25:24 -07:00
Andrew Schoen
9d0e6da2ee
Merge pull request #22116 from alfredodeza/wip-cv-ansible-deps
ceph-volume tests.functional add notario dep for ceph-ansible

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-05-23 15:08:01 +00:00
Orit Wasserman
23c4cf5b9f
Merge pull request #21439 from oritwas/wip-rgw-librgwadmin
new librgw_admin_us
2018-05-23 17:25:04 +03:00
Adam Kupczyk
90b1c1f1c4 common/crc/aarch64: Added cpu feature pmull and make aarch64 specific crc function to depend on it.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2018-05-23 15:06:19 +02:00
Lenz Grimmer
f895c9d109
Merge pull request #22060 from ricardoasmarques/wip-perf-counter-breadcrumb
Add performance counters breadcrumb

Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-05-23 14:51:42 +02:00
Lenz Grimmer
bcc9b18fe5
Merge pull request #22150 from ricardoasmarques/wip-improve-no-pools-message
mgr/dashboard: Improve 'no pool' message on rbd form

Reviewed-by: Kanika Murarka <murarkakanika@gmail.com>
2018-05-23 14:49:07 +02:00
Alfredo Deza
22310f4316 ceph-volume tests.functional install new ceph-ansible dependencies
Make note that ceph-ansible's requirements.txt can't be used just yet

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-23 08:32:07 -04:00