Commit Graph

98347 Commits

Author SHA1 Message Date
Volker Theile
8e6838c740 monitoring: SNMP OID per every Prometheus alert rule
Use the Ceph enterprise OID 50495 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers) and create OIDs for every Prometheus alert rule according to the schema at https://github.com/SUSE/prometheus-webhook-snmp/blob/master/README.md.

Example OID:
1.3.6.1.4.1.50495.15.1.2.2.1

All alert rule OIDs are located below the object identifier 15 (15 for p which is the first character of prometheus). Check out the MIB at https://github.com/SUSE/prometheus-webhook-snmp/blob/master/PROMETHEUS-ALERT-CEPH-MIB.txt for more details.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-05-28 09:59:50 +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
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
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
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
huangjun
4d5db77274 auth/krb: fix Kerberos compile error
Fixes: http://tracker.ceph.com/issues/39948

Signed-off-by: huangjun <huangjun@xsky.com>
2019-05-16 08:49:05 +08:00
Patrick Donnelly
2fc991b6b4
Merge PR #28080 into master
* refs/pull/28080/head:
	cephfs-shell: Remove whitespace after '('
	cephfs-shell: Remove unused 'flag' variable
	cephfs-shell: Fix flake8 invalid escape sequence warning
	cephfs-shell: Remove unnecessary empty lines
	cephfs-shell: Fix flake8 bare 'except' warnings

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-05-15 15:48:15 -07:00
Patrick Donnelly
bdff0ef48c
Merge PR #27822 into master
* refs/pull/27822/head:
	cephfs-shell: Fix mkdir relative path error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-05-15 15:46:39 -07:00
Yuri Weinstein
659f41e77b qa/tests: added new client-upgrade-*-nautilus suites for jewel, luminous, mimic
NOTE:

!!!! three suites below MUST use --suite-branch jewel, luminous, mimic (see https://tracker.ceph.com/issues/24021)
ref: https://github.com/ceph/ceph/pull/27983; https://github.com/ceph/ceph/pull/27934; https://github.com/ceph/ceph/pull/28027
--filter "ubuntu_16.04,centos_7.6,rhel_7.6" - test ONLY supported distro BEFORE mimic
--filter "ubuntu_16.04,ubuntu_18.04,centos_7.6,rhel_7.6" - test ONLY supported distro AFTER mimic

Merge after https://github.com/ceph/ceph/pull/28027

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-05-15 07:48:57 -07:00
Jason Dillaman
7f6685383d librbd: use custom allocator for aligned boost::lockfree::queue
If tcmalloc is in-use as the allocator and its version is less than 2.6.2,
it might be missing support for 'aligned_alloc'. This can result in the
glibc version of 'aligned_alloc' being used to allocate memory that is
then freed by tcmalloc -- resulting in a crash.

Fixes: http://tracker.ceph.com/issues/39703
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-05-15 08:47:41 -04:00
Tiago Melo
bcbc0edba6 mgr/dashboard: Unify the look of dashboard charts
Fixes: http://tracker.ceph.com/issues/39384

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-05-15 12:01:52 +00:00