Commit Graph

98355 Commits

Author SHA1 Message Date
Yan, Zheng
89759654c1 qa/cephfs: add test for blacklisted client eviction
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-06-05 21:05:06 +08:00
Yan, Zheng
0d51266c45 mds: fix 'is session in blacklist' check in Server::apply_blacklist()
Blacklist entries are always TYPE_ANY for nautilus+, but client's
entity addr type can be legacy.

Fixes: http://tracker.ceph.com/issues/40061
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2019-05-29 21:55:47 +08:00
Kefu Chai
ef8ea3a61c
Merge pull request #27569 from batrick/gcc-9-wrn
CMakeLists: add std::move warnings in gcc9

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-28 19:21:46 +08:00
Lenz Grimmer
0197ac6b5a
mgr/dashboard: Add clients tab to NFS details (#28193)
mgr/dashboard: Add clients tab to NFS details

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-05-28 12:51:26 +02:00
Lenz Grimmer
2e2bc8e228
mgr/dashboard: Unify remaining action labels (#28162)
mgr/dashboard: Unify remaining action labels

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-05-28 11:28:12 +02:00
Yan, Zheng
a5948e9bdc
Merge pull request #27436 from simon-rock/simon_work
mds: avoid sending too many osd requests at once after mds restarts
2019-05-28 15:30:31 +08:00
Kefu Chai
bad8d62811
Merge pull request #28224 from jan--f/pool-ls-detail-ec-profile
osd_types: add ec profile to plain text osd pool ls detail output

Reviewed-by: Sage Weil <sage@redhat.com>
2019-05-28 05:28:00 +02:00
Kefu Chai
e2b7da363c
Merge pull request #28159 from batrick/i39599
common: fix parse_env nullptr deref

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-28 05:26:27 +02:00
Kefu Chai
fc4d54ac30
Merge pull request #28057 from wido/zabbix-pg-state
mgr/zabbix: Fix typo in key name for PGs in backfill_wait state

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-05-28 05:24:09 +02:00
Kefu Chai
f9b1b41a4f
Merge pull request #28025 from markhpc/wip-bs-aio-preadv
os/bluestore: Unify on preadv for io_uring and future refactor.

Reviewed-by: Sage Weil <sage@redhat.com>
2019-05-28 05:22:24 +02:00
Kefu Chai
891b2d0a10
Merge pull request #28010 from ifed01/wip-ifed-dump-large-onode
os/bluestore: dump onode that has too many spanning blobs

Reviewed-by: Sage Weil <sage@redhat.com>
2019-05-28 05:16:21 +02:00
Kefu Chai
2ea3df1967
Merge pull request #26341 from sebastian-philipp/dashboard-merge-orchclient
mgr/dashboard: Fix iSCSI + Rook issues

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-05-28 05:11:13 +02:00
simon gao
78484352f5 mds: avoid sending too many osd requests at once after mds restarts
Fixes: http://tracker.ceph.com/issues/40028

Signed-off-by: simon gao <simon29rock@gmail.com>
2019-05-27 22:36:32 -04:00
Lenz Grimmer
bc49c2ec85
mgr/dashboard: Subscribe to changes when RequiredIf is used (#28231)
mgr/dashboard: Subscribe to changes when RequiredIf is used

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-05-27 15:09:41 +02:00
Sebastian Wagner
f1ea02970b
Merge pull request #28078 from sebastian-philipp/kubejacker-fix-mgr-plugins
scripts/kubejacker: Fix mgr_plugins target for centos

Reviewed-by: Tim Serong <tserong@suse.com>
2019-05-27 10:14:45 +02:00
Matt Benjamin
b97022ce55
Merge pull request #28155 from alimaredia/wip-remove-mon-valgrind-check-in-rgw-suite
qa: remove mon valgrind check in rgw verfiy suite
2019-05-24 12:04:51 -04:00
Tiago Melo
86285b543b mgr/dashboard: Subscribe to changes when RequiredIf is used
FormControls that use 'requiredIf' validators depend on the state of other
controls.
To prevent that some of the state changes are not tracked, we now automatically
subscribe to the prerequsited controls and update the validation of the parent
control.

Fixes: https://tracker.ceph.com/issues/40017

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-05-23 17:35:46 +00:00
Jan Fajerski
6910cccad3 osd_types: add ec profile to plain text osd pool ls detail output
Fixes: http://tracker.ceph.com/issues/40009

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-05-23 14:28:48 +02:00
Tiago Melo
2ec694566a mgr/dashboard: Unify the labels on all table actions objects
Fixes: http://tracker.ceph.com/issues/39102

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-05-23 11:05:18 +00:00
Tiago Melo
6eaac0d6ec mgr/dashboard: Unify action naming for NFS
Fixes: http://tracker.ceph.com/issues/39102

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-05-23 11:05:18 +00:00
Lenz Grimmer
19c738e45c
mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS (#28075)
mgr/dashboard: Bug Fix Error on Mgr Dashboard NFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-05-23 10:47:55 +02:00
Patrick Donnelly
caba2e25ce
common: fix parse_env nullptr deref
Fixes: https://tracker.ceph.com/issues/39599
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-05-22 23:28:45 -07:00
Patrick Donnelly
ccaf2ccc13
test: add test for parse_env
Test for https://tracker.ceph.com/issues/39599

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-05-22 23:28:40 -07:00
Lenz Grimmer
fed86061b0
Merge pull request #28169 from bk201/wip-39971
mgr/dashboard: fix some performance data are not displayed

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
2019-05-22 18:23:34 +02:00
Nathan Cutler
b829fbd4f5
Merge pull request #28181 from smithfarm/wip-39981
do_cmake.sh: use bash

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-05-22 18:02:45 +02:00
Mykola Golub
651dac4872
Merge pull request #28093 from dillaman/wip-39703
librbd: use custom allocator for aligned boost::lockfree::queue

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-05-21 21:52:59 +03:00
Sebastian Wagner
36b59c8d42 mgr/rook: Raise proper exception in describe_service
`describe_service` is called often and raising
  assertions will pollute the log file with tracebacks.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-05-21 15:08:23 +02:00
Sebastian Wagner
7b80537c84 mgr/dashboard: Load iSCSI config from local store and orchestrator
As iSCSI is not supported by Rook, users need a way to manage
  ceph-iscsi without Rook knowledge

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-05-21 15:06:52 +02:00
Sebastian Wagner
17e541a6c9 mgr/dashboard: Merge OrchClient with OrchestratorClientMixin
Fixed missing error propagation from
  the orchestrator to the dashboard

Adapted orchestrator integration in NFS

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-05-21 15:04:49 +02:00
Lenz Grimmer
9577d6b00b
Merge pull request #28147 from bk201/wip-39933
mgr/dashboard: fix backend error when updating RBD interlocked features

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-05-21 14:00:54 +02:00
Tiago Melo
56f0ffcd8c mgr/dashboard: Add clients tab to NFS details
Fixes: https://tracker.ceph.com/issues/39963

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-05-21 11:37:03 +00:00
Lenz Grimmer
4c3095be86
mgr/dashboard: Fix tcmu-runner perf counters page (#28154)
mgr/dashboard: Fix tcmu-runner perf counters page

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-05-21 11:28:02 +02:00
Matt Benjamin
889f03b94f
Merge pull request #26518 from linuxbox2/wip-rgw-lc-prefix-2
rgw: lifecycle: alternate solution to prefix_map conflict
2019-05-21 03:38:56 -04:00
Matt Benjamin
8f10b262c5 rgw: lifecycle: fix object iteration for >1 same-prefix rules
Rules of like-prefix must visit every matching object.  A next
logical step is to combine tag checking for rules of like-prefix.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-05-21 03:01:29 -04:00
Matt Benjamin
c8ae682b66 rgw: lifecycle: fix RGWLifecycleConfiguration::valid()
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-05-21 03:01:10 -04:00
Matt Benjamin
b05a9e117c rgw: lifecycle: alternate solution to prefix_map conflict
A rule containing a tag filter but no constraining prefix is
legal, as is a sequence of >1 such rules.

As currently designed, enforcement requires rules to be
installed in prefix_map as well as rule_map, though only the
latter is encoded.

Fixes: http://tracker.ceph.com/issues/37879

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-05-21 02:59:38 -04:00
Nathan Cutler
ac8d7c5fd4 do_cmake.sh: use bash
Fixes: http://tracker.ceph.com/issues/39981
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-05-20 17:01:40 +02:00
Nathan Cutler
1ee1bbb549
Merge pull request #27996 from jan--f/package-prometheus-alerts-suse
ceph.spec.in: package prometheus default alerts for SUSE

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-05-20 12:25:44 +02:00
Kiefer Chang
acf90c5512
mgr/dashboard: fix some performance data are not displayed
Several Grafana dashboards were updated and their uids are changed.
Update corresponding uids in angular templates. Also fix that when a user
clicks performance details of an OSD, wrong OSD metrics are displayed.

Fixes: http://tracker.ceph.com/issues/39971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-05-20 17:16:59 +08:00
Kefu Chai
7eeb926328
Merge pull request #28094 from tchaikov/wip-install-deps-gcc-8
install-deps.sh: use gcc-8 on xenial and trusty

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-05-19 23:44:01 +02:00
Kefu Chai
33bad86fd4
Merge pull request #28079 from tchaikov/wip-crimson-rados-cleanup
crimson: support pgnls and delete op

Reviewed-off-by: Samuel Just <sjust@redhat.com>
2019-05-19 23:41:58 +02:00
Ali Maredia
d25d6ee0af qa: remove mon valgrind check in rgw verfiy suite
memory leaks in the monitor are causing a significant
percentage of jobs run in the rgw verify suite to
fail even though the jobs succeeded before hand.

See: http://tracker.ceph.com/issues/38827 for
root cause

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2019-05-17 15:59:30 -04:00
Ricardo Marques
7d4a5fc429
Merge pull request #27653 from tspmelo/wip-nfs-pseudo
mgr/dashboard: Improve NFS Pseudo pattern message

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-05-17 15:15:10 +01:00
Nathan Cutler
f27af32e4a
Merge pull request #28023 from rjfd/wip-fix-ceph-mgr-systemd
systemd: ceph-mgr: set MemoryDenyWriteExecute to false

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-05-17 15:57:28 +02:00
Mykola Golub
7a8dda859b
Merge pull request #28044 from dillaman/wip-librbd-io-perf
librbd: tweaks to increase IOPS and reduce CPU usage

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-05-17 09:03:13 +03:00
Yuri Weinstein
31e8cd9aeb
Merge pull request #28067 from yuriw/wip-yuriw-crontab-master
qa/tests: added new client-upgrade-*-nautilus suites for jewel, luminous, mimic
2019-05-16 13:14:53 -07:00
Ricardo Marques
db786a8a2a mgr/dashboard: Fix tcmu-runner perf counters page
Fixes: https://tracker.ceph.com/issues/39954

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-05-16 17:04:01 +01:00
Ricardo Marques
da7f380caf
Merge pull request #27681 from tspmelo/wip-charts
mgr/dashboard: Unify the look of dashboard charts

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-05-16 16:55:18 +01:00
Kefu Chai
0e5a237a84
Merge pull request #28113 from hjwsm1989/fix-krb-compile-error
auth/krb: fix Kerberos compile error

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-05-16 23:32:32 +08:00
Kiefer Chang
d654e8c620
mgr/dashboard: fix backend error when updating RBD interlocked features
Now object-map and fast-diff features are interlocked. Allow
enabling/disabling these two features together without raising an already
enabled/disabled error.

Fixes: http://tracker.ceph.com/issues/39933
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-05-16 17:43:29 +08:00