zhanglei
0bcb3d2f34
test/:Check make_writeable return value
...
Signed-off-by: zhanglei <243290414@qq.com>
2017-05-24 05:22:02 -04:00
Kefu Chai
e3319da51d
Merge pull request #15181 from tchaikov/wip-cxx1z-size
...
common: add ceph::size()
Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
2017-05-20 09:53:45 +08:00
Sage Weil
de6c0bd618
Merge pull request #14946 from dmick/wip-mgr-dashboard
...
mgr: dashboard GUI module
2017-05-19 16:59:59 -05:00
Casey Bodley
e01fd6846c
Merge pull request #14994 from theanalyst/f/tier-fix
...
rgw_rados: create sync module instances only if run_sync_thread is set
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-19 17:58:46 -04:00
Dan Mick
10b1fa211c
test: add mgr/ and smoke test for mgr dashboard
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-19 14:47:48 -07:00
Abhishek Lekshmanan
e46fc5022c
rgw_rados: create sync module instances only if run_sync_thread is set
...
This allows for radosgw-admin to run even if there was a
misconfiguration in setting tier types which would otherwise make it
difficult to revert an invalid tier type setting. Since sync modules are
necessary only for rgw and not for the admin itself, this allows for
invalid tier configurations to be corrected as rgw-admin wouldn't fail
Fixes: http://tracker.ceph.com/issues/19830
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-19 22:08:13 +02:00
Casey Bodley
e7e7e9403a
Merge pull request #15153 from zhangsw/optimize-torrent
...
rgw: optimize generating torrent file. Object data won't stay in memory now.
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-05-19 15:03:06 -04:00
Casey Bodley
e546f46918
Merge pull request #15001 from chardan/jfw-wip-halflife_atomic_t-kamakuras
...
rgw: migrate atomic_t to std::atomic<>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-19 15:02:14 -04:00
Casey Bodley
aa16248478
Merge pull request #14827 from liuyuhong66/rgw-swift-auth-improve
...
rgw/rgw_swift_auth.cc: using string::back() instead as the C++11 recommend
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 15:01:11 -04:00
Casey Bodley
97486e6eb1
Merge pull request #15025 from mikulely/jiaying-fix-lc-list
...
rgw: fix lc list failure when shards not be all created
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-19 14:58:25 -04:00
Casey Bodley
9bc4d0fcb0
Merge pull request #12300 from idealguo/rename-s3_code
...
rgw: rename s3_code to err_code for swift
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-19 14:57:26 -04:00
Casey Bodley
f0300415af
Merge pull request #15045 from shashalu/fix-slo
...
rgw: fix X-Object-Meta-Static-Large-Object in SLO download
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-19 14:56:53 -04:00
Sage Weil
81aeb528fa
Merge pull request #14800 from theanalyst/doc/release-notes/sse-c-correction
...
doc: release-notes clarify about rgw encryption
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-19 13:54:09 -05:00
Sage Weil
bb82a9c504
Merge pull request #14922 from ukernel/wip-kcephfs-whitelist
...
qa: update log whitelists for kcephfs suite
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-19 13:41:20 -05:00
Sage Weil
2c0fe978b9
Merge pull request #14941 from wjwithagen/wip-wjw-freebsd-doc-manual-install
...
doc: add FreeBSD manual install
2017-05-19 13:40:10 -05:00
Sage Weil
d6ddaf948b
Merge pull request #14988 from ShiqiCooperation/master
...
test/unittest_bluefs: check whether mounted success
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 13:33:49 -05:00
Casey Bodley
cff53b246f
Merge pull request #14688 from cbodley/wip-rgw-multi-suite
...
qa/rgw: add multisite suite to configure and run multisite tests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-19 14:30:57 -04:00
Sage Weil
590fd5362a
Merge pull request #15071 from cbodley/wip-qa-dnsmasq
...
qa: add task for dnsmasq configuration
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-05-19 13:25:12 -05:00
Sage Weil
39430e9618
Merge pull request #15090 from theanalyst/release/v12.0.3/notes
...
doc: release notes for v12.0.3 (dev)
2017-05-19 13:21:58 -05:00
Sage Weil
910405c19c
Merge pull request #15133 from cbodley/wip-doc-rgw-remove-fcgi
...
doc/rgw: remove fastcgi page and sample configs
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:13:24 -05:00
Sage Weil
790ceff325
Merge pull request #15144 from drunkard/master
...
doc: typo fixes on hyperlink/words
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:03:45 -05:00
Sage Weil
8e0c4ee103
Merge pull request #15161 from dzafman/wip-test-fix
...
test: Test fix for SnapSet change
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:00:20 -05:00
Kefu Chai
bc529f8745
common: add ceph::size()
...
backport from C++17
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-20 00:40:00 +08:00
Yuri Weinstein
4d1d9ca84d
Merge pull request #15147 from bassam/pr-speedup-ccache
...
cmake: improved build speed by 5x when using ccache
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 09:33:24 -07:00
Yuri Weinstein
e965dac013
Merge pull request #15158 from liewegas/wip-mgr-dump
...
mon/MgrMonitor: add 'mgr dump [epoch]' command
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 09:33:03 -07:00
Yuri Weinstein
5c203e86db
Merge pull request #15159 from LiumxNL/fix-ping-monitor
...
pybind/rados: avoid call free() on invalid pointer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-19 09:32:19 -07:00
Kefu Chai
d1bf2f60ca
Merge pull request #15164 from tchaikov/wip-check-gperf-before-using-it
...
cmake: check the existence of gperf before using it
Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
2017-05-19 23:57:08 +08:00
Kefu Chai
b2c2f759af
Merge pull request #15089 from zhsj/add-mirror
...
doc: add new cn ceph mirror to doc and mirroring
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 22:32:45 +08:00
Jos Collin
8348a13fbd
Merge pull request #15173 from joscollin/wip-test-crush-warning
...
test/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow=
2017-05-19 19:48:38 +05:30
Jos Collin
fccae0f196
Merge pull request #15171 from ztczll/master
...
test/objectstore: Check apply_transaction() return values
2017-05-19 19:40:31 +05:30
Sage Weil
069ca1a170
Merge pull request #15034 from liewegas/wip-bluestore-sync-write
...
os/bluestore/KernelDevice: fix sync write vs flush
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2017-05-19 08:21:48 -05:00
Sage Weil
9cae712d6f
os/bluestore/KernelDevice: fix flush() vs sync write()
...
We need to set the atomic flag so that a flush will actually flush.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 09:20:27 -04:00
Jos Collin
49fd336522
test/crush: silence warnings from -Walloc-size-larger-than= and -Wstringop-overflow=
...
The following warnings appear during make:
/home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc: In member function ‘virtual void CrushWrapper_choose_args_compat_Test::TestBody()’:
/home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc:1057:20: warning: argument 1 value ‘18446744073709550912’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
crush_choose_arg choose_args[c.get_max_buckets()];
^~~~~~~~~~~
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘virtual void CrushWrapper_choose_args_compat_Test::TestBody()’ at /home/jcollin/workspace/ceph/src/test/crush/CrushWrapper.cc:1058:9:
/usr/include/bits/string3.h:90:70: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709550912 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-05-19 16:45:08 +05:30
zhanglei
1cf018d11e
Check apply_transaction return values
...
Signed-off-by: zhanglei <243290414@qq.com>
2017-05-19 05:45:14 -04:00
Abhishek Lekshmanan
6a407bdfa5
doc: v12.0.3 release notes
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-19 10:58:50 +02:00
Abhishek Lekshmanan
f498aa5954
doc: PendingReleaseNotes move the 12.0.2 section of release notes
...
So that we can track whatever diff goes in after
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-05-19 10:58:50 +02:00
Dan Mick
bd6f2d9210
ceph.spec.in, debian/control: build/runtime dependency for cherrypy
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:08 -07:00
Dan Mick
dc15cd6075
mgr: change config_prefix to be 'mgr/<id>/' and separate handle/key by '/'
...
dm_crypt config-key usage has established '/' as the separator; keep
that as a convention for now
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:08 -07:00
Dan Mick
987211a639
mgr/PyModules: move constructor definition to .cc
...
Otherwise, the incomplete ServeThread type causes problems
for others who include PyModules.h
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:08 -07:00
Dan Mick
f69ce190c5
pybind/mgr/dashboard/module.py: allow custom server addr, port
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
f2d29d2cef
mgr/PyModules.cc,PyState.cc: improve config access debug logging
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
8abd69dfdc
client/SyntheticClient.cc: filer is now a std::unique_ptr
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
e146b857c5
ceph_syn.cc, client/SyntheticClient.cc: Client -> StandaloneClient
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
Dan Mick
f4bc4f64ad
ServeThread: add 'running' flag, don't notify non-running threads
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-18 22:09:07 -07:00
John Spray
c24936674e
pybind/mgr: web dashboard
...
A read only display of some of the cluster's state, plus
some cephfs/rbd/osd pages that demonstrate how to go
read state remotely from daemons.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-18 22:09:07 -07:00
John Spray
b83fe0e39b
vstart: enable gui plugin
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-18 22:09:07 -07:00
John Spray
80dc6a1ec3
osd: wire up "histogram dump" to tell
...
...so that mgr modules can get at it.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-18 22:09:07 -07:00
Kefu Chai
f6b388a3a3
Merge pull request #15148 from zealoussnow/wip-spec
...
build: move bash_completion.d/ceph to ceph-common
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 12:53:57 +08:00
Kefu Chai
6761a838a3
cmake: check the existence of gperf before using it
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-19 12:47:26 +08:00
Kefu Chai
08c0b2ae7a
Merge pull request #15160 from bassam/pr-system-boost
...
cmake: fix boost components for WITH_SYSTEM_BOOST
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 10:56:12 +08:00