Commit Graph

104532 Commits

Author SHA1 Message Date
Nathan Cutler
71633b2527
Merge pull request #31594 from smithfarm/wip-bri-regex-fix
backport-resolve-issue: narrow regular expression and read key/token from files

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-19 10:00:07 +01:00
Ramana Raja
caba9474a3
Merge pull request #30336 from joscollin/wip-F40959-subvolume-uid-gid
mgr/volumes: uid, gid for subvolume create and subvolumegroup create commands
2019-11-19 14:16:46 +05:30
Alfonso Martínez
fa478ce4ae mgr/dashboard: show Rename in modal header & button when renaming RBD snapshot
Fixes: https://tracker.ceph.com/issues/42762
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-11-19 09:22:35 +01:00
Yuval Lifshitz
12927eda4a rgw/pubsub: disable kafka when building on ubuntu xenial via
"run-make-check.sh"

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-11-19 10:11:19 +02:00
Kefu Chai
310a2d37be
Merge pull request #31546 from zjcmszh/execute
pybind/rados: add WriteOp::execute()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 14:36:07 +08:00
Kefu Chai
1772803b16
Merge pull request #30968 from majianpeng/osd-optimze-send_message_osd_cluster
osd: optimize send_message to peers

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-19 14:35:14 +08:00
Kefu Chai
396b717e5d
Merge pull request #31550 from wido/issue-42761
systemd: Wait 5 seconds before attempting a restart of an OSD

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-11-19 14:28:25 +08:00
Kefu Chai
c9af7ba6e1
Merge pull request #31623 from badone/wip-tracker-42387-extend-admin-socket-timeout
common/admin_socket: Increase socket timeouts

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-19 14:25:37 +08:00
Kefu Chai
69ab2c26a3
Merge pull request #31241 from zjcmszh/add_rados_create_pool2
pybind/rados/rados.pyx: improve Rados.create_pool()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 14:24:49 +08:00
Kefu Chai
169be571e2
Merge pull request #31617 from Devp00l/wip-42776
mgr/dashboard: Fix pool renaming functionality

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-11-19 14:23:35 +08:00
Michael Fritch
5cb5e77f50
ceph-daemon: add osd create test(s)
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-11-18 22:30:22 -07:00
Kefu Chai
e4daf56bbd
Merge pull request #31515 from drunkard/master
doc: typo fix in doc/dev/dev_cluster_deployement.rst: s/hostanme/hostname/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 09:25:23 +08:00
Kefu Chai
1d0579566e
Merge pull request #31541 from BlackLotus/master
added a remark to always use powers of two for pg_num

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 09:24:08 +08:00
Sage Weil
1a29371b0a
Merge pull request #31685 from liewegas/fix-mgr-shutdown
mgr: _exit(0) from signal handler even if we are standby
2019-11-18 16:54:27 -06:00
Sage Weil
d2caaca81f Merge pull request #31695 from liewegas/wip-cd-simpler-bootstrap
ceph-daemon: bootstrap: make --output-* args optional
2019-11-18 16:09:13 -06:00
Joshua Schmid
7888b3c43b mgr/orch: adapt update_mgr/mon funcs to new parsing
update_mgr and update_mon (and their correspinding orch-backend
implementation) are adapted to the new parsing parsing method
introduced in ff9093873.

Signed-off-by: Joshua Schmid <jschmid@suse.de>
2019-11-18 18:11:55 +01:00
Lenz Grimmer
42954be80f
mgr/dashboard: Remove title from sparkline tooltips (#31645)
mgr/dashboard: Remove title from sparkline tooltips

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-18 17:04:21 +00:00
Kefu Chai
d28ed32c08
Merge pull request #31689 from tchaikov/wip/workunits/cephtool/test.sh
qa/workunits/cephtool/test.sh: a handful fixes

Reviewed-by: Sage Weil <sweil@redhat.com>
2019-11-18 23:23:21 +08:00
Jason Dillaman
34a540010a
Merge pull request #30397 from MahatiC/wip-ref-counting
librbd: add reference counting

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-18 10:07:08 -05:00
Kefu Chai
153311a196 qa/suites/rados: whitelist health warnings
in cephtool/test.sh, we

ceph fs set cephfs inline_data {1,0}

so the health check fails when the test ends, like

mon.a (mon.0) 3498 : cluster [WRN] Health check failed: 1 filesystem
with deprecated feature inline_data (FS_INLINE_DATA_DEPRECATED)" in
cluster log

so, before we remove the test, we need to whitelist this warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 22:23:08 +08:00
Nathan Cutler
204ac51d86
Merge pull request #31688 from smithfarm/wip-bci-clean-print
backport-create-issue: flush line before overprinting

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-18 14:30:11 +01:00
Nathan Cutler
7dc1bd262e backport-resolve-issue: read Redmine key and GitHub token from file
Thanks to Tiago Melo for inspiring me to do this.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-18 14:19:39 +01:00
Kefu Chai
4594ab9aa7 qa/workunits/cephtool/test.sh: set min_{bytes,pgs}_per_osd for reweight
otherwise ceph-mgr will refuse to perform reweight

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 21:17:57 +08:00
Kefu Chai
abc237960a qa/workunits/cephtool/test.sh: create pool with power-of-2 pg num
otherwise wait_for_health() fails like:

wait_for_health:  ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
[WRN] POOL_PG_NUM_NOT_POWER_OF_TWO: 1 pool(s) have non-power-of-two pg_num
    pool 'rbd' pg_num 10 is not a power of two
../qa/workunits/cephtool/../../standalone/ceph-helpers.sh:1613: wait_for_health:  return 1

the failure was found when testing test_mon_pg().

this behavior was introduced by 6e46b1c0e5

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 21:17:57 +08:00
Kefu Chai
2977086d1d qa/workunits/cephtool/test.sh: use "ceph compact" in test_mon_deprecated_commands()
both "compact" and "scrub" are now cli command, so we cannot issue them
using "tell" anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 21:17:56 +08:00
Nathan Cutler
a51ec07c6b backport-resolve-issue: narrow regular expression
The regular expression used to extract tracker URLs from the PR body
was too generous. When there are two URLs on the same line and the
second is a tracker URl, the regex picked up both of them. For example,
the following string matched the regex:

"https://github.com/ceph/ceph/pull/26538, https://tracker.ceph.com/issues/41452"

This commit fixes the issue.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-18 14:13:00 +01:00
Sebastian Wagner
45438fc61a
Merge pull request #31710 from votdev/ignore_ssh_config
mgr/ssh: Ignore ssh-config file

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-18 13:29:53 +01:00
Volker Theile
316cd359d6 mgr/ssh: Ignore ssh-config file
Ignore the ssh-config file that is created when working with the Vagrant box.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-18 11:40:32 +01:00
Kefu Chai
e96df8c44b qa/workunits/cephtool/test.sh: use "sessions" in test_mon_tell()
"version" is not an asok command anymore in the sense that it's served
by registered asock hook. so in this change, we replace "version" with
"sessions", so we can verify that audit channel does not the dispatched
"sessions" command sent from ceph cli.

also, restructure the test as a loop for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 17:08:07 +08:00
Volker Theile
e047ffd20d mgr/dashboard: Dashboard can't handle self-signed cert on Grafana API
To configure SSL certificate verification use the following command:
$ ceph dashboard set-grafana-api-ssl-verify true|false

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-18 09:48:11 +01:00
Kefu Chai
6f7842080d qa/workunits/cephtool/test.sh: use tell instead of --admin-daemon for asok commands
ceph cli will be able to route the command to the target daemon when
handling "tell" commands.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 13:51:19 +08:00
Kefu Chai
5bec1b3f7d qa/workunits/cephtool/test.sh: remove heap cli tests
"heap" cli commands are removed in the big asok/tell cleanup, they are now
asock commands.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 13:51:19 +08:00
Kefu Chai
8e93d26c0e doc/man/ceph: "heap" is now an asok command
after the big asok/tell cleanup, "heap" is now an asok command, so
update the manpage accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 13:51:19 +08:00
Kefu Chai
d28057a487 qa/workunits/cephtool/test.sh: fix iec/si tests
tests all IEC and SI units related test with a tier pool. as
`target_max_objects` and `target_size_bytes` only apply to tier
pools. so, for the sake of simplicity, tests all of them using
a tier pool.

introduced by 9095f67e

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 13:51:19 +08:00
Sage Weil
f45ee1fcb5 ceph-daemon: bootstrap: fix example shell command
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-17 18:27:23 -06:00
Sage Weil
c7fe27a72a ceph-daemon: default output file names
- These are reasonable names that a user would probably want
- If they run bootstrap in /etc/ceph then they are already installed in
  the right location
- This means that the bootstrap command has only 1 (!) required argument
  (--mon-ip or equivalent)

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-17 17:50:13 -06:00
Kefu Chai
05d685dd37
Merge pull request #31637 from carletes/patch-1
src/msg/async/net_handler.cc: Fix compilation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-18 01:53:40 +08:00
Kefu Chai
b801057113
Merge pull request #31543 from tchaikov/wip/cmake/librt
cmake: detect librt for POSIX time functions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2019-11-18 01:51:28 +08:00
Kefu Chai
dd53c535b8
Merge pull request #31532 from tchaikov/wip-42742
msg/async/rdma: do not init mutex before lockdeps is ready

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Changcheng Liu <changcheng.liu@aliyun.com>
2019-11-17 01:16:29 +08:00
Kefu Chai
a024e29422
Merge pull request #31506 from Yan-waller/wip-walle-191109-fixomapentries
common/options: decrease the default max_omap_entries_per_request

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-11-17 01:14:34 +08:00
Kefu Chai
dc1d34ba42
Merge pull request #31310 from badone/wip-tracker-42477-reinstate-o-outfile
tools/rados: Unmask '-o' to restore original behaviour

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-17 01:12:12 +08:00
Kefu Chai
ce84cb8a5d
Merge pull request #31469 from p-se/wip-pse-summary-reload-traceback
mgr/dashboard: KeyError on dashboard reload

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-17 01:10:11 +08:00
Kefu Chai
0752f98d49
Merge pull request #31399 from zy751713126/osd_stat
mon/OSDMonitor: fix format error ceph osd stat --format json

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 01:07:37 +08:00
Kefu Chai
6956f047d7
Merge pull request #31427 from zy751713126/osd_status
pybind/mgr: Cancel output color control

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-17 01:03:47 +08:00
Kefu Chai
4069bbfd2b
Merge pull request #31560 from rosinL/wip-fix-incorrect-pg-pool-sum
mon/PGMap: fix incorrect pg_pool_sum when delete pool

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 00:54:25 +08:00
Kefu Chai
aa62a162a0
Merge pull request #31158 from zjcmszh/test_remove
test/pybind/test_rados.py: test test_operate_aio_write_op()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 00:53:30 +08:00
Kefu Chai
edec82e726
Merge pull request #30717 from rzarzynski/wip-bug-42026
msg/async: perform the v2 resets in proper EventCenter

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-17 00:51:15 +08:00
Kefu Chai
06811fc4d1
Merge pull request #31517 from changchengx/rdma_gid
msg/async/rdma: add an option for choosing different RoCE protocol

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-17 00:49:14 +08:00
Nathan Cutler
790424f832 backport-create-issue: flush line before overprinting
When iterating over "Pending Backport" issues, the script displays
a message for each issue, like so:

    Examining issue#53432 (345/543)

Since a newline is not printed, each subsequent message overwrites
the previous one. But the last one remained on the screen and was
being overwritten by a shorter log message, leaving behind an
unwanted artifact:

    INFO:root:Processed 334 issues)

Fixes: 8495d37695
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-16 10:03:20 +01:00
Sage Weil
98b017dfd0 Merge PR #31620 into master
* refs/pull/31620/head:
	mgr: handle race with finisher after shutdown

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-15 17:14:22 -06:00