Commit Graph

114489 Commits

Author SHA1 Message Date
Sebastian Wagner
ce35b3381c mgr/cephadm: PEP8tify module.py
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-29 20:41:20 +02:00
Sebastian Wagner
4ea5466404
Merge pull request #36858 from adk3798/cephadm-47171
mgr/cephadm: Verify non-empty list in get_active_daemon functions

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-29 20:25:11 +02:00
Sebastian Wagner
cd7817c502
Merge pull request #36849 from sebastian-philipp/cephadm-kick-when-monmap
mgr/cephadm: kick serve loop to trigger ceph.conf deployment

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-08-29 20:24:42 +02:00
Sebastian Wagner
acc77a7e27
Merge pull request #36753 from sebastian-philipp/mgr-cephadm-schedule-redeploy
mgr/cephadm: Make daemon actions asynchronous

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-08-29 20:24:11 +02:00
Kefu Chai
cacfa18a95
Merge pull request #35891 from changchengx/multi_stress_watch
test/multi_stress_watch: use internel API to connect cluster

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-29 23:50:59 +08:00
Kefu Chai
e94d2f7d2b
Merge pull request #36868 from zhoufeng2021/removeunsed
msg/async: cleanup unused function local_deliver()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-29 23:49:52 +08:00
Kefu Chai
a7ce3ea98b
Merge pull request #36888 from batrick/release-notes-union
doc: use union merge strategy for resolving conflicts in PendingRelea…

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-29 22:13:04 +08:00
Kefu Chai
bc45de0af6
Merge pull request #36886 from batrick/librados-statfs-header
librados: remove unused header

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-29 14:56:01 +08:00
Patrick Donnelly
5e5ceadb99
librados: remove unused headers
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-28 19:16:18 -07:00
Patrick Donnelly
048da58923
doc: use union merge strategy for resolving conflicts in PendingReleaseNotes
Generally, the conflict resolution performed manually is always to do a
union: automate this. This avoids pointless rebases of PRs.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-28 18:59:30 -07:00
Patrick Donnelly
ed90c0768b
Merge PR #36701 into master
* refs/pull/36701/head:
	client: make Client::open() pass proper cap mask to path_walk

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-28 17:48:44 -07:00
Patrick Donnelly
ed892ebb8f
Merge PR #36641 into master
* refs/pull/36641/head:
	mds : skip show_cache if level of log is lower than 7

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-08-28 17:48:15 -07:00
Patrick Donnelly
0902bf0e0f
Merge PR #36882 into master
* refs/pull/36882/head:
	qa/tests: Added "--force-priority"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-08-28 13:31:07 -07:00
Kefu Chai
bb9878d1b0
Merge pull request #36729 from changchengx/zero_malloc
crush: do not malloc for empty bucket and avoid member variables after memset() with 0

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-28 23:21:27 +08:00
Kefu Chai
8c04ee89ba
Merge pull request #36820 from tchaikov/wip-test-multi_stress_watch
test/multi_stress_watch: use condition_variable for level triggering

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2020-08-28 23:17:05 +08:00
Kefu Chai
8fef81561d
Merge pull request #36832 from neha-ojha/wip-clean-temps
tools/osdmaptool.cc: add ability to clean_temps

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
2020-08-28 23:14:26 +08:00
Yuri Weinstein
0584150501 qa/tests: Added "--force-priority"
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-08-28 07:35:25 -07:00
Ilya Dryomov
46c912978a
Merge pull request #36854 from idryomov/wip-krbd-default-pool-fix
rbd: fix default pool handling for krbd map/unmap

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-28 13:04:52 +02:00
Kefu Chai
fb7729c605
Merge pull request #36866 from yison/fix-core-dump-issue-of-sync-read
blk/spdk/NVMEDevice.cc: fix a core dump issue of sync read

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-28 16:47:51 +08:00
Yuan Lu
3b4714bc96 blk/spdk/NVMEDevice.cc: fix a core dump issue of sync read
Signed-off-by: Yuan Lu <yuan.y.lu@intel.com>
2020-08-28 18:32:02 +00:00
zhoufeng
b2732303b0 msg/async: cleanup unused function local_deliver()
Signed-off-by: zhoufeng <zhoufeng2021@outlook.com>
2020-08-28 16:27:55 +08:00
Mykola Golub
e56ace7fa1
Merge pull request #36802 from dillaman/wip-46916
librbd: expose internal plugin API to plugin libraries

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-08-28 11:17:08 +03:00
Sebastian Wagner
d0978ddf41 mgr/cephadm: add test_daemon_check
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:56:13 +02:00
Sebastian Wagner
365f839a79 mgr/cephadm: Make daemon actions asynchronous
Fixes broken `ceph orch redeploy <current active mgr>`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:54:41 +02:00
Sebastian Wagner
ce4798ba0d mgr/cephadm: add scheduled_daemon_actions to HostCache
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:51:21 +02:00
Sebastian Wagner
3e5676d6c0 mgr/cephadm: move fail_over from upgrade.py to MgrService
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:51:19 +02:00
Sebastian Wagner
f5ae34ab71 mgr/cephadm: _wait_for_ok_to_stop: add missing f-prefix
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:29:07 +02:00
Sebastian Wagner
66a9f87d16 mgr/cephadm: _create_daemon: remove usused parameter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:29:07 +02:00
Sebastian Wagner
e6f2237840 mgr/orch: daemon redeploy: Fix missing default value
Fixes: https://tracker.ceph.com/issues/47035
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-08-28 09:29:06 +02:00
Sebastian Wagner
0867cd4c32
Merge pull request #36792 from sebastian-philipp/cephadm-pep8-inventory
mgr/cephadm: PEP8tify inventory.py

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-08-28 09:24:36 +02:00
Sebastian Wagner
f030255106
Merge pull request #36848 from sebastian-philipp/cephadm-no-pep8-test_scheduling
mgr/cephadm: disable autopep8 for test_{spec,scheduling}.py

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-08-28 09:20:54 +02:00
Venky Shankar
de2128a7db
Merge pull request #29489 from jan--f/cephfs-snap-schedule
pybind/snap_schedule: add initial interface
2020-08-28 09:51:53 +05:30
Kefu Chai
957a5cfbf5
Merge pull request #34566 from X0Ken/master
os/bluestore: Support flock retry

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-08-28 11:01:41 +08:00
Kefu Chai
210000e8f0
Merge pull request #36507 from matthewoliver/msgr_intercepter_step_enum
msgr: interceptor test step enum to ease readability

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-28 10:51:16 +08:00
Kefu Chai
08255a48a7
Merge pull request #36762 from qwren/qat-doc-update
doc: the update for QAT Acceleration

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-28 10:48:52 +08:00
Patrick Donnelly
fffdb6519b
Merge PR #35941 into master
* refs/pull/35941/head:
	doc/mgr: Supplement missing keywords 'crash'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-27 19:11:30 -07:00
Adam King
2c440edebf mgr/cephadm: Verify non-empty list in get_active_daemon functions
The get_active_daemon functions for monitoring stack daemons
were just returning the first or last daemon in the given list
without checking the list actually contained any daemons

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

Signed-off-by: Adam King <adking@redhat.com>
2020-08-27 13:45:30 -04:00
Neha Ojha
762966a08a test/cli/osdmaptool/help.t: add clean-temps
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-27 17:02:08 +00:00
Neha Ojha
78224c21d2 doc: add clean-temps to osdmaptool.rst
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-27 17:02:08 +00:00
Neha Ojha
ab54d3821a tools/osdmaptool.cc: add ability to clean_temps
This is particularly useful for debugging purposes when clean_temps()
takes abnormally high amount of time due to flaws in crush rules etc.

Fixes: https://tracker.ceph.com/issues/47159
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-08-27 17:01:41 +00:00
Sebastian Wagner
26f231f60a
Merge pull request #36572 from dmick/wip-cephadm-doc
doc/mgr: Clean up orchestrator.rst (spell/punct, awkward wording)

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-08-27 17:07:33 +02:00
Kefu Chai
7fded72207
Merge pull request #36750 from ifed01/wip-ifed-enable-flexible-bluefs
os/bluestore: enable more flexible bluefs space management by default.

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-08-27 22:28:32 +08:00
Kefu Chai
786b87cdb2
Merge pull request #36718 from ShraddhaAg/add-dir-to-archive-in-logs
qa/tasks/ceph.py: add ceph logs directory in job's info.yaml

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
2020-08-27 22:26:01 +08:00
Jason Dillaman
7b1a1109ea librbd: add internal API for plugin libraries
To avoid the need to expose internal librbd symbols as public, expose
a select set of symbols via an internal plugin API for use by the
plugins.

Fixes: https://tracker.ceph.com/issues/46916
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-08-27 10:16:36 -04:00
Jan Fajerski
6491e53fa1 pybind/mgr/snap_schedule: fix imports for snap_schedule vs mgr wide tox runs
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-27 15:55:46 +02:00
Jan Fajerski
4823e657f5 pybing/mgr/snap_schedule: normalize dates to utc and ignore microseconds
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-27 15:55:46 +02:00
Jan Fajerski
19f918a5a0 pybind/mgr/snap_schedule: don't use as keyword in update statement
While UPDATE <table_name> AS <alias> ... should be valid SQL syntax. It seems
like only some sqlite version support it however.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-27 15:55:46 +02:00
Jan Fajerski
b88b5e9664 pybind/mgr/snap_schedule: fix import locations for unit tests
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-27 15:55:46 +02:00
Jan Fajerski
4d29eaea94 pybind/mgr/snap_schedule: datetime.fromisoformat fallbacks
fromisoformat was introduced in pytho3.7. This can be worked around by
either installing
https://github.com/movermeyer/backports.datetime_fromisoformat. If a
pre3.7 python is found and the backport module is not installed,
snap_schedule falls back to parsing a fully specified timestamp
format. This commit adds the necessary code.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-27 15:55:46 +02:00
Jan Fajerski
ed61ed9bbc pybing/mgr/snap_schedule: guard minute repeat interval
To enable the use of a minutely repeat interval in the snap schedules,
this adds a guard that checks for the SNAP_SCHED_TEST env variable.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-08-27 15:55:46 +02:00