]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoceph-volume add a __release__ string, to help version-conditional calls 23332/head
Alfredo Deza [Mon, 30 Jul 2018 15:39:43 +0000 (11:39 -0400)]
ceph-volume add a __release__ string, to help version-conditional calls

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23276 from tchaikov/wip-config-diff-lock
Kefu Chai [Mon, 30 Jul 2018 14:24:54 +0000 (22:24 +0800)]
Merge pull request #23276 from tchaikov/wip-config-diff-lock

common/config: fix the lock in ConfigProxy::diff()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23251 from neha-ojha/wip-25112
Kefu Chai [Mon, 30 Jul 2018 14:23:18 +0000 (22:23 +0800)]
Merge pull request #23251 from neha-ojha/wip-25112

osd,mon: increase mon_max_pg_per_osd to 250

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23249 from liewegas/wip-mon-cx-nautilus
Kefu Chai [Mon, 30 Jul 2018 14:22:40 +0000 (22:22 +0800)]
Merge pull request #23249 from liewegas/wip-mon-cx-nautilus

osd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23229 from rjfd/wip-dashboard-query-params-bug
Kefu Chai [Mon, 30 Jul 2018 14:21:43 +0000 (22:21 +0800)]
Merge pull request #23229 from rjfd/wip-dashboard-query-params-bug

mgr/dashboard: fix query parameters in task annotated endpoints

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge PR #22607 into master
Sage Weil [Mon, 30 Jul 2018 13:45:17 +0000 (08:45 -0500)]
Merge PR #22607 into master

* refs/pull/22607/head:
common/options: convert many TYPE_[U]INT -> TYPE_SIZE
common/options: remove journal_max_corrupt_search

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23287 from Devp00l/wip-duplicate-error-messages
Lenz Grimmer [Mon, 30 Jul 2018 09:39:05 +0000 (11:39 +0200)]
Merge pull request #23287 from Devp00l/wip-duplicate-error-messages

mgr/dashboard: Fix duplicate error messages

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #22669 from votdev/feature_24574
Ricardo Dias [Mon, 30 Jul 2018 08:53:16 +0000 (09:53 +0100)]
Merge pull request #22669 from votdev/feature_24574

mgr/dashboard: Cleanup RGW config checks

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #23162 from smithfarm/wip-upgrade-cleanup
Nathan Cutler [Sun, 29 Jul 2018 16:08:48 +0000 (18:08 +0200)]
Merge pull request #23162 from smithfarm/wip-upgrade-cleanup

tests: upgrade/luminous-x: fix order of final-workload directory

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agocommon/options: convert many TYPE_[U]INT -> TYPE_SIZE 22607/head
Sage Weil [Mon, 18 Jun 2018 21:56:58 +0000 (16:56 -0500)]
common/options: convert many TYPE_[U]INT -> TYPE_SIZE

Note that the _cost options are in fact in units of bytes.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23043 from tchaikov/wip-python-cephfs-dependencies
Kefu Chai [Sat, 28 Jul 2018 01:53:32 +0000 (09:53 +0800)]
Merge pull request #23043 from tchaikov/wip-python-cephfs-dependencies

deb,rpm: fix python-cephfs dependencies

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23288 from theanalyst/doc/releases/13.2.1
Abhishek L [Fri, 27 Jul 2018 22:18:46 +0000 (00:18 +0200)]
Merge pull request #23288 from theanalyst/doc/releases/13.2.1

doc: releases: mimic 13.2.1 release notes

Reviewed-By: Sage Weil <sweil@redhat.com>
6 years agoMerge pull request #23278 from b-ranto/wip-volume-selinux
Alfredo Deza [Fri, 27 Jul 2018 21:57:46 +0000 (17:57 -0400)]
Merge pull request #23278 from b-ranto/wip-volume-selinux

ceph-volume: Restore SELinux context

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23106 from noahdesu/always-on-mgr-modules2
Noah Watkins [Fri, 27 Jul 2018 20:42:19 +0000 (13:42 -0700)]
Merge pull request #23106 from noahdesu/always-on-mgr-modules2

mgr: create always on class of modules

6 years agoMerge pull request #23143 from joke-lee/qa-admin-api-user-info-through-access-key
Casey Bodley [Fri, 27 Jul 2018 19:27:32 +0000 (15:27 -0400)]
Merge pull request #23143 from joke-lee/qa-admin-api-user-info-through-access-key

qa: add test for https://github.com/ceph/ceph/pull/22790

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23289 from alfredodeza/wip-rm24993-2
Andrew Schoen [Fri, 27 Jul 2018 19:00:19 +0000 (19:00 +0000)]
Merge pull request #23289 from alfredodeza/wip-rm24993-2

ceph-volume ensure encoded bytes are always used

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: Restore SELinux context 23278/head
Boris Ranto [Tue, 10 Jul 2018 20:52:38 +0000 (22:52 +0200)]
ceph-volume: Restore SELinux context

We need to reset the root context of the file system after mounting it.
Otherwise, the SELinux policy rules will not be preserved.

Fixes: https://tracker.ceph.com/issues/24785
Signed-off-by: Boris Ranto <branto@redhat.com>
6 years agoMerge pull request #23277 from zy751713126/fix_note
Jason Dillaman [Fri, 27 Jul 2018 18:14:06 +0000 (14:14 -0400)]
Merge pull request #23277 from zy751713126/fix_note

cls/rbd: fix method comment

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23279 from tchaikov/wip-cmake-cleanup
Kefu Chai [Fri, 27 Jul 2018 16:49:24 +0000 (00:49 +0800)]
Merge pull request #23279 from tchaikov/wip-cmake-cleanup

cmake: cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23283 from tchaikov/wip-cmake-fmt
Kefu Chai [Fri, 27 Jul 2018 16:11:58 +0000 (00:11 +0800)]
Merge pull request #23283 from tchaikov/wip-cmake-fmt

cmake: bump up the required fmt version

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agodoc: releases: mimic 13.2.1 release notes 23288/head
Abhishek Lekshmanan [Fri, 27 Jul 2018 15:30:36 +0000 (17:30 +0200)]
doc: releases: mimic 13.2.1 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoceph-volume tests.util verify as_bytes behavior 23289/head
Alfredo Deza [Fri, 27 Jul 2018 15:16:19 +0000 (11:16 -0400)]
ceph-volume tests.util verify as_bytes behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests catch utf-8 encoded stdin errors
Alfredo Deza [Fri, 27 Jul 2018 15:15:58 +0000 (11:15 -0400)]
ceph-volume tests catch utf-8 encoded stdin errors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume process use the as_bytes util for stdin
Alfredo Deza [Fri, 27 Jul 2018 15:14:13 +0000 (11:14 -0400)]
ceph-volume process use the as_bytes util for stdin

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume util create a helper for converting to bytes
Alfredo Deza [Fri, 27 Jul 2018 15:13:19 +0000 (11:13 -0400)]
ceph-volume util create a helper for converting to bytes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #22994 from tspmelo/wip-prettier-lint
Lenz Grimmer [Fri, 27 Jul 2018 14:38:16 +0000 (16:38 +0200)]
Merge pull request #22994 from tspmelo/wip-prettier-lint

mgr/dashboard: Improve prettier scripts and documentation

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Fix duplicate error messages 23287/head
Stephan Müller [Fri, 27 Jul 2018 14:15:07 +0000 (16:15 +0200)]
mgr/dashboard: Fix duplicate error messages

Duplicate error messages currently appear if the task wrapper service is
used. It calls 'notifyTask' on a failed task, this would be fine if
we didn't have the API interceptor, which watches all API requests and
triggers 'notifyTask' itself if an error appears.

Fixes issue #25139

Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #23281 from tspmelo/wip-opaque
Lenz Grimmer [Fri, 27 Jul 2018 10:56:46 +0000 (12:56 +0200)]
Merge pull request #23281 from tspmelo/wip-opaque

mgr/dashboard: Fix localStorage problem in Jest

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: bump up the required fmt version 23283/head
Kefu Chai [Fri, 27 Jul 2018 10:52:52 +0000 (18:52 +0800)]
cmake: bump up the required fmt version

seastar actually requires fmt 4.0.0 and up, as 3.0.2 does not offer
fmt/printf.h. see
https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst#400---2017-06-27
.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Fix localStorage problem in Jest 23281/head
Tiago Melo [Fri, 27 Jul 2018 09:51:30 +0000 (10:51 +0100)]
mgr/dashboard: Fix localStorage problem in Jest

Latest version of Jest was showing the following error:
"SecurityError: localStorage is not available for opaque origins"

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agocmake: extract mgr into its own CMakeLists.txt 23279/head
Kefu Chai [Fri, 27 Jul 2018 09:02:03 +0000 (17:02 +0800)]
cmake: extract mgr into its own CMakeLists.txt

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: extract common,msg out of src/CMakeLists.txt
Kefu Chai [Fri, 27 Jul 2018 08:03:58 +0000 (16:03 +0800)]
cmake: extract common,msg out of src/CMakeLists.txt

* add arch as a static library.
* add crc32 as a static library. its only dependency is libarch.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocls/rbd: fix note 23277/head
zhengyin [Mon, 25 Jun 2018 06:25:05 +0000 (14:25 +0800)]
cls/rbd: fix note

Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
6 years agoMerge pull request #23254 from tchaikov/wip-cmake-cleanup
Kefu Chai [Fri, 27 Jul 2018 05:12:54 +0000 (13:12 +0800)]
Merge pull request #23254 from tchaikov/wip-cmake-cleanup

cmake: modularize src/perfglue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23255 from tchaikov/wip-seastar-yaml-cpp
Kefu Chai [Fri, 27 Jul 2018 05:12:28 +0000 (13:12 +0800)]
Merge pull request #23255 from tchaikov/wip-seastar-yaml-cpp

seastar: lower the required yaml-cpp version to 0.5.1

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23253 from smithfarm/wip-doc-dev-toc
Kefu Chai [Fri, 27 Jul 2018 05:09:49 +0000 (13:09 +0800)]
Merge pull request #23253 from smithfarm/wip-doc-dev-toc

doc: make it easier to reach the old dev doc TOC

Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/config: fix the lock in ConfigProxy::diff() 23276/head
Kefu Chai [Fri, 27 Jul 2018 04:13:42 +0000 (12:13 +0800)]
common/config: fix the lock in ConfigProxy::diff()

it's a regression introduced by e406d8eb9e1deb801ecb346169eaaf96adbb4b53

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc/dev/internals: drop :orphan: directive 23253/head
Nathan Cutler [Fri, 27 Jul 2018 03:53:18 +0000 (05:53 +0200)]
doc/dev/internals: drop :orphan: directive

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #23165 from smithfarm/wip-doc-snaptrim-nit
Nathan Cutler [Thu, 26 Jul 2018 22:06:34 +0000 (00:06 +0200)]
Merge pull request #23165 from smithfarm/wip-doc-snaptrim-nit

doc/rados/operations/pg-states: fix PG state names, part 2

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agoMerge pull request #23072 from fullerdj/wip-djf-24687
Josh Durgin [Thu, 26 Jul 2018 17:46:34 +0000 (10:46 -0700)]
Merge pull request #23072 from fullerdj/wip-djf-24687

mon/OSDMonitor: Warnings for expected_num_objects

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #23268 from ceph/simple-testinfra-version
Alfredo Deza [Thu, 26 Jul 2018 17:43:46 +0000 (13:43 -0400)]
Merge pull request #23268 from ceph/simple-testinfra-version

ceph-volume: do not pin the testinfra version for the simple tests

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume: do not pin the testinfra version for the simple tests 23268/head
Andrew Schoen [Thu, 26 Jul 2018 17:41:15 +0000 (12:41 -0500)]
ceph-volume: do not pin the testinfra version for the simple tests

For testinfra to work with a 2.6.x version of ansible it must use the
latest version.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agomon/OSDMonitor: Warn if missing expected_num_objects 23072/head
Douglas Fuller [Fri, 29 Jun 2018 17:55:31 +0000 (13:55 -0400)]
mon/OSDMonitor: Warn if missing expected_num_objects

When creating a pool on filestore, warn if the user appears to be
creating a pool to store a large number of objects but omitted the
expected_num_objects parameter. Create the pool anyway.

Fixes: http://tracker.ceph.com/issues/24687
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
6 years agoosd,mon: increase mon_max_pg_per_osd to 250 23251/head
Neha Ojha [Thu, 26 Jul 2018 00:25:35 +0000 (17:25 -0700)]
osd,mon: increase mon_max_pg_per_osd to 250

https://bugzilla.redhat.com/show_bug.cgi?id=1603615 indicates
a case when pg calc conflicts with mon_max_pg_per_osd, and does not
allow pool creation when this limit is 200. Hence, increase this limit
to avoid this.

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #23263 from ceph/simple-ansible-version
Andrew Schoen [Thu, 26 Jul 2018 15:22:46 +0000 (15:22 +0000)]
Merge pull request #23263 from ceph/simple-ansible-version

ceph-volume: update version of ansible to 2.6.x for simple tests

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume: update version of ansible to 2.6.x for simple tests 23263/head
Andrew Schoen [Thu, 26 Jul 2018 15:09:17 +0000 (10:09 -0500)]
ceph-volume: update version of ansible to 2.6.x for simple tests

ceph-ansible now requires a 2.5.x or 2.6.x version of ansible if you're
using the master branch. This updates our functional tests for the
simple subcommand to use a 2.6.x version of ansible.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #23256 from trociny/wip-25114
Jason Dillaman [Thu, 26 Jul 2018 13:29:23 +0000 (09:29 -0400)]
Merge pull request #23256 from trociny/wip-25114

test/pybind: fix test_rbd.TestClone.test_trash_snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Improve prettier scripts and documentation 22994/head
Tiago Melo [Wed, 11 Jul 2018 16:25:05 +0000 (17:25 +0100)]
mgr/dashboard: Improve prettier scripts and documentation

Added prettier validation to the run-frontend-unittests script. This will make
sure we are always running prettier in our commits.

Added 2 new npm scripts:
- 'prettier', will run prettier formatter on all frontend files
- 'prettier:lint', will check all frontend files against prettier linter

Removed 'pretty-quick' and related scripts. Since we now have all files
prettified we can simply run prettier on them.

Remove 'tslint-eslint-rules' package and all related rules. Prettier can check
all the removed rules.

Updated HACKING.rst with some information about prettier.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Prettify all remaining files
Tiago Melo [Tue, 24 Jul 2018 12:58:10 +0000 (13:58 +0100)]
mgr/dashboard: Prettify all remaining files

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Add reference to prettier in CodingStyle
Tiago Melo [Wed, 11 Jul 2018 16:19:09 +0000 (17:19 +0100)]
mgr/dashboard: Add reference to prettier in CodingStyle

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #23168 from tchaikov/wip-dpdk-fixes
Kefu Chai [Thu, 26 Jul 2018 12:23:52 +0000 (20:23 +0800)]
Merge pull request #23168 from tchaikov/wip-dpdk-fixes

msg/async: fix FTBFS of dpdk

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23200 from votdev/bug_25068
Lenz Grimmer [Thu, 26 Jul 2018 12:01:15 +0000 (14:01 +0200)]
Merge pull request #23200 from votdev/bug_25068

mgr/dashboard: RGW is not working if an URL prefix is defined

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #22906 from tspmelo/wip-improve-summary
Lenz Grimmer [Thu, 26 Jul 2018 12:00:11 +0000 (14:00 +0200)]
Merge pull request #22906 from tspmelo/wip-improve-summary

mgr/dashboard: Improve SummaryService and TaskWrapperService

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agodo_cmake: fail if cmake fails 23255/head
Kefu Chai [Thu, 26 Jul 2018 07:03:49 +0000 (15:03 +0800)]
do_cmake: fail if cmake fails

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: add Findfmt.cmake
Kefu Chai [Thu, 26 Jul 2018 07:29:12 +0000 (15:29 +0800)]
cmake: add Findfmt.cmake

the cmake config provided by fmt-devel-3.0.2 does not offer fmt::fmt target,
so we need to offer a Findfmt.cmake to do this.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: make it easier to reach the old dev doc TOC
Nathan Cutler [Thu, 26 Jul 2018 04:21:04 +0000 (06:21 +0200)]
doc: make it easier to reach the old dev doc TOC

Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agotest/pybind: fix test_rbd.TestClone.test_trash_snapshot 23256/head
Mykola Golub [Thu, 26 Jul 2018 07:34:57 +0000 (10:34 +0300)]
test/pybind: fix test_rbd.TestClone.test_trash_snapshot

Fixes: http://tracker.ceph.com/issues/25114
Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agocmake: make cpu_profiler a library target 23254/head
Kefu Chai [Thu, 26 Jul 2018 05:50:29 +0000 (13:50 +0800)]
cmake: make cpu_profiler a library target

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: make heap_profiler a library target
Kefu Chai [Thu, 26 Jul 2018 05:41:55 +0000 (13:41 +0800)]
cmake: make heap_profiler a library target

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: import allocator libraries in a better way
Kefu Chai [Thu, 26 Jul 2018 05:28:02 +0000 (13:28 +0800)]
cmake: import allocator libraries in a better way

* instead expose the paths, it'd better to expose a library target.
* remove HAVE_LIBJEMALLOC, as it not used anywhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoseastar: lower the required yaml-cpp version to 0.5.1
Kefu Chai [Thu, 26 Jul 2018 06:40:49 +0000 (14:40 +0800)]
seastar: lower the required yaml-cpp version to 0.5.1

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23191 from dillaman/wip-23398
Mykola Golub [Thu, 26 Jul 2018 05:06:33 +0000 (08:06 +0300)]
Merge pull request #23191 from dillaman/wip-23398

rbd: improved trash snapshot namespace handling

Reviewed-by: songweibin <song.weibin@zte.com.cn>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23228 from tchaikov/wip-ceph-dencoder
Kefu Chai [Thu, 26 Jul 2018 04:11:39 +0000 (12:11 +0800)]
Merge pull request #23228 from tchaikov/wip-ceph-dencoder

test: move ceph-dencoder to src/tools

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #20366 from Synesis-LLC/master
Kefu Chai [Thu, 26 Jul 2018 03:50:26 +0000 (11:50 +0800)]
Merge pull request #20366 from Synesis-LLC/master

doc: print pg peering in SVG instead of PNG

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23248 from linuxbox2/rgw-fix-relaxed
Matt Benjamin [Wed, 25 Jul 2018 22:33:54 +0000 (18:33 -0400)]
Merge pull request #23248 from linuxbox2/rgw-fix-relaxed

rgw: fix build

6 years agoMerge pull request #22758 from ricardoasmarques/wip-user-management
Lenz Grimmer [Wed, 25 Jul 2018 22:27:07 +0000 (00:27 +0200)]
Merge pull request #22758 from ricardoasmarques/wip-user-management

mgr/dashboard: Ceph dashboard user management from the UI

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoosd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic 23249/head
Sage Weil [Wed, 25 Jul 2018 22:12:43 +0000 (17:12 -0500)]
osd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic

This was delayed and did not appear in 13.2.0.

Fixes: 1fdc85f224d52655d74eff9a29b6029b974661b3
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: fix build 23248/head
Matt Benjamin [Wed, 25 Jul 2018 21:21:11 +0000 (17:21 -0400)]
rgw: fix build

merge crossed with #23074

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge PR #23247 into master
Sage Weil [Wed, 25 Jul 2018 21:23:42 +0000 (16:23 -0500)]
Merge PR #23247 into master

* refs/pull/23247/head:
Revert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade"
Revert "rpm,deb: fix chown to use -h"
rpm,deb: fix chown to use -h
rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoRevert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade" 23247/head
Sage Weil [Wed, 25 Jul 2018 21:22:09 +0000 (16:22 -0500)]
Revert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade"

This reverts commit 58cde3fd793c037beca6645cc30b2ae1c30e2af1.

This was only needed for luminous and mimic.  We are keeping these commits in master (and reverting them) only so that the cherry-pick -x references work.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoRevert "rpm,deb: fix chown to use -h"
Sage Weil [Wed, 25 Jul 2018 21:22:04 +0000 (16:22 -0500)]
Revert "rpm,deb: fix chown to use -h"

This reverts commit 92207c76b91c26c0558688a358ade7c0d94d1b59.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23234 from ceph/wip-rm24784
Alfredo Deza [Wed, 25 Jul 2018 20:52:40 +0000 (16:52 -0400)]
Merge pull request #23234 from ceph/wip-rm24784

ceph-volume: PVolumes.get() should return one PV when using name or uuid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23237 from neha-ojha/wip-whitelist-slow-requests
Yuri Weinstein [Wed, 25 Jul 2018 19:36:17 +0000 (12:36 -0700)]
Merge pull request #23237 from neha-ojha/wip-whitelist-slow-requests

qa/tasks/thrashosds-health.yaml: whitelist slow requests

6 years agoMerge pull request #23141 from alfredodeza/wip-rm24993
Alfredo Deza [Wed, 25 Jul 2018 19:02:00 +0000 (15:02 -0400)]
Merge pull request #23141 from alfredodeza/wip-rm24993

ceph-volume process.call with stdin in Python 3 fix

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #22533 from linuxbox2/wip-rgw-24507
Matt Benjamin [Wed, 25 Jul 2018 18:41:27 +0000 (14:41 -0400)]
Merge pull request #22533 from linuxbox2/wip-rgw-24507

rgw: add option for relaxed region enforcement

6 years agoqa/tasks/thrashosds-health.yaml: whitelist slow requests 23237/head
Neha Ojha [Wed, 25 Jul 2018 17:20:12 +0000 (10:20 -0700)]
qa/tasks/thrashosds-health.yaml: whitelist slow requests

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #23074 from tchaikov/wip-seastar-config
Kefu Chai [Wed, 25 Jul 2018 17:02:11 +0000 (01:02 +0800)]
Merge pull request #23074 from tchaikov/wip-seastar-config

common/config: add ConfigProxy for crimson

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agomgr/dashboard: Ceph dashboard user management 22758/head
Ricardo Marques [Tue, 12 Jun 2018 14:55:08 +0000 (15:55 +0100)]
mgr/dashboard: Ceph dashboard user management

Fixes: https://tracker.ceph.com/issues/24446
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Skip tab focus on "show/hide password" button
Ricardo Marques [Sat, 21 Jul 2018 11:10:14 +0000 (12:10 +0100)]
mgr/dashboard: Skip tab focus on "show/hide password" button

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Add 'onCancel' output for 'ConfirmationModal'
Ricardo Marques [Mon, 2 Jul 2018 10:54:42 +0000 (11:54 +0100)]
mgr/dashboard: Add 'onCancel' output for 'ConfirmationModal'

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Add cd-select-badges component
Ricardo Marques [Mon, 18 Jun 2018 15:24:31 +0000 (16:24 +0100)]
mgr/dashboard: Add cd-select-badges component

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoceph-volume: PVolumes.get() should return one PV when using name or uuid 23234/head
Andrew Schoen [Wed, 25 Jul 2018 16:47:27 +0000 (11:47 -0500)]
ceph-volume: PVolumes.get() should return one PV when using name or uuid

It is possible to get duplicated pv entires from the 'pvs' lvm command.
If we're using PVolumes.get() with either pv_name or pv_uuid we can
safely return a single PVolume object. However, if we use pv_tags with
PVolumes.get() we must still raise a MultiplePVsError if many pvs
are found that have the tags, because they are not guaranteed to be the
same pv, as would be the case with pv_name or pv_uuid.

Fixes: http://tracker.ceph.com/issues/24784
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #23232 into master
Sage Weil [Wed, 25 Jul 2018 16:38:52 +0000 (11:38 -0500)]
Merge PR #23232 into master

* refs/pull/23232/head:
mon: don't require CEPHX_V2 from mons until nautilus

6 years agoceph-volume tests run to log_descriptors, verifying utf-8 23141/head
Alfredo Deza [Wed, 25 Jul 2018 12:40:53 +0000 (08:40 -0400)]
ceph-volume tests run to log_descriptors, verifying utf-8

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume process decode to utf-8 when logging descriptors
Alfredo Deza [Wed, 25 Jul 2018 12:39:16 +0000 (08:39 -0400)]
ceph-volume process decode to utf-8 when logging descriptors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.process ensure that stdin works on py3 and py2.7
Alfredo Deza [Fri, 20 Jul 2018 13:49:59 +0000 (09:49 -0400)]
ceph-volume tests.process ensure that stdin works on py3 and py2.7

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume process encode stdin with utf-8 to prevent bytes TypeError
Alfredo Deza [Fri, 20 Jul 2018 13:48:38 +0000 (09:48 -0400)]
ceph-volume process encode stdin with utf-8 to prevent bytes TypeError

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agomon: don't require CEPHX_V2 from mons until nautilus 23232/head
Sage Weil [Wed, 25 Jul 2018 16:22:45 +0000 (11:22 -0500)]
mon: don't require CEPHX_V2 from mons until nautilus

The mimic 13.2.0 didn't have it.

Fixes: 3dc80e5f9b6ebf1bc1cecbd95b288005216bdbec
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23231 from tchaikov/wip-fio
Kefu Chai [Wed, 25 Jul 2018 16:11:29 +0000 (00:11 +0800)]
Merge pull request #23231 from tchaikov/wip-fio

tests/fio: fix build failures and ensure this is covered by run-make-check.sh

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agotools/ceph_dencoder: use full path for including headers 23228/head
Kefu Chai [Wed, 25 Jul 2018 16:07:32 +0000 (00:07 +0800)]
tools/ceph_dencoder: use full path for including headers

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Add match validator
Ricardo Marques [Mon, 18 Jun 2018 11:42:08 +0000 (12:42 +0100)]
mgr/dashboard: Add match validator

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Add user management API
Ricardo Marques [Wed, 20 Jun 2018 15:03:39 +0000 (16:03 +0100)]
mgr/dashboard: Add user management API

Fixes: https://tracker.ceph.com/issues/24446
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Add asserError helper method
Ricardo Marques [Wed, 20 Jun 2018 15:05:22 +0000 (16:05 +0100)]
mgr/dashboard: Add asserError helper method

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agocmake: sync up with upstream FIO 23231/head
Kefu Chai [Wed, 25 Jul 2018 14:47:18 +0000 (22:47 +0800)]
cmake: sync up with upstream FIO

to pick up the change to FTBFS with C++ engine.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Improve SummaryService and TaskWrapperService 22906/head
Tiago Melo [Thu, 5 Jul 2018 16:45:32 +0000 (17:45 +0100)]
mgr/dashboard: Improve SummaryService and TaskWrapperService

When you create a new task, and it stays running, it will be added automatically
to the summary data.

This will allows for us to deal with it more quickly, by subscribing
to the summaryService, and removes the need to pass a runningTasks array
between services.

Added 3 new methods to SummaryService.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #22695 from a2batic/scss
Lenz Grimmer [Wed, 25 Jul 2018 14:32:16 +0000 (16:32 +0200)]
Merge pull request #22695 from a2batic/scss

mgr/dashboard: Color variables for color codes

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23100 from adamemerson/wip-robustly-notify
Casey Bodley [Wed, 25 Jul 2018 14:30:05 +0000 (10:30 -0400)]
Merge pull request #23100 from adamemerson/wip-robustly-notify

rgw: Robustly notify

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge pull request #23183 from ricardoasmarques/wip-fix-url-prefix
Ricardo Dias [Wed, 25 Jul 2018 14:20:18 +0000 (15:20 +0100)]
Merge pull request #23183 from ricardoasmarques/wip-fix-url-prefix

mgr/dashboard: Fix cherrypy static content URL prefix config

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: Color variables for color codes 22695/head
a2batic [Sat, 21 Jul 2018 00:59:47 +0000 (02:59 +0200)]
mgr/dashboard: Color variables for color codes
Assign variables to colors present in css files
Changed navigation icons padding because the notification dropdown was going out of window.
Fixes: http://tracker.ceph.com/issues/24575
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
6 years agomgr/dashboard: fix query parameters in task annotated endpoints 23229/head
Ricardo Dias [Wed, 25 Jul 2018 13:13:20 +0000 (14:13 +0100)]
mgr/dashboard: fix query parameters in task annotated endpoints

Fixes: http://tracker.ceph.com/issues/25096
Signed-off-by: Ricardo Dias <rdias@suse.com>