Commit Graph

84352 Commits

Author SHA1 Message Date
Ricardo Dias
9a031bad0f
Merge pull request #20972 from ricardoasmarques/wip-dimless-binary-directive
mgr/dashboard: Add DimlessBinaryDirective

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-23 12:38:53 +00:00
Ricardo Dias
7a490ac6b4
Merge pull request #20971 from ricardoasmarques/wip-helper-component
mgr/dashboard: Add helper component

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-23 12:38:31 +00:00
Ricardo Marques
94c5a5e537 mgr/dashboard: Add helper component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-23 11:13:44 +00:00
Ricardo Marques
134fab7070 mgr/dashboard: Add DimlessBinaryDirective
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-23 09:41:40 +00:00
Mykola Golub
f0b780f616
Merge pull request #21019 from majianpeng/fix-vstart
vstart: fix initial start when there is no ceph.conf

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-03-23 11:08:47 +02:00
Jianpeng Ma
5de320b890 vstart.sh: Avoiding ceph-conf error when create a new cluster.
This partly revert commit:f437598cfcabbd66c372bc8.
Before firstly creating a ceph cluster, there is no ceph.conf.
If specify a non-exist ceph.conf, ceph-conf will meet error.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-03-23 23:30:44 +08:00
Ricardo Dias
44f16c903a
Merge pull request #20986 from jecluis/wip-vstart
vstart: fix option (due to quotes) and allow disabling dashboard

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-22 16:26:23 +00:00
David Zafman
79ee94969e
Merge pull request #20933 from dzafman/wip-22902
src/osd/PG.cc: 6455: FAILED assert(0 == "we got a bad state machine event")

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-03-22 08:44:26 -07:00
Ricardo Dias
ebd78796e7
Merge pull request #20989 from ricardoasmarques/wip-npm-start
mgr/dashboard: Improve `npm start` script

Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-03-22 11:27:29 +00:00
Ricardo Dias
fee6bcef3b
Merge pull request #20847 from votdev/improve_auth_interceptor
mgr/dashboard: Improve auth interceptor.

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-03-22 11:20:57 +00:00
Volker Theile
18e5e461aa mgr/dashboard: Improve auth interceptor.
In case of an error the response must be returned.

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-22 10:42:47 +01:00
Jos Collin
7c9f4806ea
Merge pull request #20970 from ashishkumsingh/doc-fix-resharding-formatting
doc: Fix dynamic resharding doc formatting

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-03-22 11:24:41 +05:30
Joao Eduardo Luis
67fa0c9964 vstart: allow disabling dashboard with option
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-03-22 02:59:24 +00:00
Ricardo Marques
421fa7ff67 mgr/dashboard: Add support for EiB-YiB on dimless.pipe
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-21 16:23:21 +00:00
Ricardo Marques
b57d4e1981 mgr/dashboard: Add support for EiB-YiB on dimless-binary.pipe
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-21 16:23:21 +00:00
Ricardo Dias
ac98cfd713
Merge pull request #20978 from votdev/improve_formatter
mgr/dashboard: Add toBytes() method to FormatterService

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-03-21 15:18:51 +00:00
Ricardo Dias
42cfc9172b
Merge pull request #20941 from dillaman/wip-dashboard-rbd
mgr/dashboard: additional fixes to block pages

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-03-21 15:09:26 +00:00
Ricardo Marques
3625071c3e mgr/dashboard: Implicit use of proxy.conf.json
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-21 11:29:49 +00:00
Ricardo Marques
fa407f5dc7 mgr/dashboard: ng serve should not delete fontend dist dir
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-21 11:26:08 +00:00
Volker Theile
e71a33e7f8 mgr/dashboard: Add toBytes() method to FormatterService.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-21 10:13:51 +01:00
Nathan Cutler
84ef01e3e0
Merge pull request #20977 from smithfarm/wip-23424
cmake: add chrono to BOOST_COMPONENTS

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-21 10:03:43 +01:00
Nathan Cutler
ac78d7f252
Merge pull request #20969 from smithfarm/wip-23238
osd: fix s390x build failure

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-03-21 10:03:03 +01:00
Joao Eduardo Luis
49cf2b807c vstart: remove single-quotes from option value
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-03-21 09:02:23 +00:00
Mykola Golub
b472c7913d
Merge pull request #20966 from dillaman/wip-23399
rbd: children list should support snapshot id optional

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-03-21 08:03:05 +02:00
Nathan Cutler
a95eacbe48 cmake: add chrono to BOOST_COMPONENTS
According to 9535165149
Boost::chrono is a dependency of Boost::context and Boost::thread,
but Boost::chrono does not get built unless it is included here.

Fixes: http://tracker.ceph.com/issues/23424
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-20 16:14:11 +01:00
Lenz Grimmer
3221b80f88
Merge pull request #20958 from votdev/remove_useless_code
mgr/dashboard: Remove useless code

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-20 15:36:52 +01:00
Jason Dillaman
ed1d44d3ad rbd: listing children now supports a snapshot id optional
Fixes: http://tracker.ceph.com/issues/23399
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-20 16:58:44 +08:00
Nathan Cutler
0a6725bd54 osd: fix s390x build failure
46de629c3d introduced a regression: on big-endian
machines, there was no matching function for call to 'eversion_t::encode(const
version_t&, ceph::bufferlist&) const' and 'eversion_t::decode(version_t&,
ceph::buffer::list::iterator&)'

Fixes: http://tracker.ceph.com/issues/23238
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-20 09:57:50 +01:00
Ashish Singh
3d8f4e8da3 doc: Fixes dynamic-resharding doc formatting
Fixed the formatting errors in dynamicresharding.rst

Signed-off-by: Ashish Singh assingh@redhat.com
2018-03-20 14:19:32 +05:30
Mykola Golub
f22a9017bd
Merge pull request #20888 from majianpeng/fix-vstop
stop.sh: add ceph configure file location

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-03-20 10:48:52 +02:00
Jason Dillaman
dacf628d24 pybind/rbd: added 'set_snap_by_id' API method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-20 12:33:03 +08:00
Jason Dillaman
c4172d1e8f librbd: added '(rbd_)snap_set_by_id' API methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-20 12:33:03 +08:00
Jason Dillaman
7918ccc0cf librbd: internally utilize snap id when setting snapshot
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-20 12:33:00 +08:00
Jianpeng Ma
f437598cfc stop.sh: specify the ceph.conf path to avoid using wrong ceph.conf.
Also specify the ceph.conf path for ceph-conf command in vstart.sh.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-03-20 01:14:41 +08:00
Nathan Cutler
820dac980e
Merge pull request #20876 from smithfarm/wip-doc-license
legal: remove doc license ambiguity

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2018-03-19 14:29:54 +01:00
Ricardo Dias
3e9c2ec42c
Merge pull request #20898 from tspmelo/wip-nodejs-improvement
mgr/dashboard: remove node/npm system installation

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-19 12:30:45 +00:00
Volker Theile
1b69d9e7c8 mgr/dashboard: Remove useless code.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-19 11:28:50 +01:00
Abhishek L
c9091ab941
Merge pull request #20784 from theanalyst/docs/release-reorg
doc: reorganize releases

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-03-19 11:22:37 +01:00
Kefu Chai
c83f7618d9
Merge pull request #20909 from tchaikov/wip-23370
mgr/MgrClient: guard send_pgstats() with lock

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-19 16:54:41 +08:00
Ricardo Dias
559e05cdcf
Merge pull request #20874 from sebastian-philipp/dashboard_v2-source-run-api-tests
mgr/dashboard: Allow sourcing `run-backend-api-tests.sh`

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-19 07:59:08 +00:00
Jos Collin
212a592265
Merge pull request #20931 from ashitakasam/fix-typo
doc: s/deamon/daemon/

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-03-19 10:26:28 +05:30
ashitakasam
a2b14a741c doc: 'daemon' is misspelled in doc/cephfs/health-messages.rst and src/tools/rbd_recover_tool/README
Signed-off-by: ashitakasam <694240887@qq.com>
2018-03-19 10:21:38 +08:00
Sage Weil
038afcbc2a Merge remote-tracking branch 'gh/mimic-dev2' 2018-03-18 18:39:46 -05:00
Sage Weil
f749cfd227
Merge pull request #20944 from liewegas/wip-23339
osd: make scrub wait for ec read/modify/writes to apply

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-18 17:19:11 -05:00
Sage Weil
fb2e5c9a84 osd/ReplciatedBackend: do not op_applied on zeroed eversion_t
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-18 05:33:12 -05:00
Sage Weil
46a3c3c0eb osd/PG: wait for pushes and last_update_applied before requesting replica scrub
Wait on the primary for the EC backend to finish r/m/w cycles before we
ask the replicas to scrub.  Otherwise we will wait on the primary but the
replicas will scrub immediately and we'll get a mismatched result!

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-18 05:33:11 -05:00
Sage Weil
13b9df16d0 osd/ECBackend: do not op_applied on zero at_version for dummy rollforward transaction
The dummy rollforward transactions have at_version=0'0; do not call
op_applied on those.

This ensures that the op_applied call

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-18 05:33:08 -05:00
Sage Weil
eccc912f92
Merge pull request #20948 from liewegas/wip-ecsubread-decode
osd/ECMsgTypes: fix ECSubRead compat decode

Reviewed-by: Myna Vajha <mynaramana@gmail.com>
2018-03-17 18:06:05 -05:00
Mykola Golub
9b46b9723b
Merge pull request #20939 from dillaman/wip-cls-rbd-group
cls/rbd: group_image_list incorrectly flagged as RW

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-03-17 22:16:03 +02:00
Patrick Donnelly
c498abe2f0
Merge PR #20903 into master
* refs/pull/20903/head:
	PendingReleaseNotes: add note about upgrading MDS

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-03-17 11:30:23 -07:00