]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agomon/ConfigKeyService: drop ConfigKeyService::get_name()
Kefu Chai [Sat, 28 Nov 2020 13:35:10 +0000 (21:35 +0800)]
mon/ConfigKeyService: drop ConfigKeyService::get_name()

the only caller of this function is prefix(), so hardcode the service
name there instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon/ConfigKeyService: remove unused bits
Kefu Chai [Sat, 28 Nov 2020 13:23:38 +0000 (21:23 +0800)]
mon/ConfigKeyService: remove unused bits

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon/ConfigKeyService: store mon and paxos using reference
Kefu Chai [Sat, 28 Nov 2020 13:01:12 +0000 (21:01 +0800)]
mon/ConfigKeyService: store mon and paxos using reference

before this change, we always have a valid pointer as member variable.
so, a reference serve this purpose better.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon: drop QuorumService
Kefu Chai [Sat, 28 Nov 2020 11:35:08 +0000 (19:35 +0800)]
mon: drop QuorumService

so far we only implemented ConfigKeyService, so move QuorumService into
the its only child class -- ConfigKeyService.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon/ConfigKeyService: move private member variable declaration to the end of class
Kefu Chai [Sat, 28 Nov 2020 11:15:34 +0000 (19:15 +0800)]
mon/ConfigKeyService: move private member variable declaration to the end of class

to follow https://google.github.io/styleguide/cppguide.html

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon: store a reference as member variable
Kefu Chai [Sat, 28 Nov 2020 11:08:26 +0000 (19:08 +0800)]
mon: store a reference as member variable

before this change, we always have a valid pointer as member variable.
so, a reference serve this purpose better.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agomon: use unique_ptr<> to manage lifecycle of Monitor::paxos
Kefu Chai [Sat, 28 Nov 2020 09:09:12 +0000 (17:09 +0800)]
mon: use unique_ptr<> to manage lifecycle of Monitor::paxos

it is less error-prone, and has better readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38442 from badone/wip-bump-fmt-package-min-version
Kefu Chai [Sun, 6 Dec 2020 02:59:31 +0000 (10:59 +0800)]
Merge pull request #38442 from badone/wip-bump-fmt-package-min-version

cmake: require fmt 6.0.0 and up

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38389 from trociny/wip-48412
Jason Dillaman [Sat, 5 Dec 2020 20:37:51 +0000 (15:37 -0500)]
Merge pull request #38389 from trociny/wip-48412

librbd: fix regression in object map diff request

Reviewed-by: Jason Dillaman <dillaman@hotmail.com>
4 years agoMerge pull request #35821 from Aran85/fix-ec-read
Kefu Chai [Sat, 5 Dec 2020 14:54:33 +0000 (22:54 +0800)]
Merge pull request #35821 from Aran85/fix-ec-read

osd/ECBackend: optimize remaining read as readop contain multiple objects

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
4 years agoMerge pull request #37543 from ianwatsonrh/master
Matt Benjamin [Sat, 5 Dec 2020 14:46:09 +0000 (09:46 -0500)]
Merge pull request #37543 from ianwatsonrh/master

docs: With the addition of STS x-amz-security-token is now supported

4 years agoMerge pull request #38401 from a16bitsysop/alpine-tests
Kefu Chai [Sat, 5 Dec 2020 14:12:48 +0000 (22:12 +0800)]
Merge pull request #38401 from a16bitsysop/alpine-tests

test/lazy-omap-stats: Fix compilation on alpine linux

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38314 from badone/wip-monitor-reset-abort-if-is_shutdown
Kefu Chai [Sat, 5 Dec 2020 13:59:02 +0000 (21:59 +0800)]
Merge pull request #38314 from badone/wip-monitor-reset-abort-if-is_shutdown

mon: paxos: Delete logger in destructor

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38410 from badone/wip-monitor-logger-deelete-in-destructor
Kefu Chai [Sat, 5 Dec 2020 13:53:58 +0000 (21:53 +0800)]
Merge pull request #38410 from badone/wip-monitor-logger-deelete-in-destructor

mon: Delete logger in destructor

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37314 from ifed01/wip-ifed-faster-rm-p1
Kefu Chai [Sat, 5 Dec 2020 13:50:30 +0000 (21:50 +0800)]
Merge pull request #37314 from ifed01/wip-ifed-faster-rm-p1

osd: optimize PG removal (part1)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
4 years agoMerge pull request #38438 from ifed01/wip-ifed-fix-avl
Kefu Chai [Sat, 5 Dec 2020 13:49:11 +0000 (21:49 +0800)]
Merge pull request #38438 from ifed01/wip-ifed-fix-avl

os/bluestore: fix inappropriate ENOSPC from avl/hybrid allocator

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38436 from ktdreyer/prometheus-err
Kefu Chai [Sat, 5 Dec 2020 13:38:54 +0000 (21:38 +0800)]
Merge pull request #38436 from ktdreyer/prometheus-err

mgr/prometheus: don't store exception as e

Reviewed-by: Boris Ranto <branto@redhat.com>
4 years agocmake: require fmt 6.0.0 and up 38442/head
Brad Hubbard [Fri, 4 Dec 2020 00:01:58 +0000 (10:01 +1000)]
cmake: require fmt 6.0.0 and up

The cmake search for a local package has lagged in regard to our usage
of it.

Fixes: https://tracker.ceph.com/issues/48453
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoMerge pull request #38400 from tchaikov/wip-pybind-use-non-deprecated-functions
Kefu Chai [Sat, 5 Dec 2020 04:14:28 +0000 (12:14 +0800)]
Merge pull request #38400 from tchaikov/wip-pybind-use-non-deprecated-functions

pybind/rados: use rados_set_pool_full_try instead of the deprecated one

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #36384 from linuxbox2/wip-doc-ippolicy
Matt Benjamin [Fri, 4 Dec 2020 22:37:58 +0000 (17:37 -0500)]
Merge pull request #36384 from linuxbox2/wip-doc-ippolicy

rgw:doc: document support for (Not)IpAddress in S3 policy

4 years agoMerge pull request #37546 from myoungwon/wip-revamp-tier-flush
Samuel Just [Fri, 4 Dec 2020 21:39:41 +0000 (13:39 -0800)]
Merge pull request #37546 from myoungwon/wip-revamp-tier-flush

osd: refactoring tier_flush()

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agodoc/osd-config-ref: adjust default value for osd_delete_sleep_hybrid 37314/head
Igor Fedotov [Mon, 16 Nov 2020 18:55:07 +0000 (21:55 +0300)]
doc/osd-config-ref: adjust default value for osd_delete_sleep_hybrid

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoosd: adjust osd_delete_sleep_ssd[_hybrid]
Igor Fedotov [Tue, 29 Sep 2020 17:37:33 +0000 (20:37 +0300)]
osd: adjust osd_delete_sleep_ssd[_hybrid]

1) Do not differentiate all-flash and hybrid(ssd+hdd) deployments since
they both bound to SSD drive backing DB volume.
2) Drop osd_delete_sleep_hybrid from 2s to 1s
3) Raise osd_delete_sleep_ssd to 1s since 0 is a way too low - having
it that low tend to cause a significant negative imact on OSD's regular
operation.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoos/bluestore: introduce removal perf counter
Igor Fedotov [Fri, 4 Sep 2020 10:17:54 +0000 (13:17 +0300)]
os/bluestore: introduce removal perf counter

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoos/bluestore: track kv utilization in kv_sync_thread
Igor Fedotov [Fri, 14 Jun 2019 11:04:33 +0000 (14:04 +0300)]
os/bluestore: track kv utilization in kv_sync_thread

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoos/bluestore: perf counters for omap_get_keys[_get_values]
Igor Fedotov [Wed, 2 Sep 2020 11:44:07 +0000 (14:44 +0300)]
os/bluestore: perf counters for omap_get_keys[_get_values]

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoosd/pg: use next when calling collection_list for pg removal
Igor Fedotov [Fri, 28 Aug 2020 19:10:56 +0000 (22:10 +0300)]
osd/pg: use next when calling collection_list for pg removal

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #38449 from trociny/wip-rbd-flush-finisher
Jason Dillaman [Fri, 4 Dec 2020 19:50:01 +0000 (14:50 -0500)]
Merge pull request #38449 from trociny/wip-rbd-flush-finisher

librbd: flush task finisher queue on unregistering watcher

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38399 from es-gyt/master
Jason Dillaman [Fri, 4 Dec 2020 19:00:43 +0000 (14:00 -0500)]
Merge pull request #38399 from es-gyt/master

rbd: current pc value should be greater than last_pc

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38403 from zdover23/wip-doc-CLT-update-02-Dec-2020-1
zdover23 [Fri, 4 Dec 2020 17:49:48 +0000 (03:49 +1000)]
Merge pull request #38403 from zdover23/wip-doc-CLT-update-02-Dec-2020-1

doc/governance.rst - updating CLT list

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #38440 from bk201/wip-48454
Ernesto Puerta [Fri, 4 Dec 2020 17:40:03 +0000 (18:40 +0100)]
Merge pull request #38440 from bk201/wip-48454

mgr/dashboard: fix trusted_ip_list in iSCSI service form

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #38398 from tchaikov/wip-48210
Kefu Chai [Fri, 4 Dec 2020 17:33:24 +0000 (01:33 +0800)]
Merge pull request #38398 from tchaikov/wip-48210

pybind/mgr: unpin urllib3

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #38298 from bk201/wip-43165
Ernesto Puerta [Fri, 4 Dec 2020 17:24:46 +0000 (18:24 +0100)]
Merge pull request #38298 from bk201/wip-43165

mgr/dashboard: refactor /api/orchestrator/* endpoints

Reviewed-by: Courtney Caldwell <ccaldwel@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #38432 from rhcs-dashboard/orch-not-available-incorrect-status
Ernesto Puerta [Fri, 4 Dec 2020 17:22:43 +0000 (18:22 +0100)]
Merge pull request #38432 from rhcs-dashboard/orch-not-available-incorrect-status

mgr/dashboard: Fix for misleading "Orchestrator is not available" error

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agotest/librbd: fix race in TestLibRBD.ConcurentOperations 38449/head
Mykola Golub [Fri, 4 Dec 2020 17:02:17 +0000 (17:02 +0000)]
test/librbd: fix race in TestLibRBD.ConcurentOperations

It was possible that before image1 was closed, both quiesce2 and
quiesce3 requests were received and the test got stuck on
create_snap1.join() waiting for the image1 to be closed, while
the close was waiting for quiesce3 to be completed.

Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agorbd: current pc value should be greater than last_pc 38399/head
es-gyt [Wed, 2 Dec 2020 11:29:36 +0000 (19:29 +0800)]
rbd: current pc value should be greater than last_pc

If rbd image enabled striping feature, stderr will
print repeat rate of progress when execu rbd export-diff.

Fixes: https://tracker.ceph.com/issues/48431
Signed-off-by: Yite Gu <yite.gu@easystack.cn>
4 years agoMerge pull request #38379 from dillaman/wip-librbd-migration-5
Mykola Golub [Fri, 4 Dec 2020 15:43:59 +0000 (17:43 +0200)]
Merge pull request #38379 from dillaman/wip-librbd-migration-5

librbd/migration: add thick-provisioned snapshot support to the raw format

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #38285 from jmolmo/include_hw_info_in_HostCache
Sebastian Wagner [Fri, 4 Dec 2020 15:11:08 +0000 (16:11 +0100)]
Merge pull request #38285 from jmolmo/include_hw_info_in_HostCache

mgr/cephadm: Get host facts data in host cache

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agodoc/governance.rst - updating CLT list 38403/head
Zac Dover [Wed, 2 Dec 2020 15:18:51 +0000 (01:18 +1000)]
doc/governance.rst - updating CLT list

This PR removes the following people from the
CLT. They've left the CLT:
* Lenz Grimmer
* Alfredo Deza
* Zack Cerza

This commit also adds:
* Ernesto Puerta

Fixes: https://tracker.ceph.com/issues/48436
Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agomgr/cephadm: Get host facts data in host cache 38285/head
Juan Miguel Olmo Martínez [Wed, 25 Nov 2020 14:40:57 +0000 (15:40 +0100)]
mgr/cephadm: Get host facts data in host cache

Include cephadm gather-facts information in host cache

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
4 years agoos/bluestore: fix inappropriate ENOSPC from avl/hybrid allocator 38438/head
Igor Fedotov [Thu, 3 Dec 2020 19:08:43 +0000 (22:08 +0300)]
os/bluestore: fix inappropriate ENOSPC from avl/hybrid allocator

Under high fragmentation circumstances (in best-fit mode) these allocators might fail to
return continuous(longer than a single alloc unit) extents. Occurs when
requested size is longer than the maximum available extents and these
extents are unaligned with alloc unit. The latter results in the actual lengths of these extens are shorter
than the requested length and they do not match to the lookup. Which
finally causes no allocation at all.

Fixes: https://tracker.ceph.com/issues/47883
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
4 years agolibrbd: flush task finisher queue on unregistering watcher
Mykola Golub [Fri, 4 Dec 2020 10:50:33 +0000 (10:50 +0000)]
librbd: flush task finisher queue on unregistering watcher

To make sure all inflight requests like scheduled
cancel_async_requests are complete on shutdown.

Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #37631 from zjcmszh/aio_setxattr
Kefu Chai [Fri, 4 Dec 2020 06:15:21 +0000 (14:15 +0800)]
Merge pull request #37631 from zjcmszh/aio_setxattr

pybind/rados: add Ioctx::aio_setxattr() and remove_omap_range2()

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38168 from agayev/cleaner-plumbing
Kefu Chai [Fri, 4 Dec 2020 06:14:54 +0000 (14:14 +0800)]
Merge pull request #38168 from agayev/cleaner-plumbing

os/bluestore: Introduce plumbing necessary for garbage collecting zones.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #38323 from wjwithagen/wjw-fix-nasm-wrapper
Kefu Chai [Fri, 4 Dec 2020 06:13:42 +0000 (14:13 +0800)]
Merge pull request #38323 from wjwithagen/wjw-fix-nasm-wrapper

nasm-wrapper: Make nasm-wrapper OS independent

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38325 from aclamk/bs-onode-put
Kefu Chai [Fri, 4 Dec 2020 06:13:10 +0000 (14:13 +0800)]
Merge pull request #38325 from aclamk/bs-onode-put

os/bluestore: Only pass that decremented nref to 0 deletes object

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #38387 from hualongfeng/vstart_add_path
Kefu Chai [Fri, 4 Dec 2020 05:52:50 +0000 (13:52 +0800)]
Merge pull request #38387 from hualongfeng/vstart_add_path

vstart.sh: add PATH in vstart_environment

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38358 from batrick/i48030
Kefu Chai [Fri, 4 Dec 2020 05:35:07 +0000 (13:35 +0800)]
Merge pull request #38358 from batrick/i48030

librados: add RadosClient to conf observers

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agomgr/dashboard: fix trusted_ip_list in iSCSI service form 38440/head
Kiefer Chang [Fri, 4 Dec 2020 02:51:47 +0000 (10:51 +0800)]
mgr/dashboard: fix trusted_ip_list in iSCSI service form

The value should be a comma-separated string rather than a list of strings.

Fixes: https://tracker.ceph.com/issues/48454
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agomgr/prometheus: don't store exception as e 38436/head
Ken Dreyer [Thu, 3 Dec 2020 17:48:06 +0000 (10:48 -0700)]
mgr/prometheus: don't store exception as e

Python's logging module's exception() method will log the full exception
and stack trace for us, so we do not need to store the exception in the
"e" variable here.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
4 years agoMerge pull request #37548 from ofriedma/wip-ofriedma-quota-hdrs
Matt Benjamin [Thu, 3 Dec 2020 17:13:43 +0000 (12:13 -0500)]
Merge pull request #37548 from ofriedma/wip-ofriedma-quota-hdrs

rgw: send headers of quota settings

4 years agomgr/dashboard: Fix for misleading "Orchestrator is not available" error 38432/head
Nizamudeen A [Thu, 3 Dec 2020 12:44:04 +0000 (18:14 +0530)]
mgr/dashboard: Fix for misleading "Orchestrator is not available" error

When switching between options, in the Services and Inventory page sometimes it shows "Orchestrator not available" error which appears for 2-3 second and then disappears and shows the normal page. This commit fixes that.

Fixes: https://tracker.ceph.com/issues/48448
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #38433 from tchaikov/wip-rgw
Kefu Chai [Thu, 3 Dec 2020 14:04:37 +0000 (22:04 +0800)]
Merge pull request #38433 from tchaikov/wip-rgw

rgw: pass null_yield to ctl->user->read_stats()

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
4 years agorgw: pass null_yield to ctl->user->read_stats() 38433/head
Kefu Chai [Thu, 3 Dec 2020 13:32:41 +0000 (21:32 +0800)]
rgw: pass null_yield to ctl->user->read_stats()

this change fixes the FTBFS introduced by
4758e50c96afb2e14700e3b91161313ec9567692

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoqa/suites/rbd: new basic migration CLI test case 38379/head
Jason Dillaman [Wed, 2 Dec 2020 03:35:51 +0000 (22:35 -0500)]
qa/suites/rbd: new basic migration CLI test case

Pending a larger suite of tests for instant-restore image migration,
this test provides a basic sanity check for both the native and
raw image formats -- including basic snapshot tests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38167 from CloudFerro/wip-disable-prefetch-in-rgw-file
Matt Benjamin [Thu, 3 Dec 2020 12:55:05 +0000 (07:55 -0500)]
Merge pull request #38167 from CloudFerro/wip-disable-prefetch-in-rgw-file

rgw: disable prefetch in rgw_file to fix 3x read amplification

4 years agoMerge pull request #37595 from pritha-srivastava/wip-rgw-sts-old-users
Matt Benjamin [Thu, 3 Dec 2020 12:36:42 +0000 (07:36 -0500)]
Merge pull request #37595 from pritha-srivastava/wip-rgw-sts-old-users

rgw/sts: adding code for creating oidc users in a backward

4 years agoMerge pull request #38412 from badone/wip-build-uring-alternate-git-repo
Brad Hubbard [Thu, 3 Dec 2020 04:53:19 +0000 (14:53 +1000)]
Merge pull request #38412 from badone/wip-build-uring-alternate-git-repo

cmake: Alter GIT_REPOSITORY for liburing

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: Alter GIT_REPOSITORY for liburing 38412/head
Brad Hubbard [Thu, 3 Dec 2020 01:56:43 +0000 (11:56 +1000)]
cmake: Alter GIT_REPOSITORY for liburing

https://git.kernel.dk/liburing appears, at least currently, to be
unavailable. This could be reverted once it comes back.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agoMerge pull request #38409 from rhcs-dashboard/fix-48441-master
Kiefer Chang [Thu, 3 Dec 2020 01:28:22 +0000 (09:28 +0800)]
Merge pull request #38409 from rhcs-dashboard/fix-48441-master

mgr/dashboard: fix wrong import in iscsi unit test

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agoMerge pull request #38289 from smithfarm/wip-rn-hotfix-octo
Josh Durgin [Thu, 3 Dec 2020 00:51:53 +0000 (16:51 -0800)]
Merge pull request #38289 from smithfarm/wip-rn-hotfix-octo

doc: add release notes for Octopus 15.2.7

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agomon: Delete logger in destructor 38410/head
Brad Hubbard [Thu, 3 Dec 2020 00:24:24 +0000 (10:24 +1000)]
mon: Delete logger in destructor

In theory we could race on the 'logger' object in a similar fashion to
https://tracker.ceph.com/issues/48386 where the race is on the
Paxos::logger object.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agomgr/dashboard: fix wrong import in iscsi unit test 38409/head
Ernesto Puerta [Wed, 2 Dec 2020 20:49:26 +0000 (21:49 +0100)]
mgr/dashboard: fix wrong import in iscsi unit test

This commit bdf866e436b8772a4080ade7298192eee9adcc97 happened after the
last run of https://github.com/ceph/ceph/pull/37198 make check. That's
why that latter PR passed the tests then but failed when merged in
master.

Fixes: https://tracker.ceph.com/issues/48441
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #38385 from rzarzynski/wip-rbd-memset_s
Jason Dillaman [Wed, 2 Dec 2020 20:38:15 +0000 (15:38 -0500)]
Merge pull request #38385 from rzarzynski/wip-rbd-memset_s

librbd: use the ceph_memzero_s() wrapper instead of explicit_bzero()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38395 from trociny/wip-rbd-test-migration-verbose
Jason Dillaman [Wed, 2 Dec 2020 20:37:36 +0000 (15:37 -0500)]
Merge pull request #38395 from trociny/wip-rbd-test-migration-verbose

test/librbd: print difference if deep-copy or migration test fails

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38386 from petrutlucian94/duplicate_get_size
Jason Dillaman [Wed, 2 Dec 2020 20:37:09 +0000 (15:37 -0500)]
Merge pull request #38386 from petrutlucian94/duplicate_get_size

Revert "rbd: add missing FileStream::get_size"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge PR #38364 into master
Patrick Donnelly [Wed, 2 Dec 2020 20:14:16 +0000 (12:14 -0800)]
Merge PR #38364 into master

* refs/pull/38364/head:
mds/CDir: make the data length as long as possible for each op
mds/CDir: correct the write_size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38326 into master
Patrick Donnelly [Wed, 2 Dec 2020 20:13:39 +0000 (12:13 -0800)]
Merge PR #38326 into master

* refs/pull/38326/head:
client: cleanup the handle_mds_map() code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38112 into master
Patrick Donnelly [Wed, 2 Dec 2020 20:09:09 +0000 (12:09 -0800)]
Merge PR #38112 into master

* refs/pull/38112/head:
Revert "client: optimize rename operation under different quota root"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #38033 into master
Patrick Donnelly [Wed, 2 Dec 2020 20:08:17 +0000 (12:08 -0800)]
Merge PR #38033 into master

* refs/pull/38033/head:
client: do not use g_conf().get_val<>() in libcephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #37708 into master
Patrick Donnelly [Wed, 2 Dec 2020 20:07:17 +0000 (12:07 -0800)]
Merge PR #37708 into master

* refs/pull/37708/head:
qa/suites/fs: enable thrashing in multifs environment
qa/workunits/fs/snaps: allow tests to be run
qa/tasks/{kclient,ceph_fuse}: allow mounting
qa/tasks: allow per file system config setting

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agotest/lazy-omap-stats: Fix compilation on alpine linux 38401/head
Duncan Bellamy [Tue, 1 Dec 2020 17:13:14 +0000 (17:13 +0000)]
test/lazy-omap-stats: Fix compilation on alpine linux
alpine lacks uint typedef but has unsigned

Signed-off-by: Duncan Bellamy <dunk@denkimushi.com>
4 years agoMerge pull request #38369 from linuxbox2/wip-rgwfile-cporder
Matt Benjamin [Wed, 2 Dec 2020 14:54:02 +0000 (09:54 -0500)]
Merge pull request #38369 from linuxbox2/wip-rgwfile-cporder

rgw_file: return common_prefixes in lexical order

4 years agoMerge pull request #38383 from shellwedance/doc_fix_typos
Jason Dillaman [Wed, 2 Dec 2020 14:34:38 +0000 (09:34 -0500)]
Merge pull request #38383 from shellwedance/doc_fix_typos

doc/rbd: fix doc typos

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38320 from tchaikov/wip-cmake-std-fs
Kefu Chai [Wed, 2 Dec 2020 14:03:26 +0000 (22:03 +0800)]
Merge pull request #38320 from tchaikov/wip-cmake-std-fs

cmake: do not always require extra link flags for std::filesystem

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #38390 from xxhdx1985126/wip-obc-related-issues
Kefu Chai [Wed, 2 Dec 2020 13:13:51 +0000 (21:13 +0800)]
Merge pull request #38390 from xxhdx1985126/wip-obc-related-issues

crimson/osd: fix several obc related issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38397 from tchaikov/wip-crimson-tests
Kefu Chai [Wed, 2 Dec 2020 13:10:19 +0000 (21:10 +0800)]
Merge pull request #38397 from tchaikov/wip-crimson-tests

test/crimson: adapt to the changes of messenger

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agolibrbd: skip fast-diff optimization when deep copying with flatten 38389/head
Mykola Golub [Wed, 2 Dec 2020 13:02:30 +0000 (13:02 +0000)]
librbd: skip fast-diff optimization when deep copying with flatten

Even if a source object does not exist we still may need to copy
from the source parent.

Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agodoc/releases: add recent releases to timeline 38289/head
Nathan Cutler [Wed, 25 Nov 2020 18:06:14 +0000 (19:06 +0100)]
doc/releases: add recent releases to timeline

Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #38136 from yuvalif/wip-yuval-fix-47904
Matt Benjamin [Wed, 2 Dec 2020 12:43:12 +0000 (07:43 -0500)]
Merge pull request #38136 from yuvalif/wip-yuval-fix-47904

rgw/notification: trigger notifications on changes from any user

4 years agoMerge pull request #38171 from yuvalif/wip-yuval-fix-46296
Matt Benjamin [Wed, 2 Dec 2020 12:42:03 +0000 (07:42 -0500)]
Merge pull request #38171 from yuvalif/wip-yuval-fix-46296

rgw/notification: support GetTopicAttributes API

4 years agolibrbd: fix deep copy skipping clean object
Mykola Golub [Wed, 2 Dec 2020 12:25:56 +0000 (12:25 +0000)]
librbd: fix deep copy skipping clean object

We need to map the destination object to source object(s) first
when deciding if we can skip copying.

Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agocrimson/osd: drop redundant locking operations in ObjectContext::wait_recovery_read() 38390/head
Xuehan Xu [Wed, 2 Dec 2020 08:48:15 +0000 (16:48 +0800)]
crimson/osd: drop redundant locking operations in ObjectContext::wait_recovery_read()

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agopybind/rados: use rados_set_pool_full_try instead of the deprecated one 38400/head
Kefu Chai [Wed, 2 Dec 2020 12:07:50 +0000 (20:07 +0800)]
pybind/rados: use rados_set_pool_full_try instead of the deprecated one

this change silences the warning when compiling the cythonized python
binding:

build/src/pybind/rados/pyrex/rados.c:64435:9: warning: 'rados_set_osdmap_full_try' is deprecated [-Wdeprecated-declarations]
         rados_set_osdmap_full_try(__pyx_v_self->io);
         ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: pass REQUIRED to find_package(StdFilesystem) 38320/head
Kefu Chai [Fri, 27 Nov 2020 15:54:27 +0000 (23:54 +0800)]
cmake: pass REQUIRED to find_package(StdFilesystem)

otherwise there is chance that we could link to
StdFilesystem::filesystem which is not defined anywhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: do not always require extra link flags for std::filesystem
Kefu Chai [Fri, 27 Nov 2020 15:50:57 +0000 (23:50 +0800)]
cmake: do not always require extra link flags for std::filesystem

since GCC-9

> Using the types and functions in <filesystem> does not require linking
> with -lstdc++fs now.

see https://gcc.gnu.org/gcc-9/changes.html#libstdcxx

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38300 from rhcs-dashboard/fix-saml2-endpoint
Ernesto Puerta [Wed, 2 Dec 2020 11:26:20 +0000 (12:26 +0100)]
Merge pull request #38300 from rhcs-dashboard/fix-saml2-endpoint

mgr/dashboard: SSO not working after REST API versioning

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #38154 from votdev/issue_48181_pipe_function
Ernesto Puerta [Wed, 2 Dec 2020 11:25:39 +0000 (12:25 +0100)]
Merge pull request #38154 from votdev/issue_48181_pipe_function

mgr/dashboard: Use pipe instead of calling function within template wherever possible

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #38019 from bk201/wip-48176
Ernesto Puerta [Wed, 2 Dec 2020 11:25:03 +0000 (12:25 +0100)]
Merge pull request #38019 from bk201/wip-48176

mgr/dashboard: allow selecting all daemons for Orchestrator NFS clusters

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #37198 from tspmelo/wip-iscsi-fix-frontend
Ernesto Puerta [Wed, 2 Dec 2020 11:24:13 +0000 (12:24 +0100)]
Merge pull request #37198 from tspmelo/wip-iscsi-fix-frontend

mgr/dashboard: Allow managing iSCSI Initiator after removing from group

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agopybind/mgr: unpin urllib3 38398/head
Kefu Chai [Wed, 2 Dec 2020 11:20:17 +0000 (19:20 +0800)]
pybind/mgr: unpin urllib3

now that requests is able to support urllib v1.26, there is no need to
pin it anymore.

see also
https://github.com/psf/requests/blob/03957eb1c2b9a1e5e6d61f5e930d7c5ed7cfe853/HISTORY.md#2250-2020-11-11

Fixes: https://tracker.ceph.com/issues/48210
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/crimson: adapt to the changes of messenger 38397/head
Kefu Chai [Wed, 2 Dec 2020 10:58:03 +0000 (18:58 +0800)]
test/crimson: adapt to the changes of messenger

the crimson::net::Messenger interface was changed in
44585adc78bded751b8b50d6304068a8c5186fa1 and
ff2c3b597de4c5707e18529dfa6bed162026014c, so need to change the tests
accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/librbd: print difference if deep-copy or migration test fails 38395/head
Mykola Golub [Wed, 2 Dec 2020 09:41:13 +0000 (09:41 +0000)]
test/librbd: print difference if deep-copy or migration test fails

It may appear to be useful to track the sporadic test failures
observed on jenkins, not reproducible locally.

Previously it was disabled because the output could be too
large. But after the hexdump was improved to skip repeating bytes
the output will hopefully be much smaller.

Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #38360 from cyx1231st/wip-seastar-msgr-fix-gate-exception
Kefu Chai [Wed, 2 Dec 2020 09:31:08 +0000 (17:31 +0800)]
Merge pull request #38360 from cyx1231st/wip-seastar-msgr-fix-gate-exception

crimson/net: misc fixes and cleanups to messenger

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: call ObjectContext::with_promoted_lock() with the currently demanding...
Xuehan Xu [Wed, 2 Dec 2020 08:47:10 +0000 (16:47 +0800)]
crimson/osd: call ObjectContext::with_promoted_lock() with the currently demanding lock type

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agolibrbd: fix regression in diff request
Mykola Golub [Wed, 2 Dec 2020 08:30:39 +0000 (08:30 +0000)]
librbd: fix regression in diff request

(when testing for fast-diff feature enabled)

Fix: https://tracker.ceph.com/issues/48412
Signed-off-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #38327 from lnsyyj/wip-make-error
Kefu Chai [Wed, 2 Dec 2020 08:04:10 +0000 (16:04 +0800)]
Merge pull request #38327 from lnsyyj/wip-make-error

debian/control: add libffi-dev build dep for aarch64

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agovstart.sh: add PATH in vstart_environment 38387/head
Hualong Feng [Wed, 2 Dec 2020 07:51:08 +0000 (15:51 +0800)]
vstart.sh: add PATH in vstart_environment

Signed-off-by: Hualong Feng <hualong.feng@intel.com>
4 years agoMerge pull request #38380 from lixiaoy1/pkg_fix
Kefu Chai [Wed, 2 Dec 2020 07:38:31 +0000 (15:38 +0800)]
Merge pull request #38380 from lixiaoy1/pkg_fix

cmake: fix unknown pkg_search_module

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: fix unknown pkg_search_module 38380/head
lixiaoy1 [Wed, 2 Dec 2020 10:56:33 +0000 (05:56 -0500)]
cmake: fix unknown pkg_search_module

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>