Commit Graph

88679 Commits

Author SHA1 Message Date
Alfredo Deza
5bd0c27f9d ceph-volume add a __release__ string, to help version-conditional calls
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-30 11:39:43 -04:00
Kefu Chai
df2196dbf8
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>
2018-07-30 22:24:54 +08:00
Kefu Chai
1bb7be365e
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>
2018-07-30 22:23:18 +08:00
Kefu Chai
b88596d93c
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>
2018-07-30 22:22:40 +08:00
Kefu Chai
53951a84b6
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>
2018-07-30 22:21:43 +08:00
Sage Weil
c13aa38175 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>
2018-07-30 08:45:17 -05:00
Lenz Grimmer
a8dc0e593f
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>
2018-07-30 11:39:05 +02:00
Ricardo Dias
00ec05abbd
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>
2018-07-30 09:53:16 +01:00
Nathan Cutler
cecbf3e5dd
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>
2018-07-29 18:08:48 +02:00
Sage Weil
922bfc5f3b 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>
2018-07-28 15:11:05 -05:00
Kefu Chai
d76fbf67a6
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>
2018-07-28 09:53:32 +08:00
Abhishek L
726ca169ee
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>
2018-07-28 00:18:46 +02:00
Alfredo Deza
ba755c115f
Merge pull request #23278 from b-ranto/wip-volume-selinux
ceph-volume: Restore SELinux context

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-27 17:57:46 -04:00
Noah Watkins
dc65182d21
Merge pull request #23106 from noahdesu/always-on-mgr-modules2
mgr: create always on class of modules
2018-07-27 13:42:19 -07:00
Casey Bodley
3a55e13c44
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>
2018-07-27 15:27:32 -04:00
Andrew Schoen
a8c71c9021
Merge pull request #23289 from alfredodeza/wip-rm24993-2
ceph-volume ensure encoded bytes are always used

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-07-27 19:00:19 +00:00
Boris Ranto
61dbf4ac2a 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>
2018-07-27 20:27:22 +02:00
Jason Dillaman
38206b62f1
Merge pull request #23277 from zy751713126/fix_note
cls/rbd: fix method comment

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-27 14:14:06 -04:00
Kefu Chai
5108af0d02
Merge pull request #23279 from tchaikov/wip-cmake-cleanup
cmake: cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-28 00:49:24 +08:00
Kefu Chai
a7082cf31d
Merge pull request #23283 from tchaikov/wip-cmake-fmt
cmake: bump up the required fmt version

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-28 00:11:58 +08:00
Abhishek Lekshmanan
3b0647edeb doc: releases: mimic 13.2.1 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-07-27 17:41:32 +02:00
Alfredo Deza
1802c386da ceph-volume tests.util verify as_bytes behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27 11:16:30 -04:00
Alfredo Deza
31f565e90b ceph-volume tests catch utf-8 encoded stdin errors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27 11:16:30 -04:00
Alfredo Deza
6a9368c1db ceph-volume process use the as_bytes util for stdin
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27 11:16:30 -04:00
Alfredo Deza
fb51816544 ceph-volume util create a helper for converting to bytes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27 11:16:30 -04:00
Lenz Grimmer
3f12764a2b
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>
2018-07-27 16:38:16 +02:00
Stephan Müller
70d47a5b1f 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>
2018-07-27 16:26:59 +02:00
Lenz Grimmer
794126b7b9
Merge pull request #23281 from tspmelo/wip-opaque
mgr/dashboard: Fix localStorage problem in Jest

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-27 12:56:46 +02:00
Kefu Chai
b1c4c9e9a1 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>
2018-07-27 18:52:54 +08:00
Tiago Melo
e184719640 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>
2018-07-27 10:52:57 +01:00
Kefu Chai
0b53f7c67b cmake: extract mgr into its own CMakeLists.txt
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27 17:10:29 +08:00
Kefu Chai
85a3c63644 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>
2018-07-27 17:09:26 +08:00
zhengyin
3f87e1e41e cls/rbd: fix note
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2018-07-27 13:39:04 +08:00
Kefu Chai
591167e0cc
Merge pull request #23254 from tchaikov/wip-cmake-cleanup
cmake: modularize src/perfglue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 13:12:54 +08:00
Kefu Chai
a8d23b465d
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>
2018-07-27 13:12:28 +08:00
Kefu Chai
702a447685
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>
2018-07-27 13:09:49 +08:00
Kefu Chai
40e76aa4f0 common/config: fix the lock in ConfigProxy::diff()
it's a regression introduced by e406d8eb9e

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27 12:14:55 +08:00
Nathan Cutler
c9b14a26f4 doc/dev/internals: drop :orphan: directive
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-27 05:53:18 +02:00
Nathan Cutler
f89bde3f93
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>
2018-07-27 00:06:34 +02:00
Josh Durgin
ce9c45c300
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>
2018-07-26 10:46:34 -07:00
Alfredo Deza
48bf719195
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>
2018-07-26 13:43:46 -04:00
Andrew Schoen
70b86012b5 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>
2018-07-26 12:41:15 -05:00
Douglas Fuller
69fb2293c4 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>
2018-07-26 13:14:44 -04:00
Neha Ojha
f7911de61b 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>
2018-07-26 08:35:11 -07:00
Andrew Schoen
43e4348cb8
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>
2018-07-26 15:22:46 +00:00
Andrew Schoen
654578928d 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>
2018-07-26 10:09:17 -05:00
Jason Dillaman
bf3ee68792
Merge pull request #23256 from trociny/wip-25114
test/pybind: fix test_rbd.TestClone.test_trash_snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-26 09:29:23 -04:00
Tiago Melo
2796f921d6 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>
2018-07-26 13:42:55 +01:00
Tiago Melo
6a4bf5eca6 mgr/dashboard: Prettify all remaining files
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26 13:42:55 +01:00
Tiago Melo
2aa869b368 mgr/dashboard: Add reference to prettier in CodingStyle
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26 13:38:12 +01:00