Commit Graph

112783 Commits

Author SHA1 Message Date
Kefu Chai
4d9cca04e5 qa/tasks/radosgw_admin: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
2ade261bc6 qa/tasks/osd_failsafe_enospc: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
a7f18e46b9 qa/tasks/{ceph,ceph_manager}: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
51efa33ac8 test/pybind: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
cf7632cfd5 pybind/mgr/dashboard: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
b81778c313 pybind: drop py2 support
the python bindings are compiled using python3-cython, and packaged as
python3-{rados,rbd,cephfs,rgw}, so there is no need and is wrong to
claim that they are python2 compatible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
0a8188e461 qa/workunits: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
91b76afa20 qa/tasks/vstart_runner: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
ee90f40905 qa/tasks/cephfs: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
0ac787be2a qa/standalone: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Mykola Golub
f202994fcf
Merge pull request #35855 from dillaman/wip-45986
librbd: new 'write_zeroes' API methods to suppliment the `discard` APIs

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-07-03 17:57:15 +03:00
Lenz Grimmer
319d123cfe
Merge pull request #35859 from tspmelo/wip-remove-ngx-bootstrap
mgr/dashboard: Remove ngx-bootstrap

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-07-03 15:40:35 +02:00
Lenz Grimmer
00251f4355
Merge pull request #35875 from Devp00l/wip-46303
mgr/dashboard: Fixes regression in device selection modal

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-03 13:53:46 +02:00
Kefu Chai
dda2815f46
Merge pull request #35912 from tchaikov/wip-crimson-osd-flush-pg-stats
crimson/osd: implement flush_pg_stats command

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-03 18:51:19 +08:00
Sebastian Wagner
7b05e649a8
Merge pull request #35374 from jschmid1/activate_osdspec_affinity
mgr/cephadm: re-enable osdspec affinity passing

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-03 12:01:53 +02:00
Kefu Chai
0b8cc7ea8b crimson/osd: avoid -Wunused-but-set-variable warning
in release build, `found` is not used at all. but GCC complains with a
`-Wunused-but-set-variable` warning.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-03 17:15:13 +08:00
Lenz Grimmer
37ba4b8123
Merge pull request #35704 from Devp00l/wip-46135
mgr/dashboard: Fixes typeahead regression in the silence matcher 

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-03 10:50:18 +02:00
Kefu Chai
0816f16069 crimson/osd: update the osd stats with hb peers
just to align with classic OSD

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-03 16:09:38 +08:00
Kefu Chai
5bbbbc66ce crimson/osd: implement flush_pg_stats command
this command is used by teuthology based tests for updating the mgr with
the lastes pg stats on OSD.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-03 16:09:38 +08:00
Kefu Chai
d5e1d104ff crimson/{mgr,osd}: add WithStats::update_stats()
because we need to implement a tell command which forces osd to
send the latest pg stats to mgr, and the command returns the user with
the sequence id of the report, and `mgr::Client::report()` does not
return a future, so we have to update the seq id before sending
the report. the solution is to update the seq id in a separated
method, so in this change:

* add `const` to `WithStats::get_stats()
* add a dedicated method of `WithStats::update_stats()` to update
  the stats to be collected by mgr::Client.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-03 16:09:38 +08:00
Kefu Chai
99067b8dc6
Merge pull request #35887 from joscollin/wip-update-kyr
.githubmap: add Kyr

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2020-07-03 09:48:55 +08:00
Kefu Chai
9e5da00b74
Merge pull request #35845 from tchaikov/wip-rpm-crimson
rpm: package crimson-osd in ceph-osd

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-07-03 09:46:31 +08:00
Neha Ojha
c36c96d2fa
Merge pull request #35867 from jwilk-forks/spelling
doc/dev/osd_internals: fix typos

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-07-02 17:48:50 -07:00
Kefu Chai
0e6004cc6e
Merge pull request #35894 from tchaikov/wip-crimson-os
crimson/os: pin the last cpu core for the alien worker threads 

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-07-02 22:48:00 +08:00
Lenz Grimmer
6e90a165c2
Merge pull request #35745 from votdev/issue_46146_delete_host
mgr/dashboard: Host delete action should be disabled if not managed by Orchestrator

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-07-02 15:52:18 +02:00
Lenz Grimmer
a1d5a6e32c
Merge pull request #35642 from tspmelo/wip-fix-flicker
mgr/dashboard: Re-enable OSD's table autoReload

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-07-02 15:50:06 +02:00
Lenz Grimmer
74f42ec2ce
Merge pull request #34889 from votdev/issue_43120_tabs
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-02 15:47:10 +02:00
Kefu Chai
ddfba53b1c crimson/os/alienstore: assert on failure
before we have a failure recovery, better off failing fast.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-02 19:38:16 +08:00
Kefu Chai
2ba13668a6 crimson/os: pin the last cpu core for the alien worker threads
before this change, we assume that we have at least current_shared + 10
cores. but that's not always true. so in this change, the last core
is used for performing the alien tasks scheduled by reactor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-02 19:38:16 +08:00
Volker Theile
5c5d0bac4f mgr/dashboard: stay on active tab (accessible via URL)
This PR refactors the /monitoring page by introducing a new component which is responsible for rendering the tabs. All tabs have a dedicated route/URL now, no fragments are used anymore, thus they will act like the iSCSI and RBD pages.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-07-02 11:11:57 +02:00
Ilya Dryomov
0195fd53f1
Merge pull request #35816 from idryomov/wip-msgr21-fix-reuse
msg/async/ProtocolV2: take care of features when replacing the socket

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-02 10:54:16 +02:00
Lenz Grimmer
3343e87350
Merge pull request #35854 from tspmelo/wip-fix-nfs-loading
mgr/dashboard: Fix NFS Edit page loading problem

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-07-02 10:29:13 +02:00
Sebastian Wagner
faf701d787
Merge pull request #35823 from bk201/wip-46245
mgr/cephadm: reconfig ssh after setting or clearing ssh_config

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-02 10:22:32 +02:00
Lenz Grimmer
fe9b920d6d
Merge pull request #35765 from votdev/issue_46145_reset_action_button
mgr/dashboard: Action button is not reset after switching tabs

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-02 10:20:46 +02:00
Lenz Grimmer
74ba53be98
Merge pull request #35803 from s0nea/wip-dashboard-remove-formatted-attr
mgr/dashboard: remove cdCopy2ClipboardButton `formatted` attribute

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-02 09:59:24 +02:00
Lenz Grimmer
ea7fd5fc35
Merge pull request #35828 from votdev/issue_46249_rm_tab
mgr/dashboard: Remove useless tab in monitoring/alerts datatable details

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-02 09:57:37 +02:00
Laura Paduano
44908df6e5
Merge pull request #35564 from rhcs-dashboard/wip-45957-fixUiApiEndpoints
mgr/dashboard: fix ui api endpoints
2020-07-02 09:08:07 +02:00
Jos Collin
dd7e753c9d
.githubmap: add Kyr
Signed-off-by: Jos Collin <jcollin@redhat.com>
2020-07-02 12:05:54 +05:30
Jos Collin
e4673f4778
Merge pull request #35639 from joscollin/wip-fix-sh-as-in-teuthology
qa/tasks: make sh() in vstart_runner.py identical with teuthology.orchestra.remote.sh

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-07-02 11:56:19 +05:30
Jason Dillaman
5d85397905
Merge pull request #35037 from CongMinYin/qa-test-for-immutale-object-cache
qa: add tests for immutable object cache

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-01 20:08:11 -04:00
Yin Congmin
1af4ed0a76 librbd/image: fix immutable object cache read failed bug when daemon down
Fix bug: read child image failed when enabling immutable object cache and daemon down

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2020-07-01 14:19:59 -04:00
Yin Congmin
25f1f62cba qa: add tests for immutable object cache
based on qemu task, use immutable_object_cache task to test parent cache
based on rbd_fio task, use immutable_object_cache task to test parent cache

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2020-07-01 14:19:59 -04:00
Jason Dillaman
33dd9ea305
Merge pull request #35699 from fflorens/ff/work/bug_46139
osd/OSDCap: rbd profile permits use of "rbd_info"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-01 13:18:21 -04:00
Jason Dillaman
82e27b536a
Merge pull request #35596 from Songweibin/wip-fix-rbd-rm
librbd: fix potential image rm failure due to parent missing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-01 13:18:00 -04:00
Stephan Müller
10c14613ea mgr/dashboard: Fixes regression in device selection modal
The 'ExpressionChangedAfterItHasBeenCheckedError' has recently
shown up in device selection modal in OSD creation form. It looks
like it's a regression due to the modal switch (PR #35370). Which was
merged yesterday and it had worked on Monday.

Fixes: https://tracker.ceph.com/issues/46303
Signed-off-by: Stephan Müller <smueller@suse.com>
2020-07-01 18:22:26 +02:00
Kefu Chai
a914e094e1
Merge pull request #35856 from tchaikov/wip-46267
test/unittest_lockdep: skip lockdep test if CEPH_DEBUG_MUTEX is not d…

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-07-01 23:26:54 +08:00
Josh Durgin
124ffa4663
Merge pull request #35751 from smithfarm/wip-radosgw-admin-orphans
doc: PendingReleaseNotes: fix deprecated radosgw-admin commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-07-01 07:59:34 -07:00
Tiago Melo
cbeb6597d9 mgr/dashboard: Remove ngx-bootstrap
Fixes: https://tracker.ceph.com/issues/46281

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-07-01 14:43:19 +00:00
Lenz Grimmer
5859346631
Merge pull request #35782 from tspmelo/wip-ng-datepicker
mgr/dashboard: Use ng-bootstrap for Datepicker

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-01 16:17:03 +02:00
Josh Durgin
8233d86784
Merge pull request #35869 from smithfarm/wip-rn-15_2_4
doc/releases/octopus: add 15.2.4 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-07-01 07:12:19 -07:00