Abhishek Lekshmanan
b4f6226972
doc: release/mimic: correct the changelog to the latest version
...
We were still having the changelog from mimic-dev1, update this to reflect the
current state of mimic
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-05-30 15:09:30 +02:00
Lenz Grimmer
f21df7672d
Merge pull request #21980 from Devp00l/wip-formatting-bug-24081
...
mgr/dashboard: Format small numbers correctly
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-30 11:31:00 +02:00
Lenz Grimmer
063d543f42
Merge pull request #22148 from ricardoasmarques/wip-duplicated-rbd
...
Prevent duplicated rows during async tasks
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-30 11:17:22 +02:00
Lenz Grimmer
b8582167d5
Merge pull request #22244 from tspmelo/wip-unit-test-services
...
mgr/dashboard: Add unit test to the frontend services
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-30 11:15:05 +02:00
Lenz Grimmer
4b061689e0
Merge pull request #22278 from votdev/prettify_rgw
...
mgr/dashboard: Prettify RGW JS code
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-05-30 11:13:56 +02:00
Kefu Chai
27310d9b4a
Merge pull request #22287 from tchaikov/wip-hex-dec-in-logging
...
src: balance std::hex and std::dec manipulators
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-05-30 16:46:32 +08:00
Yan, Zheng
209f6c7f2f
Merge pull request #22307 from ukernel/wip-22240-1
...
mds: fix leak of MDSCacheObject::waiting
2018-05-30 11:36:07 +08:00
Yan, Zheng
8f3c8bf6ea
mds: fix leak of MDSCacheObject::waiting
...
Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-30 11:24:16 +08:00
Yan, Zheng
758fd9dd6b
Merge pull request #22240 from ukernel/wip-24289
...
mds: fix some memory leak
2018-05-30 08:43:07 +08:00
Sage Weil
516be9bafe
Merge pull request #22305 from yehudasa/wip-rgw-mimic
...
docs: update rgw info for mimic
2018-05-29 17:15:18 -05:00
Yehuda Sadeh
bad3791d32
docs: update rgw info for mimic
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-05-29 15:00:20 -07:00
Kefu Chai
17803c91a6
src: balance std::hex and std::dec manipulators
...
we're caching the "t_os.streambuf", so the fmtflags persist across
log entries. to avoid this side effects, we should do the cleanup
before finishing each log entry.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-30 01:50:39 +08:00
Kefu Chai
949038ee69
Merge pull request #22280 from hjwsm1989/wip-osdmaptool
...
osdmaptool: fix wrong test_map_pgs_dump_all output
Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-30 01:01:47 +08:00
John Spray
89f173c76a
Merge pull request #22157 from ceph/wip-doc-clear-config
...
doc/mgr: mention how to clear config setting
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2018-05-29 15:00:21 +01:00
Kefu Chai
29153159a8
Merge pull request #22286 from ifed01/wip-ifed-fix-release-build
...
cmake: enable RTTI for both debug and release RocksDB builds.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-29 21:58:50 +08:00
Matt Benjamin
f8dc475763
Merge pull request #22231 from linuxbox2/wip-get-irange
...
rgw: add configurable AWS-compat invalid range get behavior
2018-05-29 09:58:06 -04:00
Jason Dillaman
7c01362afc
Merge pull request #22203 from hydro-b/rbd-docu-fixes
...
doc: remove duplicate python packages
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-29 09:41:47 -04:00
Kefu Chai
7945788d6d
Merge pull request #22259 from liewegas/wip-24322
...
mon/OSDMonitor: no_reply on MOSDFailure messages
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-29 21:07:06 +08:00
Stefan Kooman
3752a8e8a5
doc: remove duplicate python packages, explicitly ensure python script installation in path /usr/bin.
...
Signed-off-by: Stefan Kooman <stefan@kooman.org>
Signed-off-by: Stefan Kooman <stefan@kooman.org>
2018-05-29 14:24:22 +02:00
Sage Weil
f6128e5b53
mon/OSDMonitor: no_reply on MOSDFailure ops we eventually process
...
Failure ops get attached to the failure report. Once we finally process
them, mark them no_reply so that the forwarding mon will know about it.
The other paths through prepare_failure() do no_reply on the messages
that don't get logged in the failure_info_t::reporters.
Fixes: http://tracker.ceph.com/issues/24322
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-29 07:10:21 -05:00
Lenz Grimmer
02f0ba92b3
Merge pull request #22279 from tspmelo/wip-improve-lint-rules
...
mgr/dashboard: Improve max-line-length tslint rule
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-29 11:27:13 +02:00
Lenz Grimmer
1c7835fb17
Merge pull request #22281 from p-na/hacking-rst
...
mgr/dashboard: Improve `HACKING.rst`
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-29 11:05:33 +02:00
Kefu Chai
10ef23a947
Merge pull request #22193 from liewegas/wip-mon-ranks
...
mon: make rank ordering explicit (not tied to mon address sort order)
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-29 12:02:40 +08:00
Kefu Chai
8f2761edb3
Merge pull request #22275 from tchaikov/wip-24321
...
qa: wait longer for osd to flush pg stats
Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-29 11:26:11 +08:00
Yan, Zheng
e7c149b93d
mds: fix some memory leak
...
Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-29 10:18:34 +08:00
Igor Fedotov
83841bf3de
build/cmake: enable RTTI for both debug and release RocksDB builds.
...
Overwise ceph build in Release mode is failing.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-05-28 23:00:42 +03:00
Sage Weil
141798c466
mon/Monitor: use legacy ranks during bootstrap for initial seed monmap
...
We get various fabricated monmaps with epoch 0 to get things started. Use
the legacy rank order so that we have a well-defined ordering and mon
ranks do not collide.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-28 13:50:48 -05:00
Sage Weil
02117f1eb2
mon/MonMap: use legacy rank order for all bootstrap monmaps
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-28 13:50:07 -05:00
Sage Weil
c9c2d37fb4
Merge PR #22256 into master
...
* refs/pull/22256/head:
unittest_addrs: check parse() return value too
common/LogEntry: remove addrs from log entry operator<<
common/LogEntry: addr -> addrs
common/LogEntry: no need for LogEntryKey encode/decode
msg/msg_types: entity_addrvec_t ctors
msg/msg_types: add entity_addrvec_t::legacy_addr() helper
msg/msg_types: some comparators for entity_addrvec_t
msg/msg_types: entity_addrvec_t parse() and operator<<
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-28 13:36:54 -05:00
Patrick Nawracay
3a54bc81af
mgr/dashboard: Improve HACKING.rst
...
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-05-28 16:50:46 +02:00
Sage Weil
f4e95ca473
Merge PR #22261 into master
...
* refs/pull/22261/head:
qa/suites/rados: move valgrind test to singleton-flat
2018-05-28 09:24:03 -05:00
Sage Weil
056727870f
Merge PR #22263 into master
...
* refs/pull/22263/head:
doc/releases: mimic 13.2.0
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2018-05-28 09:21:57 -05:00
huangjun
21356f307b
osdmaptool: fix wrong test_map_pgs_dump_all output
...
Signed-off-by: huangjun <huangjun@xsky.com>
2018-05-28 21:44:36 +08:00
Tiago Melo
fc67af05b6
mgr/dashboard: Improve max-line-length tslint rule
...
Prettier is not breaking strings if they are bigger
then the defined max line length.
With this rule we can make sure lines are not exceeding it,
with the exception of import/export lines.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-28 14:30:57 +01:00
Sage Weil
f1aba7233e
unittest_addrs: check parse() return value too
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-28 08:11:09 -05:00
Volker Theile
bcc01e4eee
mgr/dashboard: Prettify RGW JS code.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-28 15:06:05 +02:00
Lenz Grimmer
5ffc276056
Merge pull request #22210 from rjfd/wip-dashboard-controller-refactor
...
mgr/dashboard: controller infrastructure refactor and new features
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-28 14:10:03 +02:00
Kefu Chai
380747268a
qa: wait longer for osd to flush pg stats
...
pg sends pg-stats to mgr every 5 seconds, so we cannot check for the
number of pgs right after creating the pool, at that moment, the number
of pgs could be 0, that's why manger.wait_for_clean() returns right
away, and leaves us with 0 pgs: the pgs serving the pool are still being
created. that's why `manager.get_num_active_clean()` returns `0`
sometimes. so, we should force osd to flush their stats to mgr, and wait
until the pg stats converages.
Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-28 19:41:48 +08:00
Lenz Grimmer
79f45d81fc
Merge pull request #22159 from b-ranto/wip-dashboard-shutdown
...
mgr/dashboard: Fix dashboard shutdown/restart
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-05-28 13:07:15 +02:00
Ricardo Dias
482dc692ba
mgr/dashboard: hacking.rst: minor improvements and cleanup
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-28 11:35:10 +01:00
Ricardo Dias
2ccb2dff0d
mgr/dashboard: hacking.rst: controller creation instructions update
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-28 11:35:10 +01:00
Ricardo Dias
f94bec3ecd
mgr/dashboard: test: controllers unit test
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-28 10:29:29 +01:00
Ricardo Dias
75f669ad45
mgr/dashboard: controllers: @Endpoint annotation implementation
...
With these changes we now have a single implementation for both the
BaseController and RESTController classes, with the respective
overrides.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-28 10:29:29 +01:00
Kefu Chai
1d5696e9a6
Merge pull request #21960 from socketpair/output
...
osd: write "debug dump_missing" output to stdout
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-28 10:45:38 +08:00
Kefu Chai
031b5a15b3
Merge pull request #22267 from ZVampirEM77/wip-telegraf-typo-fix
...
doc: fix a typo in doc/mgr/telegraf.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-28 10:37:38 +08:00
Enming Zhang
a157db0133
doc: fix a typo in doc/mgr/telegraf.rst
...
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2018-05-28 10:25:46 +08:00
Sage Weil
d9f52a2e33
common/LogEntry: remove addrs from log entry operator<<
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-27 17:26:26 -05:00
Sage Weil
ad4f6a1398
common/LogEntry: addr -> addrs
...
We want to switch to an addrvec. This requires multiple parts:
- switch the Key type to use just the rank
- separate entity_name_t rank
- compat encoding
- graylog field naming has changed (includes name)
- syslog output formatting has changed (includes name)
- LogEntry operator<< modified a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-27 17:26:26 -05:00
Sage Weil
10a2a5604c
common/LogEntry: no need for LogEntryKey encode/decode
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-27 17:26:26 -05:00
Sage Weil
6713c4a8d0
msg/msg_types: entity_addrvec_t ctors
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-27 17:26:26 -05:00