Kefu Chai
3cab2ce179
kv/RocksDBStore: use vector instead of VLA for holding slices
...
clang complains:
ceph/src/kv/RocksDBStore.cc:611:32: error: variable length array of
non-POD element type
'rocksdb::Slice'
rocksdb::Slice value_slices[to_set_bl.buffers().size()];
and i believe GCC will also complains with: -Wvla or -pedantic. as
to_set_bl.buffers().size() is not a const expr at compile time.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-27 10:44:50 +08:00
Kefu Chai
6ce96c7474
Merge pull request #16123 from ddiss/fix-journal-supression
...
ceph-disk: don't activate suppressed journal devices
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-26 12:02:14 +08:00
Sage Weil
f0b5900025
Merge pull request #16498 from Songweibin/wip-doc-rbd-trash-cli
...
doc: add rbd new trash cli and cleanups in release-notes.rst
2017-07-25 21:49:26 -05:00
Sage Weil
705676797a
Merge pull request #16552 from tchaikov/wip-doc-fixes
...
doc: document mClock related options
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 21:48:12 -05:00
Sage Weil
a3b4f08d20
Merge pull request #16534 from liewegas/wip-20751
...
mon/OSDMonitor: ensure UP is not set for newly-created OSDs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 21:31:47 -05:00
Sage Weil
d2c31a8114
Merge pull request #16469 from xiexingguo/wip-fix-test
...
test: s/osd_objectstore_type/osd_objectstore
2017-07-25 21:04:22 -05:00
songweibin
34efaab49e
doc: add new trash cli in rados-rbd-cmds.rst
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-26 08:47:53 +08:00
songweibin
3860421425
doc: cleanups in release-notes.rst
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-26 08:47:35 +08:00
Josh Durgin
5a1f595bb3
Merge pull request #15693 from dillaman/wip-osd-cmpext-ec-pool
...
osd: support cmpext operation on EC-backed pools
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-25 13:52:20 -07:00
Sage Weil
b4b51d12ff
Merge pull request #16527 from jcsp/wip-options-followup
...
common: follow up to new options infrastructure
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 15:48:45 -05:00
Yuri Weinstein
65185cf09e
Merge pull request #16511 from c744402859/master
...
OSDMonitor: check mon_max_pool_pg_num when set pool pg_num
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-25 13:46:25 -07:00
Sage Weil
759da47c0c
Merge pull request #16560 from nrdmn/patch-3
...
pybind/mgr/restful: fix typo
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 15:21:50 -05:00
nrdmn
4f826e10d9
Fixed typo in src/pybind/mgr/restful/api/__init__.py
...
Signed-off-by: Nick Erdmann <n@nirf.de>
Fixed typo
2017-07-25 22:10:06 +02:00
Sage Weil
6ef3a8ed4d
Merge pull request #16536 from jdurgin/wip-20747
...
osd: PrimaryLogPG, PGBackend: complete callback even if interval changes
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 14:05:15 -05:00
Sage Weil
cbe92f1790
Merge pull request #16539 from jdurgin/wip-20753
...
osd/PGLog: fix inaccurate missing assert
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 14:04:17 -05:00
Sage Weil
a264725b62
Merge pull request #16541 from liewegas/wip-20761
...
qa/workunits/cephtool/test.sh: disable 'fs status' until bug is fixed
2017-07-25 14:03:38 -05:00
Sage Weil
af8d6bea5c
Merge pull request #16544 from dillaman/wip-service-daemon-null-dereference
...
mgr/MgrClient: do not attempt to access a global variable for config
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 14:03:25 -05:00
Casey Bodley
dfd5af27d3
Merge pull request #16385 from mikulely/3-check-target-when-create-bucket
...
rgw: check placement existence when create bucket
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-25 11:38:24 -04:00
Kefu Chai
70c1e5d4b0
Merge pull request #16540 from cbodley/wip-mrgw-admin-socket
...
rgw: restore admin socket path in mrgw.sh
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 23:19:01 +08:00
Sage Weil
d3e1c6c9b9
Merge pull request #16513 from liewegas/wip-standalone
...
qa: move ceph-helpers-based make check tests to qa/standalone; run via teuthology
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 09:51:36 -05:00
Sage Weil
4c2b8f29d5
Merge pull request #16566 from jcsp/wip-doc-health
...
doc/rados: add page for health checks and update monitoring.rst
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 09:36:49 -05:00
John Spray
5bf942570a
doc/rados: add page for health checks and update monitoring.rst
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-25 15:13:02 +01:00
Sage Weil
6a38a3548a
Merge pull request #16545 from asomers/install-deps
...
install-deps.sh: add missing dependencies for FreeBSD
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-25 09:00:02 -05:00
Sage Weil
65e0f2ce97
Merge pull request #16564 from liewegas/wip-vstart-mgr
...
vstart.sh: fix mgr vs restful command startup race
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-07-25 08:56:12 -05:00
Sage Weil
fc8e5e1c2f
ceph-disk/tests/ceph-disk.sh: wait for right number of pgs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 09:51:22 -04:00
Sage Weil
0495efe624
vstart.sh: fix mgr vs restful command startup race
...
If the mgr hasn't activated yet we won't have registered the python
commands. Use 'ceph tell mgr ...' to ensure we block. (This is only a
problem right after mkfs when the first mgr hasn't started yet.)
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 09:20:29 -04:00
Jos Collin
0988a34ad1
Merge pull request #16497 from weiqiaomiao/wip_weiqm_rgw_compile_warn
...
rgw: Drop dump_usage_bucket_info() to silence warning from -Wunused-function
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-25 11:01:34 +00:00
Kefu Chai
be7d9d92ad
Merge pull request #16394 from jcsp/wip-pr-docs
...
doc: add doc requirements on PR submitters
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 15:28:26 +08:00
Jos Collin
77ecc5c6cf
Merge pull request #16038 from ztczll/ztczll
...
.mailmap, .organizationmap: Update ztczll affiliation
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-25 05:32:14 +00:00
Kefu Chai
6ee0de8556
doc: document mClock related options
...
* rados/configuration/osd-config-ref.rst: document mClock related
options
* release-notes.rst: fix syntax errors. link QoS to mClock related docs.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-25 12:59:13 +08:00
zhanglei
05d17fd54e
.mailmap, .organizationmap: Update ztczll affiliation
...
Signed-off-by: zhanglei <243290414@qq.com>
2017-07-24 23:49:16 -04:00
Sage Weil
7c157863a8
qa/run-standalone.sh: helper to run all standalone tests
...
Nothing fancy, but documents how these are run.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:50 -04:00
Sage Weil
34999b3450
mds/MDSMap: init mds_features
...
This can lead to ceph-dencoder reencode failures. Doesn't matter too
much in the real world since body decodes these ancient mds_info_t
structs.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:50 -04:00
Sage Weil
766229b034
qa/standalone/scrub: separate scrub/repair tests from rest of osd/
...
They are slow. Run them separately.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:50 -04:00
Sage Weil
cabad62242
qa/standalone/ceph-helpers: factor rbd pool create out of run_mon
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:50 -04:00
Sage Weil
b12bebe432
qa/standalone/mon/osd-pool-create: stop testing create pool output
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:49 -04:00
Sage Weil
71ea171604
qa: move ceph-helpers and misc src/test/*.sh tests to qa/standalone
...
- stop running via make check
- add teuthology yamls to run them
- disable ceph_objecstore_tool.py for now (too slow for make check, and
we can't use vstart in teuthology via a package install)
- drop cephtool tests since those are already covered by other teuthology
tests
- leave a handful of (fast!) ceph-helpers tests for make check for minimal
integration tests.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:49 -04:00
Jason Dillaman
62b6d2d923
Merge pull request #16468 from gmayyyha/mgr-show-rbd-features
...
mgr/dashboard: show rbd image features
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-24 21:11:33 -04:00
Yanhu Cao
ef02e8f21c
mgr/dashboard: rbd image show features
...
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
2017-07-25 08:33:26 +08:00
Kefu Chai
964173c14c
Merge pull request #16537 from shangzhong/wip-update-organization
...
mailmap: add affiliation for Zhu Shangzhong
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-25 08:17:02 +08:00
Kefu Chai
c8e97f4542
Merge pull request #16427 from shangzhong/wip-20685
...
ceph-disk: s/ceph_osd_mkfs/command_check_call/
Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-07-25 08:02:12 +08:00
Kefu Chai
60d0c67886
Merge pull request #16362 from tchaikov/wip-ceph-disk
...
ceph-disk: use '-' for feeding ceph cli with stdin
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-07-25 08:00:56 +08:00
Alan Somers
5b10a736a2
install-deps.sh: add missing dependencies for FreeBSD
...
Signed-off-by: Alan Somers <asomers@gmail.com>
2017-07-24 16:48:07 -06:00
Jason Dillaman
b9127e7e3e
mgr/MgrClient: do not attempt to access a global variable for config
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-24 18:17:59 -04:00
Sage Weil
f347ef54c2
qa/workunits/cephtool/test.sh: disable 'fs status' until bug is fixed
...
See http://tracker.ceph.com/issues/20761
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 16:54:13 -04:00
Sage Weil
6b2458065e
deb,rpm: require socat for ceph-test
...
Used by qa/standalone/mon/mon-bind.sh.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 15:44:51 -04:00
Sage Weil
e364a479ae
unittest_compression: speed it up
...
~4m -> ~25s
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 15:44:51 -04:00
Sage Weil
2e5955212d
qa/tasks/workunit: allow alt basedir
...
Instead of 'qa/workunits' allow something like 'qa/standalone'.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 15:44:51 -04:00
Sage Weil
0e41fb2d97
ceph: drop --admin-socket warning/error on ceph cli
...
'ceph daemon' has existed for a long time; this has outlived its
usefullness.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 15:44:51 -04:00
Casey Bodley
1559e5a648
rgw: restore admin socket path in mrgw.sh
...
ceph-conf was rejecting the entity name with:
error parsing 'radosgw.8000': expected string of the form TYPE.ID, valid
types are: auth, mon, osd, mds, mgr, client
these mstart/mrun/mrgw scripts carefully place their output files under
their respective run/<cluster-name>/out subdirectory to keep them from
clashing
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-07-24 15:21:09 -04:00