Samuel Just
91e3fd6a04
Merge pull request #9108 from tchaikov/wip-13990
...
osd: reset session->osdmap if waiting_for_pg is empty
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-05-19 16:08:32 -07:00
Gregory Farnum
d514a48d8c
Merge pull request #8908 from jcsp/wip-15705
...
mds: fix mdsmap print_summary with standby replays
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-19 15:34:21 -07:00
Sage Weil
55bfefa204
tests: disable unittest_bit_alloc for now
...
See http://tracker.ceph.com/issues/15941
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-19 17:11:48 -04:00
Jason Dillaman
0051316eff
ObjectCacher: pass new journal tid when overwriting extent
...
librbd needs to ensure the new journal event has been safely
committed to disk before it can mark an overwritten journal
event as committed.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 16:04:51 -04:00
Jason Dillaman
714ed5e64e
qa/workunits/rbd: record rbd CLI debug messages during mirror stress
...
The debug messages from 'rbd bench-write' and 'rbd snap create',
in addition to the existing debug messages from rbd-mirror, make
it possible to determine the source of any image inconsistency.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 16:04:51 -04:00
Sage Weil
cba7fa2f9b
Merge pull request #9199 from jmunhoz/mc-brp-aws4
...
doc: rgw: minor cleanup and doc update
2016-05-19 16:01:10 -04:00
Casey Bodley
19cf73ed2b
Merge pull request #9133 from tchaikov/wip-cmake-selinux
...
cmake: add selinux support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-19 11:16:48 -04:00
Jason Dillaman
48c2f4e079
journal: reset watch step after pruning expired tag
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 10:21:44 -04:00
Jason Dillaman
afc891f7fc
rbd-mirror: additional debug messages during image replayer start/stop
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 10:21:44 -04:00
Jason Dillaman
9ae4edc056
rbd-mirror: ensure proper handling of status updates during shutdown
...
Previously, several shutdown race conditions could occur due to the
use of the async work queue for scheduling updates.
Fixes: http://tracker.ceph.com/issues/15909
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 10:21:43 -04:00
Jason Dillaman
e5dd97b4bf
rbd-mirror: track bootstrap state within image status
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 09:52:36 -04:00
Jason Dillaman
a8f6dde4db
rbd-mirror: combine ImageReplayer stopped and uninitialized states
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 09:52:36 -04:00
Jason Dillaman
5c04c13610
rbd-mirror: lock ordering issue in status update callback
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 09:52:36 -04:00
Casey Bodley
4a0787fbb6
Merge pull request #9192 from tchaikov/cmake-object-library
...
cmake: use object library instead recompiling popular .cc files
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-19 09:33:45 -04:00
Adir Lev
80fe83bd79
xio: fix compilation after changes in entity_addr_t
...
changes to entity_addr_t caused XIO to break
see changes in https://github.com/ceph/ceph/pull/8974/files
this commit is doing the needed changes so that xio can compile
issue: none
Signed-off-by: Adir Lev <adirl@mellanox.com>
2016-05-19 16:30:31 +03:00
xie xingguo
533942db8d
os/filestore: fix indention, hardcord line to 80 chars
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 21:19:08 +08:00
xie xingguo
a58c288b8d
os/filestore: fix omap fsid fd leak during mount()
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 21:19:08 +08:00
xie xingguo
b0b8c2a8dc
os/filestore: fix improperly goto during mount()
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 21:19:08 +08:00
xie xingguo
3672dc82b4
os/filestore: fix improperly set return code
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 21:19:08 +08:00
Jason Dillaman
ea35f14825
rbd-mirror: disable librbd caching for replicated images
...
Each image has its own cache and each cache uses its own thread. With
a large replicated cluster, this could result in thousands of extra
threads and gigabytes of extra memory.
Fixes: http://tracker.ceph.com/issues/15930
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 09:14:01 -04:00
xie xingguo
cd378c2671
os/filestore: fix omap_fsid_fd leak during mkfs()
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 21:11:20 +08:00
Douglas Fuller
a100f02dba
rbd: add rbd object-map check
...
Add a CLI option to verify the object map for an unmapped image
for debugging purposes. Syntax:
rbd object-map check <image-name>
This operation is not supported on currently mapped images.
Any inconsistencies that could affect the correctness of future
operations are noted and the object map (and fast diff state, if
enabled) is invalidated. Inconsistencies that do not affect
correctness will be emitted at debug level 1 or higher.
Consolidate code path with object-map rebuild and remove newly
unused code.
Fixes: http://tracker.ceph.com/issues/14867
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2016-05-19 06:09:37 -07:00
Casey Bodley
6d5d378112
radosgw-admin: fix 'period push' handling of --url
...
was calling send_to_remote_gateway(), but passing 'url' instead of
'remote'. now uses send_to_remote_or_url() to accept either
Fixes: http://tracker.ceph.com/issues/15926
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-05-19 15:34:26 +03:00
Yatin Kumbhare
a73e972ff1
doc: fix broken link for bootstrapping monitors
...
Signed-off-by: Yatin Kumbhare yatinkumbhare@gmail.com
2016-05-19 15:34:26 +03:00
Yann Dupont
6312b175a1
mailmap: Luo Runbing affiliation (was "runsisi", name normalization between Huazhong University of Science and Technology part & ZTE .)
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:25 +03:00
Yann Dupont
3c63c3eeaa
mailmap: Jenkis affiliation (name normalization)
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:25 +03:00
Yann Dupont
a829ab4548
mailmap: Fangchen Sun affiliation (and name normalisation, was "sunspot")
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:24 +03:00
Yann Dupont
88be4d4578
mailmap: Jacek J. Łakis affiliation (name normalisation)
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:23 +03:00
Yann Dupont
5894f2bf99
mailmap: Sangdi Xu affiliation (name normalisation)
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:23 +03:00
Yann Dupont
de62ef6dcf
mailmap: Roland Mechler affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:22 +03:00
Yann Dupont
c353797baa
mailmap: Etienne Menguy affiliation
...
Signed-off-by: Yann Dupont <yann@objoo.org>
2016-05-19 15:34:21 +03:00
Kefu Chai
629f33866e
man: osdmaptool: document test-map-pgs* options
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-19 15:34:21 +03:00
xie xingguo
eb672fbdbd
os/filestore: fix fsid fd leak during mkfs()
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 20:07:10 +08:00
weiqiaomiao
c1973886c8
rgw: we should probably return InvalidArgument when XML_parser fails of the RGWPutACLs op
...
when input xml documention is invalid, bucket put acls fails, but RGW return -EACCESS, which appears as AceessDenied to the client,
we should probably return _EINVAL(InvalidArgument) instead
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
2016-05-19 18:18:07 +08:00
Orit Wasserman
ff48f9213c
Merge pull request #9146 from cbodley/wip-rgw-period-push
...
radosgw-admin: fix 'period push' handling of --url
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-19 11:54:40 +02:00
Javier M. Mellid
4003c2fe57
rgw: doc: bucket request payment update
...
S3 doc update.
The bucket request payment feature is available in Jewel
commits:
899d7754fe
461bd7fa08
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-05-19 11:22:40 +02:00
Mykola Golub
bfad0ca33b
test: initial python APIs to support mirroring
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-19 12:11:19 +03:00
Mykola Golub
ef0ea8ee3c
rbd: initial python APIs to support mirroring
...
Fixes: http://tracker.ceph.com/issues/15656
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-19 12:11:19 +03:00
Javier M. Mellid
669896352b
rgw: aws4: fix log message
...
With the UNSIGNED-PAYLOAD bugfix in place this log message requires an update.
Requests asking for unsigned payloads don't need any completion handler so
notifying about body detection in this point is not accurate.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-05-19 10:25:06 +02:00
Sage Weil
2c32c413ff
Merge pull request #8553 from yatinkumbhare/doc-fix
...
doc: fix broken link for bootstrapping monitors
2016-05-19 04:21:36 -04:00
Kefu Chai
4b983a9f70
cmake: add cython_rados to vstart target
...
"ceph" cli imports rados python module
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-19 16:13:06 +08:00
Loic Dachary
2b121f452b
Merge pull request #9182 from objoo/YD-mailmap-updates-MAY
...
Leftover of previous mailmap not merged.
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-19 09:09:49 +02:00
Kefu Chai
2ae1eae849
Merge pull request #9143 from tchaikov/wip-osdmaptool-man
...
man: osdmaptool: document test-map-pgs* options
Reviewed-by: Vikhyat Umrao <vumrao@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-19 13:08:22 +08:00
Kefu Chai
4b8bf7703c
cmake: make common/TextTable.cc an object library
...
so we don't recompile it whenever it is used.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-19 13:02:09 +08:00
Kefu Chai
a590094f05
cmake: reuse secret.c's object library
...
so we don't need to recompile it when using it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-19 13:00:25 +08:00
Tamilarasi Muthamizhan
e1680af240
Merge pull request #9153 from ceph/openstack_wusui
...
OpenStack setup scripts.
2016-05-18 18:03:32 -07:00
Jason Dillaman
b64cb31f8e
librbd: metadata retrieval added to open image state machine
...
Fixes: http://tracker.ceph.com/issues/15928
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 20:38:13 -04:00
Jason Dillaman
985cb38211
cls_rbd: async version of metadata_list helper method
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-18 20:38:12 -04:00
Yehuda Sadeh
c9b39edb96
Merge pull request #8669 from dreamhost/wip-15532
...
rgw/s3website: ErrorDoc & Double-fault support
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-18 16:36:10 -07:00
Sage Weil
8eec3d7afc
Merge pull request #9150 from stiopaa1/compatset_removeIncludeVector_mc
...
common: CompatSet.h: remove unneeded #include<vector>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-18 17:07:18 -04:00