Commit Graph

85611 Commits

Author SHA1 Message Date
Kefu Chai
750c301e1c cmake: use CMP0028 NEW
it's intended behavior to use imported or alias target for dependencies
with name with "::" in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-18 15:10:54 +08:00
Kefu Chai
c4f51c85df common: silence GCC warnings
Preforker.h:111:8: warning: ignoring return value of ‘ssize_t
safe_write(int, const void*, size_t)’, declared with attribute
warn_unused_result [-Wunused-result]
        (void)safe_write(fd[1], &r, sizeof(r));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and

compat.cc:36:28: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
     if (off + sizeof(data) > len)
         ~~~~~~~~~~~~~~~~~~~^~~~~

Fixes: http://tracker.ceph.com/issues/23774
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-18 15:10:54 +08:00
Kefu Chai
fdbc1e6d7c
Merge pull request #21485 from tchaikov/wip-tox
test/dashboard: hardcode .coverage path to workaround tox bugs

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-18 14:54:32 +08:00
Kefu Chai
32b07dd904 test/dashboard: hardcode .coverage path to workaround tox bugs
rhel/centos 7.3 comes with tox 1.4.2, which has a bunch of issues related
to environment variable substitution. for instance, see
- https://github.com/tox-dev/tox/issues/515
so, instead of having different coverage files for py3 and py2.7, it
would be simpler to just use the same path for coverage. this approach
works because pytest-cov plugin erases the coverage data file at the
beginning of test[1].

---
[1] https://pypi.org/project/pytest-cov/#coverage-data-file .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-18 13:50:38 +08:00
Kefu Chai
c643ffd703
Merge pull request #21474 from jecluis/mimic-mon-pending-releasenotes
PendingReleaseNotes: mention some monitor changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-18 12:39:06 +08:00
Kefu Chai
1e081a817d
Merge pull request #21428 from ivancich/wip-fix-existing-mclock-cost
osd: remove cost from mclock op queues; cost not handled well in dmclock

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-18 12:32:42 +08:00
Kefu Chai
8039ea855e
Merge pull request #21464 from LenzGr/fix-cmakelist
cmake: fix typo in status message

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-18 10:08:47 +08:00
Kefu Chai
d2fdd4a155
Merge pull request #21418 from jecluis/wip-fix-mon-fs-caps
mon/AuthMonitor: don't validate `fs authorize` caps with `valid_caps()`

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-18 10:02:47 +08:00
David Zafman
51f41230c7
Merge pull request #21450 from dzafman/wip-jq-compat
test: Use jq in a compatible way and for easier diff analysis

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-17 17:26:51 -07:00
Josh Durgin
e1d65e03f8
Merge pull request #21483 from yuriw/wip-yuriw-crontab
qa/tests - one more typo fixed :(

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-17 13:59:03 -07:00
Yuri Weinstein
f3c2d39ba2 qa/tests - one more typo fixed :(
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-17 13:56:51 -07:00
Josh Durgin
466a344392
Merge pull request #21482 from yuriw/wip-yuriw-crontab
qa/tests - Fixed typo in crontab entry

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-17 13:55:04 -07:00
Yuri Weinstein
39931f185c qa/tests - Fixed typo in crontab entry
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-17 13:51:32 -07:00
Josh Durgin
d714d4dafd
Merge pull request #21454 from yuriw/wip-yuriw-crontab
qa/tests - added for the suites with subset be able to use 'testing' …

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-04-17 13:43:50 -07:00
Jason Dillaman
3004e1093e
Merge pull request #21478 from idryomov/wip-krbd-os-recommend
doc/start/os-recommendations.rst: bump krbd kernels

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-17 13:29:18 -04:00
Ilya Dryomov
528e991074 doc/start/os-recommendations.rst: bump krbd kernels
Drop 4.4 -- even though it is an "Extended LTS" release, it predates
the OSD client rewrite and should no longer be recommended.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-17 18:53:34 +02:00
Andrew Schoen
336866a652
Merge pull request #21409 from ErwanAliasr1/evelu-readonly
ceph-volume: Using --readonly for {vg|pv|lv}s commands

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-17 16:17:55 +02:00
Joao Eduardo Luis
aaa1a1aebf PendingReleaseNotes: mention some monitor changes
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-17 14:38:46 +01:00
Joao Eduardo Luis
4db0b88d13 mon/AuthMonitor: don't validate fs caps on authorize
The monitor will have no idea how to validate fs caps during `fs
authorize`. Instead, validate solely the built osd and mds caps.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-17 14:30:12 +01:00
John Spray
dc9b020981
Merge pull request #21468 from tchaikov/wip=cmake-make-check-dashboard
cmake: let "tests" depend on "mgr-dashboard-frontend-build"

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-17 14:07:36 +01:00
Jason Dillaman
9846842283
Merge pull request #21470 from tylerqi/master
doc: Fix a grammar error in rbd-snapshot.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-17 08:31:54 -04:00
Tyler Zeqing Qi
d83a7a98c3
doc: Fix a grammar error in rbd-snapshot.rst
Signed-off-by: Zeqing Tyler Qi <aqize@126.com>
2018-04-17 20:10:42 +08:00
Sage Weil
9bad696057
Merge pull request #20945 from liewegas/wip-pg-ls
mon/PGMap: remove or narrow columns 'pg ls' output

Reviewed-by: John Spray <jspray@redhat.com>
2018-04-17 06:49:35 -05:00
Sage Weil
6cfd3f726b
Merge pull request #21113 from kungf/scrub_interval_overflow
utime: fix __32u sec time overflow

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-17 06:48:57 -05:00
Sage Weil
3d1e7eebd7
Merge pull request #21145 from ceph/wip-ifed-store-test-improve
test/ceph_test_objectstore: make settings update and restore less error prone

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-17 06:48:31 -05:00
Sage Weil
51e21ed575
Merge pull request #21371 from jcsp/wip-mon-optracker-cleanup
mon: cleanups to optracker code

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-04-17 06:48:02 -05:00
Sage Weil
f60fb37a0f
Merge pull request #21377 from ifed01/wip-ifed-learn-alloc-fragm
os/bluestore: add perf counter for allocator fragmentation.

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-17 06:46:51 -05:00
Jason Dillaman
c320e8820f
Merge pull request #21141 from shun-s/fix-rbd-close-race-with-rewatch
librbd: fix rbd close race with rewatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-17 07:46:37 -04:00
Jason Dillaman
bb81b80a97
Merge pull request #21343 from Songweibin/wip-trash-ls
rbd: 'trash ls -l' will display column titles if existed non-USER trash image only

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-17 07:46:18 -04:00
Kefu Chai
dd8588dca9 cmake: let "tests" depend on "mgr-dashboard-frontend-build"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-17 19:42:25 +08:00
Lenz Grimmer
9c808cf921 cmake: fix typo in status message
Replaced " we are x84_64" with  " we are x86_64" in `src/CMakeLists.txt`

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-04-17 11:28:29 +02:00
Yuri Weinstein
61d4062d4a qa/tests - added for the suites with subset be able to use 'testing' distro
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-16 15:43:48 -07:00
Kefu Chai
60e8a63fdc
Merge pull request #21449 from rjfd/wip-dashboard-fix-frontend-build
cmake: fix frontend cmake build

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-17 00:01:49 +08:00
Lenz Grimmer
5ce1f1d45e
Merge pull request #21360 from rjfd/wip-dashboard-rbd
mgr/dashboard: RBD management (backend)

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-16 17:54:36 +02:00
Kefu Chai
40975b4b8f
Merge pull request #21445 from rjfd/wip-dashboard-fix-run-tox
mgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-16 23:38:00 +08:00
J. Eric Ivancich
b110b1489a osd: remove cost from mclock op queues; cost not handled well in dmclock library
The current version of the dmclock library does not handle operation
cost well. Therefore cost should not be passed into the library when
enqueuing operations; instead 0 should be passed in.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2018-04-16 11:28:04 -04:00
David Zafman
458babe7ee test: Use jq in a compatible way and for easier diff analysis
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-16 08:11:24 -07:00
Ricardo Dias
5b53947aeb
mgr/dashboard: fix frontend cmake build
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-16 16:06:42 +01:00
Kefu Chai
d67b4efb35
Merge pull request #20929 from JianyuLi/joa-bluestore-spdk
os/bluestore: free the spdk qpair resource correctly in destructor of SharedDriverQueueData

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-16 23:01:19 +08:00
Kefu Chai
4f787e8906
Merge pull request #21419 from ceph/wip-da-SCA-20180329
common,osd,rgw: Fixes for issues found during SCA

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-16 22:56:42 +08:00
Kefu Chai
8a7e66593e
Merge pull request #21429 from wjwithagen/wjw-kStore-statfs
KStore: statfs needs extra includes on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-16 22:52:25 +08:00
Kefu Chai
d8d5b31317
Merge pull request #21431 from Songweibin/wip-ec-cleanups
osd: miscellaneous cleanups

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-16 22:50:35 +08:00
Ricardo Dias
371a2673b7
mgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-16 15:28:54 +01:00
Kefu Chai
661a56bb16
Merge pull request #21170 from dragonylffly/wip-revise-organizationmap
.organizationmap: add Xin Yuan and Yichao Li's affiliation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-16 22:10:18 +08:00
Kefu Chai
073f6f6cc0
Merge pull request #21433 from tchaikov/wip-qa-env_librados_test
qa: disable -Werror when compiling env_librados_test

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-16 21:36:25 +08:00
Lenz Grimmer
f401af92dd
Merge pull request #21402 from tspmelo/wip-module-cleanup
mgr/dashboard: Angular modules cleanup

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
2018-04-16 10:58:05 +02:00
Kefu Chai
e7cf78a64f
Merge pull request #21398 from ivancich/wip-revert-dmclock-feature-bit-plus
osd: Revert use of dmclock message feature bit since not yet finalized

Reviewed-by: Sage Weil <sage@redhat.com>
2018-04-16 15:46:07 +08:00
Mykola Golub
689e3a0878
Merge pull request #21403 from dillaman/wip-rbd-mirror-dead-instances
test/rbd-mirror: improve coverage for dead instance handling

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-04-16 07:45:12 +03:00
Patrick Donnelly
9bfce1bfbd
Merge PR #21322 into master
* refs/pull/21322/head:
	osdc: cleanup code.
	osdc: Remove useless condition.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-04-15 20:26:46 -07:00
Patrick Donnelly
2977e5e3f2
Merge PR #21341 into master
* refs/pull/21341/head:
	client: Fix the gid_count check

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-15 20:26:41 -07:00