]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Sun, 5 Jul 2020 13:48:19 +0000 (21:48 +0800)]
crimson/osd: use operator=(...) instead of claim()
to silence warnings like
objclass.cc:300:26: warning: 'void ceph::buffer::v15_2_0::list::claim(ceph::buffer::v15_2_0::list&)' is deprecated: in favor of operator=(list&&) [-Wdeprecated-declarations]
300 | outbl->claim(op.outdata);
| ^
Signed-off-by: Kefu Chai <kchai@redhat.com>
zdover23 [Sun, 5 Jul 2020 12:01:32 +0000 (22:01 +1000)]
Merge pull request #35932 from zdover23/wip-doc-cephadm-suites-typo
doc/cephadm: index.rst: s/suites/suits/ typo fixed.
Zac Dover [Sun, 5 Jul 2020 08:18:38 +0000 (18:18 +1000)]
doc/cephadm: index.rst: s/suites/suits/ typo fixed.
This commit changes the sentence "Choose the method that best suites
your needs." to "Choose the method that best suits your needs."
Fixes: https://tracker.ceph.com/issues/46359
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Kefu Chai [Sun, 5 Jul 2020 06:52:20 +0000 (14:52 +0800)]
Merge pull request #35275 from AmnonHanuhov/wip-objclass_impl
crimson/osd: Add support for cls_log
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 5 Jul 2020 06:48:09 +0000 (14:48 +0800)]
Merge pull request #35871 from tchaikov/wip-45717
mon/PGMap: do not consider changing pg stuck
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Sun, 5 Jul 2020 06:30:31 +0000 (14:30 +0800)]
Merge pull request #35864 from tchaikov/wip-osdc-claim
osdc: use operator=(...) instead of claim()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sun, 5 Jul 2020 05:09:44 +0000 (13:09 +0800)]
Merge pull request #35863 from wuxingyi/removeunused
osd: Remove unused function declearation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 5 Jul 2020 05:05:06 +0000 (13:05 +0800)]
Merge pull request #35818 from majianpeng/osd-replicatedbackend-redundant-parameter
osd/ReplicatedBackend: remove redundant parameter.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 5 Jul 2020 04:57:36 +0000 (12:57 +0800)]
Merge pull request #35817 from tchaikov/wip-drop-py2
qa,test,pybind: drop py2 support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:53:31 +0000 (20:53 +0800)]
pybind/mgr/telegraf: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:53:22 +0000 (20:53 +0800)]
pybind/mgr/status: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:53:13 +0000 (20:53 +0800)]
pybind/mgr/selftest: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:53:03 +0000 (20:53 +0800)]
pybind/mgr/restful: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:52:51 +0000 (20:52 +0800)]
pybind/mgr/pg_autoscaler: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:52:35 +0000 (20:52 +0800)]
pybind/mgr/mgr_module: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:52:25 +0000 (20:52 +0800)]
pybind/mgr/insights: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:52:11 +0000 (20:52 +0800)]
pybind/mgr/influx: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:51:58 +0000 (20:51 +0800)]
pybind/mgr/devicehealth: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:51:18 +0000 (20:51 +0800)]
pybind/mgr/cephadm: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:51:00 +0000 (20:51 +0800)]
pybind/mgr/balancer: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 12:50:24 +0000 (20:50 +0800)]
doc: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:59:50 +0000 (19:59 +0800)]
qa/tasks/cephfs: drop six dependency
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:59:39 +0000 (19:59 +0800)]
qa/tasks/ceph_objectstore_tool: drop six dependency
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:59:24 +0000 (19:59 +0800)]
qa/tasks/barbican: drop six dependency
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:46:01 +0000 (19:46 +0800)]
qa/tasks/workunit: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:45:05 +0000 (19:45 +0800)]
qa/tasks/s3tests: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:44:26 +0000 (19:44 +0800)]
qa/tasks/rbd: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:44:15 +0000 (19:44 +0800)]
qa/tasks/radosgw_admin: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:43:58 +0000 (19:43 +0800)]
qa/tasks/osd_failsafe_enospc: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:43:09 +0000 (19:43 +0800)]
qa/tasks/{ceph,ceph_manager}: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:16:17 +0000 (19:16 +0800)]
test/pybind: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:15:25 +0000 (19:15 +0800)]
pybind/mgr/dashboard: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:13:14 +0000 (19:13 +0800)]
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>
Kefu Chai [Sun, 28 Jun 2020 11:11:17 +0000 (19:11 +0800)]
qa/workunits: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:10:58 +0000 (19:10 +0800)]
qa/tasks/vstart_runner: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:10:43 +0000 (19:10 +0800)]
qa/tasks/cephfs: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 28 Jun 2020 11:10:01 +0000 (19:10 +0800)]
qa/standalone: drop py2 support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Fri, 3 Jul 2020 14:57:15 +0000 (17:57 +0300)]
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>
Lenz Grimmer [Fri, 3 Jul 2020 13:40:35 +0000 (15:40 +0200)]
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>
Lenz Grimmer [Fri, 3 Jul 2020 11:53:46 +0000 (13:53 +0200)]
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>
Kefu Chai [Fri, 3 Jul 2020 10:51:19 +0000 (18:51 +0800)]
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>
Sebastian Wagner [Fri, 3 Jul 2020 10:01:53 +0000 (12:01 +0200)]
Merge pull request #35374 from jschmid1/activate_osdspec_affinity
mgr/cephadm: re-enable osdspec affinity passing
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 3 Jul 2020 08:57:56 +0000 (16:57 +0800)]
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>
Lenz Grimmer [Fri, 3 Jul 2020 08:50:18 +0000 (10:50 +0200)]
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>
Kefu Chai [Fri, 3 Jul 2020 08:08:55 +0000 (16:08 +0800)]
crimson/osd: update the osd stats with hb peers
just to align with classic OSD
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 3 Jul 2020 08:05:56 +0000 (16:05 +0800)]
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>
Kefu Chai [Fri, 3 Jul 2020 07:59:11 +0000 (15:59 +0800)]
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>
Kefu Chai [Fri, 3 Jul 2020 01:48:55 +0000 (09:48 +0800)]
Merge pull request #35887 from joscollin/wip-update-kyr
.githubmap: add Kyr
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kefu Chai [Fri, 3 Jul 2020 01:46:31 +0000 (09:46 +0800)]
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>
Neha Ojha [Fri, 3 Jul 2020 00:48:50 +0000 (17:48 -0700)]
Merge pull request #35867 from jwilk-forks/spelling
doc/dev/osd_internals: fix typos
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 2 Jul 2020 14:48:00 +0000 (22:48 +0800)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 13:52:18 +0000 (15:52 +0200)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 13:50:06 +0000 (15:50 +0200)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 13:47:10 +0000 (15:47 +0200)]
Merge pull request #34889 from votdev/issue_43120_tabs
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Thu, 2 Jul 2020 11:32:09 +0000 (19:32 +0800)]
crimson/os/alienstore: assert on failure
before we have a failure recovery, better off failing fast.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Jul 2020 11:27:40 +0000 (19:27 +0800)]
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>
Volker Theile [Fri, 26 Jun 2020 14:18:53 +0000 (16:18 +0200)]
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>
Ilya Dryomov [Thu, 2 Jul 2020 08:54:16 +0000 (10:54 +0200)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 08:29:13 +0000 (10:29 +0200)]
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>
Sebastian Wagner [Thu, 2 Jul 2020 08:22:32 +0000 (10:22 +0200)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 08:20:46 +0000 (10:20 +0200)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 07:59:24 +0000 (09:59 +0200)]
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>
Lenz Grimmer [Thu, 2 Jul 2020 07:57:37 +0000 (09:57 +0200)]
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>
Laura Paduano [Thu, 2 Jul 2020 07:08:07 +0000 (09:08 +0200)]
Merge pull request #35564 from rhcs-dashboard/wip-45957-fixUiApiEndpoints
mgr/dashboard: fix ui api endpoints
Jos Collin [Thu, 2 Jul 2020 06:35:54 +0000 (12:05 +0530)]
.githubmap: add Kyr
Signed-off-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Thu, 2 Jul 2020 06:26:19 +0000 (11:56 +0530)]
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>
Jason Dillaman [Thu, 2 Jul 2020 00:08:11 +0000 (20:08 -0400)]
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>
Yin Congmin [Wed, 10 Jun 2020 06:52:08 +0000 (14:52 +0800)]
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>
Yin Congmin [Fri, 8 May 2020 17:36:12 +0000 (01:36 +0800)]
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>
Jason Dillaman [Wed, 1 Jul 2020 17:18:21 +0000 (13:18 -0400)]
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>
Jason Dillaman [Wed, 1 Jul 2020 17:18:00 +0000 (13:18 -0400)]
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>
Stephan Müller [Wed, 1 Jul 2020 14:30:55 +0000 (16:30 +0200)]
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>
Kefu Chai [Wed, 1 Jul 2020 15:26:54 +0000 (23:26 +0800)]
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>
Josh Durgin [Wed, 1 Jul 2020 14:59:34 +0000 (07:59 -0700)]
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>
Tiago Melo [Tue, 30 Jun 2020 16:34:07 +0000 (16:34 +0000)]
mgr/dashboard: Remove ngx-bootstrap
Fixes: https://tracker.ceph.com/issues/46281
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Wed, 1 Jul 2020 14:17:03 +0000 (16:17 +0200)]
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>
Josh Durgin [Wed, 1 Jul 2020 14:12:19 +0000 (07:12 -0700)]
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>
Sebastian Wagner [Wed, 1 Jul 2020 13:17:11 +0000 (15:17 +0200)]
Merge pull request #35805 from ricardoasmarques/ceph-orch-status-format
cephadm: Add "--format" option to "ceph orch status"
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 1 Jul 2020 12:47:28 +0000 (20:47 +0800)]
Merge pull request #35811 from tchaikov/wip-46054
kv/RocksDBStore: always release column family handles
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Lenz Grimmer [Wed, 1 Jul 2020 12:21:19 +0000 (14:21 +0200)]
Merge pull request #35723 from tspmelo/wip-fix-action-tooltip
mgr/dashboard: Fix title of disabled table actions
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Jos Collin [Thu, 18 Jun 2020 06:09:03 +0000 (11:39 +0530)]
qa/tasks: make sh() in vstart_runner.py identical with teuthology.orchestra.remote.sh
Fixes: https://tracker.ceph.com/issues/46069
Signed-off-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Wed, 1 Jul 2020 11:33:35 +0000 (19:33 +0800)]
mon/PGMap: do not consider changing pg stuck
there is chance that we have a PG just created but fails to peered
before a mgr module retrieves the health report from mgr. in that
case, the "last_peered" field is not set, as that pg has not peered. but
normally, the newly created PG will be active+clean in couple seconds
which is way under the default setting of mon_pg_stuck_threshold (60
seconds).
so in this change, if the "last_whatever" is not set, we also use the
"last_changed" as a reference to see if the PG is healthy, and only
consider PG stuck if the last_changed is also too old.
Fixes: https://tracker.ceph.com/issues/45717
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Wed, 1 Jul 2020 11:08:02 +0000 (13:08 +0200)]
Merge pull request #35606 from Daniel-Pivonka/cephadm-45653-44866
cephadm: add sudo ssh user option
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Nathan Cutler [Wed, 1 Jul 2020 10:36:44 +0000 (12:36 +0200)]
doc/releases/octopus: add 15.2.4 release notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Jakub Wilk [Wed, 1 Jul 2020 09:56:25 +0000 (11:56 +0200)]
doc/dev/osd_internals: fix typos
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Ricardo Marques [Fri, 26 Jun 2020 17:44:45 +0000 (18:44 +0100)]
cephadm: Add "--format" option to "ceph orch status"
Fixes: https://tracker.ceph.com/issues/46233
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Stephan Müller [Fri, 19 Jun 2020 15:22:40 +0000 (17:22 +0200)]
mgr/dashboard: Fixes typeahead regression in the silence matcher
This regression was introduced by PR #35300 which updated the typeahead
module usage from ngx-bootstrap to ng-bootstrap's typeahead module.
The regression was that the typeahead didn't open on click into the
input field. Another regression was that the suggestions didn't overlap
the modal anymore.
Fixes: https://tracker.ceph.com/issues/46135
Signed-off-by: Stephan Müller <smueller@suse.com>
Sebastian Wagner [Wed, 1 Jul 2020 08:06:02 +0000 (10:06 +0200)]
Merge pull request #35577 from mgfritch/orch-test-iscsi
mgr/test_orchestrator: add iscsi
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Wed, 1 Jul 2020 04:46:14 +0000 (12:46 +0800)]
osdc: use operator=(...) instead of claim()
for silencing the warning like:
```
../src/osdc/ObjectCacher.cc: In member function ‘ObjectCacher::BufferHead* ObjectCacher::Object::split(ObjectCacher::BufferHead*, loff_t)’:
../src/osdc/ObjectCacher.cc:138:20: warning: ‘void ceph::buffer::v15_2_0::list::claim(ceph::buffer::v15_2_0::list&)’ is deprecated: in favor of operator=(list&&) [-Wdeprecated-declarations]
138 | bl.claim(left->bl);
| ^
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Wed, 1 Jul 2020 02:32:23 +0000 (19:32 -0700)]
Merge PR #35417 into master
* refs/pull/35417/head:
volumes/fs/nfs: Don't parse rados export objects during FSExport init
pybind/mgr/volumes/nfs: Fix flake8 errors
qa/tasks/test_nfs: Add todo note for cluster update test
qa/tasks/cephfs/test_nfs: Add test for get and list detailed export
qa/tasks/cephfs/test_nfs: Add test for export user id
qa/tasks/cephfs/test_nfs: Add description for each test
doc/cephfs: Add list and get export usage
qa/tasks/cephfs: Add tests for export create with non-existing fsname and cluster id
qa/tasks/cephfs: Add tests for invalid cluster id, export type and modify list cluster
qa/tasks/cephfs: Add test for listing exports
pybind/mgr/volumes/nfs: Reorder FSExport and NFSCluster class methods
mgr/volumes/nfs: Set pool_namespace and cluster_id through decorator
mgr/volumes/nfs: Check cluster availability in export command methods
mgr/volumes/nfs: Misc changes to export get and ls command
qa/tasks/cephfs: Add test for nfs cluster ls command
mgr/volumes/nfs: Add nfs cluster ls command
mgr/volumes/nfs: Remove 'ganesha-' prefix from orch returned service id
mgr/volumes/nfs: get export in a nfs cluster
mgr/volumes/nfs: list exports within a ganesha cluster
mgr/volume/nfs: allow only [A-Za-z0-9-_.] characters
qa/tasks/cephfs: Add test to check if export is available on restarting mgr
qa/tasks/cephfs: Add idempotency test for nfs commands
mgr/volumes/nfs: Check if cluster exists before creating exports
mgr/volumes/nfs: Fetch exports in persistent way if mgr is restarted
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
wuxingyi [Wed, 1 Jul 2020 01:57:27 +0000 (09:57 +0800)]
osd: Remove unused function declearation
Signed-off-by: wuxingyi <wuxingyi2015@outlook.com>
Jason Dillaman [Tue, 30 Jun 2020 12:47:48 +0000 (08:47 -0400)]
rbd: use new 'write_zeroes' API to ensure zeroed extents will be zeroed
Fixes: https://tracker.ceph.com/issues/45986
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 30 Jun 2020 15:20:31 +0000 (11:20 -0400)]
pybind/rbd: add new write_zeroes/aio_write_zeroes API methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 30 Jun 2020 12:44:38 +0000 (08:44 -0400)]
librbd: add 'write_zeroes' public C/C++ API methods
Unlike the existing 'discard' option which is more of a hint to
attempt to release space, the new 'write_zeroes' APIs will ensure
that the entire provided extent is fully zeroed.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Sat, 27 Jun 2020 00:00:46 +0000 (17:00 -0700)]
volumes/fs/nfs: Don't parse rados export objects during FSExport init
Instead we can do it if any export commands are used. This fixes ImportError
raised when FSExport is initialized with cephadm module disabled.
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Thu, 25 Jun 2020 07:03:04 +0000 (12:33 +0530)]
pybind/mgr/volumes/nfs: Fix flake8 errors
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Thu, 25 Jun 2020 06:53:39 +0000 (12:23 +0530)]
qa/tasks/test_nfs: Add todo note for cluster update test
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 23 Jun 2020 18:25:46 +0000 (23:55 +0530)]
qa/tasks/cephfs/test_nfs: Add test for get and list detailed export
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 23 Jun 2020 18:17:43 +0000 (23:47 +0530)]
qa/tasks/cephfs/test_nfs: Add test for export user id
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Fri, 19 Jun 2020 17:36:12 +0000 (23:06 +0530)]
qa/tasks/cephfs/test_nfs: Add description for each test
Signed-off-by: Varsha Rao <varao@redhat.com>