Matt Benjamin
805f749564
rgw_file: avoid long-ish delay on shutdown
...
Normal shutdown was likely to be delayed a substantial fraction
of rgw_nfs_namespace_expire_secs due to an ill-advised use of
this_thread::sleep_for.
Fixes: https://tracker.ceph.com/issues/47710
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-09-30 15:24:47 -04:00
Lenz Grimmer
72c9c66781
Merge pull request #37443 from ktdreyer/node-12.18.2
...
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 17:07:56 +02:00
Lenz Grimmer
d5de9a58ea
Merge pull request #36771 from rhcs-dashboard/wip-47118-master
...
mgr/dashboard: add JUnit reports to Dashboard e2e tests
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 17:06:06 +02:00
Jan Fajerski
239c4bc8f3
Merge pull request #34740 from jan--f/c-v-refactor-batch-use-create
...
ceph-volume: major batch refactor
2020-09-30 15:37:52 +02:00
Jason Dillaman
214c63db25
Merge pull request #37014 from lixiaoy1/rwl_plugin
...
rbd/cache: update RWL as ImageDispatch
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-30 09:33:03 -04:00
Yuval Lifshitz
0bc89e5ec8
Merge pull request #37030 from Amrita42/wip-doc-Amy-radosgw
...
doc: Bucket notifications in the radosgateway-the usage of 'if not'
2020-09-30 13:51:52 +03:00
Lenz Grimmer
3fec8e7ac7
Merge pull request #37312 from votdev/issue_47578_clipboard_firefox
...
mgr/dashboard: Copy to clipboard does not work in Firefox
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 11:49:41 +02:00
Ernesto Puerta
5a16ed2360
mgr/dashboard: add JUnit reports to tests
...
Fixes: https://tracker.ceph.com/issues/47118
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-30 11:15:01 +02:00
Joshua Schmid
c1a39ce17a
Merge pull request #37411 from p-se/fix-cephadm-custom-template-escaping
...
mgr/cephadm: do not escape HTML for custom templates
2020-09-30 09:57:58 +02:00
Joshua Schmid
cef4c44346
Merge pull request #36622 from dmick/wip-46665
...
mgr/cephadm: continue trying all hosts for service deployment
2020-09-30 09:57:27 +02:00
lixiaoy1
4ef11e7b73
rbd/cache: update RWL as ImageDispatch
...
This is a preparation work to make ReplicatedWriteLog as a plugin.
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-09-30 03:56:58 -04:00
lixiaoy1
f18ca093b6
rbd/io: split IO check
...
Move IO check to interfaces in Utils.
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-09-30 03:56:58 -04:00
Joshua Schmid
bcd392ab41
Merge pull request #37112 from sebastian-philipp/cephadm-services-types-mandatory
...
mgr/cephadm: Make type annotations for cephadm.services mandatory
2020-09-30 09:56:20 +02:00
Joshua Schmid
cb3a33b073
Merge pull request #37397 from adk3798/mirror
...
mgr/cephadm: get rbd-mirror daemon-id when checking for strays
2020-09-30 09:56:12 +02:00
Joshua Schmid
9f752b177e
Merge pull request #37432 from sebastian-philipp/cephadm-upgrade-state-none
...
mgr/cephadm: upgrade_state can be literally "null"
2020-09-30 09:55:57 +02:00
Jan Fajerski
8178d5c48a
ceph-volume batch: fix very_fast_allocation plan and add tests
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
e75ef77f23
ceph-volume: batch: call the right prepare method
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
28e33f3025
python-common drive-groups: allow strings for wal and db size
...
This enables user to pass sizes like "10G", which batch now understands.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
7d168ad7bd
ceph-volume inventory: add option to filter unwanted devices
...
Some device we never want to pass to the batch subcommand. For now this
includes devices that have a partition or are mounted on the machine.
One goal is to filter the root device, so it is not included on a batch
command and thus would contribute to its implicit sizing calculation.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
6f1592a114
ceph-volume: address review comments
...
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:15 +02:00
Lenz Grimmer
6f43141177
Merge pull request #36392 from Devp00l/wip-46375
...
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-29 13:08:17 +02:00
Sebastian Wagner
155fd98002
mgr/cephadm: upgrade_state can be literally "null"
...
Fixes: https://tracker.ceph.com/issues/47580
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-09-29 11:39:52 +02:00
Stephan Müller
9e0db83b81
mgr/dashboard: Speed improvements of pool details
...
Now all variables that are shown in a listing that trigger a
more complex render cycle will only be updated if pool properties have
changed and not only the time series data, which isn't shown anymore,
as it can be seen graphically enhanced in the pool listing.
The pool detail component now uses the `onPush` change detection
strategy, to only call `ngOnChanges` if one of the input variables
have changed.
The function that only updates variables if they have changed is
now available through a helper class in order to provide this
useful functionality through out the dashboard.
Fixes: https://tracker.ceph.com/issues/46375
Signed-off-by: Stephan Müller <smueller@suse.com>
2020-09-29 10:59:21 +02:00
Mykola Golub
5865352387
Merge pull request #37286 from dillaman/wip-46822
...
osdc/ObjectCacher: overwrite might cause stray read request callbacks
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-29 09:18:55 +03:00
Mykola Golub
69068a3e1c
Merge pull request #37074 from dillaman/wip-librbd-list-snaps-api
...
librbd: generic internal API for computing snapshot deltas
Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-09-29 08:45:13 +03:00
Kefu Chai
a42fd5c21e
Merge pull request #37281 from tchaikov/wip-fmt
...
rpm: add fmt-devel as build deps
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-29 08:14:34 +08:00
Jason Dillaman
fd159956a7
Merge pull request #37417 from Songweibin/wip-rbd-metadata-update
...
librbd: should not permit update image metadata via snapshot
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-28 19:44:23 -04:00
Jason Dillaman
7fb1a53172
Merge pull request #37429 from trociny/wip-47665
...
rbd-nbd: don't ignore namespace when unmapping by image spec
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-28 19:43:53 -04:00
Ken Dreyer
3986ad5e36
mgr/dashboard: build with NodeJS 12.18.2
...
Update the version of NodeJS that we use to build the dashboard.
RHEL 8 and CentOS 8 ship NodeJS 12.18.2, so I've picked this version to
make it easier to build outside of nodeenv.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2020-09-28 17:27:53 -06:00
Nathan Cutler
5b4e51f9fb
Merge pull request #37399 from smithfarm/wip-relax-backporting-rule
...
doc/SubmittingPatches-backports.rst: clarify where to explain
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-28 20:56:08 +02:00
Patrick Donnelly
429ed83b8a
Merge PR #37359 into master
...
* refs/pull/37359/head:
mon: test before adding/removing required_client_features
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-28 11:49:27 -07:00
Patrick Donnelly
13a892d8df
Merge PR #36912 into master
...
* refs/pull/36912/head:
mds: defer encoding and storing the inode backtrace
mds: defer encoding and storing the CDir dentries
mds: add error handler with lock support
Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-09-28 11:47:54 -07:00
Patrick Donnelly
c7b6d8ae4c
Merge PR #36730 into master
...
* refs/pull/36730/head:
client: switch to unique_lock to avoid use the client_lock directly
client: unlock client_lock when copying data to bufferlist
client: do more check for the client_lock
client: simplify the iterating related code to make it more readable
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-28 11:45:44 -07:00
Jason Dillaman
ba395abdd6
Merge pull request #37424 from ronen-fr/rf_neo_comp
...
neorados: removing an unused captured variable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-28 11:50:52 -04:00
Lenz Grimmer
5ce9229da8
Merge pull request #36016 from rhcs-dashboard/wip-45863-master
...
mgr/dashboard/api: generate static API documentation
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Courtney Caldwell <ccaldwel@redhat.com>
Reviewed-by: Karen Norteman <knortema@redhat.com>
2020-09-28 16:48:25 +02:00
Lenz Grimmer
c8bf4507cc
Merge pull request #37387 from rhcs-dashboard/expose-always-on
...
mgr/dashboard: cluster > manager modules
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-09-28 15:35:44 +02:00
Courtney Caldwell
ca2261781e
mgr/dashboard/api: generate offline API docs
...
Generate Sphinx documentation from OpenAPI YAML spec:
- Fixed Docs controller doc generation
- Now dashboard Python doesn't fails if dashboard/frontend/dist doesn't exist
- OpenAPI added to @ceph/api CODEOWNERS
- Renamed Ceph-Dashboard API to Ceph REST or RESTful API.
- OpenAPI Docs: fixed decorators and docstrings.
- Sphinx Docs: updated dashboard and dev ones.
Co-authored-by: Ernesto Puerta <epuertat@redhat.com>
Fixes: https://tracker.ceph.com/issues/45863
Signed-off-by: Courtney Caldwell <ccaldwel@redhat.com>
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-28 12:03:03 +02:00
Kefu Chai
5e473ecc44
Merge pull request #37328 from badone/wip-npm-cache-config-changes
...
cmake: Don't try to access users' home directory
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-28 09:35:36 +08:00
Brad Hubbard
d6e391214a
cmake: Don't try to access users' home directory
...
Don't store .npmrc or cache directory in a user's home directory.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-09-28 07:11:04 +10:00
Mykola Golub
b360186eb6
rbd-nbd: don't ignore namespace when unmapping by image spec
...
Fixes: https://tracker.ceph.com/issues/47665
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-09-27 17:59:49 +01:00
Kefu Chai
b0f4af1048
Merge pull request #37282 from neha-ojha/wip-46323
...
qa/*/thrash_cache_writeback_proxy_none.yaml: remove cache-mode proxy
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-09-28 00:17:49 +08:00
Kefu Chai
8ac8b776b6
Merge pull request #37077 from wjwithagen/wjw-fix-cls_fifo.cc-__lea64
...
cls: replace __le{32,64} types by their Ceph counterparts
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-28 00:15:59 +08:00
Kefu Chai
d80fbdd97a
Merge pull request #37149 from ifed01/wip-ifed-fix-alloc-cmd-multi-reg
...
os/bluestore: provide a different name for fallback allocator
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2020-09-28 00:13:46 +08:00
Kefu Chai
5c1d2de74e
Merge pull request #37150 from pdvian/wip-crush-failure-domain
...
mon: validate crush-failure-domain
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-28 00:12:44 +08:00
Kefu Chai
95d50b840b
Merge pull request #37263 from ifed01/wip-ifed-more-structs-to-mempool
...
os/bluestore: add missing structs to bluestore_cache_other mempool
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2020-09-28 00:11:31 +08:00
Kefu Chai
bd7b6718be
Merge pull request #37153 from tchaikov/wip-46124
...
blk/kernel: use open file description lock if available
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Niklas Hambüchen <mail@nh2.me>
2020-09-28 00:10:26 +08:00
Kefu Chai
9f5465ace4
Merge pull request #37329 from changchengx/add_conn
...
mon: set MonClient::_add_conn return type to void
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-28 00:05:40 +08:00
Kefu Chai
dcaf9e02c6
Merge pull request #37321 from changchengx/mon_make
...
cmake: remove undefined source file lists
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-27 10:49:22 +08:00
Changcheng Liu
2892985a59
cmake: remove undefined source file lists
...
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
2020-09-27 08:49:05 +08:00
songweibin
36bf797515
librbd: should not permit update image metadata via snapshot
...
Fixes: https://github.com/ceph/ceph/pull/37121
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2020-09-26 19:03:47 +08:00