Alfredo Deza
8ef0ada511
Merge pull request #20815 from capri1989/get-packages-luminous-update
...
doc: Updated the get-packages.rst to luminous
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-03-09 07:03:04 -05:00
Tiago Melo
72e0e292e5
mgr/dashboard_v2: fix cluster configuration page
...
Configuration level 'develop' was changed to 'dev' in
1717d4c578
.
Because of this all the dev configurations were not showing.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-09 11:50:00 +00:00
Ricardo Dias
2becfb78ce
mgr/dashboard: HTTP request logging
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-09 11:29:58 +00:00
Volker Theile
4ac1239c9c
mgr/dashboard v2: Don't show details if multiple OSDs are selected
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-09 12:11:41 +01:00
Ricardo Dias
2a2847e17a
Merge pull request #20747 from votdev/add_required_directive
...
mgr/dashboard v2: Add CSS class for required form fields
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-09 09:47:26 +00:00
Yao Guotao
b3a5949031
install-deps.sh: fix an error condition expression
...
Signed-off-by: Yao Guotao <yaoguot@gmail.com>
2018-03-09 04:46:27 -05:00
Ilya Dryomov
0514480b16
librbd: create+truncate for whole-object layered discards
...
A whole-object layered discard is implemented as a truncate rather
than a delete: a dummy object is needed to prevent the CoW machinery
from kicking in. However, a truncate on a non-existent object is
a no-op. If the object doesn't exist in HEAD, a discard request is
effectively ignored -- parent blocks are still seen afterwards.
A non-exclusive create on an existing object is also a no-op, so the
fix is to do a compound create+truncate instead.
Fixes: http://tracker.ceph.com/issues/23285
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-09 10:18:04 +01:00
Sebastian Wagner
7b912b8b52
mgr/dashboard_v2: Refactored RESTControllerTest
:
...
* Made `RESTControllerTest` inherent from `ControllerTestCase`
* Refactored `ControllerTestCase`
* Simplified all tests that inherent from `ControllerTestCase`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-09 10:01:54 +01:00
Sebastian Wagner
9603c1d0a4
mgr/dashboard_v2: Removed unused tools.detail_route()
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-09 10:00:39 +01:00
Kai Wagner
d2452f6605
Updated the get-packages.rst to luminous
...
Signed-off-by: Kai Wagner <kwagner@suse.com>
2018-03-09 07:50:45 +01:00
Kefu Chai
0865d909c2
common/options: consolidate Option::to_str() with operator<<
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
09b61f09fc
test: add a simple test for conf_get() and conf_set()
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
80ee71ab5a
common/options,mon: switch some option to TYPE_SECS
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
c3dd17fd87
common/config: specialize the settings for time duration
...
because of the ADL, boost::detail::variant::printer is not able to find
operator<<(ostream&, chrono::seconds) even the latter is defined. so we
need to define our own printer. and print_value() function, so it can be
used out of the compilation unit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
a5309c8fd2
common/options: switch some cephfs settings to TYPE_SIZE
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
e0bcd9c5c0
common/options: switch some rbd settings to TYPE_SIZE
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
6add55072d
common/options: switch some rgw options to TYPE_SIZE
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
5da540477f
common/options: switch some osd settings to TYPE_SIZE
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
bf99f96825
common/options: switch some mon options to TYPE_SIZE
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
7c25de3799
common/config: specialize the settings for size
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-09 13:01:05 +08:00
Kefu Chai
21146f9e4d
Merge pull request #20745 from Liuchang0812/jsonify-pool-get
...
mon: invalid JSON returned when querying pool parameters
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-09 12:02:49 +08:00
Kefu Chai
baaaf4868f
Merge pull request #20775 from tspmelo/fix-iscsi-unit-test
...
mgr/dashboard_v2: add mocked service provider for TcmuIscsiService
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-09 12:02:20 +08:00
Gu Zhongyan
9bdf43e707
pybind/ceph_argparse: accept flexible req
...
True and true both acceptable
Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
2018-03-09 11:21:15 +08:00
Kefu Chai
a5123004ff
Merge pull request #20778 from p-na/wip-mgr-fix-dashboard-backend-tests
...
mgr/dashboard: Fix backend tests for newer CherryPy versions
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-09 10:24:00 +08:00
Kefu Chai
0f93d686f8
Merge pull request #20782 from sebastian-philipp/dashboard_v2_fix_config_options_endpoint
...
mgr/dashboard_v2: Fix test_cluster_configuration test
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-09 10:20:58 +08:00
Josh Durgin
2067f7c679
Merge pull request #20786 from dzafman/wip-zafman-log-trim
...
tools/ceph-objectstore-tool: command to trim the pg log
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-03-08 16:42:31 -08:00
Nathan Cutler
382d8b3a16
Revert "make-dist: add OBS-specific release suffix on SUSE"
...
This reverts commit ca6c92b3ec
.
The OBS-specific suffix potentially causes trouble when building outside of
OBS. Also, the OBS build process already includes a spec-file munging step
where this can be done.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-09 01:42:02 +01:00
Josh Durgin
b01e4ea5e2
tools: Add pg log trim command to ceph-objectstore-tool
...
Add test script that verifies the command in qa/standalone/osd
Fixes: http://tracker.ceph.com/issues/23242
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-08 15:58:55 -08:00
Yuri Weinstein
d71f70203f
Merge pull request #20769 from oritwas/wip-rgw-20448
...
rgw: fix crash with rgw_run_sync_thread false
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2018-03-08 13:25:36 -08:00
Alfredo Deza
fa9a8afe49
ceph-volume tests verify that mkfs filestore uses default flags
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-08 15:34:18 -05:00
Alfredo Deza
b25c8f6897
ceph-volume lvm.prepare pass the cephx_secret for mkfs in filestore
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-08 15:34:18 -05:00
Alfredo Deza
70b495ac06
ceph-volume util.prepare use keyfile from stdin for mkfs in filestore
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-08 15:34:17 -05:00
Jason Dillaman
2be034e957
Merge pull request #20590 from hitoshikamei/rbd-bench
...
rbd: fix thread_offsets calculation of rbd bench
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-08 14:01:57 -05:00
Jason Dillaman
3de78ccc23
Merge pull request #20689 from Songweibin/wip-23038
...
rbd/test: add snap protection test for ex/import
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-08 14:00:59 -05:00
Jason Dillaman
38dba9a1bf
Merge pull request #20697 from Songweibin/wip-trash-rm
...
rbd: allow trash rm/purge when pool quota is full used
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-08 14:00:27 -05:00
Jason Dillaman
fd81fa75e7
Merge pull request #20795 from Songweibin/wip-fix-trash
...
rbd: pool_percent_used should not divided by 100
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-08 13:59:27 -05:00
David Zafman
317b3d3b36
Merge pull request #20759 from dzafman/wip-cleanup
...
test: Make clearer by moving code out of loop
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-03-08 10:45:38 -08:00
Lenz Grimmer
4a2d8f9995
Merge pull request #20801 from theanalyst/dashboard-build-typo
...
cmake: typo fix when npm is not found
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-08 18:27:38 +01:00
Ilya Dryomov
9d6ee9a649
test/librbd: expect_object_may_exist(..., false) in DiscardRemoveTruncate
...
This is !is_no_op_for_nonexistent_object() test -- NONEXISTENT case is
the interesting one.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-08 18:06:06 +01:00
Ilya Dryomov
513baf92ef
test/librbd: clone with parent features in DiscardRemoveTruncate
...
... otherwise object map expectations aren't actually set.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-03-08 18:06:01 +01:00
Volker Theile
48fba11668
mgr/dashboard v2: Add CSS class for required form fields
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-03-08 17:44:54 +01:00
Abhishek Lekshmanan
ab8bcbe1d9
dashboard: cmake: typo fix when npm is not found
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-03-08 16:59:51 +01:00
Yuri Weinstein
39f7377556
Merge pull request #20390 from theanalyst/rgw/openssl-init
...
rgw: setup locks for libopenssl
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
Reviewed-by: Marcus Watts <mwatts@redhat.com>
2018-03-08 07:34:29 -08:00
Yuri Weinstein
ee9a903cbd
Merge pull request #20649 from tianshan/rgw_datalog_list
...
rgw: datalog list support --shard-id and --marker
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-08 07:29:54 -08:00
Yuri Weinstein
fffd50596f
Merge pull request #20686 from fangyuxiangGL/mcc
...
rgw: fix 'copy part' without 'x-amz-copy-source-range' when compression enabled
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-03-08 07:29:32 -08:00
Yuri Weinstein
d8e00adc69
Merge pull request #20707 from Liuchang0812/rgw-es-plugin-urlencode
...
rgw: url_encode key name and instance in es sync module
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-03-08 07:28:59 -08:00
Yuri Weinstein
8b95c3a775
Merge pull request #20756 from cbodley/wip-qa-rgw-verify-combine
...
qa/rgw: combine swift, s3tests, ragweed into single verify task
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2018-03-08 07:28:20 -08:00
Stephan Müller
83ea3413f7
mgr/dashboard_v2: Rotate the refresh icon on load
...
The refresh icon of the data table will now rotate on loading events.
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-03-08 16:26:28 +01:00
Kefu Chai
da1ae37b34
Merge pull request #20767 from xiexingguo/wip-pg-delete
...
osd/OSD: batch-list objects to reduce memory consumption
Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-08 23:20:34 +08:00
Kefu Chai
d6dbf9c732
Merge pull request #20764 from chenyupeng360/master
...
msg/async: size of EventCenter::file_events should be greater than fd
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-08 23:19:50 +08:00