Tiago Melo
f718524ee7
mgr/dashboard: Fix TableComponent when changing columns afterViewInit
...
Angular was throwing an ExpressionChangedAfterItHasBeenCheckedError if you
changed columns information right after the table was initiated.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Tiago Melo
4f27371760
mgr/dashboard: Set CdModal max-height
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Tiago Melo
4598bfb34b
mgr/dashboard: Enhance CdValidators.validateIf method
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Tiago Melo
7acdff9a0f
mgr/dashboard: Add generic Select component
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-02-05 12:02:33 +00:00
Kefu Chai
19691a7f06
Merge pull request #26202 from smithfarm/wip-fix-s390x-rpm-build
...
rpm: package crypto libraries for all archs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-05 19:41:48 +08:00
Yehuda Sadeh
e883e7398b
Merge pull request #26106 from yehudasa/wip-rgw-es-fixes
...
rgw: multiple es related fixes and improvements
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-02-04 17:54:43 -08:00
Patrick Donnelly
206bcbcc89
Merge PR #26111 into master
...
* refs/pull/26111/head:
mds: broadcast quota message to client when disable quota
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-02-04 15:43:42 -08:00
Patrick Donnelly
e5a2964f55
Merge PR #26123 into master
...
* refs/pull/26123/head:
mds: refactor MDSContext inheritance
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-02-04 15:39:52 -08:00
Sebastian Wagner
0e443b7f5a
Merge pull request #26023 from jmolmo/inventory_pb_updated
...
mgr/ansible: Replace Ansible playbook used to retrieve storage devices data
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
2019-02-04 23:00:00 +01:00
Yuri Weinstein
460af8203a
Merge pull request #26170 from ifed01/wip-ifed-fix-fsck-read
...
os/bluestore: deep fsck fails on inspecting very large onodes
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-02-04 12:51:15 -08:00
Yuri Weinstein
20ad73a1bb
Merge pull request #26223 from majianpeng/remove-unused-function
...
osd: remove unused function.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-04 12:50:45 -08:00
Adam C. Emerson
81d1f3a6a7
Merge pull request #25278 from ZVampirEM77/wip-deleteobject-policy
...
rgw: fix obj can still be deleted even if deleteobject policy is set
rgw: cleanup for RGWDeleteObj::verify_permission(
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-02-04 13:08:20 -05:00
Ilya Dryomov
1d94dcdb43
Merge pull request #26244 from idryomov/wip-krbd-alloc-size
...
krbd: alloc_size map option and tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-02-04 15:13:18 +01:00
Nathan Cutler
3feca71d70
rpm: package crypto libraries for all archs
...
Since 318a8e3c07
we are now building at least the
openssl crypto plugin on all architectures, not just x86_64.
This fixes the non-x86_64 builds for master.
Fixes: 318a8e3c07
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-02-04 12:43:02 +01:00
Tatjana Dehler
6116c96989
Merge pull request #25309 from Devp00l/wip-prometheus-alerting
...
mgr/dashboard: Prometheus integration
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-02-04 11:32:41 +01:00
Sage Weil
4edb005ed7
Merge PR #26256 into master
...
* refs/pull/26256/head:
msg/async/ProtocolV2: respect policy.resetcheck on cookie==0
Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-02-03 23:59:54 -06:00
Kefu Chai
ff3386fd58
Merge pull request #26240 from votdev/improve_get_module_option
...
mgr: Use Py_BuildValue to create the argument tuple
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-04 01:37:02 +08:00
Kefu Chai
2d4468c895
Merge pull request #26233 from liewegas/wip-bluestore-disable-csum
...
os/bluestore: add bluestore_ignore_data_csum option
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
2019-02-04 01:24:08 +08:00
Kefu Chai
be56801eb8
Merge pull request #25077 from rzarzynski/wip-bl-kill_append_buffer
...
common: drop append_buffer from bufferlist. Use simple carriage instead
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-02-04 01:22:11 +08:00
Kefu Chai
8805a28b0f
Merge pull request #26245 from liewegas/wip-38150
...
os/bluestore/KernelDevice: use flock(2) for block device lock
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-02-04 01:20:55 +08:00
Sage Weil
51067350ad
msg/async/ProtocolV2: respect policy.resetcheck on cookie==0
...
It's possible the accepting end knows the cookie but the connecting end
does not if the fault happens before it receives server_ident. If the
next connection attempt is in the other direction, we need to avoid a
reset or the queued messages at the first site will get lost.
Fixes: http://tracker.ceph.com/issues/38118
Signed-off-by: Sage Weil <sage@redhat.com>
2019-02-03 10:43:40 -06:00
Ilya Dryomov
04f5b343f9
qa: update krbd tests for zeroout
...
Discard no longer guarantees zeroing, use BLKZEROOUT and "fallocate -z"
instead (blkdiscard(8) in xenial doesn't support -z).
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-02-03 10:57:07 +01:00
Ilya Dryomov
031bbea739
qa: krbd discard with alloc_size vs zeroout tests
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-02-02 18:33:32 +01:00
Xie Xingguo
a4b1dc5a09
Merge pull request #26179 from xiexingguo/wip-37968
...
crush: fix upmap overkill
Reviewed-by: Sage Weil <sage@redhat.com>
2019-02-02 17:24:42 +08:00
Kefu Chai
434dc9e95e
Merge pull request #26222 from tchaikov/wip-crimson-heartbeat
...
crimson/osd: add heartbeat support
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-02 15:45:44 +08:00
Kefu Chai
4eff55d0f1
cmake: disable GCC-9 warnings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
e9506e79ea
crimson/osd: add heartbeat support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
a88e89e777
crimson/osd: move "_preboot" log to where it belongs to
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
3ee0167266
crimson/osd: bind and listen
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
66826c86f4
crimson/net: add Messenger::try_bind()
...
in case the server is just fine with any unused local port number, and it
will report it to monitor.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
2d70d9e990
crimson/osd: s/client_msgr/public_msgr/
...
because this messenger also serves requests from librados clients.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
7a5469dd2e
crimson/common: add pick_address.cc to crimson-common
...
crimson-osd needs pick_address() for initializing the listening
addresses.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
41da38f21a
common/pick_address: add necessary includes
...
* add needed forward declaration
* add necessary #includes
* move `#include "common/config.h"` to .cc, as it's not part of
interface.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
77a1eb73a0
common/pick_address: conditional compile for crimson
...
crimson can only update configuration async, so we cannot let
pick_addreses() call set_val_or_die() without chaning its function
signature.
for implementing crimson-osd, what we need is only a single
pick_addresses() variant, which returns entity_addrvec_t. so we just
enable it if WITH_SEASTAR is defined instead of adding a wrapper or
reimplement all pick_addresses() variants for crimson-osd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
ef9403b1e5
crimson/mon: add get_fsid() to mon::Client
...
we need it for creating some messages. `MOSDPing`, for instance.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
a0307f5d1f
crimson/osd: define OSDMapService interface
...
* define OSDMapService interface to decouple the consumers of
this interface from its implementation -- the `OSD` class
* implement its methods in `OSD`
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:20:00 +08:00
Kefu Chai
459fea558e
crimson/osd: add editor variable settings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:13:37 +08:00
Kefu Chai
0feaf360c5
crimson/osd: remove unused method
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-02-02 13:13:37 +08:00
Patrick Donnelly
ff3411d56f
mds: refactor MDSContext inheritance
...
This commit greatly simplifies things.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-01 16:38:57 -08:00
Xie Xingguo
6f6e080f4d
Merge pull request #26250 from falcon78921/wip-doc-rados-typo
...
doc: fixed typo in add-or-rm-mons.rst
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-02 08:26:50 +08:00
James McClune
4b077dd2e5
doc: fixed typo in add-or-rm-mons.rst
...
Redundant use of the word "monitor"
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-02-01 17:12:24 -05:00
Radoslaw Zarzynski
995d6b0cc9
common: drop decltype(_buffers) from include/buffers.h.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:51 +01:00
Radoslaw Zarzynski
e20837a15f
tests: introduce BufferList.ContiguousAppender.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:51 +01:00
Radoslaw Zarzynski
f780d8ede1
common: optimize bufferlist::contiguous_appender.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:51 +01:00
Radoslaw Zarzynski
5b905b8364
common: introduce obtain_contiguous_space() to bufferlist.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:51 +01:00
Radoslaw Zarzynski
e0994229a1
tests: introduce BufferList.InternalCarriage.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:51 +01:00
Radoslaw Zarzynski
ded528e66f
common: introduce bl::_carriage to track writeable area.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:51 +01:00
Radoslaw Zarzynski
7362e5b585
common: kill remainings of bufferlist's append_buffer.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:50 +01:00
Radoslaw Zarzynski
93e1a712dc
common: simplify the C-string-taking variant of bl::append().
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:50 +01:00
Radoslaw Zarzynski
66b7cc8806
tests: introduce BufferListIterator.iterate_with_empties.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-02-01 22:54:50 +01:00