Commit Graph

130578 Commits

Author SHA1 Message Date
David Galloway
0f4be50475
Merge pull request #45933 from ionutbalutoiu/qa-add-rbd-wnbd-tests
qa: add basic Ceph on Windows integration test
2022-04-19 16:50:24 -04:00
Venky Shankar
7608a400c0
Merge pull request #45945 from vshankar/wip-54374
mgr/snap_schedule: add time zone suffix to snapshot dir name

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-19 22:57:07 +05:30
David Galloway
a9d5958690
Merge pull request #45916 from tchaikov/wip-python3
cmake/modules: always use the python3 specified in command line
2022-04-19 11:55:35 -04:00
Samuel Just
66e7b59985
Merge pull request #45864 from cyx1231st/wip-crimson-refactor-with-device-ut
test/crimson/.../test_transaction_manager: test multiple devices

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-04-19 08:14:03 -07:00
Samuel Just
9a4294b756
Merge pull request #45938 from liu-chunmei/seastore-omap-enlarge
crimson/seastore: enlarge omap_leaf_node size

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-04-19 08:03:47 -07:00
Ionut Balutoiu
8054199787 qa: add basic Ceph on Windows integration test
Due to lack of Windows support in the Teuthology, the test case adopts
the following workaround:

* Deploy baremetal machine with `ubuntu_latest.yaml` and
  configure it with libvirt KVM.
* Create a libvirt VM and provision it with Windows Server 2019, using
  the official ISO from Microsoft.
* Configure SSH in the Windows VM, and run the tests remotely via SSH.

The implementation of the test case consists of workunit scripts.

`qa/workunits/windows/test_rbd_wnbd.py` is the main Python script
to test Ceph on Windows basic functionality. This is executed in the
libvirt VM configured with Windows Server 2019.

Co-authored-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Co-authored-by: Daniel Vincze <dvincze@cloudbasesolutions.com>

Signed-off-by: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
2022-04-19 17:21:52 +03:00
Ernesto Puerta
6f773621e1
Merge pull request #45708 from votdev/issue_55133_improve_exception_handling
mgr/dashboard: Imrove error message of '/api/grafana/validation' API endpoint

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-04-19 13:29:00 +02:00
Venky Shankar
3f13df8388
Merge pull request #45603 from nmshelke/feature-54472
mgr/volumes: set, get, list and remove metadata of subvolume

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-19 16:52:13 +05:30
Soumya Koduri
53667dd5eb
Merge pull request #45909 from soumyakoduri/wip-skoduri-dbstore-fixes
rgw/dbstore: Handle prefix/delim while listing objects
2022-04-19 16:34:32 +05:30
Milind Changire
24c13e53de mgr/snap_schedule: add time zone suffix to snapshot dir name
Fixes: https://tracker.ceph.com/issues/54374
Signed-off-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-04-19 06:49:18 -04:00
Soumya Koduri
e51de26939 rgw/dbstore: Handle prefix/delim in Bucket::List op
Given a prefix, fetch only those objects matching the prefix.
In addition, skip the entries with "delim" and instead include
those entries in common_prefixes

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2022-04-19 13:23:09 +05:30
Soumya Koduri
61ede70869 rgw/dbstore: DBObject state initialization
Initialize & store 'state' part of DBObject to be
referenced by callers of 'get_obj_state'.

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2022-04-19 13:23:09 +05:30
Liu-Chunmei
453f53ad47
Merge pull request #45866 from liu-chunmei/crimson-longxattr
crimson: check long attr name

Reviewed-by: Samuel Just <sjust@redhat.com>
Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-04-18 20:09:07 -07:00
chunmei-liu
6f21d915b2 crimson/seastore: enlarge omap_leaf_node size
to avoid double split when key size around 2K.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-18 19:37:27 -07:00
Laura Flores
01ae097b91
Merge pull request #44784 from Gaoweinan/master-doc-InconsistentFormat-gaoweinan
doc:InconsistentFormat
2022-04-18 13:59:21 -05:00
Adam King
b6f42e6db3
Merge pull request #45860 from adk3798/alertmanager-skip-verify
mgr/cephadm: allow setting insecure_skip_verify for alertmanager

Reviewed-by: Francesco Pantano <fpantano@redhat.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2022-04-18 08:57:14 -04:00
Venky Shankar
73e806b7da
Merge pull request #43879 from rishabh-d-dave/vr-clearer-msg
qa/vstart_runner: print "success" explicitly

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-18 15:27:52 +05:30
Venky Shankar
4070f734ee
Merge pull request #45924 from rishabh-d-dave/qa-cephfs-test_cephfs_shell
qa/cephfs: expand note for test_cephfs_shell.py

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-18 15:02:55 +05:30
Venky Shankar
fa57a1c180
Merge pull request #45923 from rishabh-d-dave/doc-fix-note
doc/developer_guide: split a note point into two

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-18 13:28:46 +05:30
Rishabh Dave
bc02c3c7e9 qa/cephfs: expand note for test_cephfs_shell.py
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2022-04-18 13:15:10 +05:30
Rishabh Dave
902420cbd4 qa/vstart_runner: print "success" explicitly
This makes it effortless for new vstart_runner.py users to spot that the
test passed.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2022-04-18 10:39:08 +05:30
Venky Shankar
1ac01c60df
Merge pull request #45816 from kotreshhr/clone-failure-status
mgr/volumes: Show clone failure reason in clone status command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-18 09:43:40 +05:30
Rishabh Dave
f5974d3993 doc/developer_guide: split a note point into two
Since both the sentences in the note point aren't strictly related to
each other, it's better to split that note point into two.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2022-04-17 22:53:09 +05:30
Venky Shankar
144f6fd7e0
Merge pull request #45114 from lxbsz/wip-54362
client: do not release the global snaprealm until unmounting

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-17 15:24:57 +05:30
Venky Shankar
7879e86f50
Merge pull request #45688 from lxbsz/fwd
client: stop forwarding the request when exceeding 256 times

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-17 15:23:15 +05:30
Venky Shankar
baf2f09b5f
Merge pull request #45107 from lxbsz/wip-54345
mds: reset heartbeat when fetching or committing dentries

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-16 20:50:17 +05:30
Laura Flores
c1b0ecc499
Merge pull request #45915 from ljflores/wip-dashboard-cypress-password 2022-04-15 23:58:58 -05:00
Kefu Chai
e2babdfae8 cmake/modules: always use the python3 specified in command line
if another python3 with higher version is found by
find_package(Python3), the cmake's install script would just
install the python modules/extensions into that python3's
dist-package directory, and the packaging script would fail
to find these artifacts when trying to package them.

so we need to ensure that the install directories for python
modeules/extensions are always "versioned" with WITH_PYTHON3
cmake option.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-04-16 09:15:03 +08:00
Laura Flores
cf6feab179 mgr/dashboard/frontend: fix cypress env password
"LOGIN_PASSWORD" should be "LOGIN_PWD". Bug introduced
in e9128c4.

Fixes: https://tracker.ceph.com/issues/55323
Signed-off-by: Laura Flores <lflores@redhat.com>
2022-04-15 22:15:25 +00:00
Adam King
5360de431d
Merge pull request #45765 from m-ildefons/1196785-cephadm-status-trace
cephadm: avoid crashing on expected non-zero exit

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-04-15 11:05:05 -04:00
Adam King
44a13a209f
Merge pull request #45863 from adk3798/mgr-fail-retry
mgr/cephadm: retry mgr fail over in case of transient failure

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-04-15 11:02:55 -04:00
Ilya Dryomov
eca40854e7
Merge pull request #45898 from idryomov/wip-resurrect-mutex-debug
cmake: resurrect mutex debugging in all Debug builds

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-04-15 11:09:42 +02:00
chunmei-liu
a91d1fd48e crimson/osd: check obj exists
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-14 23:06:22 -07:00
Xiubo Li
5117136583 client: do not release the global snaprealm until unmounting
The global snaprealm would be created and then destroyed immediately
every time when updating it.

Fixes: https://tracker.ceph.com/issues/54362
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-04-15 10:51:31 +08:00
Adam King
e583d4ef1a mgr/cephadm: allow setting insecure_skip_verify for alertmanager
Add a "secure" parameter to alertmanager spec that will cause it
to deploy alertmanagers with insecure_skip_verify as true or false
depending on the value given for "secure".

NOTE: alertmanager must still be reconfigured after applying a yaml
with this option changed.

Fixes: https://tracker.ceph.com/issues/55272
Fixes: https://tracker.ceph.com/issues/55333

Signed-off-by: Adam King <adking@redhat.com>
2022-04-14 10:57:22 -04:00
Ali Maredia
5c1c754ecd
Merge pull request #45394 from iqbalredkhan/amrojiqbal
cls/rgw : Add missing classes in < #include "cls/rgw/cls_rgw_types.h">

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2022-04-14 09:35:00 -04:00
Xiubo Li
ad61e1dd1a client: stop forwarding the request when exceeding 256 times
The type of 'num_fwd' in ceph 'MClientRequestForward' is 'int32_t',
while in 'ceph_mds_request_head' the type is '__u8'. So in case
the request bounces between MDSes exceeding 256 times, the client
will get stuck.

In this case it's ususally a bug in MDS and continue bouncing the
request makes no sense.

Fixes: https://tracker.ceph.com/issues/55129
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2022-04-14 20:13:19 +08:00
Venky Shankar
b4ea90ad82
Merge pull request #45549 from nmshelke/fuse-linux-only
ceph-fuse: restrict already_fuse_mounted function only for linux

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-14 17:38:20 +05:30
Venky Shankar
8316aa95fc
Merge pull request #45636 from joscollin/wip-B54971-rank0-stale-perf-stats-assertion-error
qa: make test_perf_stats_stale_metrics check only the clients created for the tests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-14 17:36:42 +05:30
Venky Shankar
3ca23d6791
Merge pull request #45663 from lxbsz/client_cleanup_dl
client: remove expect_null and cleanup the code get_or_create()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-14 17:34:31 +05:30
Venky Shankar
1380b565b8
Merge pull request #45683 from kotreshhr/subvolume-retainsnap-rm-fix
mgr/volumes: Fix idempotent subvolume rm

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-04-14 17:31:46 +05:30
Ilya Dryomov
88e22f1c56
Merge pull request #45897 from idryomov/wip-rbd-mirror-test-timer-lock
test/rbd_mirror: grab timer lock before calling add_event_after()

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2022-04-14 07:50:15 +02:00
Anthony D'Atri
e96703fb9d
Merge pull request #45571 from rzarzynski/wip-doc-mempool-acct
doc/dev: Define what mempools we use in BlueStore
2022-04-13 19:18:26 -07:00
Yuri Weinstein
636bba68ff
Merge pull request #45884 from markhpc/wip-bs-avl-cursor-fix
os/bluestore: Always update the cursor position in AVL near-fit search.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2022-04-13 16:18:47 -07:00
chunmei-liu
229c3f702a crimson/osd: check big object size
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-13 16:01:03 -07:00
chunmei-liu
24f80d5b4a crimson/osd: check CEPH_OSD_FLAG_PARALLELEXEC
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-13 16:00:58 -07:00
chunmei-liu
505b910125 crimson/osd: check long attr name
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-04-13 16:00:50 -07:00
Adam King
3fe2d7d553 mgr/cephadm: retry mgr fail over in case of transient failure
Fixes: https://tracker.ceph.com/issues/55279

Signed-off-by: Adam King <adking@redhat.com>
2022-04-13 18:05:06 -04:00
Anthony D'Atri
d48f7fe90e doc/dev: define what mempools we use in bluestore
doc/dev: define what mempools we use in bluestore

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-04-13 14:59:34 -07:00
Adam King
0a728bd920
Merge pull request #45851 from rkachach/fix_issue_53528
mgr/cephadm: skip loopback devices when gathering facts

Reviewed-by: Adam King <adking@redhat.com>
2022-04-13 14:34:41 -04:00