Commit Graph

112955 Commits

Author SHA1 Message Date
kalebskeithley
8297ede506
Merge pull request #35983 from ceph/kalebskeithley-1854083-1
selinux: allow ceph_t amqp_port_t:tcp_socket
2020-07-09 09:43:05 -04:00
Patrick Donnelly
957bcb4edf
Merge PR #34861 into master
* refs/pull/34861/head:
	test: adjust scrub control tests for optional scrub status
	mgr: set `task_dirty_status` on reconnect
	mds: send scrub status to ceph-mgr only when scrub is running

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-09 06:28:13 -07:00
Georgios Kyratsas
7e50ee3496
Merge pull request #35927 from gekios/wip-cephadm-image-fix
qa/tasks: fix cephadm config image check
2020-07-09 14:47:37 +02:00
Kefu Chai
083fee629e
Merge pull request #35919 from rzarzynski/wip-ec-clean-endecode_chunks
ec: drop stubs of {encode,decode}_chunks() from ErasureCode.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-09 19:51:54 +08:00
Matt Benjamin
e3e2e30fca
Merge pull request #35465 from pritha-srivastava/wip-sts-token-fields-op-logs
rgw: adding user related web token claims to ops log
2020-07-09 07:48:50 -04:00
Matt Benjamin
d9f5c1cc1d
Merge pull request #35481 from pritha-srivastava/wip-rgw-keycloak-doc-correction
rgw/sts: Removing references to token introspection url,
2020-07-09 07:48:16 -04:00
Matt Benjamin
a6ab93141b
Merge pull request #35858 from pritha-srivastava/wip-rgw-query-string
rgw: Normalizing X-Amz- headers for case in RGWHTTPArgs
2020-07-09 07:46:59 -04:00
Georgios Kyratsas
390ca4d92f qa/tasks: fix cephadm config image check
Check container_image_name only if ceph cluster image is not pre-defined in config.
We shouldn't care about container_image_name if there cephadm or ceph already have image defined.

Signed-off-by: Georgios Kyratsas <gkyratsas@suse.com>
2020-07-09 10:28:49 +02:00
Laura Paduano
114bb845d1
Merge pull request #34908 from tspmelo/wip-e2e-shared
mgr/dashboard: Add E2E tests for navigation, language and login

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-07-09 09:26:56 +02:00
Venky Shankar
ff63624a17 test: adjust scrub control tests for optional scrub status
Fixes: http://tracker.ceph.com/issues/45349
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-07-08 23:50:34 -04:00
Venky Shankar
c92ba33505 mgr: set task_dirty_status on reconnect
... so that upon reconnect the manager client updates manager
with whatever is available in ->task_status field.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-07-08 23:49:40 -04:00
Venky Shankar
5a7d0632d9 mds: send scrub status to ceph-mgr only when scrub is running
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-07-08 23:49:40 -04:00
Patrick Donnelly
e2ccc2cb16
Merge PR #35857 into master
* refs/pull/35857/head:
	pybind/mgr/volumes: fix volume search for pools

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
2020-07-08 19:19:34 -07:00
Patrick Donnelly
cbfdc98651
Merge PR #35415 into master
* refs/pull/35415/head:
	mds: make threshold for MDS_TRIM configurable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 18:58:30 -07:00
Patrick Donnelly
be74a81e19
pybind/mgr/volumes: fix volume search for pools
Loop logic would bail out if it first sees any file system that does not
match the volume it's looking for.

Fixes: https://tracker.ceph.com/issues/46277
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 18:57:56 -07:00
Patrick Donnelly
47bc27bec0
Merge PR #35868 into master
* refs/pull/35868/head:
	mds: update codes of MSG_MDS_METRICS and MSG_MDS_PING

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 17:08:13 -07:00
Patrick Donnelly
970834a3ad
Merge PR #35410 into master
* refs/pull/35410/head:
	client: release the client_lock before copying data in read

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 17:07:13 -07:00
Patrick Donnelly
4ec68680bd
Merge PR #33827 into master
* refs/pull/33827/head:
	mon: add 'ceph fs required_client_feature <fs_name> add/rm' command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 17:06:16 -07:00
Patrick Donnelly
38fda9376a
Merge PR #33912 into master
* refs/pull/33912/head:
	pybind: add special values for not reading conffile

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 17:04:45 -07:00
Patrick Donnelly
d5c628de7a
Merge PR #35934 into master
* refs/pull/35934/head:
	pybind/cephfs: raise custom Exception with same arguments
	pybind/cephfs: add DiskQuotaExceeded exception

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-07-08 17:03:48 -07:00
Patrick Donnelly
435a7c6b04
Merge PR #35810 into master
* refs/pull/35810/head:
	tool: convert str to num using strtoull

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-07-08 16:59:46 -07:00
Patrick Donnelly
fb436e9fbe
Merge PR #35361 into master
* refs/pull/35361/head:
	mgr/volumes: Validate mon_allow_pool_delete before volume deletion

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 15:30:20 -07:00
J. Eric Ivancich
78c357a005
Merge pull request #35979 from ivancich/wip-fix-orphan-list-teuthology
rgw: orphan list teuthology test & fully-qualified domain issue

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2020-07-08 16:15:46 -04:00
Ilya Dryomov
3dc904ad35
Merge pull request #35976 from idryomov/wip-make-check-msg
run-make-check.sh: fix the log message

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-08 22:04:24 +02:00
Jason Dillaman
cbb80bac0c
Merge pull request #35964 from dillaman/wip-neorados-compat
neorados: bridge support to librados cluster connections

Reviewed-by: Adam Emersen <aemerson@redhat.com>
2020-07-08 15:34:19 -04:00
kalebskeithley
05c523185b
selinux: allow ceph_t amqp_port_t:tcp_socket
allow ceph_t amqp_port_t:tcp_socket name_connect;
allow ceph_t soundd_port_t:tcp_socket name_connect;

Required for running RabbitMQ

(soundd_port_t) for running RabbitMQ on port 8000

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1854083
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-07-08 15:20:30 -04:00
Josh Durgin
bf453f0449
Merge pull request #35949 from zdover23/wip-doc-dev-guide-essentials-2020-07-07
doc/devel: repair sentences in "Essentials" page

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-07-08 11:22:54 -07:00
Josh Durgin
fba30b2072
Merge pull request #35966 from ivancich/wip-fix-orphan-list-quoting
rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2020-07-08 09:17:23 -07:00
J. Eric Ivancich
3afc8ac253 rgw: orphan list teuthology test & fully-qualified domain issue
Sometimes when teuthology machines are provisioned, the command
`hostname --fqdn` does not provide a fully qualified domain name but
instead just the hostname (e.g., smithi149 instead of
smithi149.front.sepia.ceph.com). This prevents the teuthology test for
rgw-orphan-list from running successfully [for example, the hostname
was for some reason mis-interpreted as the bucket name in the
request].

This commit checks whether the hostname derived from `hostname --fqdn`
contains any '.'s and if it does not, it will append
".front.sepia.ceph.com" to the hostname. This is a hack, but until
teuthology machines are configured appropriately it seems to be a
reasonable work-around.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-07-08 10:53:49 -04:00
Casey Bodley
f0cc5a8c50
Merge pull request #35910 from galsalomon66/add_s3select_filter
adding filter for s3select

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-07-08 08:52:22 -04:00
Casey Bodley
4dfe1eeb30
Merge pull request #35286 from theanalyst/rgw/cleanup/override-umdhandler
rgw: user: RGWUserMetadataHandler mark remove method override

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-07-08 08:30:28 -04:00
Kefu Chai
2a265c3f11
Merge pull request #35911 from majianpeng/bluestore-check-written_slow-bytes
os/bluestore/bluefs: only bytes_written_slow > 0, we update perfcounter.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2020-07-08 20:22:45 +08:00
Kefu Chai
a06454c4a2
Merge pull request #35908 from bk201/wip-46329
mgr/cephadm: fix Dashboard ganesha setting duplication error

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-07-08 20:18:57 +08:00
Ilya Dryomov
113629cb9a run-make-check.sh: fix the log message
With 5e9a1d95c9f7 ("run-make-check.sh: extract run-make.sh"), this log
message is actively confusing.  At this point we just have the binaries,
no tests have run yet (and if -N is passed through CHECK_MAKEOPTS, none
will).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2020-07-08 14:11:45 +02:00
Kefu Chai
4077559748
Merge pull request #35907 from agayev/fix-zoned-device-detection
os/bluestore: Fix handling the return value of zbc_device_is_zoned() call.

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-07-08 20:11:12 +08:00
Kefu Chai
2a59ddcdb2
Merge pull request #35825 from changchengx/watch_stress
test/stress_watch: remove unused variable

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-08 20:09:02 +08:00
Kefu Chai
d3355c6b07
Merge pull request #35943 from tchaikov/wip-mgr-balancer
pybind/mgr/balancer: use "==" and "!=" for comparing str

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2020-07-08 20:03:57 +08:00
Lenz Grimmer
6d9ff66101
Merge pull request #35948 from tspmelo/wip-clean-jest
mgr/dashboard: Clean unit tests configuration and output

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-07-08 13:28:49 +02:00
Lenz Grimmer
e63fa9d1c8
Merge pull request #35922 from tspmelo/wip-clean-lint
mgr/dashboard: Clean the output of lint and fix scripts

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-07-08 13:27:10 +02:00
myoungwon oh
942c73bf07
Merge pull request #35338 from myoungwon/wip-doc-manifet-snap
doc/dev/osd_internals/manifest.rst: add information about clone snap refcounting

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2020-07-08 18:57:13 +09:00
Lenz Grimmer
191f070ab9
Merge pull request #35874 from tspmelo/wip-fix-pwd-notification
mgr/dashboard: Hide password notification when expiration date is far

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-07-08 11:27:22 +02:00
Lenz Grimmer
8ab14ab685
Merge pull request #35501 from SchoolGuy/streamline-bootstrap-usage
mgr/dashboard: Introduce SASS modules

Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-08 10:50:41 +02:00
Kefu Chai
f7f3044219
Merge pull request #34960 from majianpeng/vstart-spdk
vstart: specify the NVME PCI BUS ID when enable spdk.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-08 12:42:22 +08:00
Kefu Chai
65dc464977 pybind/mgr/balancer: use "==" and "!=" for comparing str
we cannot assume that two values with the same value share the same
identity in Python.

also silences warnings like:

balancer/module.py:473: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pool_ids is '':

Fixes: https://tracker.ceph.com/issues/46406
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-08 12:04:52 +08:00
Jianpeng Ma
5640390f66 vstart: specify the NVME PCI BUS ID when enable spdk.
Currently we use vendor::device to specify the nvme name when using
spdk. But it have some problems:
a)it can't use different vendor or different device with the same
device.
b)if machine has same vendor&device, we don't choose specific
device.

So we diretly specify the PCI BUS ID for NVME device.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2020-07-08 10:25:09 +08:00
Patrick Donnelly
02fc51deb7
Merge PR #35725 into master
* refs/pull/35725/head:
	client: Fix setxattr with 0 size specified

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-07-07 15:22:39 -07:00
Tiago Melo
c05b7cbbfc mgr/dashboard: Update Cypress
Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-07-07 22:05:15 +00:00
Tiago Melo
b13dd050f8 mgr/dashboard: Add E2E for navigation
Fixes: https://tracker.ceph.com/issues/45376

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-07-07 22:05:15 +00:00
J. Eric Ivancich
6d9d548096 rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc
The interactive mode wasn't working due to prompts going to stdout
instead of stderr. If a space should appear in temporary file, it will
generate a shell error, so quoting was added. Furthermore if there are
no objects found in a pool, a divide by zero error will be
generated. This commit addresses these issues.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-07-07 15:59:13 -04:00
Tiago Melo
294c37b343 mgr/dashboard: Add E2E for languages
Fixes: https://tracker.ceph.com/issues/45376

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-07-07 18:28:30 +00:00