]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agodoc/devel: add zdover to leads list 35950/head
Zac Dover [Wed, 15 Jul 2020 10:59:06 +0000 (20:59 +1000)]
doc/devel: add zdover to leads list

This commit adds "zdover" to the list of
leads as the Docs Lead.

Fixes: https://tracker.ceph.com/issues/46378
Signed-off-by: Zac Dover <zac.dover@gmail.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 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 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 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 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>
5 years agoMerge pull request #35374 from jschmid1/activate_osdspec_affinity
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>
5 years agocrimson/osd: avoid `-Wunused-but-set-variable` warning 35912/head
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>
5 years agoMerge pull request #35704 from Devp00l/wip-46135
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>
5 years agocrimson/osd: update the osd stats with hb peers
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>
5 years agocrimson/osd: implement flush_pg_stats command
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>
5 years agocrimson/{mgr,osd}: add WithStats::update_stats()
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>
5 years agoMerge pull request #35887 from joscollin/wip-update-kyr
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>
5 years agoMerge pull request #35845 from tchaikov/wip-rpm-crimson
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>
5 years agoMerge pull request #35867 from jwilk-forks/spelling
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>
5 years agocephadm: Make list_networks ipv6 enabled 35890/head
Matthew Oliver [Thu, 2 Jul 2020 08:21:53 +0000 (18:21 +1000)]
cephadm: Make list_networks ipv6 enabled

Currently the list_network command and methods in cephadm only run and
parse ipv4 output from `ip route`.

This patch extends the list_network command and internal methods to be
ipv6 enabled. It now also checks `ip -6 route` and `ip -6 addr` to
gather gather all networks from both protocol families.

Signed-off-by: Matthew Oliver <moliver@suse.com>
5 years agoMerge pull request #35894 from tchaikov/wip-crimson-os
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>
5 years agoMerge pull request #35745 from votdev/issue_46146_delete_host
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>
5 years agoMerge pull request #35642 from tspmelo/wip-fix-flicker
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>
5 years agoMerge pull request #34889 from votdev/issue_43120_tabs
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>
5 years agocrimson/os/alienstore: assert on failure 35894/head
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>
5 years agocrimson/os: pin the last cpu core for the alien worker threads
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>
5 years agomgr/dashboard: use relative font sizes 35354/head
Ishan Rai [Thu, 2 Jul 2020 09:16:05 +0000 (09:16 +0000)]
mgr/dashboard: use relative font sizes

Fixes: https://tracker.ceph.com/issues/38890
Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
5 years agomgr/dashboard: stay on active tab (accessible via URL) 34889/head
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>
5 years agoMerge pull request #35816 from idryomov/wip-msgr21-fix-reuse
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>
5 years agoMerge pull request #35854 from tspmelo/wip-fix-nfs-loading
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>
5 years agoMerge pull request #35823 from bk201/wip-46245
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>
5 years agoMerge pull request #35765 from votdev/issue_46145_reset_action_button
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>
5 years agoMerge pull request #35803 from s0nea/wip-dashboard-remove-formatted-attr
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>
5 years agoMerge pull request #35828 from votdev/issue_46249_rm_tab
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>
5 years agoMerge pull request #35564 from rhcs-dashboard/wip-45957-fixUiApiEndpoints
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

5 years ago.githubmap: add Kyr 35887/head
Jos Collin [Thu, 2 Jul 2020 06:35:54 +0000 (12:05 +0530)]
.githubmap: add Kyr

Signed-off-by: Jos Collin <jcollin@redhat.com>
5 years agoMerge pull request #35639 from joscollin/wip-fix-sh-as-in-teuthology
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>
5 years agoMerge pull request #35037 from CongMinYin/qa-test-for-immutale-object-cache
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>
5 years agolibrbd/image: fix immutable object cache read failed bug when daemon down 35037/head
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>
5 years agoqa: add tests for immutable object cache
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>
5 years agoMerge pull request #35699 from fflorens/ff/work/bug_46139
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>
5 years agoMerge pull request #35596 from Songweibin/wip-fix-rbd-rm
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>
5 years agomgr/dashboard: Fixes regression in device selection modal 35875/head
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>
5 years agoMerge pull request #35856 from tchaikov/wip-46267
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>
5 years agoMerge pull request #35751 from smithfarm/wip-radosgw-admin-orphans
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>
5 years agomgr/dashboard: Remove ngx-bootstrap 35859/head
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>
5 years agoMerge pull request #35782 from tspmelo/wip-ng-datepicker
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>
5 years agoMerge pull request #35869 from smithfarm/wip-rn-15_2_4
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>
5 years agoMerge pull request #35805 from ricardoasmarques/ceph-orch-status-format
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>
5 years agoMerge pull request #35811 from tchaikov/wip-46054
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>
5 years agoMerge pull request #35723 from tspmelo/wip-fix-action-tooltip
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>