Commit Graph

118058 Commits

Author SHA1 Message Date
Yuval Lifshitz
c1af849a0d
Merge pull request #37924 from yuvalif/allow_packages_in_lua
rgw/lua: support packages via luarocks
2020-12-17 19:53:00 +02:00
Ernesto Puerta
b383a1fdf3
Merge pull request #38284 from rhcs-dashboard/48355-read-pwd-from-file
mgr/dashboard: CLI commands: read passwords from file

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: knortema <knortema@redhat.com>
2020-12-17 17:36:42 +01:00
Ernesto Puerta
65b11e931e
Merge pull request #38473 from votdev/issue_48474_health_check
mgr/dashboard: Display a warning message in Dashboard when debug mode is enabled

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-12-17 17:35:01 +01:00
Kefu Chai
8bcfdad3a0
Merge pull request #38599 from tchaikov/wip-47977
ceph.in: try harder if asok path does not exist

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-12-18 00:03:51 +08:00
Jan Fajerski
c8fb9535f6 Merge PR #38447 into master
* refs/pull/38447/head:
	ceph-volume: disable cache for blkid calls

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-12-17 16:31:40 +01:00
Kefu Chai
c5e53b1a88
Merge pull request #38636 from ceph/fix-labeler-master
.github/labeler: fix yaml syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 23:17:57 +08:00
Kefu Chai
4db1b8ff33
Merge pull request #38634 from tchaikov/wip-install-deps
install-deps.sh: do not install libboost-all-dev and nlohmann-json-dev

Reviewed-by: Josh Durgin <jdurgin@redat.com>
2020-12-17 23:16:50 +08:00
Matt Benjamin
a2f56e3884
Merge pull request #38601 from linuxbox2/more-librgw-zipper9
More librgw zipper9
2020-12-17 09:31:47 -05:00
Matt Benjamin
05d75ae32e
Merge pull request #23396 from linuxbox2/wip-rgw-xattrs-2
rgw_file:  expose RGW user-defined attributes
2020-12-17 09:30:55 -05:00
Jason Dillaman
30ef4dcfc4
Merge pull request #37138 from lxbsz/iscsi_qa
qa: add ceph iscsi test suite support

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-12-17 09:20:15 -05:00
Xiubo Li
62426772f5 qa: add ceph iscsi test suite support
Currently this only supports the gwcli tests on CentOS/RHEL 8 with
2 ceph iscsi gateways.

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-12-17 20:49:21 +08:00
Xiubo Li
8bcb63877c qa/tasks: get the correct clone_dir for each client
The clone_dir will be overrided in the loop.

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-12-17 20:38:48 +08:00
Xiubo Li
8b0ebe1240 qa/tasks: allow none client prefixed node to run the cram
Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-12-17 20:38:48 +08:00
Xiubo Li
cfb86025fa qa/tasks: fix not enough values to unpack value error
Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
2020-12-17 20:38:48 +08:00
Ernesto Puerta
83951aef12
.github/labeler: fix yaml syntax
Introduced by https://github.com/ceph/ceph/pull/38617

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-17 13:17:53 +01:00
Kefu Chai
594fc8c89c install-deps.sh: do not install nlohmann-json{3}?-dev
"mk-build-deps --install" should be able to take care of this.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-17 19:05:04 +08:00
Kefu Chai
99f6644e4f install-deps.sh: do not install libboost-all-dev for old distros
ubuntu disco and ubuntu focal do not ship libboost 1.72 and up, and
we depend on libboost 1.72 or up, so it does not help to install
liboost 1.67 or libboost 1.71 anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-17 19:05:04 +08:00
Alfonso Martínez
dc37e0fdb1 mgr/BaseMgrModule: add optional inbuf param to ceph_send_command.
BaseMgrModule.cc: ceph_send_command: add inbuf param for handling input file content.

Fixes: https://tracker.ceph.com/issues/48355

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-12-17 08:37:02 +01:00
Alfonso Martínez
5d7ee7c1f0 mgr/dashboard: CLI commands: read passwords from file
Fixes: https://tracker.ceph.com/issues/48355

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2020-12-17 08:36:57 +01:00
Kefu Chai
7ef6453e4a
Merge pull request #38617 from batrick/cmake-labeler
.github/labeler: add build/ops label

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 14:16:38 +08:00
Kefu Chai
b4888bc2a9
Merge pull request #38629 from changchengx/sudo_fix
install-deps.sh: install debian package with proper right

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 13:40:50 +08:00
Patrick Donnelly
9b5210e497
Merge PR #38464 into master
* refs/pull/38464/head:
	mds/OpenFileTable: make the data length as long as possible for each op

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-16 20:13:43 -08:00
Patrick Donnelly
02ea697d69
Merge PR #38363 into master
* refs/pull/38363/head:
	mds/OpenFileTable: enhance the log info
	mds/OpenFileTable: add _read_omap_values() to simplify the code

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-16 20:13:09 -08:00
Patrick Donnelly
b661dbf2ba
Merge PR #38355 into master
* refs/pull/38355/head:
	client: when STATX_NLINK is requested request FsLs caps
	client: ensure we take Fs caps when querying dirstat vxattrs

Reviewed-by: Xiubo Li <xiubli@redhat.com>
2020-12-16 20:12:22 -08:00
Patrick Donnelly
c0a30527db
Merge PR #38236 into master
* refs/pull/38236/head:
	qa: forward scrubbing background task

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-16 20:11:42 -08:00
Patrick Donnelly
7830534a0e
Merge PR #38222 into master
* refs/pull/38222/head:
	client: set CEPH_STAT_RSTAT mask for dir in readdir_r_cb

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-12-16 20:04:50 -08:00
Changcheng Liu
5e193e2bfe install-deps.sh: install debian package with proper right
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
2020-12-17 11:13:35 +08:00
Patrick Donnelly
50d840b2fc
.github/labeler: add build/ops label
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-16 18:42:55 -08:00
Kefu Chai
e181249148
Merge pull request #38624 from rzarzynski/wip-crimson-nopack-in-blocking_future
crimson/osd: drop arg packs from blocking_future.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 09:28:39 +08:00
zdover23
ac439c7244
Merge pull request #38450 from zdover23/wip-doc-dev-guide-basic-workflow-auto-pr-valid-dec-2020-1
doc/dev: update auto pr validation section

Reviewed-by: Josh Durgin <jdurgin@redat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-12-17 11:28:21 +10:00
Kefu Chai
596a746ef0
Merge pull request #38600 from agayev/master
os/bluestore: Fix code rot in ZonedAllocator.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 09:02:49 +08:00
Kefu Chai
c826b03383 ceph.in: try harder if asok path does not exist
when handling "ceph daemon <name> ...", we need to figure out the asok
path, if the "<name>" option is not a path but a "name" as it claims to
be. but if the "admin_socket" option includes substitution/meta variable of
"$pid", it will be expanded using its own pid, instead of the process
with the specified "name". but "ceph" cli does not offer a dedicated
option for overriding the pid for ceph-conf which is used "ceph" cli to
retrieve the "admin_socket" option with specified "name".

in this change, "<name>" option is interpreted as "${name}.${pid}" if
the returned admin_socket path does not point to a valid UNIX domain
socket file. and "ceph" cli will try harder by passing "--pid ${pid}"
and "--name ${name}" instead of "--name ${name}.${pid}" to ceph-conf.

Fixes: https://tracker.ceph.com/issues/47977
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-17 08:54:44 +08:00
Kefu Chai
f55eb186f0
Merge pull request #38609 from ideepika/fix-yaml-failure
cmake: fix build failure due to yaml-cpp not available

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 08:05:44 +08:00
Kefu Chai
4294fcf005
Merge pull request #38608 from tchaikov/wip-crimson-build
rpm,deb: conditionally package crimson-store-nbd in ceph-test

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-12-17 07:54:29 +08:00
Kefu Chai
f80a45202e
Merge pull request #38578 from cyx1231st/wip-seastar-onode-tree-fix-stage-type
crimson/onode-staged-tree: fix match_stage_t related compile issue

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-12-17 07:52:34 +08:00
Neha Ojha
37792040f4
Merge pull request #38625 from batrick/tox-fix
qa: fix tox failures

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-12-16 14:11:18 -08:00
Patrick Donnelly
123de8cda8
qa: fix tox failures
Fixes: c6121e48ec
Fixes: https://tracker.ceph.com/issues/48633
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-12-16 12:43:58 -08:00
Radoslaw Zarzynski
4d46497fd4 crimson/osd: drop arg packs from blocking_future.
This feature is not necessary as the `seastar::feature` lost
the support for `T...`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-12-16 19:44:45 +01:00
Ernesto Puerta
355c855bc6
Merge pull request #38548 from rhcs-dashboard/wip-48570-master
github: add action to manage needs-rebase label

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-12-16 18:16:58 +01:00
Patrick Donnelly
c6121e48ec
Merge branch 'CVE-2020-27781' into master
* CVE-2020-27781:
  tasks/cephfs/test_volume_client: Add tests for authorize/deauthorize
  pybind/ceph_volume_client: Optionally authorize existing auth-ids
  pybind/ceph_volume_client: Preserve existing caps while authorize/deauthorize auth-id
  pybind/ceph_volume_client: Disallow authorize auth_id

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2020-12-16 08:19:21 -08:00
Matt Benjamin
b1ea723715 rgw_file: correct initialization of RGWWriteRequest
The legacy call to init_from_header() in RGWWriteRequest()
conflicted with initialization via ::init()

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-12-16 10:41:47 -05:00
Matt Benjamin
3fccec41f6 rgw_file: fix librgw_file_gp unit test and driver
Fixes missing commit after rgw_write(), as well as conditional
cleanup.

Reorder tests, and split out librgw_file_gp --delete to avoid an
issue w/sysobj cache (temporary).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-12-16 10:41:27 -05:00
Matt Benjamin
6ac2eacf69 rgw_file: fix zipper crash(es) in RGWCopyObj
Instantiate zipper object and bucket handles when called from
rgw_rename().

The current change appears potentially valid, but also suggests
topics for further discussion:

1. redundant object and bucket vars (in req_state and RGWOp)
2. semantic implications std::unique_ptr (e.g., redundant handle
   forks)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-12-16 10:41:00 -05:00
zdover23
9838e03b01
Merge pull request #38580 from anthonyeleven/anthonyeleven/48301-underscores
doc: standardize config option names with interstitial underscores

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-12-17 01:11:53 +10:00
Yingxin Cheng
e488cabbdd crimson/onode-staged-tree: comment out excessive range checks
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2020-12-16 22:59:22 +08:00
Zac Dover
0eaf991bd8 doc/dev: update auto pr validation section
This commit updates the "Automated PR Validation"
section of the "Basic Workflow" page in the
Developer Guide. This is part of a project that
aims to clean all of the sentences currently extant
in the Dev Guide, prior to a slight reorganization
of that guide for the sake of clarity and simplicity.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-12-17 00:32:58 +10:00
Abutalib Aghayev
85e0944435 os/bluestore: Fix code rot in ZonedAllocator.
Signed-off-by: Abutalib Aghayev <agayev@psu.edu>
2020-12-16 09:05:40 -05:00
Volker Theile
a1aa760acf mgr/dashboard: Display a warning message in Dashboard when debug mode is enabled
Set a health check warning if debug mode is enabled.

Fixes: https://tracker.ceph.com/issues/48475

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-12-16 14:13:44 +01:00
Deepika Upadhyay
29a932c292 install-deps.sh: add with_jaeger options for installing it's dependencies
* if WITH_JAEGER flag is specified, install-deps should mangle and update
  debian/control + ceph.spec the way we do for adding crimson dependencies
  with WITH_SEASTAR flag.

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-12-16 18:17:01 +05:30
Deepika Upadhyay
a8213f07b6 debian/control: update yaml-cpp version if building with Jaeger
jaeger specifically requires yaml-dev +0.6 but since all supported
distro(bionic) still doesn't have this version, yaml-cpp will be build
from source if enabled.
This fixes the build failure:
```
Could NOT find yaml-cpp: Found unsuitable version "", but required is at
  least "0.5.1" (found yaml-cpp_LIBRARY-NOTFOUND)
```

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-12-16 18:13:03 +05:30