Commit Graph

99519 Commits

Author SHA1 Message Date
Sage Weil
9e41cecf71 osd: do not hold osd_lock while queueing stray purged_snaps
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 08:12:04 -05:00
Sage Weil
8bd7aa50cd osd: more debug output during scrub hang
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-09 08:10:09 -05:00
Sage Weil
b2eb5232de Merge PR #28901 into master
* refs/pull/28901/head:
	qa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep
	osd/osd_types: remove 'snap_context' from SnapSet::dump()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-08 08:36:05 -05:00
Lenz Grimmer
9110ba50a5
mgr/dashboard: fix closing tag in app.component.html (#28899)
mgr/dashboard: fix closing tag in app.component.html

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-08 13:16:24 +02:00
Lenz Grimmer
9c85727824
mgr/dashboard: Upgrade ceph-iscsi config to version 10 (#28720)
mgr/dashboard: Upgrade ceph-iscsi config to version 10

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-08 13:10:08 +02:00
Lenz Grimmer
dae424ba6d
mgr/dashboard: check embedded Grafana dashboard references (#28234)
mgr/dashboard: check embedded Grafana dashboard references

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-08 13:07:53 +02:00
Kefu Chai
b7010730f2
Merge pull request #28859 from tchaikov/wip-40646
ceph.spec.in: pin to gcc-c++-8.2.1

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-06 12:40:47 +08:00
J. Eric Ivancich
7dd1c240f0
Merge pull request #28838 from tchaikov/wip-rgw-printf-size_t
rgw/rgw_client_io_filters.h: print size_t the portable way
2019-07-05 17:20:58 -04:00
J. Eric Ivancich
aa749ae9fd
Merge pull request #28617 from zhangsw/rgw-fix-lifecycle-tag
rgw: Object tags shouldn't work with deletemarker or multipart expiration
2019-07-05 17:20:17 -04:00
J. Eric Ivancich
f01f50ef70
Merge pull request #28256 from theanalyst/rgw-lc-placement-target-fixes
rgw: lc: check for valid placement target before processing transitions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2019-07-05 17:19:41 -04:00
Adam C. Emerson
8d823e8f68 Merge pull request #28905 from adamemerson/wip-fix-crimson-test-build
rgw: Fix narrowing conversion error

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-05 16:52:24 -04:00
Matt Benjamin
0c505dcab4
Merge pull request #28192 from tianshan/fix_39989
rgw: fix list bucket with start maker and delimiter '/' will miss next object…
2019-07-05 16:21:46 -04:00
Kefu Chai
73746f3807
Merge pull request #28902 from tchaikov/wip-fix-crimson-test-build
test/crimson: fix FTBFS

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-06 01:52:01 +08:00
Kefu Chai
c242d3d636 test/crimson: fix FTBFS
Connection::send_message(Message*)

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-06 00:15:27 +08:00
Adam C. Emerson
e48725dd6c rgw: Fix narrowing conversion error
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2019-07-05 12:08:18 -04:00
Kefu Chai
47d4351d3a ceph.spec.in,install-dep.sh: pin to gcc-c++-8.2.1
as an intermediate solution before
https://bugzilla.redhat.com/show_bug.cgi?id=1726630 gets fixed.

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-05 23:59:21 +08:00
Kefu Chai
057a352be8
Merge pull request #28890 from cyx1231st/wip-seastar-msgr-msgreuse
crimson/net: prevent reusing the sent messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-05 21:11:46 +08:00
Yingxin Cheng
fcafb089d2 crimson: change to use make_message()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-05 22:07:59 +08:00
Yingxin Cheng
f763d49603 crimson/net: check front_msg correctly during sweep
In order to check whether the front_msg is unchanged, we need to make sure:
* The sent message is not reused;
* The message to be checked is not freed;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-05 21:53:39 +08:00
Yingxin Cheng
2d6e770492 crimson/net: prevent reusing the sent messages
We are tracking sent messages by seq, so reusing messages will cause
undefined behavior because seq should not be shared between different
messages.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-05 21:51:34 +08:00
Tatjana Dehler
10d84c0a03 mgr/dashboard: fix closing tag
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-07-05 13:58:12 +02:00
Ricardo Marques
9b967b42f0
Merge pull request #28858 from callithea/wip-issue-40395
mgr/dashboard: Extend E2E test section

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-05 12:19:21 +01:00
Lenz Grimmer
8bc9c8eed4
mgr/dashboard: use mds_mem.dn for fs dentries (#28505)
mgr/dashboard: use mds_mem.dn for fs dentries

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-05 11:42:01 +02:00
Kefu Chai
f22f12d54a
Merge pull request #28876 from tchaikov/wip-cmake-vstart-with-cython_cephfs
cmake: add cython_cephfs to vstart target

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-05 14:00:21 +08:00
Kefu Chai
d6c2ef6a11
Merge pull request #28845 from ifed01/wip-ifed-fix-alloc-dump
os/bluestore: more smart allocator dump when lacking space for bluefs.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2019-07-05 11:28:30 +08:00
Kefu Chai
9e435474ca
Merge pull request #28651 from ifed01/wip-ifed-remove-assert-bs-tool
os/bluestore/bluestore-tool: minor fixes around migrate

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2019-07-05 11:12:53 +08:00
Kefu Chai
3f6f85819f
Merge pull request #28732 from tchaikov/wip-32bit-size_t
osdc/Striper: specialize std::min<>

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-05 11:07:05 +08:00
Kefu Chai
c2905fb3eb
Merge pull request #28829 from tchaikov/wip-dmclock-uint
dmclock: pick up fix to replace uint

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-07-05 11:06:09 +08:00
Kefu Chai
a4ddc4bd85
Merge pull request #27834 from rzarzynski/wip-nss-drop-cms
rgw, common, build: drop NSS support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-05 11:03:33 +08:00
Sage Weil
a960f2faa7 qa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep
The log now also has a 'purged_snaps scrub ok' message that (generally)
precedes the first scrubbed PG.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-04 18:27:37 -05:00
Sage Weil
70ad54a0b3 osd/osd_types: remove 'snap_context' from SnapSet::dump()
We no longer have a snaps field with real values, so dumping this as a
"snap_context" is silly.  Instead, just dump the seq.

Adjust qa/standalone/scrub/osd-scrub-repair.sh accordingly.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-04 18:24:41 -05:00
Igor Fedotov
5ea89a4e0c os/bluestore/bluestore-tool: omit device from both source and taget
lists when migrating.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-04 20:04:15 +03:00
Igor Fedotov
9297d0420d os/bluestore/bluestore-tool: fix error output
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-04 20:04:15 +03:00
Igor Fedotov
47edbfdce8 os/bluestore/bluestore-tool: do not assert when migrate command fails.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-04 20:04:13 +03:00
Kefu Chai
ad56cb8aad
Merge pull request #28835 from croit/fix-24420
debian/control: add python-routes dependency for dashboard

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-05 01:02:32 +08:00
Sage Weil
1bdc707a90 Merge PR #28877 into master
* refs/pull/28877/head:
	doc/dev/corpus.rst: minor tweaks

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-04 09:17:11 -05:00
Kefu Chai
6f605dfcb1
Merge pull request #28856 from tchaikov/wip-rbd-nbd-basename
tools/rbd_nbd: use POSIX basename()

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-07-04 22:09:51 +08:00
Ramana Raja
becc3a16fd
Merge pull request #28875 from tchaikov/wip-mgr-volumes-cleanup
mgr/volumes: do not import unused module
2019-07-04 16:15:47 +05:30
Kefu Chai
a1048086b9 doc/dev/corpus.rst: minor tweaks
the executables are located in build/bin after we switched to cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-04 16:13:50 +08:00
Ricardo Marques
51d7da1765 mgr/dashboard: Rename iSCSI gateways name to FQDN
iSCSI gateways name will be automatically renamed from host
shot name to FQDN.

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

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-04 09:10:10 +01:00
Ricardo Marques
9ac2c32bc4 mgr/dashboard: Upgrade ceph-iscsi config to version 10
Fixes: https://tracker.ceph.com/issues/40566

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-04 09:10:10 +01:00
Kefu Chai
13da624766 cmake: add cython_cephfs to vstart target
in vstart.sh, if MDS is enabled, `ceph fs volume create` is used to
create cephfs volume. and `fs volume create` command is implemented by
`src/pybind/mgr/volumes/module.py`, which in turn uses `cephfs` python
binding indirectly. so we need to add `cephfs` to `vstart` target to
facilidate the cephfs development using vstart.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-04 15:13:06 +08:00
Kefu Chai
bc13b7941d mgr/volumes: do not import unused module
cephfs is not used in this module, so drop its `import`

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-04 15:01:31 +08:00
Kefu Chai
00a67b07b1
Merge pull request #28753 from tchaikov/wip-doc-conf
doc/rados/configuration: update to be in sync with ConfUtils changes

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-04 13:23:24 +08:00
Brad Hubbard
1c74e0ae42
Merge pull request #28803 from badone/wip-ceph_ansible_upgrade-ansible-2.8
qa/ceph-ansible: Move to ansible 2.8

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-04 14:51:18 +10:00
Brad Hubbard
b673584778
Merge pull request #28807 from badone/wip-ceph_ansible-cephfs_pools-pg_num-fix
qa/ceph-ansible: Replace pgs with pg_num

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-04 14:50:12 +10:00
Kiefer Chang
64f31188eb
mgr/dashboard: check embedded Grafana dashboard references
Add a script to check a cd-grafana component always refers to an
existing Grafana dashboard. The check is added as a new tox command.

Fixes: http://tracker.ceph.com/issues/40008

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2019-07-04 11:22:33 +08:00
Sage Weil
71e5cba00b Merge PR #28867 into master
* refs/pull/28867/head:
	qa/standalone/ceph-helpers: more osd debug

Reviewed-by: David Zafman <dzafman@redhat.com>
2019-07-03 21:27:20 -05:00
Sage Weil
948cd0db43 Merge PR #28865 into master
* refs/pull/28865/head:
	mon/OSDMonitor: fix _lookup_snap to verify the pool matches
	ceph_test_rados_api_*: make failing to clean up namespace non-fatal
	osd: store purged_snaps history under separate object

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-07-03 21:26:57 -05:00
Sage Weil
e2a0ea78c5 Merge PR #28864 into master
* refs/pull/28864/head:
	doc/releases/releases.yaml: set target EOL to Jun 1 for L and M
	doc/releases: update schedule to describe a 12-month cycle

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2019-07-03 18:33:06 -05:00