Commit Graph

75290 Commits

Author SHA1 Message Date
Yuri Weinstein
267b115c1f Merge pull request #15953 from rzarzynski/wip-rgw-20418
rgw: reject request if decoded URI contains \0 in the middle.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-14 08:51:42 -07:00
Sage Weil
6a0c3b45b9 Merge pull request #16340 from dillaman/wip-20630
qa/tasks: rbd-mirror daemon not properly run in foreground mode

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-14 10:19:25 -05:00
Casey Bodley
a5e7e00756 Merge pull request #16331 from zhangsw/cleanup-zonegroup-list
rgw: remove the useless output when listing zonegroups.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-14 11:12:57 -04:00
Jason Dillaman
4fa1918717 qa/tasks: rbd-mirror daemon not properly run in foreground mode
Fixes: http://tracker.ceph.com/issues/20630
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-14 10:32:28 -04:00
Sage Weil
1ac23e7893 Merge pull request #16043 from jcsp/wip-dashboard-updates
mgr: dashboard improvements

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-14 09:16:33 -05:00
John Spray
2cd8c5c64c mgr/dashboard: update health display
This takes account of the new health format, also
expands and visually cleans up the frontpage
where we put the health information.

Dark backgrounds make it much easier to use
red/amber/green colours to grab attention.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-14 10:05:54 -04:00
John Spray
62935db879 mgr: expose a MgrMap in PyModules
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-14 10:05:54 -04:00
Sage Weil
7e142534bc Merge pull request #16020 from jcsp/wip-20383
mgr: clean up daemon start process

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-14 09:04:16 -05:00
Jos Collin
48ce73722e Merge pull request #16338 from scienceluo/wip-doc-branch
doc/release-notes: Luminous release notes typo fixes

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-14 13:58:15 +00:00
Luo Kexue
0fe816fcdd doc/release-notes: Luminous release notes typo fixes "systemctl ceph-osd.target"->"systemctl restart ceph-osd.target" and "systemctl ceph-mgr.target"->"systemctl restart ceph-mgr.target"
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-07-14 20:26:05 +08:00
Nathan Cutler
9cce67765a Merge pull request #16318 from smithfarm/wip-jewel-10-2-9
doc: Jewel v10.2.9 release notes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-14 12:07:18 +02:00
Kefu Chai
5268573359 Merge pull request #16330 from scienceluo/master
doc/release-notes: Luminous release notes typo fixes  "ceph config-key ls"->"ceph config-key list"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-14 16:31:42 +08:00
scienceluo
664f146761 doc:fix release-notes
Signed-off-by: luo.kexue@zte.com.cn
2017-07-14 14:23:51 +08:00
Sage Weil
7e287a4408 Merge pull request #16300 from liewegas/wip-20600
mon: fix hang on deprecated/removed 'pg set_*full_ratio' commands

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-13 22:16:39 -05:00
Sage Weil
76abfdba61 Merge pull request #16321 from Yan-waller/wip-walle-0712cephosd
common: misc cleanups in common, global, os, osd submodules

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-13 22:16:16 -05:00
Sage Weil
58487735a7 Merge pull request #16322 from liewegas/wip-20617
qa/tasks/ceph_manager: wait longer for pg stats to flush

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-13 22:15:03 -05:00
Sage Weil
db90672758 Merge pull request #16323 from ceph/revert-15897-wip-20390
Revert "msg/async: increase worker reference with local listen table enabled backend"
2017-07-13 22:14:35 -05:00
Kefu Chai
33ab6ed595 Merge pull request #16319 from tchaikov/wip-ceph-helper-with-exp-features
qa/workunits/ceph-helpers: enable experimental features for osd

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-07-14 11:13:57 +08:00
Kefu Chai
cb71f1886a Merge pull request #16320 from tchaikov/wip-clang-analyzer-warnings
test,mon,msg: kill clang analyzer warnings

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-07-14 11:10:52 +08:00
Zhang Shaowen
600cb0a54b rgw: remove the useless output when listing zonegroups.
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-07-14 10:47:34 +08:00
Nathan Cutler
22391f0f66 doc: Jewel v10.2.9 changelog
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-13 23:13:46 +02:00
Sage Weil
34e2ce5852 mon/PGMonitor: EOPNOTSUPP for old pgmon commands
This includes 'pg set_full_ratio', which we have only for the upgrade, but
goes away afterwards.

Also, return true to either swallow the request or indicate it has been
processed.

Fixes: http://tracker.ceph.com/issues/20600
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 13:59:26 -04:00
Kefu Chai
95c7a552fc mon: do not assign to never-read variable
this silences clang analyzer's warning of

Value stored to 'err' is never read

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-14 00:40:38 +08:00
Kefu Chai
325545dc7a msg/async/rdma: return stored errno on error
otherwise the errno would be overwritten, and we are returning 0 or the
errno set by ::close()

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-14 00:40:38 +08:00
Kefu Chai
45b55b4b9f test: test_c_headers: silence clang analyzer warnings
this silences clang analyzer's warnings like:

Value stored to 'ret' is never read

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-14 00:40:38 +08:00
Gregory Farnum
24d4415a96 Merge pull request #16262 from liewegas/wip-20208
mgr/ClusterState: do not mangle PGMap outside of Incremental
2017-07-13 09:37:42 -07:00
Yehuda Sadeh
feb998da88 Merge pull request #9974 from weiqiaomiao/wqm-wip-copy_obj
rgw: fix memory leak in copy_obj_to_remote_dest

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-13 09:36:12 -07:00
Yehuda Sadeh
d95b52165e Merge pull request #11124 from zhangsw/cleanup-rgwrados-deleteobj
rgw: remove a redundant judgement in rgw_rados.cc:delete_obj.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-13 09:22:59 -07:00
Yehuda Sadeh
df7fbbf145 Merge pull request #12010 from zhangsw/fix-rgw-multipart-bug
rgw: Fix a bug that multipart upload may exceed the quota. 

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-13 09:19:36 -07:00
Yehuda Sadeh
790f913f3e Merge pull request #12197 from zhangsw/fix-rgw-metasync-lock-bug
rgw: lock is not released when set sync marker is failed.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-13 09:14:45 -07:00
Sage Weil
56e2965502 qa/tasks/ceph_manager: wait longer for pg stats to flush
An ill-timed mgr restart could blow the current 15s wait.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 12:13:45 -04:00
Yehuda Sadeh
b82c90c700 Merge pull request #16021 from joscollin/wip-uninitialized-pointer-fields-1
rgw: Initialize pointer fields

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-13 09:12:06 -07:00
Sage Weil
95c07fbe96 Merge pull request #16014 from xiexingguo/wip-autoclass
osd/OSD: auto class on osd start up

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-13 10:50:45 -05:00
Yuri Weinstein
48822a7ac5 Merge pull request #15774 from shashalu/drop-temp-var
rgw: using RGW_OBJ_NS_MULTIPART in check_bad_index_multipart

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-13 08:41:19 -07:00
Nathan Cutler
dc50360cf0 doc: Jewel v10.2.9 release notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-13 17:25:17 +02:00
Haomai Wang
8d94ee3586 Revert "msg/async: increase worker reference with local listen table enabled backend" 2017-07-13 23:19:11 +08:00
Jason Dillaman
cefeb89e9d Merge pull request #16255 from trociny/wip-test-librbd-internals
test/librbd: re-enable internal tests in ceph_test_librbd

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-13 11:18:09 -04:00
Sage Weil
c67f986b83 Merge pull request #16130 from fullerdj/wip-djf-ceph-connect-timeout
ceph.in: Check return value when connecting

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-07-13 09:46:10 -05:00
Sage Weil
27e8b8b905 Merge pull request #16243 from markhpc/wip-bluestore-freelist-iterator
os/bluestore: Make BitmapFreelistManager kv itereator short lived.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-13 09:43:46 -05:00
Sage Weil
9b3c208479 Merge pull request #16269 from liewegas/wip-bluestore-deferred-pending
os/bluestore: only submit deferred if there is any

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2017-07-13 09:37:40 -05:00
Sage Weil
ee40893e41 Merge pull request #16306 from liewegas/wip-reg11184-health
qa/suites/rados/singleton/all/reg11184: whitelist health warnings
2017-07-13 09:33:27 -05:00
Yan Jun
0cfd05db57 osd: cleanups
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-13 22:22:20 +08:00
Kefu Chai
771e2fa36d Merge pull request #16317 from tchaikov/wip-0-osd-is-not-an-error
qa/workunits/ceph-helpers: test wait_for_health_ok differently

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-07-13 21:59:40 +08:00
Kefu Chai
eab471b38c Merge pull request #16274 from smithfarm/wip-jewel-10-2-8
doc: Jewel v10.2.8 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-07-13 21:01:40 +08:00
Boris Ranto
3b6d470e47 Merge pull request #16267 from liewegas/wip-restful-defaults
mgr/restful: bind to :: and update docs

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-07-13 14:04:01 +02:00
Kefu Chai
9cb7e07742 Merge pull request #16311 from Songweibin/wip-update-info-affi
.mailmap, .organizationmap: Update Song Weibin information and affiliation

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-13 19:19:55 +08:00
Kefu Chai
c64a883013 Merge pull request #16303 from bstillwell/releases-doc-update-201707
doc/releases: Update releases from Feb 2017 to July 2017

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-13 19:14:30 +08:00
Nathan Cutler
0f97cd0133 doc: add v10.2.8 changelog
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-13 12:18:17 +02:00
Kefu Chai
4a3cdb00c6 qa/workunits/ceph-helpers: enable experimental features for osd
it matches the settings in vstart.sh, also it would be handy for those
who are still developing on btrfs, which is now marked as an experimental
features now.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-13 18:08:44 +08:00
Kefu Chai
a2335091d6 qa/workunits/ceph-helpers: test wait_for_health_ok differently
0 OSDs is not an error anymore in the new health checking implemented by
OSDMap::check_health(). this case was treated as an error before, see
OSDMonitor::get_health(). but an osdmap without any OSD is fine, i
think. but an osdmap with 3 OSDs, but all of them are down and out, this
is an error. and we do report this as an error. so, let's update the
test instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-13 17:49:44 +08:00