Sage Weil
3a4931b0e4
ceph: allow '-' with -i and -o for stdin/stdout
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-17 09:38:52 -04:00
Kefu Chai
171104cb93
Merge pull request #15587 from wjwithagen/wip-wjw-ceph-disk-is_diskdevice
...
ceph-disk/ceph_disk/main.py: Replace ST_ISBLK() test by is_diskdevice()
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-15 16:31:35 +08:00
Kefu Chai
742a117728
Merge pull request #16347 from tchaikov/wip-test-ceph-disk
...
tests: ceph-disk: use communicate() instead of wait() for output
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-07-15 16:24:23 +08:00
Jos Collin
9f6806559d
Merge pull request #16334 from wjwithagen/wjw-bug-stringyfy
...
core:" Stringify needs access to << before reference" src/include/stringify.h
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-15 05:21:23 +00:00
Kefu Chai
c596bff584
qa/suites/ceph-disk: whitelist health warnings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-15 11:27:02 +08:00
Kefu Chai
73c0740b08
tests: ceph-disk: use communicate() instead of wait() for output
...
to avoid possible deadlock. quote from doc of Popen.wait()
> This will deadlock when using stdout=PIPE and/or stderr=PIPE and the
child process generates enough output to a pipe such that it blocks
waiting for the OS pipe buffer to accept more data. Use communicate() to
avoid that.
and print out the stdout and stderr using LOG.warn() if the command
fails.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-15 11:27:02 +08:00
Kefu Chai
0cc65197d6
Merge pull request #16045 from Liuchang0812/wip-compact-osd-feature
...
osd: compact osd feature
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-15 10:57:13 +08:00
Sage Weil
d52763c2cc
Merge pull request #16221 from liewegas/wip-20546
...
crush/CrushWrapper: make get_immediate_parent[_id] ignore per-class shadow hierarchy
Reviewed-by: Neha Ojha <nojha@redhat.com>
2017-07-14 15:09:22 -05:00
Yehuda Sadeh
b3404bd841
Merge pull request #12139 from tianshan/fix_zone_set_realm_id
...
rgw: fix zone did't update realm_id when added to zonegroup
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-14 09:13:10 -07:00
Yuri Weinstein
34fcd223c5
Merge pull request #14915 from cbodley/wip-19817
...
rgw: add missing RGWPeriod::reflect() based on new atomic update_latest_epoch()
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-14 08:52:52 -07:00
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
Willem Jan Withagen
f7330a5a02
ceph_disk/main.py: fixed bugs from theutology report
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-14 10:54:32 +02:00
Willem Jan Withagen
85d7f8817e
ceph-disk/main.py: Replace ST_ISBLK() test by is_diskdevice()
...
- FreeBSD does not have blockdevices any more (since 2002)
So disk are just Character special devices, so test on ISCHR
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-14 10:48:34 +02:00
Willem Jan Withagen
7f1d884944
core:" Stringify needs access to << before reference" src/include/stringify.h
...
Clang complains:
In file included from /home/jenkins/workspace/ceph-master/src/mon/HealthMonitor.cc:21:
/home/jenkins/workspace/ceph-master/src/include/stringify.h:15:6: error: call to function 'operator<<' that is neither visible in the template definition nor found by argument-dependent lookup
ss << a;
^
/home/jenkins/workspace/ceph-master/src/mon/HealthMonitor.cc:129:32: note: in instantiation of function template specialization 'stringify<std::__1::set<std::__1::basic_string<char>, std::__1::less<std::__1::basic_string<char> >, std::__1::allocator<std::__1::basic_string<char> > > >' requested here
boost::regex("%names%"), stringify(names[p.first]));
^
/home/jenkins/workspace/ceph-master/src/include/types.h:160:17: note: 'operator<<' should be declared prior to the call site
inline ostream& operator<<(ostream& out, const set<A, Comp, Alloc>& iset) {
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-14 10:44:44 +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
Sage Weil
c695c25087
osdmaptool: add --health option
...
Generate and dump health checks.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 12:15:26 -04:00
Sage Weil
12c6cfa5f1
qa/workunits/rados/test_health_warnings: test down msgs vs crush classes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 12:15:26 -04: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
af1f47c0ab
osd/OSDMap: remove assumption about type ids
...
The code is assuming type==1 is in use, but it might not be. (It is
usually 'chassis' by default, which is rarely used; 'host' is type usually
type 2.) Remove the type check entirely and identify leaves by a child
>= 0.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 12:14:26 -04:00
Sage Weil
240601ab6e
osd/OSDMap: whitespace
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 12:14:26 -04:00
Sage Weil
0f2e985e3c
crush/CrushWrapper: make get_immediate_parent[_id] ignore per-class shadow hierarchy
...
Fixes: http://tracker.ceph.com/issues/20546
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-13 12:14:26 -04: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