]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph-volume tests functional python tests for --no-systemd in activate 21496/head
Alfredo Deza [Wed, 18 Apr 2018 12:20:57 +0000 (08:20 -0400)]
ceph-volume tests functional python tests for --no-systemd in activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.activate add --no-systemd flag to skip starting/enabling services
Alfredo Deza [Wed, 18 Apr 2018 00:29:26 +0000 (20:29 -0400)]
ceph-volume lvm.activate add --no-systemd flag to skip starting/enabling services

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.common add --no-systemd flag to skip enabling/starting services
Alfredo Deza [Wed, 18 Apr 2018 00:28:14 +0000 (20:28 -0400)]
ceph-volume lvm.common add --no-systemd flag to skip enabling/starting services

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #21483 from yuriw/wip-yuriw-crontab
Josh Durgin [Tue, 17 Apr 2018 20:59:03 +0000 (13:59 -0700)]
Merge pull request #21483 from yuriw/wip-yuriw-crontab

qa/tests - one more typo fixed :(

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tests - one more typo fixed :( 21483/head
Yuri Weinstein [Tue, 17 Apr 2018 20:56:51 +0000 (13:56 -0700)]
qa/tests - one more typo fixed :(

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21482 from yuriw/wip-yuriw-crontab
Josh Durgin [Tue, 17 Apr 2018 20:55:04 +0000 (13:55 -0700)]
Merge pull request #21482 from yuriw/wip-yuriw-crontab

qa/tests - Fixed typo in crontab entry

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tests - Fixed typo in crontab entry 21482/head
Yuri Weinstein [Tue, 17 Apr 2018 20:51:32 +0000 (13:51 -0700)]
qa/tests - Fixed typo in crontab entry

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21454 from yuriw/wip-yuriw-crontab
Josh Durgin [Tue, 17 Apr 2018 20:43:50 +0000 (13:43 -0700)]
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>
7 years agoMerge pull request #21478 from idryomov/wip-krbd-os-recommend
Jason Dillaman [Tue, 17 Apr 2018 17:29:18 +0000 (13:29 -0400)]
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>
7 years agodoc/start/os-recommendations.rst: bump krbd kernels 21478/head
Ilya Dryomov [Tue, 17 Apr 2018 16:50:04 +0000 (18:50 +0200)]
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>
7 years agoMerge pull request #21409 from ErwanAliasr1/evelu-readonly
Andrew Schoen [Tue, 17 Apr 2018 14:17:55 +0000 (16:17 +0200)]
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>
7 years agoMerge pull request #21468 from tchaikov/wip=cmake-make-check-dashboard
John Spray [Tue, 17 Apr 2018 13:07:36 +0000 (14:07 +0100)]
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>
7 years agoMerge pull request #21470 from tylerqi/master
Jason Dillaman [Tue, 17 Apr 2018 12:31:54 +0000 (08:31 -0400)]
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>
7 years agodoc: Fix a grammar error in rbd-snapshot.rst 21470/head
Tyler Zeqing Qi [Tue, 17 Apr 2018 12:10:42 +0000 (20:10 +0800)]
doc: Fix a grammar error in rbd-snapshot.rst

Signed-off-by: Zeqing Tyler Qi <aqize@126.com>
7 years agoMerge pull request #20945 from liewegas/wip-pg-ls
Sage Weil [Tue, 17 Apr 2018 11:49:35 +0000 (06:49 -0500)]
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>
7 years agoMerge pull request #21113 from kungf/scrub_interval_overflow
Sage Weil [Tue, 17 Apr 2018 11:48:57 +0000 (06:48 -0500)]
Merge pull request #21113 from kungf/scrub_interval_overflow

utime: fix __32u sec time overflow

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21145 from ceph/wip-ifed-store-test-improve
Sage Weil [Tue, 17 Apr 2018 11:48:31 +0000 (06:48 -0500)]
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>
7 years agoMerge pull request #21371 from jcsp/wip-mon-optracker-cleanup
Sage Weil [Tue, 17 Apr 2018 11:48:02 +0000 (06:48 -0500)]
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>
7 years agoMerge pull request #21377 from ifed01/wip-ifed-learn-alloc-fragm
Sage Weil [Tue, 17 Apr 2018 11:46:51 +0000 (06:46 -0500)]
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>
7 years agoMerge pull request #21141 from shun-s/fix-rbd-close-race-with-rewatch
Jason Dillaman [Tue, 17 Apr 2018 11:46:37 +0000 (07:46 -0400)]
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>
7 years agoMerge pull request #21343 from Songweibin/wip-trash-ls
Jason Dillaman [Tue, 17 Apr 2018 11:46:18 +0000 (07:46 -0400)]
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>
7 years agocmake: let "tests" depend on "mgr-dashboard-frontend-build" 21468/head
Kefu Chai [Tue, 17 Apr 2018 11:40:51 +0000 (19:40 +0800)]
cmake: let "tests" depend on "mgr-dashboard-frontend-build"

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tests - added for the suites with subset be able to use 'testing' distro 21454/head
Yuri Weinstein [Mon, 16 Apr 2018 21:02:52 +0000 (14:02 -0700)]
qa/tests - added for the suites with subset be able to use 'testing' distro

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21449 from rjfd/wip-dashboard-fix-frontend-build
Kefu Chai [Mon, 16 Apr 2018 16:01:49 +0000 (00:01 +0800)]
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>
7 years agoMerge pull request #21360 from rjfd/wip-dashboard-rbd
Lenz Grimmer [Mon, 16 Apr 2018 15:54:36 +0000 (17:54 +0200)]
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>
7 years agoMerge pull request #21445 from rjfd/wip-dashboard-fix-run-tox
Kefu Chai [Mon, 16 Apr 2018 15:38:00 +0000 (23:38 +0800)]
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>
7 years agomgr/dashboard: fix frontend cmake build 21449/head
Ricardo Dias [Mon, 16 Apr 2018 15:06:42 +0000 (16:06 +0100)]
mgr/dashboard: fix frontend cmake build

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20929 from JianyuLi/joa-bluestore-spdk
Kefu Chai [Mon, 16 Apr 2018 15:01:19 +0000 (23:01 +0800)]
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>
7 years agoMerge pull request #21419 from ceph/wip-da-SCA-20180329
Kefu Chai [Mon, 16 Apr 2018 14:56:42 +0000 (22:56 +0800)]
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>
7 years agoMerge pull request #21429 from wjwithagen/wjw-kStore-statfs
Kefu Chai [Mon, 16 Apr 2018 14:52:25 +0000 (22:52 +0800)]
Merge pull request #21429 from wjwithagen/wjw-kStore-statfs

KStore: statfs needs extra includes on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21431 from Songweibin/wip-ec-cleanups
Kefu Chai [Mon, 16 Apr 2018 14:50:35 +0000 (22:50 +0800)]
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>
7 years agomgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script 21445/head
Ricardo Dias [Mon, 16 Apr 2018 13:17:12 +0000 (14:17 +0100)]
mgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21170 from dragonylffly/wip-revise-organizationmap
Kefu Chai [Mon, 16 Apr 2018 14:10:18 +0000 (22:10 +0800)]
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>
7 years agoMerge pull request #21433 from tchaikov/wip-qa-env_librados_test
Kefu Chai [Mon, 16 Apr 2018 13:36:25 +0000 (21:36 +0800)]
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>
7 years agoMerge pull request #21402 from tspmelo/wip-module-cleanup
Lenz Grimmer [Mon, 16 Apr 2018 08:58:05 +0000 (10:58 +0200)]
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
7 years agoMerge pull request #21398 from ivancich/wip-revert-dmclock-feature-bit-plus
Kefu Chai [Mon, 16 Apr 2018 07:46:07 +0000 (15:46 +0800)]
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>
7 years agoMerge pull request #21403 from dillaman/wip-rbd-mirror-dead-instances
Mykola Golub [Mon, 16 Apr 2018 04:45:12 +0000 (07:45 +0300)]
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>
7 years agoMerge PR #21322 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:46 +0000 (20:26 -0700)]
Merge PR #21322 into master

* refs/pull/21322/head:
osdc: cleanup code.
osdc: Remove useless condition.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge PR #21341 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:41 +0000 (20:26 -0700)]
Merge PR #21341 into master

* refs/pull/21341/head:
client: Fix the gid_count check

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21370 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:36 +0000 (20:26 -0700)]
Merge PR #21370 into master

* refs/pull/21370/head:
client: Take reference for operator= function parameter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #21391 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:31 +0000 (20:26 -0700)]
Merge PR #21391 into master

* refs/pull/21391/head:
qa: fix log typo

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #21396 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:26 +0000 (20:26 -0700)]
Merge PR #21396 into master

* refs/pull/21396/head:
ceph-fuse: exit with failure on failed mount
common: ignore errors during preforker exit
client: do not overload system errnos

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #20398 from wjwithagen/wip-posix_fallocate
Kefu Chai [Sun, 15 Apr 2018 15:02:35 +0000 (23:02 +0800)]
Merge pull request #20398 from wjwithagen/wip-posix_fallocate

common: posix_fallocate on ZFS returns EINVAL

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20752 from jcsp/wip-dashboard-build-tweak
Kefu Chai [Sun, 15 Apr 2018 15:01:35 +0000 (23:01 +0800)]
Merge pull request #20752 from jcsp/wip-dashboard-build-tweak

mgr/dashboard: build tweaks

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21108 from xiexingguo/wip-kill-subset-of
Kefu Chai [Sun, 15 Apr 2018 15:00:21 +0000 (23:00 +0800)]
Merge pull request #21108 from xiexingguo/wip-kill-subset-of

interval_set: kill subset_of()

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21369 from majianpeng/test-objectstore_bench-usage
Kefu Chai [Sun, 15 Apr 2018 14:59:09 +0000 (22:59 +0800)]
Merge pull request #21369 from majianpeng/test-objectstore_bench-usage

test/objectstore_bench: Don't forget judging whether call usage.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20100 from mogeb/iostat-plugin
Kefu Chai [Sun, 15 Apr 2018 14:58:16 +0000 (22:58 +0800)]
Merge pull request #20100 from mogeb/iostat-plugin

mgr/iostat: implement 'ceph iostat' as a mgr plugin

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21373 from ovh/bp-hb-divbyzero
Kefu Chai [Sun, 15 Apr 2018 14:56:53 +0000 (22:56 +0800)]
Merge pull request #21373 from ovh/bp-hb-divbyzero

osd: fix crash caused by divide by zero in heartbeat code

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21395 from liewegas/wip-log-channels
Kefu Chai [Sun, 15 Apr 2018 14:55:46 +0000 (22:55 +0800)]
Merge pull request #21395 from liewegas/wip-log-channels

mon/LogMonitor: separate out summary by channel

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19935 from myoungwon/wip-manifest-ref-count
Kefu Chai [Sun, 15 Apr 2018 14:52:22 +0000 (22:52 +0800)]
Merge pull request #19935 from myoungwon/wip-manifest-ref-count

osd: refcount for manifest object (redirect, chunked)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19117 from jan--f/jan-object-counts-decimal
Kefu Chai [Sun, 15 Apr 2018 14:49:50 +0000 (22:49 +0800)]
Merge pull request #19117 from jan--f/jan-object-counts-decimal

include/types: format decimal numbers with decimal factor

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21427 from liewegas/wip-balancer-roots
Kefu Chai [Sun, 15 Apr 2018 14:48:49 +0000 (22:48 +0800)]
Merge pull request #21427 from liewegas/wip-balancer-roots

mgr/balancer: improve error message

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #21401 from liewegas/wip-mgr-help
Kefu Chai [Sun, 15 Apr 2018 14:47:13 +0000 (22:47 +0800)]
Merge pull request #21401 from liewegas/wip-mgr-help

ceph-mgr: exit after usage

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #21430 from tchaikov/wip-osdmap-prune
Kefu Chai [Sun, 15 Apr 2018 14:45:56 +0000 (22:45 +0800)]
Merge pull request #21430 from tchaikov/wip-osdmap-prune

mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa: disable -Werror when compiling env_librados_test 21433/head
Kefu Chai [Sun, 15 Apr 2018 14:38:08 +0000 (22:38 +0800)]
qa: disable -Werror when compiling env_librados_test

to silence warnings like

utilities/env_librados.cc:175:33: warning: unused parameter ‘offset’ [-Wunused-parameter]
   Status InvalidateCache(size_t offset, size_t length) {
                                 ^~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon/OSDMonitor: txsize should be greater or eq to prune_interval - 1 21430/head
Kefu Chai [Sat, 14 Apr 2018 00:58:53 +0000 (08:58 +0800)]
mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1

so we can prune 1 or more intervals in a single iteration. and in each
interval, we prune (prune_interval - 1) versions of osdmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/OSD: drop unused header 21431/head
songweibin [Sat, 14 Apr 2018 03:15:58 +0000 (11:15 +0800)]
osd/OSD: drop unused header

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECBackend: kill redundant assert
songweibin [Sat, 14 Apr 2018 03:12:50 +0000 (11:12 +0800)]
osd/ECBackend: kill redundant assert

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECBackend: s/union_of/union_insert/
songweibin [Sat, 14 Apr 2018 03:11:50 +0000 (11:11 +0800)]
osd/ECBackend: s/union_of/union_insert/

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECTransaction: drop duplicated **#include <vector>**
songweibin [Sat, 14 Apr 2018 03:10:33 +0000 (11:10 +0800)]
osd/ECTransaction: drop duplicated **#include <vector>**

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECTransaction: kill redudant asserts
songweibin [Sat, 14 Apr 2018 03:09:37 +0000 (11:09 +0800)]
osd/ECTransaction: kill redudant asserts

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECBackend: kill extra member **want**
songweibin [Sat, 14 Apr 2018 03:09:10 +0000 (11:09 +0800)]
osd/ECBackend: kill extra member **want**

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #21404 from tchaikov/wip-cmake-boost
Kefu Chai [Sat, 14 Apr 2018 01:23:22 +0000 (09:23 +0800)]
Merge pull request #21404 from tchaikov/wip-cmake-boost

cmake: changes of BuildBoost.cmake to ready seastar

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21410 from badone/wip-test_large_omap_detection-scrub-pgs-instead...
Josh Durgin [Sat, 14 Apr 2018 00:54:21 +0000 (17:54 -0700)]
Merge pull request #21410 from badone/wip-test_large_omap_detection-scrub-pgs-instead-of-osds

qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoKStore: statfs needs extra includes on FreeBSD 21429/head
Willem Jan Withagen [Fri, 13 Apr 2018 23:27:38 +0000 (01:27 +0200)]
KStore: statfs needs extra includes on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agomgr/balancer: identify roots that osds overlap in 21427/head
Sage Weil [Fri, 13 Apr 2018 22:52:24 +0000 (17:52 -0500)]
mgr/balancer: identify roots that osds overlap in

This error message isn't very informative; tell the user which osds
appear in mulitple roots, and which roots those are!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20853 from theanalyst/rgw/recalc-stats
Abhishek L [Fri, 13 Apr 2018 22:28:51 +0000 (00:28 +0200)]
Merge pull request #20853 from theanalyst/rgw/recalc-stats

rgw: add an option to recalculate user stats

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agotest_rgw_admin_log.cc: lenght() returns unsigned 21419/head
Danny Al-Gaaf [Fri, 13 Apr 2018 14:21:25 +0000 (16:21 +0200)]
test_rgw_admin_log.cc: lenght() returns unsigned

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agosrc/rgw: fix some format qualifiers
Danny Al-Gaaf [Fri, 13 Apr 2018 14:14:33 +0000 (16:14 +0200)]
src/rgw: fix some format qualifiers

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agomon/OSDMonitor.cc: fix format qualifiers
Danny Al-Gaaf [Fri, 13 Apr 2018 14:00:16 +0000 (16:00 +0200)]
mon/OSDMonitor.cc: fix format qualifiers

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agocommon/TrackedOp.cc: fix format qualifiers for uint
Danny Al-Gaaf [Fri, 13 Apr 2018 13:50:42 +0000 (15:50 +0200)]
common/TrackedOp.cc: fix format qualifiers for uint

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agocommon/str_map.cc: do boundry checks before access
Danny Al-Gaaf [Fri, 13 Apr 2018 13:50:07 +0000 (15:50 +0200)]
common/str_map.cc: do boundry checks before access

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoCephBroker.cc: fix format qualifier for unsigned int
Danny Al-Gaaf [Fri, 13 Apr 2018 13:49:09 +0000 (15:49 +0200)]
CephBroker.cc: fix format qualifier for unsigned int

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agokrbd.cc: fix parameter to variadic function
Danny Al-Gaaf [Fri, 13 Apr 2018 13:47:58 +0000 (15:47 +0200)]
krbd.cc: fix parameter to variadic function

Fix for:

[src/krbd.cc:549]: (portability) Passing NULL after the last typed
 argument to a variadic function leads to undefined behaviour.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agolz4/LZ4Compressor.h: remove always true check
Danny Al-Gaaf [Thu, 12 Apr 2018 21:50:23 +0000 (23:50 +0200)]
lz4/LZ4Compressor.h: remove always true check

Fix for:

[src/compressor/lz4/LZ4Compressor.h:105]: (style) Condition
 'r!=(int)compressed_pairs[i].first' is always true

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoosd/OSD.h: fix format qualifier to use PRIu32
Danny Al-Gaaf [Thu, 12 Apr 2018 18:48:34 +0000 (20:48 +0200)]
osd/OSD.h: fix format qualifier to use PRIu32

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agotest/fio/fio_ceph_objectstore.cc: fix uninitialized variables
Danny Al-Gaaf [Thu, 12 Apr 2018 18:32:06 +0000 (20:32 +0200)]
test/fio/fio_ceph_objectstore.cc: fix uninitialized variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agorgw/rgw_website.h: fix uninitialized variable
Danny Al-Gaaf [Thu, 12 Apr 2018 18:31:29 +0000 (20:31 +0200)]
rgw/rgw_website.h: fix uninitialized variable

Co-authored-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agomsg/async/EventKqueue.cc: fix memory leak due to realloc error
Danny Al-Gaaf [Thu, 12 Apr 2018 18:31:04 +0000 (20:31 +0200)]
msg/async/EventKqueue.cc: fix memory leak due to realloc error

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoMerge pull request #21421 from liewegas/wip-doc-balancer
Sage Weil [Fri, 13 Apr 2018 21:16:28 +0000 (16:16 -0500)]
Merge pull request #21421 from liewegas/wip-doc-balancer

doc/mgr/balancer: document

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
7 years agoMerge pull request #21425 from cbodley/wip-rgw-fix-set_threaded
Matt Benjamin [Fri, 13 Apr 2018 20:37:03 +0000 (16:37 -0400)]
Merge pull request #21425 from cbodley/wip-rgw-fix-set_threaded

rgw: fix sync status conflict with cloud sync

7 years agorgw: fix conflict with cloud sync 21425/head
Casey Bodley [Fri, 13 Apr 2018 20:29:21 +0000 (16:29 -0400)]
rgw: fix conflict with cloud sync

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20027 from Leeshine/wip-rgw-sync-bucket-shards
Casey Bodley [Fri, 13 Apr 2018 20:30:20 +0000 (16:30 -0400)]
Merge pull request #20027 from Leeshine/wip-rgw-sync-bucket-shards

rgw: improve sync status: display behind bucket shards

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21123 from theanalyst/wip-civetweb-1.1
Matt Benjamin [Fri, 13 Apr 2018 18:50:46 +0000 (14:50 -0400)]
Merge pull request #21123 from theanalyst/wip-civetweb-1.1

rgw: civetweb fixes for v1.1 upgrade

7 years agodoc/mgr/balancer: document 21421/head
Sage Weil [Fri, 13 Apr 2018 17:40:17 +0000 (12:40 -0500)]
doc/mgr/balancer: document

Not sure how we missed this for luminous!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocls/refcount: add chunk_refcount_client() 19935/head
myoungwon oh [Mon, 19 Mar 2018 07:20:18 +0000 (16:20 +0900)]
cls/refcount: add chunk_refcount_client()

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agosrc/test: add a unit test for manifest refcount
myoungwon oh [Wed, 7 Mar 2018 14:12:56 +0000 (23:12 +0900)]
src/test: add a unit test for manifest refcount

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoosd: decrease refcount when object is deleted (has manifest) if the object is referenced
myoungwon oh [Fri, 12 Jan 2018 11:19:57 +0000 (20:19 +0900)]
osd: decrease refcount when object is deleted (has manifest) if the object is referenced

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoosd: increase refcount if redirect or chunked object is enabled
myoungwon oh [Fri, 12 Jan 2018 08:39:16 +0000 (17:39 +0900)]
osd: increase refcount if redirect or chunked object is enabled

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoosd: add refcount_manifest() for the object that has manifest
myoungwon oh [Fri, 12 Jan 2018 08:24:51 +0000 (17:24 +0900)]
osd: add refcount_manifest() for the object that has manifest

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoosd/osd_types.h: add HAS_REFERENCE flag
myoungwon oh [Tue, 27 Feb 2018 15:18:59 +0000 (00:18 +0900)]
osd/osd_types.h: add HAS_REFERENCE flag

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agolibrados: add with_reference flag when redirect or chunk is enabled
myoungwon oh [Tue, 27 Feb 2018 14:33:22 +0000 (23:33 +0900)]
librados: add with_reference flag when redirect or chunk is enabled

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agocls/refcount: add chunk_refcount
myoungwon oh [Mon, 19 Feb 2018 07:59:55 +0000 (16:59 +0900)]
cls/refcount: add chunk_refcount

refcount() for chunked object is added (based on source id,
pool id and offset)

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agorgw: update civetweb submodule sha1 to track ceph-master 21123/head
Abhishek Lekshmanan [Fri, 13 Apr 2018 17:03:11 +0000 (19:03 +0200)]
rgw: update civetweb submodule sha1 to track ceph-master

Updating the sha1 to track ceph-master which currently updates civetweb to 1.1

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agocmake: set OPENSSL_API_1_1 in civetweb conditionally
Abhishek Lekshmanan [Fri, 13 Apr 2018 15:25:54 +0000 (17:25 +0200)]
cmake: set OPENSSL_API_1_1 in civetweb conditionally

While not ideal, we set the civetweb openssl 1.1 conditional compile based on
the openssl version that cmake reports. In future we should make civetweb itself
do this based on OPENSSL_VERSION_COMPAT

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoqa: drop rfc2616 checking on civetweb
Abhishek Lekshmanan [Thu, 5 Apr 2018 17:06:16 +0000 (19:06 +0200)]
qa: drop rfc2616 checking on civetweb

Since newer versions of civetweb are also strict on rfc2616 checks let's enforce
strict rfc2616 checks in s3tests

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agorgw: update civetweb to 1.1
Abhishek Lekshmanan [Tue, 27 Mar 2018 14:19:47 +0000 (16:19 +0200)]
rgw: update civetweb to 1.1

Introduces the following additions in rgw:
- allow_unicode_in_urls introduced with a corresponding downstream commit in
civetweb, as the newer version of civetweb validates that urls are url encoded
which swifttests do not follow, so introduce this as a configurable which we set
as true
- mg header struct changes in civetweb update, use auto here
- drop info->uri and use local_uri instead as the former is deprecated

wip: rgw: civetweb fixes for v1.1 upgrade

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agocommon/options: change mon_data_size_warn type to TYPE_SIZE 19117/head
Jan Fajerski [Mon, 9 Apr 2018 10:21:34 +0000 (12:21 +0200)]
common/options: change mon_data_size_warn type to TYPE_SIZE

As the option represents a byte count, TYPE_SIZE is appropriate and the
correct IEC unit prefixes will be parsed.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
7 years agoqa/workunits/cephtool/test.sh: fix SI unit test, add IEC unit test
Jan Fajerski [Mon, 9 Apr 2018 10:00:31 +0000 (12:00 +0200)]
qa/workunits/cephtool/test.sh: fix SI unit test, add IEC unit test

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: use JSON schema validator 21360/head
Ricardo Dias [Fri, 13 Apr 2018 11:23:37 +0000 (12:23 +0100)]
qa/tasks/mgr/dashboard: rbd: use JSON schema validator

Signed-off-by: Ricardo Dias <rdias@suse.com>