Commit Graph

91052 Commits

Author SHA1 Message Date
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
Tiago Melo
1eeaa5016b mgr/dashboard: Add UI for RBD Trash Purge
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Tiago Melo
11067e0686 mgr/dashboard: Add UI for RBD Trash Delete
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Tiago Melo
1ae1aa249c mgr/dashboard: Add UI for RBD Trash Restore
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Tiago Melo
d6eda3b71d mgr/dashboard: Add UI for RBD Trash List
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Tiago Melo
31361a5e0d mgr/dashboard: Add UI for RBD Trash Move
Fixes: http://tracker.ceph.com/issues/24272

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Tiago Melo
6bb951b1bf mgr/dashboard: Add RBD Trash endpoints
Fixes: http://tracker.ceph.com/issues/24272

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Tiago Melo
55a3902e6d mgr/dashboard: Replace current delete icons with "fa-times"
This will allow us to better differentiate a actual delete from a move to trash.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-09-25 14:02:58 +01:00
Jason Dillaman
27832e2781 qa/workunits/rbd: image compare should print byte offset of any deltas
This will assist in debugging any mirroring issues.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-25 08:45:08 -04: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
Kefu Chai
bb9158debb common/ceph_mutex: add dummy mutex for WITH_SEASTAR
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-25 20:09:04 +08:00
Joao Eduardo Luis
0dd8b8f81a mgr/dashboard: no side-effects on failed user creation
Read operations go first, operations with side-effects go last.
Otherwise, something like

1) create user A with non-existent role R1; fails due to R1 DNE
2) create user B with existent role R2; success

will result in both A and B being created; B will have a R2 assigned, A
will have no roles.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-09-25 12:31:03 +01:00
Abhishek Lekshmanan
ba75bd3986 doc: release notes for 13.2.2 mimic
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-09-25 13:18:51 +02:00
Nathan Cutler
c46c890d02 qa: add test that builds example librados programs
Fixes: http://tracker.ceph.com/issues/15100
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-09-25 13:18:04 +02:00
Yang Honggang
3d2b99405e tools/rados/rados.cc: fix rados rm --force-full blocking problem
Fixes: https://tracker.ceph.com/issues/36177
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
2018-09-25 18:19:40 +08:00
Dan van der Ster
d38f6a1170 osd: add creating to pg_string_state
Fixes: http://tracker.ceph.com/issues/36174
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2018-09-25 10:39:37 +02:00
Volker Theile
19cb4c9914 mgr/dashboard: Ignore .idea directory (created by PyCharm for example)
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-09-25 10:18:21 +02: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
David Zafman
6847d3fd6f osd: Remove old bft= which has been superceded by backfill=
Fixes: http://tracker.ceph.com/issues/36170
Caused by: 1b4f86cb0

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-09-24 14:25:18 -07: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
Jason Dillaman
3e8f16b484 qa/suites/rbd: increase librbd debug level for mirror-thrash
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:12:26 -04:00
Jason Dillaman
157a03f8fd librbd: improve debug logging for create/clone state machines
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:12:26 -04:00
Jason Dillaman
9edcd77a83 rbd-mirror: always send image RPC messages via cluster
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:11:02 -04:00
Jason Dillaman
4bafa00c98 rbd-mirror: permit better tracking between image replayer and bootstrap
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:11:02 -04:00
Jason Dillaman
f80ba2e6a4 rbd-mirror: re-generate new image id upon collision
Fixes: http://tracker.ceph.com/issues/24139
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:11:02 -04:00
Jason Dillaman
5148164af8 librbd: create image should return unique error code on id collision
The image id is composed of the librados global instance id and a random
number. For long-lived clients that create multiple images (basically
only rbd-mirror daemon), it's more likely to hit a collision.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:11:02 -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
Joao Eduardo Luis
b38b8e980c mon/config-key: increase max key entry size
Turns out the dashboard requires more than 4K bytes on occasion. Instead
of forcing them to split entries, we can afford them a bit more of extra
size. We could go higher, but they tell us they don't need it.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-09-24 17:43:32 +01: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