]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agobluestore: fix typo in _flush function declaration 36052/head
Nathan Cutler [Sat, 11 Jul 2020 09:00:45 +0000 (11:00 +0200)]
bluestore: fix typo in _flush function declaration

fab0c7148e84b1612e8e422e1876643a7cd4070b split BlueFS::_flush() into two
functions, each with a slightly different argument list. One of the
arguments is "bool force", but -- due to a typo -- it was declared as
"bool focce".

Fixes: fab0c7148e84b1612e8e422e1876643a7cd4070b
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #35717 from dmick/wip-cephadm-doc
Dan Mick [Sat, 11 Jul 2020 07:13:06 +0000 (00:13 -0700)]
Merge pull request #35717 from dmick/wip-cephadm-doc

doc/dev/cephadm.rst: clarify, fix spelling nits

5 years agoMerge PR #35813 into master
Patrick Donnelly [Sat, 11 Jul 2020 02:42:33 +0000 (19:42 -0700)]
Merge PR #35813 into master

* refs/pull/35813/head:
vstart.sh: use output of hostname for cephadm

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge PR #36009 into master
Patrick Donnelly [Fri, 10 Jul 2020 23:46:50 +0000 (16:46 -0700)]
Merge PR #36009 into master

* refs/pull/36009/head:
doc: Update nfs-ganesha package requirements

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35930 from smithfarm/wip-luminous-eol
Josh Durgin [Fri, 10 Jul 2020 21:34:31 +0000 (14:34 -0700)]
Merge pull request #35930 from smithfarm/wip-luminous-eol

doc: remove luminous from active releases

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #36010 from votdev/issue_46450_fix_stateful_tab_unit_test
Lenz Grimmer [Fri, 10 Jul 2020 14:46:54 +0000 (16:46 +0200)]
Merge pull request #36010 from votdev/issue_46450_fix_stateful_tab_unit_test

mgr/dashboard: StatefulTabDirective unit test fails

Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #36003 from tserlin/private-tserlin-selinux-add-amqp-soundd-types
Kefu Chai [Fri, 10 Jul 2020 14:25:05 +0000 (22:25 +0800)]
Merge pull request #36003 from tserlin/private-tserlin-selinux-add-amqp-soundd-types

selinux: add amqp and soundd types to ceph.te

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: StatefulTabDirective unit test fails 36010/head
Volker Theile [Fri, 10 Jul 2020 11:42:53 +0000 (13:42 +0200)]
mgr/dashboard: StatefulTabDirective unit test fails

Fixes: https://tracker.ceph.com/issues/46450
Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #35967 from tspmelo/wip-language-selector
Lenz Grimmer [Fri, 10 Jul 2020 11:31:38 +0000 (13:31 +0200)]
Merge pull request #35967 from tspmelo/wip-language-selector

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agodoc: Update nfs-ganesha package requirements 36009/head
Varsha Rao [Fri, 10 Jul 2020 11:25:41 +0000 (16:55 +0530)]
doc: Update nfs-ganesha package requirements

Fixes: https://tracker.ceph.com/issues/46449
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35939 from votdev/issue_46370_fix_edit_host_label
Lenz Grimmer [Fri, 10 Jul 2020 09:10:44 +0000 (11:10 +0200)]
Merge pull request #35939 from votdev/issue_46370_fix_edit_host_label

mgr/dashboard: Edit host label dialog is crashing

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #34946 from votdev/issue_43120_stateful_tabs
Lenz Grimmer [Fri, 10 Jul 2020 09:03:54 +0000 (11:03 +0200)]
Merge pull request #34946 from votdev/issue_43120_stateful_tabs

mgr/dashboard: stay on active tab

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoselinux: add amqp and soundd types to ceph.te 36003/head
Thomas Serlin [Fri, 10 Jul 2020 05:36:28 +0000 (01:36 -0400)]
selinux: add amqp and soundd types to ceph.te

Signed-off-by: Thomas Serlin <tserlin@redhat.com>
5 years agoMerge pull request #35904 from mkogan1/wip-fix-endpoint-not-connected-r2
J. Eric Ivancich [Fri, 10 Jul 2020 02:51:47 +0000 (22:51 -0400)]
Merge pull request #35904 from mkogan1/wip-fix-endpoint-not-connected-r2

rgw: fix boost::asio::async_write() does not return error...

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35853 from wjwithagen/wjw-fix-rgw-to-base64
J. Eric Ivancich [Fri, 10 Jul 2020 02:50:43 +0000 (22:50 -0400)]
Merge pull request #35853 from wjwithagen/wjw-fix-rgw-to-base64

rgw: include string header

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Prateek Sachan <psachan@cs.iitr.ac.in>
5 years agoMerge pull request #35735 from ivancich/wip-radoslist-incomplete-multiparts-marker...
J. Eric Ivancich [Fri, 10 Jul 2020 02:48:25 +0000 (22:48 -0400)]
Merge pull request #35735 from ivancich/wip-radoslist-incomplete-multiparts-marker-maintenance

rgw: radoslist incomplete multipart uploads fix marker progression

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35525 from cbodley/wip-45969
J. Eric Ivancich [Fri, 10 Jul 2020 02:46:36 +0000 (22:46 -0400)]
Merge pull request #35525 from cbodley/wip-45969

rgw: stop realm reloader before store shutdown

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
5 years agoMerge pull request #35409 from pritha-srivastava/wip-iam-get-role-policy
J. Eric Ivancich [Fri, 10 Jul 2020 02:45:00 +0000 (22:45 -0400)]
Merge pull request #35409 from pritha-srivastava/wip-iam-get-role-policy

rgw/iam: correcting the result of get role policy.

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35189 from linuxbox2/wip-xxh-gc
J. Eric Ivancich [Fri, 10 Jul 2020 02:42:12 +0000 (22:42 -0400)]
Merge pull request #35189 from linuxbox2/wip-xxh-gc

rgw:gc: use XXHash for gc queue selection

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
5 years agoMerge PR #35999 into master
Patrick Donnelly [Thu, 9 Jul 2020 23:38:35 +0000 (16:38 -0700)]
Merge PR #35999 into master

* refs/pull/35999/head:
doc/governance: add Patrick to CLTW
doc/governance: correct João's name

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agodoc/governance: add Patrick to CLTW 35999/head
Patrick Donnelly [Thu, 9 Jul 2020 17:05:39 +0000 (10:05 -0700)]
doc/governance: add Patrick to CLTW

I guess I was missed!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agodoc/governance: correct João's name
Patrick Donnelly [Thu, 9 Jul 2020 17:30:43 +0000 (10:30 -0700)]
doc/governance: correct João's name

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35963 from ricardoasmarques/enable-iscsi-edit
Lenz Grimmer [Thu, 9 Jul 2020 14:07:32 +0000 (16:07 +0200)]
Merge pull request #35963 from ricardoasmarques/enable-iscsi-edit

mgr/dashboard: Allow to edit iSCSI target with active session

Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35983 from ceph/kalebskeithley-1854083-1
kalebskeithley [Thu, 9 Jul 2020 13:43:05 +0000 (09:43 -0400)]
Merge pull request #35983 from ceph/kalebskeithley-1854083-1

selinux: allow ceph_t amqp_port_t:tcp_socket

5 years agoMerge PR #34861 into master
Patrick Donnelly [Thu, 9 Jul 2020 13:28:13 +0000 (06:28 -0700)]
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>
5 years agoMerge pull request #35927 from gekios/wip-cephadm-image-fix
Georgios Kyratsas [Thu, 9 Jul 2020 12:47:37 +0000 (14:47 +0200)]
Merge pull request #35927 from gekios/wip-cephadm-image-fix

qa/tasks: fix cephadm config image check

5 years agoMerge pull request #35919 from rzarzynski/wip-ec-clean-endecode_chunks
Kefu Chai [Thu, 9 Jul 2020 11:51:54 +0000 (19:51 +0800)]
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>
5 years agoMerge pull request #35465 from pritha-srivastava/wip-sts-token-fields-op-logs
Matt Benjamin [Thu, 9 Jul 2020 11:48:50 +0000 (07:48 -0400)]
Merge pull request #35465 from pritha-srivastava/wip-sts-token-fields-op-logs

rgw: adding user related web token claims to ops log

5 years agoMerge pull request #35481 from pritha-srivastava/wip-rgw-keycloak-doc-correction
Matt Benjamin [Thu, 9 Jul 2020 11:48:16 +0000 (07:48 -0400)]
Merge pull request #35481 from pritha-srivastava/wip-rgw-keycloak-doc-correction

rgw/sts: Removing references to token introspection url,

5 years agoMerge pull request #35858 from pritha-srivastava/wip-rgw-query-string
Matt Benjamin [Thu, 9 Jul 2020 11:46:59 +0000 (07:46 -0400)]
Merge pull request #35858 from pritha-srivastava/wip-rgw-query-string

rgw: Normalizing X-Amz- headers for case in RGWHTTPArgs

5 years agoqa/tasks: fix cephadm config image check 35927/head
Georgios Kyratsas [Fri, 3 Jul 2020 14:01:54 +0000 (16:01 +0200)]
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>
5 years agorgw: fix boost::asio::async_write() does not return error... 35904/head
Mark Kogan [Thu, 2 Jul 2020 16:37:43 +0000 (19:37 +0300)]
rgw: fix boost::asio::async_write() does not return error...

although remote has closed the connection

Fixes: https://tracker.ceph.com/issues/46332
Signed-off-by: Mark Kogan <mkogan@redhat.com>
5 years agoMerge pull request #34908 from tspmelo/wip-e2e-shared
Laura Paduano [Thu, 9 Jul 2020 07:26:56 +0000 (09:26 +0200)]
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>
5 years agotest: adjust scrub control tests for optional scrub status 34861/head
Venky Shankar [Thu, 23 Apr 2020 06:21:56 +0000 (02:21 -0400)]
test: adjust scrub control tests for optional scrub status

Fixes: http://tracker.ceph.com/issues/45349
Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr: set `task_dirty_status` on reconnect
Venky Shankar [Thu, 30 Apr 2020 09:57:40 +0000 (05:57 -0400)]
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>
5 years agomds: send scrub status to ceph-mgr only when scrub is running
Venky Shankar [Thu, 23 Apr 2020 06:21:01 +0000 (02:21 -0400)]
mds: send scrub status to ceph-mgr only when scrub is running

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge PR #35857 into master
Patrick Donnelly [Thu, 9 Jul 2020 02:19:34 +0000 (19:19 -0700)]
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>
5 years agoMerge PR #35415 into master
Patrick Donnelly [Thu, 9 Jul 2020 01:58:30 +0000 (18:58 -0700)]
Merge PR #35415 into master

* refs/pull/35415/head:
mds: make threshold for MDS_TRIM configurable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agopybind/mgr/volumes: fix volume search for pools 35857/head
Patrick Donnelly [Tue, 30 Jun 2020 15:33:59 +0000 (08:33 -0700)]
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>
5 years agoMerge PR #35868 into master
Patrick Donnelly [Thu, 9 Jul 2020 00:08:13 +0000 (17:08 -0700)]
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>
5 years agoMerge PR #35410 into master
Patrick Donnelly [Thu, 9 Jul 2020 00:07:13 +0000 (17:07 -0700)]
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>
5 years agoMerge PR #33827 into master
Patrick Donnelly [Thu, 9 Jul 2020 00:06:16 +0000 (17:06 -0700)]
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>
5 years agoMerge PR #33912 into master
Patrick Donnelly [Thu, 9 Jul 2020 00:04:45 +0000 (17:04 -0700)]
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>
5 years agoMerge PR #35934 into master
Patrick Donnelly [Thu, 9 Jul 2020 00:03:48 +0000 (17:03 -0700)]
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>
5 years agoMerge PR #35810 into master
Patrick Donnelly [Wed, 8 Jul 2020 23:59:46 +0000 (16:59 -0700)]
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>
5 years agoMerge PR #35361 into master
Patrick Donnelly [Wed, 8 Jul 2020 22:30:20 +0000 (15:30 -0700)]
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>
5 years agoMerge pull request #35979 from ivancich/wip-fix-orphan-list-teuthology
J. Eric Ivancich [Wed, 8 Jul 2020 20:15:46 +0000 (16:15 -0400)]
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>
5 years agoMerge pull request #35976 from idryomov/wip-make-check-msg
Ilya Dryomov [Wed, 8 Jul 2020 20:04:24 +0000 (22:04 +0200)]
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>
5 years agoMerge pull request #35964 from dillaman/wip-neorados-compat
Jason Dillaman [Wed, 8 Jul 2020 19:34:19 +0000 (15:34 -0400)]
Merge pull request #35964 from dillaman/wip-neorados-compat

neorados: bridge support to librados cluster connections

Reviewed-by: Adam Emersen <aemerson@redhat.com>
5 years agoselinux: allow ceph_t amqp_port_t:tcp_socket 35983/head
kalebskeithley [Wed, 8 Jul 2020 19:20:30 +0000 (15:20 -0400)]
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>
5 years agoMerge pull request #35949 from zdover23/wip-doc-dev-guide-essentials-2020-07-07
Josh Durgin [Wed, 8 Jul 2020 18:22:54 +0000 (11:22 -0700)]
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>
5 years agoMerge pull request #35966 from ivancich/wip-fix-orphan-list-quoting
Josh Durgin [Wed, 8 Jul 2020 16:17:23 +0000 (09:17 -0700)]
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>
5 years agorgw: orphan list teuthology test & fully-qualified domain issue 35979/head
J. Eric Ivancich [Wed, 8 Jul 2020 02:40:10 +0000 (22:40 -0400)]
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>
5 years agoMerge pull request #35910 from galsalomon66/add_s3select_filter
Casey Bodley [Wed, 8 Jul 2020 12:52:22 +0000 (08:52 -0400)]
Merge pull request #35910 from galsalomon66/add_s3select_filter

adding filter for s3select

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35286 from theanalyst/rgw/cleanup/override-umdhandler
Casey Bodley [Wed, 8 Jul 2020 12:30:28 +0000 (08:30 -0400)]
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>
5 years agoMerge pull request #35911 from majianpeng/bluestore-check-written_slow-bytes
Kefu Chai [Wed, 8 Jul 2020 12:22:45 +0000 (20:22 +0800)]
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>
5 years agoMerge pull request #35908 from bk201/wip-46329
Kefu Chai [Wed, 8 Jul 2020 12:18:57 +0000 (20:18 +0800)]
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>
5 years agorun-make-check.sh: fix the log message 35976/head
Ilya Dryomov [Fri, 3 Jul 2020 10:24:04 +0000 (12:24 +0200)]
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>
5 years agoMerge pull request #35907 from agayev/fix-zoned-device-detection
Kefu Chai [Wed, 8 Jul 2020 12:11:12 +0000 (20:11 +0800)]
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>
5 years agoMerge pull request #35825 from changchengx/watch_stress
Kefu Chai [Wed, 8 Jul 2020 12:09:02 +0000 (20:09 +0800)]
Merge pull request #35825 from changchengx/watch_stress

test/stress_watch: remove unused variable

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35943 from tchaikov/wip-mgr-balancer
Kefu Chai [Wed, 8 Jul 2020 12:03:57 +0000 (20:03 +0800)]
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>
5 years agoMerge pull request #35948 from tspmelo/wip-clean-jest
Lenz Grimmer [Wed, 8 Jul 2020 11:28:49 +0000 (13:28 +0200)]
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>
5 years agoMerge pull request #35922 from tspmelo/wip-clean-lint
Lenz Grimmer [Wed, 8 Jul 2020 11:27:10 +0000 (13:27 +0200)]
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>
5 years agoMerge pull request #35338 from myoungwon/wip-doc-manifet-snap
myoungwon oh [Wed, 8 Jul 2020 09:57:13 +0000 (18:57 +0900)]
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>
5 years agomgr/dashboard: Allow to edit iSCSI target with active session 35963/head
Ricardo Marques [Tue, 7 Jul 2020 12:39:08 +0000 (13:39 +0100)]
mgr/dashboard: Allow to edit iSCSI target with active session

Fixes: https://tracker.ceph.com/issues/46383
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #35874 from tspmelo/wip-fix-pwd-notification
Lenz Grimmer [Wed, 8 Jul 2020 09:27:22 +0000 (11:27 +0200)]
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>
5 years agoMerge pull request #35501 from SchoolGuy/streamline-bootstrap-usage
Lenz Grimmer [Wed, 8 Jul 2020 08:50:41 +0000 (10:50 +0200)]
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>
5 years agoMerge pull request #34960 from majianpeng/vstart-spdk
Kefu Chai [Wed, 8 Jul 2020 04:42:22 +0000 (12:42 +0800)]
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>
5 years agopybind/mgr/balancer: use "==" and "!=" for comparing str 35943/head
Kefu Chai [Mon, 6 Jul 2020 11:16:00 +0000 (19:16 +0800)]
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>
5 years agovstart: specify the NVME PCI BUS ID when enable spdk. 34960/head
Jianpeng Ma [Wed, 8 Jul 2020 02:25:09 +0000 (10:25 +0800)]
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>
5 years agoMerge PR #35725 into master
Patrick Donnelly [Tue, 7 Jul 2020 22:22:39 +0000 (15:22 -0700)]
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>
5 years agomgr/dashboard: Update Cypress 34908/head
Tiago Melo [Tue, 7 Jul 2020 19:47:03 +0000 (19:47 +0000)]
mgr/dashboard: Update Cypress

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Add E2E for navigation
Tiago Melo [Tue, 5 May 2020 09:55:49 +0000 (09:55 +0000)]
mgr/dashboard: Add E2E for navigation

Fixes: https://tracker.ceph.com/issues/45376
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Remove unused code in language selector 35967/head
Tiago Melo [Tue, 7 Jul 2020 21:00:21 +0000 (21:00 +0000)]
mgr/dashboard: Remove unused code in language selector

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Fix display of current language
Tiago Melo [Tue, 7 Jul 2020 20:58:38 +0000 (20:58 +0000)]
mgr/dashboard: Fix display of current language

While in development mode, current language
was not being displayed in the dropdown.

Fixes: https://tracker.ceph.com/issues/45762
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agorgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc 35966/head
J. Eric Ivancich [Tue, 7 Jul 2020 17:16:02 +0000 (13:16 -0400)]
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>
5 years agomgr/dashboard: Add E2E for languages
Tiago Melo [Mon, 4 May 2020 13:51:23 +0000 (13:51 +0000)]
mgr/dashboard: Add E2E for languages

Fixes: https://tracker.ceph.com/issues/45376
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Add E2E for login
Tiago Melo [Thu, 30 Apr 2020 21:06:51 +0000 (21:06 +0000)]
mgr/dashboard: Add E2E for login

Fixes: https://tracker.ceph.com/issues/45376
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Clean the output of lint and fix scripts 35922/head
Tiago Melo [Fri, 3 Jul 2020 14:30:47 +0000 (14:30 +0000)]
mgr/dashboard: Clean the output of lint and fix scripts

Increase deprecation tslint rule from warning to error and
remove no-use-before-declare.

Fixes: https://tracker.ceph.com/issues/46339
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #35861 from dillaman/wip-write-zeroes-tweaks
Mykola Golub [Tue, 7 Jul 2020 14:44:50 +0000 (17:44 +0300)]
Merge pull request #35861 from dillaman/wip-write-zeroes-tweaks

librbd: allow thick-zeroing of an image extent

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge PR #35743 into master
Patrick Donnelly [Tue, 7 Jul 2020 13:59:41 +0000 (06:59 -0700)]
Merge PR #35743 into master

* refs/pull/35743/head:
qa/tasks/test_nfs: Add test for cluster info
mgr/volumes/nfs: Add cluster show info command

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #35834 from yuvalif/add-amqp-topic-doc
Casey Bodley [Tue, 7 Jul 2020 13:56:08 +0000 (09:56 -0400)]
Merge pull request #35834 from yuvalif/add-amqp-topic-doc

rgw: add a doc hint that the topic-name is used as AMQP routing-key

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35923 from votdev/fix_various_issues
Laura Paduano [Tue, 7 Jul 2020 13:21:08 +0000 (15:21 +0200)]
Merge pull request #35923 from votdev/fix_various_issues

mgr/dashboard: Fix bugs in a unit test and i18n translation

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #35886 from yuvalif/wip-yuval-fix-46316
Casey Bodley [Tue, 7 Jul 2020 13:08:36 +0000 (09:08 -0400)]
Merge pull request #35886 from yuvalif/wip-yuval-fix-46316

rgw: make RGWToken string ctor explicit

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35707 from Devp00l/wip-45650
Laura Paduano [Tue, 7 Jul 2020 12:29:06 +0000 (14:29 +0200)]
Merge pull request #35707 from Devp00l/wip-45650

mgr/dashboard: Fixes ICU selection regression

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #35764 from rzarzynski/wip-bl-cache-in-release
Kefu Chai [Tue, 7 Jul 2020 10:49:39 +0000 (18:49 +0800)]
Merge pull request #35764 from rzarzynski/wip-bl-cache-in-release

common/bl: document and slightly optimize ptr::release().

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: Introduces SASS modules 35501/head
Enno Gotthold [Mon, 6 Jul 2020 09:01:45 +0000 (11:01 +0200)]
mgr/dashboard: Introduces SASS modules

Fixes: https://tracker.ceph.com/issues/45934
Signed-off-by: Enno Gotthold <egotthold@suse.de>
5 years agocommon/bl: document and slightly optimize ptr::release(). 35764/head
Radoslaw Zarzynski [Wed, 24 Jun 2020 20:32:16 +0000 (22:32 +0200)]
common/bl: document and slightly optimize ptr::release().

Before the patch GCC was generating:
```
  10f9910:   mov    (%rdi),%rax
  10f9913:   test   %rax,%rax
  10f9916:   je     10f9951 <ceph::buffer::v15_2_0::ptr::release()+0x41>
  10f9918:   mov    0x2c(%rax),%eax
  10f991b:   cmp    $0x1,%eax
  10f991e:   jne    10f9940 <ceph::buffer::v15_2_0::ptr::release()+0x30>
  10f9920:   mov    (%rdi),%rax
  10f9923:   movq   $0x0,(%rdi)
  10f992a:   test   %rax,%rax
  10f992d:   je     10f9958 <ceph::buffer::v15_2_0::ptr::release()+0x48>
  10f992f:   mov    (%rax),%rdx
  10f9932:   mov    %rax,%rdi
  10f9935:   mov    0x8(%rdx),%rdx
  10f9939:   jmpq   *%rdx
  10f993b:   nopl   0x0(%rax,%rax,1)
  10f9940:   mov    (%rdi),%rax
  10f9943:   lock subl $0x1,0x2c(%rax)
  10f9948:   je     10f9920 <ceph::buffer::v15_2_0::ptr::release()+0x10>
  10f994a:   movq   $0x0,(%rdi)
  10f9951:   retq
  10f9952:   nopw   0x0(%rax,%rax,1)
  10f9958:   retq
  10f9959:   nop
  10f995a:   nopw   0x0(%rax,%rax,1)
```

after:
```
  11209b0:   mov    (%rdi),%rax
  11209b3:   movq   $0x0,(%rdi)
  11209ba:   test   %rax,%rax
  11209bd:   je     11209e6 <ceph::buffer::v15_2_0::ptr::release()+0x36>
  11209bf:   mov    0x2c(%rax),%edx
  11209c2:   lea    0x2c(%rax),%rcx
  11209c6:   cmp    $0x1,%edx
  11209c9:   jne    11209e0 <ceph::buffer::v15_2_0::ptr::release()+0x30>
  11209cb:   mov    (%rax),%rdx
  11209ce:   mov    %rax,%rdi
  11209d1:   mov    0x8(%rdx),%rdx
  11209d5:   jmpq   *%rdx
  11209d7:   nopw   0x0(%rax,%rax,1)
  11209de:
  11209e0:   lock subl $0x1,(%rcx)
  11209e4:   je     11209cb <ceph::buffer::v15_2_0::ptr::release()+0x1b>
  11209e6:   retq
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agorgw: add a doc hint that the topic-name is used as AMQP routing-key 35834/head
Andreas Unterkircher [Fri, 24 Apr 2020 05:09:11 +0000 (07:09 +0200)]
rgw: add a doc hint that the topic-name is used as AMQP routing-key

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
5 years agoqa/tasks/test_nfs: Add test for cluster info 35743/head
Varsha Rao [Tue, 30 Jun 2020 10:55:20 +0000 (16:25 +0530)]
qa/tasks/test_nfs: Add test for cluster info

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agomgr/volumes/nfs: Add cluster show info command
Varsha Rao [Mon, 22 Jun 2020 18:38:28 +0000 (00:08 +0530)]
mgr/volumes/nfs: Add cluster show info command

Fixes: https://tracker.ceph.com/issues/45743
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoMerge pull request #35940 from tchaikov/wip-ceph-dencoder-struct-ver
Kefu Chai [Tue, 7 Jul 2020 02:09:54 +0000 (10:09 +0800)]
Merge pull request #35940 from tchaikov/wip-ceph-dencoder-struct-ver

tools/ceph-dencoder: add get_struct_v,get_struct_compat commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #35914 from tchaikov/wip-crimson-clang
Kefu Chai [Tue, 7 Jul 2020 02:04:06 +0000 (10:04 +0800)]
Merge pull request #35914 from tchaikov/wip-crimson-clang

crimson: clang related cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #35933 from tchaikov/wip-interval-set
Kefu Chai [Tue, 7 Jul 2020 02:01:53 +0000 (10:01 +0800)]
Merge pull request #35933 from tchaikov/wip-interval-set

include/interval_set: use template as the 2nd template parameter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agomon: add 'ceph fs required_client_feature <fs_name> add/rm' command 33827/head
Yan, Zheng [Mon, 9 Mar 2020 13:14:30 +0000 (21:14 +0800)]
mon: add 'ceph fs required_client_feature <fs_name> add/rm' command

Fixes: https://tracker.ceph.com/issues/43817
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
5 years agoMerge PR #35496 into master
Patrick Donnelly [Mon, 6 Jul 2020 23:50:30 +0000 (16:50 -0700)]
Merge PR #35496 into master

* refs/pull/35496/head:
client: introduce timeout for client shutdown

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoneorados: build new RADOS client using legacy librados::Rados 35964/head
Jason Dillaman [Mon, 6 Jul 2020 20:08:56 +0000 (16:08 -0400)]
neorados: build new RADOS client using legacy librados::Rados

Client libraries like librbd cannot force the adaptation to neorados
and it would not be ideal to have two effective RADOS cluster
connections for librados and neorados.

The new neorados::RADOS::make_with_librados helper method will
allow neorados to re-use the existing thread pool, MGR, MON, and
objecter already created for librados::Rados.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agodoc/devel: repair sentences in "Essentials" page 35949/head
Zac Dover [Mon, 6 Jul 2020 21:10:55 +0000 (07:10 +1000)]
doc/devel: repair sentences in "Essentials" page

This commit fixes a few sentences in the "Essentials" page
that aren't as well-formed as they might have been. This commit
fixes the issue detailed in the tracker link, as well as a couple
of other improvements that I couldn't resist in the heat of the
moment.

Fixes: https://tracker.ceph.com/issues/46362
Signed-off-by: Zac Dover <zac.dover@gmail.com>
5 years agoneorados: use a lightweight proxy object to abstract RADOS backend
Jason Dillaman [Mon, 6 Jul 2020 19:27:48 +0000 (15:27 -0400)]
neorados: use a lightweight proxy object to abstract RADOS backend

Both neorados and (legacy) librados create MON, MGR, and OSD
(objecter) clients. Let the neorados frontend API directly access
these clients through a generic class that can be swapped out.
This will allow the neorados API to re-use a (legacy) librados
RadosClient in a future commit.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/dashboard: Hide password notification when expiration date is far 35874/head
Tiago Melo [Wed, 1 Jul 2020 14:31:59 +0000 (14:31 +0000)]
mgr/dashboard: Hide password notification when expiration date is far

Fixes: https://tracker.ceph.com/issues/46306
Signed-off-by: Tiago Melo <tmelo@suse.com>