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
Yan, Zheng
ffebd0854e
qa/cephfs: update TestDamage for open file table
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2018-03-21 21:08:58 +08: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
Yang Honggang
6930e9f3ca
lttng: Trace rgw data transfer, bi entry and object header update processes
...
Signed-off-by: Yang Honggang <joseph.yang@xtaotech.com>
2018-03-20 14:15:50 +08: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
Kefu Chai
0bae0319b1
bluestore: fix build on armhf
...
where size_t != uint64_t, size_t is "long long unsigned int", and
uint64_t is something different.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-18 20:04:43 +08: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
Mykola Golub
4784d6202b
rbd: return image id in info command output
...
And as a side effect, previously when rbd info was called
with --image-id, the image id was shown instead of the image name,
so the user was not able to see the image name from info output.
Now it will show the image name.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-18 06:37:19 +02: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
Patrick Donnelly
9c809d3c58
PendingReleaseNotes: add note about upgrading MDS
...
Fixes: https://tracker.ceph.com/issues/23172
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-17 11:27:07 -07:00
Sage Weil
4dcf010571
osd/ECMsgTypes: fix ECSubRead compat decode
...
Populate subchunks based on to_read, not attrs_to_read.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-17 08:23:48 -05:00
Jos Collin
8a3a60f47b
ceph-fuse: Fix Segmentation fault --localize-reads
...
Fixes: http://tracker.ceph.com/issues/23288
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-17 17:42:42 +05:30
Sage Weil
7da45bc6b3
Partial revert "osd/PG: drop scrub machinery to wait for last_updated_applied"
...
This reverts commit c489112a1d
(well,
part of it).
We want the scrub machinery that will wait on an EC read/modify/write
until it has been queued with the ObjectStore, but we don't need the
parts that used to worry about queued but unapplied writes in FileStore
not being visible.
Fixes: http://tracker.ceph.com/issues/23339
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 17:20:29 -05:00
Sage Weil
2f7ca451c2
osd/PrimaryLogPG: restore op_applied in PGBackend
...
Call it when we queue the submitted write. For ReplicatedPG this is
inside submit_transaction(), and for ECBackend it's when we finally
submit the write for disk (possibly delayed by a read/modify/write).
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 17:20:29 -05:00
Sage Weil
6da45c30dd
Revert "osd/PG: remove last_updated_applied, op_applied()"
...
This reverts commit c1c495f097
.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-16 17:20:29 -05:00
Sage Weil
9424ed8506
Merge PR #20879 into wip-sage-testing-20180316.201311
...
* refs/pull/20879/head:
qa/rgw: disable s3tests for lifecycle_expiration
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2018-03-16 15:13:19 -05:00
Jason Dillaman
875f0bd6f5
mgr/dashboard: block mirroring page should show Ceph version
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-16 14:16:40 -04:00
Jason Dillaman
649b8e8cc5
mgr/dashboard: avoid stale path data in block iSCSI status
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-16 14:16:40 -04:00
Jason Dillaman
089920e2c7
mgr/dashboard: block iSCSI frontend tweaks
...
Label rates w/ "/s" suffix and switch throughput back to the
sparkline graph from dashboard v1.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-03-16 14:16:39 -04:00
Mykola Golub
d75973f8b3
librbd: add API function to get image name
...
We already have open_by_id function, so an image name may be
unknown to the user, and get_name may be useful then.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-16 20:05:34 +02:00