Commit Graph

90647 Commits

Author SHA1 Message Date
Tiago Melo
00ab84abaf mgr/dashboard: Update frontend linting scripts and documentation
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-26 12:15:43 +01:00
Tiago Melo
8256e82ece mgr/dashboard: Add html linter and fix lint errors
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-26 12:01:24 +01:00
Patrick Donnelly
9a01c3ae10
Merge PR #24203 into master
* refs/pull/24203/head:
	ceph-fuse: add to selinux profile

Reviewed-by: Boris Ranto <branto@redhat.com>
2018-09-25 16:01:36 -07:00
Yehuda Sadeh
84fa9d4ae0
Merge pull request #24221 from cbodley/wip-36034
rgw multisite: uses local DataChangesLog to track active buckets for trim

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-09-25 15:02:01 -07:00
Yehuda Sadeh
008316a127
Merge pull request #23988 from cbodley/wip-35851
rgw: dont access rgw_http_req_data::client of canceled request

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-09-25 13:43:17 -07:00
Casey Bodley
99279f7246
Merge pull request #23986 from cbodley/wip-35715
rgw: fix leak of curl handle on shutdown

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-09-25 16:40:52 -04:00
Casey Bodley
8622d8a241
Merge pull request #24011 from cbodley/wip-qa-rgw-multisite-speedup
qa/rgw: reduce number of multisite log shards

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-09-25 16:39:51 -04:00
Yehuda Sadeh
d32d0d7f45
Merge pull request #23987 from cbodley/wip-35812
rgw: RGWAsyncGetBucketInstanceInfo does not access coroutine memory

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-09-25 13:20:59 -07:00
Alfredo Deza
3a000e4c2b
Merge pull request #24274 from ceph/wip-batch-report-fix
ceph-volume: fix journal and filestore data size in `lvm batch --report`
2018-09-25 15:26:04 -04:00
Andrew Schoen
0f60d00032
Merge pull request #24251 from alfredodeza/wip-rm27210
ceph-volume custom cluster names fail on filestore trigger

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-25 13:13:50 -05:00
Andrew Schoen
a81386123e ceph-volume: only run ceph-common once during tests
Using import_role we can have just one play and avoid rerunning
ceph-common over and over again in daemon specific plays.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-09-25 12:09:15 -05:00
Patrick Donnelly
5cdf9c3380
Merge PR #24020 into master
* refs/pull/24020/head:
	*: set missing CLOEXEC on opened fds
	msg: set O_NONBLOCK on file status flags

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-25 09:20:22 -07:00
Patrick Donnelly
2277c11711
Merge PR #24163 into master
* refs/pull/24163/head:
	mds/MDCache: fix mds internal op missing events time

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-25 07:47:04 -07:00
Patrick Donnelly
7bcab914bb
Merge PR #24252 into master
* refs/pull/24252/head:
	qa: cleanup workunit dir for each unit
	qa: use sudo to cleanup workspace

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-25 07:36:16 -07:00
Patrick Donnelly
6e028f3322
Merge PR #24232 into master
* refs/pull/24232/head:
	githubmap: update contributors

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-25 07:16:20 -07:00
Jason Dillaman
4ebcbc769c
Merge pull request #24248 from dillaman/wip-rbd-iscsi-docs
doc: ceph-iscsi-api ports should not be public facing

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2018-09-25 08:36:31 -04:00
Sage Weil
a29103e894 Merge PR #24226 into master
* refs/pull/24226/head:
	osd/PG: fix not_ready_to_merge behavior for merge target

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-09-24 23:14:15 -05:00
Patrick Donnelly
08166e8d5a
Merge PR #24194 into master
* refs/pull/24194/head:
	mds: fix mds damaged due to unexpected journal length

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-09-24 15:01:52 -07:00
Patrick Donnelly
92f498fa28
Merge PR #24170 into master
* refs/pull/24170/head:
	libcephfs: expose CEPH_SETATTR_MTIME_NOW and CEPH_SETATTR_ATIME_NOW

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-09-24 14:50:04 -07:00
Patrick Donnelly
0dd623c8aa
Merge PR #23187 into master
* refs/pull/23187/head:
	test: make rank argument mandatory when running journal_tool
	cephfs-journal-tool: make "--rank" argument mandatory
	cephfs-journal-tool: pass local arg vector for Journal actions
	cephfs-journal-tool: dump to per rank output file wherever necessary

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-24 14:46:14 -07:00
Patrick Donnelly
51b27b7e3d
Merge PR #23530 into master
* refs/pull/23530/head:
	qa/vstart_runner: fix daemons list
	PendingReleaseNotes: note multifs support in libcephfs
	test/cephfs: add pybind test for mount_root
	pybind/cephfs: enable passing filesystem name to mount
	libcephfs: add ceph_select_filesystem
	common: add doc strings to client_mds_namespace
	client: allow passing fs name to mount()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>

Conflicts:
    PendingReleaseNotes
2018-09-24 14:42:13 -07:00
Andrew Schoen
eed244473d ceph-volume: fail fast during tests
This also rsyncs the ceph-volume code to the testing vms before
a ceph.conf is generated because ceph-volume is needed now for this
to figure out the number of osds when you're using 'lvm batch'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-09-24 16:41:37 -05:00
Patrick Donnelly
b536ca8a52
Merge PR #24125 into master
* refs/pull/24125/head:
	mon: fix fs add_data_pool setting wrong pool metadata

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-24 14:40:34 -07:00
Patrick Donnelly
c0ba741a6e
Merge PR #24158 into master
* refs/pull/24158/head:
	cephfs: remove vestiges of mds deactivate

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-09-24 14:39:45 -07:00
Andrew Schoen
a5e8bc97e7 ceph-volume: when using batch --report return journal/data size as ints
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-09-24 16:37:35 -05:00
Sage Weil
0ae5e9a480 Merge PR #24234 into master
* refs/pull/24234/head:
	qa/suites/rados/thrash-old-clients/workloads/rbd_cls.yaml: skip parents test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:15:52 -05:00
Alfredo Deza
96e29adf72 ceph-volume tests/functional update dmcrypt test playbooks to use --cluster
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 15:21:09 -04:00
Patrick Donnelly
70844f3f55
qa: cleanup workunit dir for each unit
This was wrongly dropped and moved to the finalizer.

Introduced-by: de824f74dd
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-24 11:29:10 -07:00
Patrick Donnelly
1eaf78a754
qa: use sudo to cleanup workspace
Files in scratch_tmp may not be owned by ubuntu.

Fixes: http://tracker.ceph.com/issues/36165
Introduced-by: de824f74dd
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-24 11:02:49 -07:00
Alfredo Deza
5f72d438da ceph-volume tests/functional/batch update tests to use 'test' cluster name
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 13:42:46 -04:00
Alfredo Deza
7b0d2dc669 ceph-volume tests/functional/lvm update tests to use 'test' cluster name
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 13:42:46 -04:00
Alfredo Deza
ba10b6820f ceph-volume tests/functional update playbooks to use --cluster
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 13:42:46 -04:00
Alfredo Deza
532908099e ceph-volume main move out the load_ceph_conf_path to the configuration module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 12:29:36 -04:00
Sage Weil
fcb1679eab osd/PG: fix not_ready_to_merge behavior for merge target
Track the *target* not being ready to merge independently from the source,
so that we do not have two PGs fighting over the state of
not_ready_ready_to_merge_source, and so that the map reflects the *source*
PGs readiness only.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-24 11:03:03 -05:00
Sage Weil
9054ed81da Merge PR #24225 into master
* refs/pull/24225/head:
	osd/ECBackend: suppress 'Error -2 reading object' if EC fast reads

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-09-24 11:01:22 -05:00
Sage Weil
757a94b980 qa/suites/rados/thrash-old-clients/workloads/rbd_cls.yaml: skip parents test
We can't (easily) build updated hammer packages, but all this sh script does
it run this one test binary with --gtest_filter arguments, so just do
it directly and skip the test explicitly here.  (Newer version of the .sh
understand the environemnt variable but the hammer version does not.)

Fixes: http://tracker.ceph.com/issues/36104
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-24 10:57:40 -05:00
Alfredo Deza
fe80e5399e ceph-volume tests.devices patch configuration.load to avoid raising non-existing ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 10:37:52 -04:00
Alfredo Deza
877ee1a27e ceph-volume tests reset the cluster name after every unit test
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 10:37:51 -04:00
Alfredo Deza
e61848dc97 ceph-volume tests.functional add custom cluster name to centos7-filestore-create
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 10:37:51 -04:00
Alfredo Deza
a88cbfc73a ceph-volume lvm.activate load the config always by reading the cluster name from the LV
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 10:37:51 -04:00
Alfredo Deza
4f8226f359 ceph-volume configuration be able to set conf.ceph
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-24 10:37:51 -04:00
Jason Dillaman
24beceef64 doc: ceph-iscsi-api ports should not be public facing
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 10:32:25 -04:00
Jason Dillaman
4b782613f7
Merge pull request #24078 from Songweibin/wip-rbd-trash-state
rbd: not allowed to restore an image when it is being deleted

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 10:19:13 -04:00
Jason Dillaman
762a7ae386
Merge pull request #23743 from trociny/wip-rbd-config-pool
librbd: pool and image level config overrides

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 10:19:01 -04:00
Lenz Grimmer
4d3f896c89
Merge pull request #23568 from rhcs-dashboard/wip-24573-landing-page
mgr/dashboard: New Landing Page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-09-24 15:32:48 +02:00
John Spray
194c17c04a
Merge pull request #23570 from jcsp/wip-rook-api
mgr/rook: update for v1beta1 API

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2018-09-24 12:12:10 +01:00
myoungwon oh
5ebda43522 githubmap: update contributors
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-09-24 12:14:20 +09:00
Sage Weil
a9816f31dd Merge PR #24133 into master
* refs/pull/24133/head:
	common/Finisher: convert to ceph::mutex etc
	common/ceph_mutex: ceph::{mutex,condition_variable,lock_guard}
	common/mutex_debug: take const char * to ctor, and require a name
	common/mutex_debug: add lockdep support for recursive_mutex_debug
	common/mutex_debug: fix whitespace
	common/mutex_debug: refactor to remove intermediate class
	common/lockdep: add recursive flag for _will_lock
	do_cmake.sh: default to Debug build
	.gitignore: ignore build.*/

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-23 11:17:03 -05:00
Yanhu Cao
bd6ae6f4e2 mds/MDCache: fix mds internal op missing events time
Fixes: http://tracker.ceph.com/issues/36114

Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
2018-09-23 21:36:39 +08:00
Sage Weil
9ef5a956cb osd/ECBackend: suppress 'Error -2 reading object' if EC fast reads
When fast reads are enabled, it's possible for the ordering of a shard
read to not be enforced with respect to writes that come after because
the read completes on the primary before all shards reply.  This can lead
to an ENOENT on the non-primary, and an ERR message in the cluster log,
even though everything is fine.  (The reply will go back to the primary
with the error but it will be ignored since the read has completed.)

Suppress the error message so we don't see these ERR messages in the
cluster log during the normal course of events.

Fixes: http://tracker.ceph.com/issues/26972
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-22 10:42:20 -05:00