]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph-volume lvm.activate detect vdo from tags for mounting filestore
Alfredo Deza [Mon, 16 Apr 2018 16:38:35 +0000 (12:38 -0400)]
ceph-volume lvm.activate detect vdo from tags for mounting filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.prepare allow extra ad-hoc mount flags
Alfredo Deza [Fri, 13 Apr 2018 19:52:55 +0000 (15:52 -0400)]
ceph-volume util.prepare allow extra ad-hoc mount flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare capture vdo-ness on LVM tags
Alfredo Deza [Fri, 13 Apr 2018 19:52:23 +0000 (15:52 -0400)]
ceph-volume lvm.prepare capture vdo-ness on LVM tags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests for is_vdo detection
Alfredo Deza [Fri, 13 Apr 2018 17:54:25 +0000 (13:54 -0400)]
ceph-volume tests for is_vdo detection

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume api.lvm helpers to detect vdo from a dm path
Alfredo Deza [Wed, 11 Apr 2018 12:53:17 +0000 (08:53 -0400)]
ceph-volume api.lvm helpers to detect vdo from a dm path

Signed-off-by: Alfredo Deza <adeza@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>
7 years agomgr/dashboard: rbd: changed REST API prefix to /block/image
Ricardo Dias [Fri, 13 Apr 2018 10:36:15 +0000 (11:36 +0100)]
mgr/dashboard: rbd: changed REST API prefix to /block/image

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: viewcache: debug log messages
Ricardo Dias [Fri, 13 Apr 2018 10:08:55 +0000 (11:08 +0100)]
mgr/dashboard: viewcache: debug log messages

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: fix disk-usage and free ioctx and image resources
Ricardo Dias [Fri, 13 Apr 2018 10:24:16 +0000 (11:24 +0100)]
mgr/dashboard: rbd: fix disk-usage and free ioctx and image resources

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: image copy test
Ricardo Dias [Thu, 12 Apr 2018 01:11:16 +0000 (02:11 +0100)]
qa/tasks/mgr/dashboard: rbd: image copy test

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: image copy implementation
Ricardo Dias [Thu, 12 Apr 2018 00:34:23 +0000 (01:34 +0100)]
mgr/dashboard: rbd: image copy implementation

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: snapshot clone test
Ricardo Dias [Wed, 11 Apr 2018 23:45:51 +0000 (00:45 +0100)]
qa/tasks/mgr/dashboard: rbd: snapshot clone test

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: snapshot clone implementation
Ricardo Dias [Wed, 11 Apr 2018 23:25:09 +0000 (00:25 +0100)]
mgr/dashboard: rbd: snapshot clone implementation

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: snapshot rollback test
Ricardo Dias [Wed, 11 Apr 2018 22:57:31 +0000 (23:57 +0100)]
qa/tasks/mgr/dashboard: rbd: snapshot rollback test

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: taskmanager: support exception handler
Ricardo Dias [Wed, 11 Apr 2018 22:00:05 +0000 (23:00 +0100)]
mgr/dashboard: taskmanager: support exception handler

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: snapshot rollback implementation
Ricardo Dias [Wed, 11 Apr 2018 23:02:28 +0000 (00:02 +0100)]
mgr/dashboard: rbd: snapshot rollback implementation

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: major refactoring for using the Task decorator
Ricardo Dias [Wed, 11 Apr 2018 15:17:14 +0000 (16:17 +0100)]
mgr/dashboard: rbd: major refactoring for using the Task decorator

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: restcontroller: support for detail methods
Ricardo Dias [Wed, 11 Apr 2018 11:43:22 +0000 (12:43 +0100)]
mgr/dashboard: restcontroller: support for detail methods

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: Task decorator for controller endpoints
Ricardo Dias [Wed, 11 Apr 2018 11:42:41 +0000 (12:42 +0100)]
mgr/dashboard: Task decorator for controller endpoints

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: snapshot edit tests
Ricardo Dias [Tue, 10 Apr 2018 09:42:37 +0000 (10:42 +0100)]
qa/tasks/mgr/dashboard: rbd: snapshot edit tests

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: snapshot edit implementation
Ricardo Dias [Tue, 10 Apr 2018 09:41:24 +0000 (10:41 +0100)]
mgr/dashboard: rbd: snapshot edit implementation

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: use dashboard pool API for creating pools
Ricardo Dias [Thu, 29 Mar 2018 15:01:08 +0000 (16:01 +0100)]
qa/tasks/mgr/dashboard: rbd: use dashboard pool API for creating pools

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoqa/tasks/mgr/dashboard: rbd: image edit tests
Ricardo Dias [Thu, 29 Mar 2018 15:00:43 +0000 (16:00 +0100)]
qa/tasks/mgr/dashboard: rbd: image edit tests

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: rbd: image edit implementation
Ricardo Dias [Thu, 29 Mar 2018 14:59:46 +0000 (15:59 +0100)]
mgr/dashboard: rbd: image edit implementation

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