Commit Graph

53872 Commits

Author SHA1 Message Date
Boris Ranto
b3d20a2e5d Merge pull request #9335 from ceph/wip-16032-radosgw-flask
packaging: drop python-flask dependency from radosgw



Reviewed-by: Nathan Cutler <ncutler@suse.com>


Reviewed-by: Nathan Cutler <ncutler@suse.com>


Reviewed-by: Nathan Cutler <ncutler@suse.com>


Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2016-05-27 10:53:27 +02:00
Mykola Golub
16bce4003e Merge pull request #9309 from dillaman/wip-15949
journal: support asynchronous shutdown

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-27 10:28:32 +03:00
Jason Dillaman
c5a8b780ed rbd-mirror: replayer should only handle a single pool
The pool watcher now only needs to scan a single pool for
its associated replayer since a peer is inherently tied to
a single pool.

Fixes: http://tracker.ceph.com/issues/16045
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-27 00:40:13 -04:00
Jason Dillaman
020f0282a0 rbd-mirror: group peers by local pools
The peer structure is automatically unique per pool due to its
UUID, so grouping local pools by a single peer doesn't work.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-26 23:50:04 -04:00
Jason Dillaman
6a2adca2a4 rbd-mirror: stop stale replayers before starting new replayers
If the connection details are tweaked for a remote peer, stop
the existing replayer before potentially starting a new replayer
against the same remote.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-26 23:50:04 -04:00
Jason Dillaman
d52843190d rbd-mirror: normalize debug log message prefix
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-26 23:50:03 -04:00
Kefu Chai
943d71ce92 Merge pull request #9156 from ceph/wip-cmake
cmake: Added #defines to config-h.in.cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-27 11:37:52 +08:00
Ali Maredia
3a7111c310 cmake: remove verbose output from
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-26 17:26:50 -04:00
Ali Maredia
0ef09f32d4 cmake: Added #defines to config-h.in.cmake
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-26 17:26:48 -04:00
Yuri Weinstein
c6deb14209 Merge pull request #8941 from xiexingguo/xxg-wip-reweight-filter
mon/OSDMonitor: more fixes for reweight_by_* command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 12:24:11 -07:00
Yuri Weinstein
b0b92f2d01 Merge pull request #9120 from runsisi/wip-rpg-minor-cleanup
osd/ReplicatedPG: remove unused local variable update

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 12:22:08 -07:00
Yuri Weinstein
199718ecd9 Merge pull request #9126 from xiexingguo/xxg-wip-fix-precisionlost
osd: fix sched_time not actually randomized

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 12:19:41 -07:00
Matt Benjamin
5c93b6f218 Merge pull request #9324 from rzarzynski/wip-16015
rgw: properly handle initial slashes in SLO's segment path.
2016-05-26 14:52:31 -04:00
Sage Weil
78ffc138a7 Merge pull request #9353 from stiopaa1/common_weightedPriorityQueue
common/WeightedPriorityQueue: add override to func

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:31:30 -04:00
Sage Weil
42320d1029 Merge pull request #7733 from xinxinsh/wip-14701
osdmaptool: allow add --pg-num to osdmaptool --test-map-pgs to override the map's pg_num value

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:25:13 -04:00
Sage Weil
116d0ea862 Merge pull request #9065 from xiexingguo/xxg-wip-texttable
mon/PGMonitor: use TextTable for pg relevant dump commands.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:24:43 -04:00
Sage Weil
08874ee4d1 Merge pull request #9097 from jcsp/wip-15866
mon: fix 'mon metadata' for lone monitors, and enable listing all metadata at once

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 14:23:46 -04:00
Sage Weil
657cad4c4d Merge pull request #9198 from xiexingguo/xxg-wip-filestore-trackedkey
os/filestore: add xattr option family to tracked keys

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:23:21 -04:00
Sage Weil
51b30b055d Merge pull request #9204 from xiexingguo/xxg-wip-fix-omapfsid
os/filestore: fix omap fsid related fd leak

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:23:09 -04:00
Sage Weil
8eb0cc4725 Merge pull request #9223 from vumrao/wip-vumrao-15762
osd: add peer_addr in heartbeat_check log message

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 14:22:24 -04:00
Jason Dillaman
839544ee64 qa/workunits/rbd: create secondary replicated pool
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-26 13:37:37 -04:00
Ali Maredia
346f4ff04f Merge pull request #9302 from ceph/wip_update_cmake_readme
Improves the README for cmake instructions and slightly improved markdown syntax.

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-05-26 10:47:12 -05:00
Radoslaw Zarzynski
9fc44c3037 rgw, cleanup: drop unused variable token_tag in rgw_swift_auth.cc.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-05-26 17:21:55 +02:00
Radoslaw Zarzynski
d384b2b8e0 rgw: properly handle initial slashes in SLO's segment path.
Fixes: http://tracker.ceph.com/issues/16015
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-05-26 16:01:03 +02:00
Hector Martin
77f7c1cf82 librbd: only mark async completion as done after callback
This change in behavior was introduced in fde9f78.

Signed-off-by: Hector Martin <marcan@marcan.st>
2016-05-26 21:51:17 +09:00
Jason Dillaman
a1b0a1b1b9 rbd-mirror: image replay now uses asynchronous journal shutdown
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-26 08:43:18 -04:00
Jason Dillaman
ad297850b1 librbd: integrate with async journaler shutdown API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-26 08:43:13 -04:00
huanwen ren
d494bb49c8 mds: drop reference if message in laggy queue is unrecognized
drop reference if message in laggy queue is unrecognized

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-05-26 19:40:56 +08:00
huanwen ren
38af173330 mds: make a quick exit if suicide
make a quick exit if suicide

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-05-26 19:38:20 +08:00
huanwen ren
d5ad9076b0 mds: set stopping to true during suicide()
We are using stopping flag everywhere to indicate that a shutdown
procedure of the mds-daemon is already in progress, but we never
set stopping to true correctly.

The suicide() method is the proper place to set the stopping flag
as it is the only exit for mds-daemon.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-05-26 19:36:38 +08:00
Orit Wasserman
545dde68e1 Merge pull request #9342 from vumrao/wip-vumrao-16023
rgw : cleanup radosgw-admin temp command
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 13:30:33 +02:00
Orit Wasserman
6ae10f02d2 Merge pull request #9244 from dreamhost/wip-15974
rgw: fix manager selection when APIs customized
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:56:28 +02:00
Orit Wasserman
a34704a7fa Merge pull request #9263 from rzarzynski/wip-rgw-15976
rgw: fix CORS/ACLs metadata processing in Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:55:41 +02:00
Orit Wasserman
562e1facf2 Merge pull request #9246 from rzarzynski/wip-15977
rgw: fix update of already existing account/bucket's custom attributes.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:54:58 +02:00
Orit Wasserman
22bb84684e rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs opReviewed-by: Orit Wasserman <owasserm@redhat.com>
rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs op
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:53:05 +02:00
Orit Wasserman
f02b0d4fd9 Merge pull request #7273 from linuxbox2/rgw-email
Rgw email (#1398)
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:52:23 +02:00
Vikhyat Umrao
949f917af8 rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b0

Fixes: http://tracker.ceph.com/issues/16023

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-26 15:43:41 +05:30
John Spray
122b4ae799 Merge pull request #9338 from songbaisen/a1
cephfs: should give a value before use cpp_strerror

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:56:10 +01:00
John Spray
4e76c8fe44 Merge pull request #9323 from ukernel/wip-mdsmap-subs
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:47:42 +01:00
John Spray
5b3281f269 Merge pull request #9033 from renhwztetecs/renhw-wip-cephfs_addlink_python
cephfs: add link function in python

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:46:17 +01:00
John Spray
db6f1a7b81 mds: fix race between StrayManager::{eval_stray,reintegrate_stray}Reviewed-by: John Spray <
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:39:38 +01:00
songbaisen
501e825416 cephfs: should give a value before use cpp_strerror
Signed-off-by:song baisen <song.baisen@zte.com.cn>
2016-05-26 15:58:19 +08:00
Ken Dreyer
4353eb2721 packaging: drop python-flask dependency from radosgw
The PowerDNS integration code itself is not packaged at this point, so
remove the python-flask dependency from the radosgw package.

Maybe the PowerDNS integration bits could live in a separate
sub-package, eventually.

Fixes: http://tracker.ceph.com/issues/16032
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-25 23:28:09 -06:00
Michal Jarzabek
30ea2ae6d7 common/WeightedPriorityQueue: add override to func
Add override to virtual functions.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-25 22:12:49 +01:00
Yuri Weinstein
3f4cf16a73 Merge pull request #9258 from trociny/wip-15982
pybind: RBD API should default to None for features

Reviewed-by: Jason Dillaman <dillaman@redhat.com >
2016-05-25 12:59:53 -07:00
J. Eric Ivancich
e2c42e7b29 Renamed file to better indicate it contains markdown syntax.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2016-05-25 15:44:47 -04:00
Casey Bodley
a0709e4472 Merge pull request #9300 from tchaikov/wip-cmake-java
cmake: add libcephfs-java support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-25 15:23:41 -04:00
Mykola Golub
e9ed8ac33b test: workaround failure in journal.sh
With the changes to ensure that the commit position of a new
client is initialized to the minimum position of other clients,
the 'journal inspect/export' commands return zero records because
the master client has committed all of its entries.

Workaround this by restoring the initial commit position after
writing to the image.

Fixes: http://tracker.ceph.com/issues/16011
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-25 22:05:11 +03:00
Mykola Golub
16846e8085 cls::journal: treat empty commit position as minimal
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-25 22:05:11 +03:00
Jason Dillaman
f40c595255 journal: extend asynchronous shutdown to facade
Fixes: http://tracker.ceph.com/issues/14530
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-25 08:19:17 -04:00