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
Chang Liu
1d3a67cf16
test: delete asok directories correctly
...
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2018-03-23 20:26:03 +08: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
Nathan Cutler
de2f71ada5
tools: setup-virtualenv.sh: improve error message
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:34:53 +01:00
Nathan Cutler
2a93474f76
tools: setup-virtualenv.sh: add usage function and --help option
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:34:04 +01:00
Ricardo Dias
d101b33bc7
qa/tasks/mgr/dashboard: Fix login expires too soon
...
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 11:30:16 +01:00
Nathan Cutler
08099019e5
tools: setup-virtualenv.sh: check for mandatory argument
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:21:23 +01:00
Nathan Cutler
9f970f9cde
build/ops: declare python version when calling setup-virtualenv.sh
...
This just makes the current Python 2.7 dependency explicit. Making
these statements optionally use Python 3 is left for later.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:21:23 +01:00
Nathan Cutler
a4fd5c42a9
tools: setup-virtualenv.sh: do not hardcode python binary
...
. . . instead, take a command-line option that defaults to
"python2.7"
Fixes: http://tracker.ceph.com/issues/23437
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:21:20 +01:00
Tatjana Dehler
075102468b
mgr/dashboard: skip 'test_create_rbd_in_data_pool' without bluestore
...
Skip the test case 'test_create_rbd_in_data_pool' only if the cluster
does not support bluestore, otherwise run the test. The Ceph mgr
provides the information if the cluster supports bluestore or not, so
the test will be skipped depending on the current cluster.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-23 11:11:27 +01:00
Tatjana Dehler
25a0ed93ec
mgr/dashboard: add 'osd metadata' command call
...
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-03-23 11:11:17 +01: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
6c722cd5f3
stop.sh: use --no-mon-config when trying to unmap rbd devices
...
Otherwise if stop.sh is run for already stopped cluster it will get
stuck trying to get mon config.
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-23 11:10:14 +02: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
Rishabh Dave
3b46884ac8
config: replace '~' by '$home' in CEPH_CONF_FILE_DEFAULT
...
And expand "$home" to get the actual path to ceph.conf.
Fixes: http://tracker.ceph.com/issues/23215
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-03-23 10:38:09 +05:30
David Zafman
293ac9895f
test: Replace bc command with printf command
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-22 17:19:56 -07:00
Warren Usui
a19eaf22a2
Document the new '$' suite file
...
Including the $ in a directory of yaml files causes teuthology to randomly
select one of the yaml files in that directory.
Signed-off-by: Warren Usui <wusui@redhat.com>
2018-03-23 00:02:11 +00:00
Mykola Golub
82dee01371
vstart: set osd_pool_default_erasure_code_profile in initial ceph.conf
...
Setting it via `ceph config`, when the cluster is already built and
started is too late, because it is used when building the initial osd
map.
Fixes: https://tracker.ceph.com/issues/23430
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-22 20:04:30 +02: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
Ricardo Dias
25c75a952d
mgr/dashboard: fix dashboard python 3 support
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-22 15:56:20 +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
Casey Bodley
cfe4ba6342
qa: fix overrides for openssl_keys task
...
teuthology looks for overrides by the class name, so overrides weren't
working after the task was renamed
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-22 10:31:08 -04:00
Ricardo Dias
6e75756d37
mgr/dashboard: fixed password generation in Auth controller
...
Fixes: http://tracker.ceph.com/issues/23404
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-22 12:18:56 +00: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
Yan, Zheng
a2a10b344d
client: fix Client::_read return
...
when reading from inline data, it return 0. introduced by commit
608aafb9
"client: cleanup ::_read return"
Fixes: http://tracker.ceph.com/issues/23436
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2018-03-22 11:01:36 +08:00
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
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