]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agocrimson/osd: recovery locking uses ceph_assert_always().
Radoslaw Zarzynski [Tue, 19 May 2020 09:33:38 +0000 (11:33 +0200)]
crimson/osd: recovery locking uses ceph_assert_always().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: implement MOSDPGBackfill.
Radoslaw Zarzynski [Mon, 18 May 2020 13:24:28 +0000 (15:24 +0200)]
crimson/osd: implement MOSDPGBackfill.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: implement BackfillRecoveryPipeline.
Radoslaw Zarzynski [Tue, 12 May 2020 20:57:26 +0000 (22:57 +0200)]
crimson/osd: implement BackfillRecoveryPipeline.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd: improve debugs in PrimaryLogPG::do_scan().
Radoslaw Zarzynski [Tue, 12 May 2020 14:46:14 +0000 (16:46 +0200)]
osd: improve debugs in PrimaryLogPG::do_scan().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: implement BackfillListener::backfilled().
Radoslaw Zarzynski [Tue, 12 May 2020 14:46:14 +0000 (16:46 +0200)]
crimson/osd: implement BackfillListener::backfilled().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: implement BackfillListener::enqueue_push().
Radoslaw Zarzynski [Tue, 12 May 2020 14:46:14 +0000 (16:46 +0200)]
crimson/osd: implement BackfillListener::enqueue_push().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: short-circuit budget_available().
Radoslaw Zarzynski [Mon, 11 May 2020 20:15:38 +0000 (22:15 +0200)]
crimson/osd: short-circuit budget_available().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: wire-up pg scanning on replicas.
Radoslaw Zarzynski [Mon, 11 May 2020 20:03:54 +0000 (22:03 +0200)]
crimson/osd: wire-up pg scanning on replicas.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: wire-up BackfillState and pg scanning on primary.
Radoslaw Zarzynski [Tue, 5 May 2020 14:39:56 +0000 (16:39 +0200)]
crimson/osd: wire-up BackfillState and pg scanning on primary.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: introduce PGRecovery::start_backfill_recovery().
Radoslaw Zarzynski [Fri, 22 May 2020 22:14:14 +0000 (00:14 +0200)]
crimson/osd: introduce PGRecovery::start_backfill_recovery().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: settle BackfillState in PGRecovery.
Radoslaw Zarzynski [Tue, 5 May 2020 10:43:13 +0000 (12:43 +0200)]
crimson/osd: settle BackfillState in PGRecovery.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: PGRecovery provides dummy BackfillListener.
Radoslaw Zarzynski [Mon, 4 May 2020 21:01:57 +0000 (23:01 +0200)]
crimson/osd: PGRecovery provides dummy BackfillListener.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: make BackgroundRecovery abstract for the sake of backfill.
Radoslaw Zarzynski [Mon, 4 May 2020 17:47:18 +0000 (19:47 +0200)]
crimson/osd: make BackgroundRecovery abstract for the sake of backfill.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: decouple backfill from PG::start_recovery_ops().
Radoslaw Zarzynski [Mon, 4 May 2020 16:44:36 +0000 (18:44 +0200)]
crimson/osd: decouple backfill from PG::start_recovery_ops().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: bring the boost::statechart-based FSM for backfill.
Radoslaw Zarzynski [Tue, 28 Apr 2020 14:45:52 +0000 (16:45 +0200)]
crimson/osd: bring the boost::statechart-based FSM for backfill.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd: refactor PrimaryLogPG::recover_backfill() a little bit.
Radoslaw Zarzynski [Tue, 28 Apr 2020 14:45:52 +0000 (16:45 +0200)]
osd: refactor PrimaryLogPG::recover_backfill() a little bit.

This is change is intended to only refactor the code.
The main theme is just declaring the `backfill_pos` closer
to its usage.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd: refactor PeeringState::find_best_info() a little bit.
Radoslaw Zarzynski [Tue, 28 Apr 2020 14:45:52 +0000 (16:45 +0200)]
osd: refactor PeeringState::find_best_info() a little bit.

This is change is intended to only refactor the code. All
it does is just declaring the `min_last_update_acceptable`
closer to its usage.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: sketch the backfill machine and its interfaces.
Radoslaw Zarzynski [Tue, 21 Apr 2020 18:45:21 +0000 (20:45 +0200)]
crimson/osd: sketch the backfill machine and its interfaces.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: send MOSDPGTemp on peering and map advance.
Radoslaw Zarzynski [Tue, 21 Apr 2020 18:39:18 +0000 (20:39 +0200)]
crimson/osd: send MOSDPGTemp on peering and map advance.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: rework handling of MOSDAlive.
Radoslaw Zarzynski [Tue, 21 Apr 2020 18:38:31 +0000 (20:38 +0200)]
crimson/osd: rework handling of MOSDAlive.

1. Migrate `MOSDAlive` crafting from `OSD` to `ShardServices`.
2. `send_alive()` takes the `want` epoch from callers
   instead of assuming it matches current OSDMap.
   Callers pass `pg_history_t::same_interval_since`.
   The passed epoch is handled similarly to `queue_want_up_thru()`
   in the classical.
   The message is sent once and when the desired epoch is greater
   than the one returned by `OSDMap::get_up_thru()`.
3. Send the message also when completing the `PeeringEvent`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd: link up the documentation for last_epoch_started.
Radoslaw Zarzynski [Tue, 19 May 2020 13:50:40 +0000 (15:50 +0200)]
osd: link up the documentation for last_epoch_started.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: implement PG scanning.
Radoslaw Zarzynski [Tue, 10 Mar 2020 22:49:27 +0000 (23:49 +0100)]
crimson/osd: implement PG scanning.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd/object_context: implement maybe_get_cached_obc().
Radoslaw Zarzynski [Tue, 10 Mar 2020 22:48:55 +0000 (23:48 +0100)]
crimson/osd/object_context: implement maybe_get_cached_obc().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocommon/intrusive_lru: implement plain, non-creational get().
Radoslaw Zarzynski [Tue, 10 Mar 2020 22:47:52 +0000 (23:47 +0100)]
common/intrusive_lru: implement plain, non-creational get().

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd/PrimaryLogPG: move BackfillInterval to recovery_types.
Radoslaw Zarzynski [Tue, 10 Mar 2020 14:07:45 +0000 (15:07 +0100)]
osd/PrimaryLogPG: move BackfillInterval to recovery_types.

It will be needed in crimson as well.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: add the infra for backend-agnostic recovery ops.
Radoslaw Zarzynski [Tue, 10 Mar 2020 22:49:27 +0000 (23:49 +0100)]
crimson/osd: add the infra for backend-agnostic recovery ops.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd: drop unnecessary inclusion of MOSDPGScan.h.
Radoslaw Zarzynski [Mon, 9 Mar 2020 16:21:17 +0000 (17:21 +0100)]
osd: drop unnecessary inclusion of MOSDPGScan.h.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd, osd: switch request_remote_recovery_reservation() to uptr.
Radoslaw Zarzynski [Wed, 4 Mar 2020 07:20:38 +0000 (08:20 +0100)]
crimson/osd, osd: switch request_remote_recovery_reservation() to uptr.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd, osd: switch PG::request_local_background_io_reservation() to uptr.
Radoslaw Zarzynski [Tue, 3 Mar 2020 22:29:13 +0000 (23:29 +0100)]
crimson/osd, osd: switch PG::request_local_background_io_reservation() to uptr.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: stuff PG::on_activate_complete() with debugs.
Radoslaw Zarzynski [Tue, 3 Mar 2020 14:43:53 +0000 (15:43 +0100)]
crimson/osd: stuff PG::on_activate_complete() with debugs.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #35940 from tchaikov/wip-ceph-dencoder-struct-ver
Kefu Chai [Tue, 7 Jul 2020 02:09:54 +0000 (10:09 +0800)]
Merge pull request #35940 from tchaikov/wip-ceph-dencoder-struct-ver

tools/ceph-dencoder: add get_struct_v,get_struct_compat commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35914 from tchaikov/wip-crimson-clang
Kefu Chai [Tue, 7 Jul 2020 02:04:06 +0000 (10:04 +0800)]
Merge pull request #35914 from tchaikov/wip-crimson-clang

crimson: clang related cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #35933 from tchaikov/wip-interval-set
Kefu Chai [Tue, 7 Jul 2020 02:01:53 +0000 (10:01 +0800)]
Merge pull request #35933 from tchaikov/wip-interval-set

include/interval_set: use template as the 2nd template parameter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #35496 into master
Patrick Donnelly [Mon, 6 Jul 2020 23:50:30 +0000 (16:50 -0700)]
Merge PR #35496 into master

* refs/pull/35496/head:
client: introduce timeout for client shutdown

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35942 from tchaikov/wip-build-rtd
Kefu Chai [Mon, 6 Jul 2020 15:25:23 +0000 (23:25 +0800)]
Merge pull request #35942 from tchaikov/wip-build-rtd

admin: move python-common deps out of doc-requirements.txt

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35354 from ishanrai05/rfs
Lenz Grimmer [Mon, 6 Jul 2020 15:19:15 +0000 (17:19 +0200)]
Merge pull request #35354 from ishanrai05/rfs

mgr/dashboard: use relative font sizes

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agotools/ceph-dencoder: add get_struct_v,get_struct_compat commands 35940/head
Kefu Chai [Mon, 6 Jul 2020 10:12:31 +0000 (18:12 +0800)]
tools/ceph-dencoder: add get_struct_v,get_struct_compat commands

for understanding the current encoding version and the lower bound of
supported decoders.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35913 from ideepika/wip-container-tag-change
Kefu Chai [Mon, 6 Jul 2020 13:01:06 +0000 (21:01 +0800)]
Merge pull request #35913 from ideepika/wip-container-tag-change

docker/podman: tag crimson flavor container as 'sha-1-flavor'

Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35920 from uweigand/entity-addrvec-fix
Kefu Chai [Mon, 6 Jul 2020 12:51:25 +0000 (20:51 +0800)]
Merge pull request #35920 from uweigand/entity-addrvec-fix

msg/msg_types: entity_addrvec_t: fix decode on big-endian hosts

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35890 from matthewoliver/cephadm_ipv6_list_networks
Kefu Chai [Mon, 6 Jul 2020 12:50:41 +0000 (20:50 +0800)]
Merge pull request #35890 from matthewoliver/cephadm_ipv6_list_networks

cephadm: Make list_networks ipv6 enabled

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35546 from agayev/zoned-fm
Kefu Chai [Mon, 6 Jul 2020 12:42:48 +0000 (20:42 +0800)]
Merge pull request #35546 from agayev/zoned-fm

os/bluestore: Introduce zoned freelist manager.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agoadmin: move python-common deps out of doc-requirements.txt 35942/head
Kefu Chai [Mon, 6 Jul 2020 11:11:39 +0000 (19:11 +0800)]
admin: move python-common deps out of doc-requirements.txt

to address the build failure of

python -m pip install --exists-action=w --no-cache-dir -r admin/doc-requirements.txt
ERROR: ../src/python-common is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodocker/podman: tag crimson flavor container as 'sha-1-flavor' 35913/head
Deepika Upadhyay [Mon, 6 Jul 2020 10:49:28 +0000 (16:19 +0530)]
docker/podman: tag crimson flavor container as 'sha-1-flavor'

see also: ceph/ceph-container#1704

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
5 years agoMerge pull request #35936 from tchaikov/wip-cmake-seastar-cxxflags
Kefu Chai [Mon, 6 Jul 2020 09:00:00 +0000 (17:00 +0800)]
Merge pull request #35936 from tchaikov/wip-cmake-seastar-cxxflags

cmake: append to Seastar_CXX_FLAGS

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #35812 from tchaikov/wip-more-log-for-45717
Kefu Chai [Mon, 6 Jul 2020 08:52:26 +0000 (16:52 +0800)]
Merge pull request #35812 from tchaikov/wip-more-log-for-45717

mgr/dashboard: print osd log as well

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agocrimson/osd: assign to bufferlist not to bufferlist* 35936/head
Kefu Chai [Mon, 6 Jul 2020 02:07:03 +0000 (10:07 +0800)]
crimson/osd: assign to bufferlist not to bufferlist*

this change addresses a regression introduced by a23a1929f5

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocmake: append to Seastar_CXX_FLAGS
Kefu Chai [Sun, 5 Jul 2020 15:06:08 +0000 (23:06 +0800)]
cmake: append to Seastar_CXX_FLAGS

instead of overwriting Seastar_CXX_FLAGS, append to it. this change
allows user to set Seastar_CXX_FLAGS in the command line.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35610 from pcuzner/wip-grafana-container
pcuzner [Mon, 6 Jul 2020 01:06:55 +0000 (13:06 +1200)]
Merge pull request #35610 from pcuzner/wip-grafana-container

monitoring: add grafana container build file

5 years agoMerge pull request #35935 from tchaikov/wip-crimson-no-more-claim
Kefu Chai [Sun, 5 Jul 2020 15:57:05 +0000 (23:57 +0800)]
Merge pull request #35935 from tchaikov/wip-crimson-no-more-claim

crimson/osd: use operator=(...) instead of claim()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: use operator=(...) instead of claim() 35935/head
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>
5 years agoMerge pull request #35921 from uweigand/test_cdc-endianfix
Kefu Chai [Sun, 5 Jul 2020 13:31:48 +0000 (21:31 +0800)]
Merge pull request #35921 from uweigand/test_cdc-endianfix

unittest_cdc: fix test on big-endian hosts

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agotest/common: link unittest_interval_set against GTest::Main 35933/head
Kefu Chai [Sun, 5 Jul 2020 12:25:07 +0000 (20:25 +0800)]
test/common: link unittest_interval_set against GTest::Main

its main() is offered by GTet::Main library

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoinclude/interval_set: use template as the 2nd template parameter
Kefu Chai [Sun, 5 Jul 2020 07:41:10 +0000 (15:41 +0800)]
include/interval_set: use template as the 2nd template parameter

to avoid repeating the unit for the interval in the internal map's
parameter.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35932 from zdover23/wip-doc-cephadm-suites-typo
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.

5 years agodoc/cephadm: index.rst: s/suites/suits/ typo fixed. 35932/head
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>
5 years agoMerge pull request #35275 from AmnonHanuhov/wip-objclass_impl
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>
5 years agoMerge pull request #35871 from tchaikov/wip-45717
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>
5 years agoMerge pull request #35864 from tchaikov/wip-osdc-claim
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>
5 years agoMerge pull request #35863 from wuxingyi/removeunused
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>
5 years agoMerge pull request #35818 from majianpeng/osd-replicatedbackend-redundant-parameter
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>
5 years agoMerge pull request #35817 from tchaikov/wip-drop-py2
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>
5 years agopybind/mgr/telegraf: drop py2 support 35817/head
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>
5 years agopybind/mgr/status: drop py2 support
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>
5 years agopybind/mgr/selftest: drop py2 support
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>
5 years agopybind/mgr/restful: drop py2 support
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>
5 years agopybind/mgr/pg_autoscaler: drop py2 support
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>
5 years agopybind/mgr/mgr_module: drop py2 support
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>
5 years agopybind/mgr/insights: drop py2 support
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>
5 years agopybind/mgr/influx: drop py2 support
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>
5 years agopybind/mgr/devicehealth: drop py2 support
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>
5 years agopybind/mgr/cephadm: drop py2 support
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>
5 years agopybind/mgr/balancer: drop py2 support
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>
5 years agodoc: drop py2 support
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>
5 years agoqa/tasks/cephfs: drop six dependency
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>
5 years agoqa/tasks/ceph_objectstore_tool: drop six dependency
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>
5 years agoqa/tasks/barbican: drop six dependency
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>
5 years agoqa/tasks/workunit: drop py2 support
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>
5 years agoqa/tasks/s3tests: drop py2 support
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>
5 years agoqa/tasks/rbd: drop py2 support
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>
5 years agoqa/tasks/radosgw_admin: drop py2 support
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>
5 years agoqa/tasks/osd_failsafe_enospc: drop py2 support
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>
5 years agoqa/tasks/{ceph,ceph_manager}: drop py2 support
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>
5 years agotest/pybind: drop py2 support
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>
5 years agopybind/mgr/dashboard: drop py2 support
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>
5 years agopybind: drop py2 support
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>
5 years agoqa/workunits: drop py2 support
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>
5 years agoqa/tasks/vstart_runner: drop py2 support
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>
5 years agoqa/tasks/cephfs: drop py2 support
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>
5 years agoqa/standalone: drop py2 support
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>
5 years agocrimson/os/seastore: s/assert/ceph_abort_msg/ when hitting unreachable code 35914/head
Kefu Chai [Fri, 3 Jul 2020 09:35:48 +0000 (17:35 +0800)]
crimson/os/seastore: s/assert/ceph_abort_msg/ when hitting unreachable code

clang++ complains with
```
crimson/os/seastore/root_block.h:100:3: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson: silence -Wunused-lambda-capture warnings
Kefu Chai [Fri, 3 Jul 2020 09:29:34 +0000 (17:29 +0800)]
crimson: silence -Wunused-lambda-capture warnings

they are pointed out by clang++.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/common: make FixedKVNodeLayout::set_val() public
Kefu Chai [Fri, 19 Jun 2020 11:29:28 +0000 (19:29 +0800)]
crimson/common: make FixedKVNodeLayout::set_val() public

otherwise clang++ fails with
```
mson/os/seastore/lba_manager/btree/lba_btree_node_impl.cc:183:10: error: 'set_val' is a private member of 'crimson::common::FixedKVNodeLayout<255, unsigned long, ceph_le<unsigned long long>,
crimson::os::seastore::paddr_t, crimson::os::seastore::paddr_le_t, true>::iter_t<false>'
      i->set_val(updated);
         ^
/home/jenkins-build/build/workspace/ceph-perf-crimson/ceph-master/src/crimson/common/fixed_kv_node_layout.h:148:10: note: declared private here
    void set_val(V val) const {
         ^
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35855 from dillaman/wip-45986
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>
5 years agounittest_cdc: fix test on big-endian hosts 35921/head
Ulrich Weigand [Fri, 3 Jul 2020 13:57:59 +0000 (15:57 +0200)]
unittest_cdc: fix test on big-endian hosts

The specific_result test hardcodes a particular output.  However,
the input buffer used by the test is currently initialized to a
different byte string depending host the host byte order, which
makes the expected result not match on big-endian hosts.

Fixed by always initializing the input buffer to the same string.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
5 years agomsg/msg_types: entity_addrvec_t: fix decode on big-endian hosts 35920/head
Ulrich Weigand [Fri, 3 Jul 2020 13:47:00 +0000 (15:47 +0200)]
msg/msg_types: entity_addrvec_t: fix decode on big-endian hosts

When decoding an entity_addrvec_t with marker 1, we just have
a single (non-legacy) entity_addr_t.  This should be decoded
exactly the same as done by entity_addr_t::decode, but it
currently is not.  Specifically, the sa_family member of
the sockaddr is not converted from the on-wire little-endian
format to host byte order (as done by entity_addr_t::decode).

Fixed by using the same code as in entity_addr_t::decode.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
5 years agoMerge pull request #35859 from tspmelo/wip-remove-ngx-bootstrap
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>
5 years agodoc/dev: Update zoned-storage.rst to indicate that OSDs can now be written to after... 35546/head
Abutalib Aghayev [Tue, 30 Jun 2020 17:01:07 +0000 (13:01 -0400)]
doc/dev: Update zoned-storage.rst to indicate that OSDs can now be written to after restart on zoned devices.

Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
5 years agoos/bluestore: Introduce zoned freelist manager.
Abutalib Aghayev [Tue, 30 Jun 2020 17:00:24 +0000 (13:00 -0400)]
os/bluestore: Introduce zoned freelist manager.

Introduced ZonedFreelistManager, which tracks the write pointer and the number
of dead bytes per zone.

Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
5 years agoMerge pull request #35875 from Devp00l/wip-46303
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>
5 years agoMerge pull request #35912 from tchaikov/wip-crimson-osd-flush-pg-stats
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>