Commit Graph

93216 Commits

Author SHA1 Message Date
Brad Hubbard
e4e7f3ea6a doc/user-management: Remove obsolete reset caps command
This command has not worked since hammer and makes no sense in an
environment where we do not allow empty caps

Fixes: http://tracker.ceph.com/issues/37663

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-12-14 15:22:15 +10:00
Kefu Chai
0b25b6416a
Merge pull request #25454 from rzarzynski/wip-bl-drop-alloc-tracking
common: drop allocation tracking from bufferlist.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-12-14 10:53:56 +08:00
Patrick Donnelly
a233a098cc
mds: remove obsolete comments
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-12-13 15:53:47 -08:00
David Zafman
ddc111ee00 rados, librados: Get errors back to caller
Remove redundant error message

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-12-13 15:30:35 -08:00
David Zafman
8da803d0de osd: shard_info_wrapper encode/decode need to fall through to *_FINISH()
Fixes: http://tracker.ceph.com/issues/37653

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-12-13 13:52:13 -08:00
J. Eric Ivancich
c5a59c3365
Merge pull request #25333 from ivancich/wip-versioned-reshard-stats
rgw: fix stats for versioned buckets after reshard.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2018-12-13 15:14:11 -05:00
Abhishek L
8cebc1c0ff
Merge pull request #25356 from ivancich/wip-fix-rgw-options
rgw: move all reshard config options out of legacy_config_options

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2018-12-13 17:57:09 +01:00
Ricardo Dias
a690b16b5d
mgr/orchestrator: added useful attributes to ServiceDescription
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-12-13 16:25:34 +00:00
Alfredo Deza
4be511fcb5
Merge pull request #25477 from alfredodeza/wip-rm37486
ceph-volume: set permissions right before prime-osd-dir

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-12-13 10:36:21 -05:00
Alfredo Deza
9be6b15d33 ceph-volume tests.functional.lvm stop all osds before activating again to test permissions
Otherwise, ``ceph-volume lvm activate --all`` will skip OSDs that are
already running. So the test that verifies that permissions are
corrected will fail because ``activate`` will simply skip them

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-12-13 09:49:41 -05:00
Joao Eduardo Luis
b24be6f074 mgr: make module error message more descriptive
It was weird just seeing that there were 'modules' with errors; users
could be confused as to who own's those modules. Causually mentioning
'ceph-mgr' in the message should clarify.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-12-13 14:32:44 +00:00
Yehuda Sadeh
bf7ce944fa json formatter: reset pending string on dump_stream()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-12-13 05:34:13 -08:00
Sage Weil
bd993c11f2 common/options: set mon or mgr service on these options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:08:04 -06:00
Sage Weil
c55c93a018 common/options: more mon options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:07:47 -06:00
Sage Weil
0825b756e6 common/options: kill old mon_max_pgmap_epochs option
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:05:08 -06:00
Sage Weil
87c545a8a7 common/options: mon options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:05:08 -06:00
Sage Weil
4b9ea5e22f mon: remove dead option mon_pg_min_inactive
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:05:08 -06:00
Sage Weil
31dd620883 mon: mon_osd_pool_ec_fast_read -> osd_pool_default_ec_fast_read
More consistent name!

Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:05:08 -06:00
Sage Weil
a3e3ac66c3 common/options: document mon options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:05:08 -06:00
Sage Weil
d359b7ccf9 common/options: messenger options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 07:05:08 -06:00
Lenz Grimmer
822b02ce1b
Merge pull request #25504 from Devp00l/wip-summary-service-test-fix
mgr/dashboard: Cleanup of summary refresh test

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-12-13 14:00:45 +01:00
Alfredo Deza
7d6c32b5db ceph-volume lvm.activate ensure filestore osd path is chowned always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-12-13 07:45:00 -05:00
Sage Weil
ff75a0b4f2 common/options: document misc
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 06:26:52 -06:00
Sage Weil
8e939a5db6 common/options: compression options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 06:26:52 -06:00
Sage Weil
f82cb01886 common/options: document monitor log options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 06:26:52 -06:00
Sage Weil
c219402ed9 Merge PR #21305 into master
* refs/pull/21305/head:
	ceph-create-keys: depreceate, print warning

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-12-13 06:16:59 -06:00
Sage Weil
4ba456484d ceph-create-keys: depreceate, print warning
We'll remove this post-nautilus or post-octopus, I guess?

Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-13 04:23:53 -06:00
Nathan Cutler
efbc57da08
Merge pull request #25411 from javacruft/py3-ceph-create-keys
ceph-create-keys: Misc Python 3 fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-12-13 11:13:52 +01:00
Sage Weil
ce7fed1788 Merge PR #25478 into master
* refs/pull/25478/head:
	README.md: Add note about default do_cmake.sh debug builds.
	doc/install: Add note about default do_cmake.sh debug builds.
	do_cmake: Warn user about slow debug performance by default.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-12-13 04:12:43 -06:00
Sébastien Han
c0f77bd69e spec: requires ceph base instead of common
Currently rbd-mirror and radosgw packages installation won't create the
Ceph directories in /var/lib/ceph since they depend on ceph-common
only. ceph-base is responsible for creating these directories.

Since ceph-base requires ceph-common then let's use ceph-base as a
dependency.

Fixes: http://tracker.ceph.com/issues/37620
Signed-off-by: Sébastien Han <seb@redhat.com>
2018-12-13 11:09:48 +01:00
Lenz Grimmer
82cb7d73dd
Merge pull request #25334 from rhcs-dashboard/rgw-email-validation
mgr/dashboard: Validation for duplicate RGW user email

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-12-13 10:52:44 +01:00
Lenz Grimmer
1e7a1c7cd3
Merge pull request #25502 from rhcs-dashboard/code-cleanup
mgr/dashboard: code cleanup

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-12-13 10:50:51 +01:00
Kefu Chai
117823ecf9
Merge pull request #25463 from tchaikov/wip-qa-thrash-old-clients
qa: downgrade librados2,librbd1 for thrash-old-clients tests

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-12-13 12:11:45 +08:00
Kefu Chai
1d973c1e90 qa: downgrade librados2,librbd1 for thrash-old-clients tests
librados2 and librbd1 are installed as a dependency of qemu-kvm.
qemu-kvm is installed by ceph-cm-ansible, see [1].

in thrash-old-clients, jewel packages are installed, but yum does
not allow downgrade unless it's required explicitly. in this change,
we downgrade librbd1 and librados2 to address this issue.

currently, the ceph packages shipped by CentOS/RHEL 7 are still an old
version of jewel. so this issue only kicks in when we try to install
hammer.

this change should address failures like

Command failed on smithi136 with status 1: '\n sudo yum -y install
rbd-fuse\n '

found in rados/thrash-old-clients tests.

---
[1]
3db1cbdc22 (diff-f2b05d775fedff6c5c6689f564b32f1c)

Fixes: http://tracker.ceph.com/issues/37618
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-12-13 10:49:37 +08:00
Dan Mick
342f0d914a
Merge pull request #25433 from hsiang41/fix_37533
mgr/diskprediction_cloud: Remove needless library in the requirements file
2018-12-12 14:37:41 -08:00
Eric Ivancich
d1ffcf18f4
Merge pull request #25510 from ivancich/wip-log-successful-resharding
rgw: feature -- log successful bucket resharding events

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-12-12 16:13:04 -05:00
Patrick Donnelly
567f83c2cc
Merge PR #25222 into master
* refs/pull/25222/head:
	mds: do not call Journaler::_trim twice

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-12-12 12:48:01 -08:00
Patrick Donnelly
ad8b42d356
Merge PR #25229 into master
* refs/pull/25229/head:
	mds: fix incorrect l_pq_executing_ops statistics when meet an invalid item in purge queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-12-12 12:47:16 -08:00
Patrick Donnelly
b0258a5702
Merge PR #25109 into master
* refs/pull/25109/head:
	client: do not move f->pos untill success write

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-12-12 12:45:29 -08:00
Patrick Donnelly
5661662c2e
Merge PR #25220 into master
* refs/pull/25220/head:
	mds: queue inodes into MDCache::export_pin_queue after setattr is journaled

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-12-12 12:43:05 -08:00
Patrick Donnelly
3b21c536d8
Merge PR #25316 into master
* refs/pull/25316/head:
	client: don't update importing caps' mseq when handing cap export
	mds: don't exclude disallowed caps when recording wanted caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-12-12 12:41:46 -08:00
Patrick Donnelly
01cdaf9dad
Merge PR #25389 into master
* refs/pull/25389/head:
	mds: remove duplicated l_mdc_num_strays perfcounter set

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-12-12 12:40:55 -08:00
Patrick Donnelly
80248beb69
Merge PR #25442 into master
* refs/pull/25442/head:
	pybind/mgr/status: fix ceph fs status in py3 environments.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-12-12 12:39:47 -08:00
Andrew Schoen
569b4fb7b3 ceph-volume: include the ceph-facts role when needed during testing
The ceph-ansible stable-3.2 branch does not have the ceph-facts role
but master does. We need to make sure to import this role only when
it's supported.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-12-12 15:27:04 -05:00
Sage Weil
74594b1798 Merge PR #25402 into master
* refs/pull/25402/head:
	pybind/mgr: rename get_option -> get_ceph_option
	pybind/mgr: add get_ceph_option to standby module interface
	ceph.spec.in: add xmlsec1 dependency for dashboard make check
	mgr: rename internal ceph_set_config -> ceph_set_module_option
	pybind/mgr: set_config -> set_module_option
	pybind/mgr: get_config -> get_module_option
	mgr: rename internal get_config -> get_module_option
	pybind/mgr: OPTIONS -> MODULE_OPTIONS

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2018-12-12 14:00:52 -06:00
J. Eric Ivancich
1b9c762b79 rgw: feature -- log successful bucket resharding events
This change adds a single log entry at level 1 to indicate when a
bucket resharding successfully completes.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2018-12-12 14:21:27 -05:00
Mark Nelson
3214b71558 README.md: Add note about default do_cmake.sh debug builds.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-12-12 12:09:57 -06:00
Mark Nelson
51e2d4c481 doc/install: Add note about default do_cmake.sh debug builds.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-12-12 12:09:57 -06:00
Mark Nelson
d433522ae9 do_cmake: Warn user about slow debug performance by default.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-12-12 12:09:57 -06:00
Mark Nelson
89a75259fe kv/rocksdb_cache: Remove C style struct hack undefined behavior
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2018-12-12 11:28:23 -06:00