Commit Graph

102460 Commits

Author SHA1 Message Date
Ricardo Marques
14763dfb51
Merge pull request #30208 from ricardoasmarques/support-iscsi-controls-types
mgr/dashboard: Controls UI inputs based on "type"

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-26 14:45:58 +01:00
Patrick Donnelly
9fb9d9b326
Merge PR #28834 into master
* refs/pull/28834/head:
	libcephfs: Add test for lazyio via libcephfs
	libcephfs: Add lazyio_propogate and lazyio_synchronize methods to libcephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-09-26 06:26:46 -07:00
Patrick Donnelly
ed7e20b5e8
Merge PR #29818 into master
* refs/pull/29818/head:
	client/MetaRequest: Add age to MetaRequest dump
	osdc/Objecter: Add age to the ops
	common/ceph_time: Use fixed floating-point notation for mono_clock

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-26 06:25:17 -07:00
Patrick Donnelly
50de222147
Merge PR #29902 into master
* refs/pull/29902/head:
	mds: Revert "properly setup client_need_snapflush for snap inode"
	mds: cleanup dirty snap caps tracking

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-26 06:23:18 -07:00
Patrick Donnelly
e7b35b5bc2
Merge PR #29921 into master
* refs/pull/29921/head:
	mds: split the dir if the op makes it oversized

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-09-26 06:22:01 -07:00
Patrick Donnelly
a3a9408e67
Merge PR #30202 into master
* refs/pull/30202/head:
	mds: Explicitly call slave_updates with 0 size
	mds: Move log_segment_seq_t into class LogSegment
	mds: Reorganize class members in LogSegment header

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-26 06:20:48 -07:00
Patrick Donnelly
d8f6c937ba
Merge PR #30403 into master
* refs/pull/30403/head:
	mds: mds returns -5 error when the deleted file does not exist

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-09-26 06:19:39 -07:00
Patrick Donnelly
b09b17ef15
Merge PR #30462 into master
* refs/pull/30462/head:
	qa: have kclient tests use new mount.ceph functionality

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2019-09-26 06:17:10 -07:00
Lenz Grimmer
5f701e6cd7
mgr/dashboard: Support iSCSI target-level CHAP auth (#30011)
mgr/dashboard: Support iSCSI target-level CHAP auth

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-09-26 12:33:33 +00:00
Kefu Chai
76be9ef0f8
Merge pull request #30588 from ricardoasmarques/fix-iscsi-test-put
mgr/dashboard: Wait for iSCSI target put and delete

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-26 20:22:39 +08:00
Ricardo Marques
e97a8a76e5 mgr/dashboard: Wait for iSCSI target put and delete
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-09-26 13:12:34 +01:00
Nathan Cutler
76d6b52986
Merge pull request #30571 from smithfarm/wip-bci-force
src/script/backport-create-issue: implement --force option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-26 12:25:35 +02:00
Ricardo Marques
f61cb6fc63 mgr/dashboard: Controls UI inputs based on "type"
iSCSI controls UI inputs should be rendered based
on the control "type" returned by `ceph-iscsi`.

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

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-09-26 10:30:10 +01:00
Lenz Grimmer
36d1e644e1
mgr/dashboard: test_mgr_module QA test has not been adapted to… (#30513)
mgr/dashboard: Adapt test_mgr_module QA test to latest controller changes

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-09-26 08:48:31 +00:00
Lenz Grimmer
ffefbc0a96
mgr/dashboard: wait for iscsi/target create/put (#30582)
mgr/dashboard: wait for iscsi/target create/put

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-09-26 07:11:49 +00:00
Kefu Chai
0d9afd7137
Merge pull request #30578 from tchaikov/wip-seastar-unix-domain-socket
seastar: pickup unix domain socket support

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2019-09-26 12:42:07 +08:00
Kefu Chai
82d72161f2 mgr/dashboard: wait for iscsi/target create/put
IscsiTarget.create() returns a Task, so we need to wait for its
completion before moving on.

the same applies to IscsiTarget.put()

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-26 08:56:42 +08:00
Kefu Chai
a8dd64c801 seastar: pickup unix domain socket support
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-25 23:33:21 +08:00
Sage Weil
8d6d084d08 Merge PR #30523 into master
* refs/pull/30523/head:
	mon/MonClient: skip CEPHX_V2 challenge if client doesn't support it

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-09-25 09:49:57 -05:00
Ricardo Marques
6cc6e8d5db mgr/dashboard: Support iSCSI target-level CHAP auth
Requires `ceph-iscsi` config v11

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

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-09-25 12:09:12 +01:00
Lenz Grimmer
90fcc2e81b
mgr/dashboard: Display the "destroyed" state in OSD list (#30514)
mgr/dashboard: Display the "destroyed" state in OSD list

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-25 09:49:21 +00:00
Nathan Cutler
8495d37695 src/script/backport-create-issue: implement --force option
If --force option is given along with an explicit list of issue numbers,
backport issues will be created regardless of issue status.

In all other usage scenarios, script behavior remains the same (backport
issues are created only if issue status is "Pending Backport").

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-25 10:49:32 +02:00
Kefu Chai
b43cbefc05
Merge pull request #30420 from runsisi/wip-remove-requests
rpm,deb: python-requests is not needed for ceph-common

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-25 16:31:13 +08:00
Jan Fajerski
122f579b4f
Merge pull request #30422 from rishabh-d-dave/cv-fix-pytest-warning
ceph-volume: fix warnings raised by pytest
2019-09-25 09:05:06 +02:00
Kefu Chai
f90e3e1026
Merge pull request #30036 from tchaikov/wip-python3-pkgversion
ceph.spec.in: s/pkgversion/version_nodots/

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2019-09-25 01:40:44 +08:00
Kefu Chai
6d2f66846d ceph.spec.in: s/pkgversion/version_nodots/
`python3_pkgversion` is now defined as 3, while we don't have packages
like python3-Cython yet in EPEL7. but we do have `python36-Cython`. so
let's use `python3_version_nodots` instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-24 23:23:35 +08:00
Lenz Grimmer
a6689e592e
mgr/dashboard: Gracefully handle client/target info not found (#30349)
mgr/dashboard: Gracefully handle client/target info not found

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-09-24 15:11:47 +00:00
Lenz Grimmer
59299c8ea7
mgr/dashboard: Using wrong identifiers in RGW user/bucket data… (#30492)
mgr/dashboard: Using wrong identifiers in RGW user/bucket datatables

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-09-24 13:58:50 +00:00
Sage Weil
ba4ef272bb Merge PR #30537 into master
* refs/pull/30537/head:
	test/pybind: fix local variables for emacs
	crush: add editor property variables

Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-24 08:25:44 -05:00
Ricardo Marques
d01835fb8c mgr/dashboard: Gracefully handle client/target info not found
Fixes: https://tracker.ceph.com/issues/41779

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-09-24 13:46:22 +01:00
Patrick Donnelly
30909f5a6a
Merge PR #29824 into master
* refs/pull/29824/head:
	qa: whitelist new FS_INLINE_DATA_DEPRECATED health warning
	mds: add a HEALTH_WARN message when inline_data is enabled
	mds: log a warning message when mds is started on an fs with inline_data
	mon: deprecate CephFS inline_data support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2019-09-24 04:32:28 -07:00
Patrick Donnelly
0499d19ac9
Merge PR #29526 into master
* refs/pull/29526/head:
	client: _readdir_cache_cb() may use the readdir_cache already clear

Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-09-24 04:31:28 -07:00
Lenz Grimmer
34de0de715
Merge pull request #30426 from votdev/harden_mgr_modules_list
mgr/dashboard: Prevent KeyError when requesting always_on_modules

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-09-24 11:23:50 +00:00
Patrick Donnelly
a968e88fb6
Merge PR #30164 into master
* refs/pull/30164/head:
	mds: Remove unnecessary headers in Locker
	mds: Reorganize class members in Locker header

Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-09-24 04:15:02 -07:00
Patrick Donnelly
01e0e09a08
Merge PR #30312 into master
* refs/pull/30312/head:
	client:EINVAL may be returned when offset is 0 ,Loff_t pos = f->pos should be the best.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-24 04:11:00 -07:00
Lenz Grimmer
1c772bb107
Merge pull request #30493 from p-se/wip-pse-osd-improvements
mgr/dashboard: OSD improvements

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-24 11:00:34 +00:00
Lenz Grimmer
3ae339eca3
mgr/dashboard: enable run-frontend-unittest.sh to run from any… (#30496)
mgr/dashboard: enable run-frontend-unittest.sh to run from any directory

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-24 10:59:22 +00:00
Lenz Grimmer
45b05fb8bf
mgr/dashboard: Fix error editing iSCSI disk controls (#30100)
mgr/dashboard: Fix error editing iSCSI disk controls

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-09-24 09:02:38 +00:00
Kefu Chai
e5b766ed46
Merge pull request #30535 from xiexingguo/wip-test_ceph_argparse
test/pybind/test_ceph_argparse.py: pg_num of pool creation now optional

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-24 15:03:28 +08:00
Kefu Chai
806de9fd09 test/pybind: fix local variables for emacs
* pass CEPH_BIN env variable if necessary
* do not 'make' unless necessary
* use `cmake --build` as developer might be using some different cmake
  generator for building ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-24 14:57:09 +08:00
Kefu Chai
d34030a1ee crush: add editor property variables
so the local settings won't interfere when working on ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-24 14:57:09 +08:00
xie xingguo
85518422c5 test/pybind/test_ceph_argparse.py: pg_num of pool creation now optional
introduced by f88d95bef6

note that we remove the bad pg_num = -1 test too, which will now
be treated as the the crush rule name (invalid but allowed) since
pg_num is optional

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-24 13:25:07 +08:00
Patrick Donnelly
78b65e925a
Merge PR #30348 into master
* refs/pull/30348/head:
	doc: Add a new document on Dynamic Metadata Management in CephFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-23 19:36:17 -07:00
Xie Xingguo
70894282e9
Merge pull request #30512 from xiexingguo/wip-vstart-inc-osd
vstart: add --inc-osd option

Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-24 08:56:17 +08:00
Alfredo Deza
4d23ccb3ff
Merge pull request #30490 from ceph/guits-41392
ceph-volume: do not fail when trying to remove crypt mapper

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-09-23 14:53:38 -04:00
Sage Weil
3215480105 mon/MonClient: skip CEPHX_V2 challenge if client doesn't support it
If the client doesn't support the CEPHX_V2 challenge, and we don't require
it, skip it.  This allows the client to authenticate without getting an
error like

  cephx: verify_reply couldn't decrypt with error: error decoding block for decryption

Note that we don't have this problem in the monitor exchange in
Monitor::handle_auth_request() because that verify_authorizer() caller is
only used for msgrv2, and all such clients support CEPHX_V2.  Instead,
those client authenticate via the MAuth messages, a path that does not use
authorizers at all.

Fixes: https://tracker.ceph.com/issues/40716
Signed-off-by: Sage Weil <sage@redhat.com>
2019-09-23 13:20:40 -05:00
Tiago Melo
b54b0f9242 mgr/dashboard: Display the "destroyed" state in OSD list
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-23 15:52:10 +00:00
Kefu Chai
b6dc4b020a
Merge pull request #30507 from tchaikov/wip-mgr-features-in-mgrmap
qa/tasks/mgr/dashboard/test_health: update schema

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2019-09-23 23:18:01 +08:00
Sidharth Anupkrishnan
05bdceb1f7 doc: Add a new document on Dynamic Metadata Management in CephFS
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2019-09-23 19:57:26 +05:30
Sage Weil
ab594b9b31 Merge PR #30475 into master
* refs/pull/30475/head:
	qa/standalone/ceph-helpers: default pg autoscale mode off for standalone
	os/bluestore: fix objectstore_blackhole read-after-write
	test,misc: do not specify pg_num per pool
	mgr/volumes: do not specify pg_num
	pybind/ceph_volume_client: do not specify pg_num for new pools
	doc: remove all pg_num arguments to 'osd pool create'
	mon: do not require pg_num to 'osd pool create'
	common: default pg_autoscale_mode=on for new pools

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-23 09:12:42 -05:00