Commit Graph

92958 Commits

Author SHA1 Message Date
Mykola Golub
b29b4f0c71 qa/workunits/rbd: add trash move/restore mirror test
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-12-14 16:47:15 +00:00
Mykola Golub
6844a52ebb librbd: disable image mirroring when moving to trash
And enable when restoring if mirror pool mode set.

Fixes: https://tracker.ceph.com/issues/37596
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-12-14 16:47:15 +00:00
Casey Bodley
8ea5ac4933
Merge pull request #25357 from cbodley/wip-rgw-reshard-yield
rgw: add optional_yield to block_while_resharding()

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-12-14 11:00:20 -05:00
Casey Bodley
b8a4154b38
Merge pull request #25412 from cbodley/wip-rgw-const-zone
rgw: zone service only provides const access to its data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-12-14 09:55:30 -05:00
Jos Collin
79d36edefd
Merge pull request #25549 from batrick/obsolete-comment
mds: remove obsolete comments

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-12-14 12:34:47 +05:30
Jos Collin
76132a8d07
Merge pull request #25550 from badone/wip-doc-remove-capability-reset-command
doc/user-management: Remove obsolete reset caps command

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-12-14 12:10:18 +05:30
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
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
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
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
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
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
Lenz Grimmer
339ff6abf1
Merge pull request #25325 from Devp00l/wip-issue-37469
mgr/dashboard: Notification queue

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-12-12 17:59:29 +01:00
Lenz Grimmer
e94318887d
Merge pull request #25494 from callithea/wip-e2e-script-rgw-conf
mgr/dashboard: Object Gateway user configuration

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-12-12 17:41:30 +01:00
Alfredo Deza
d178a5c278
Merge pull request #25238 from jan--f/c-v-refactor-strategies-into-hierachy
ceph-volume: introduce class hierachy for strategies

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-12-12 10:26:43 -05:00
Sebastian Wagner
b9663ba5a7
Merge pull request #25452 from jtlayton/wip-orchestrator
mgr/rook: fix API version and object types for recent rook changes

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-12-12 15:55:56 +01:00
Jan Fajerski
34df12ea6a ceph-volume: filestore strategy use strategy class hierarchy
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-12 15:02:59 +01:00
Jan Fajerski
302334ac6a ceph-volume: bluestore strategy use strategy class hierarchy
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-12 15:02:59 +01:00
Jan Fajerski
b38987ee96 ceph-volume: add strategies.py to for shared code
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-12-12 15:02:59 +01:00
Stephan Müller
0d3f312f57 mgr/dashboard: Notification queue
It's now possible to send an array of notification configs to the notification
service. These array is cached for, by default 500ms, before this array
is unified and than converted to full notifications that are seen by the
user.

Useful if different service can come to the same conclusions regarding
the notification. This is the case for the prometheus notification service
and the prometheus alert service.

Fixes: https://tracker.ceph.com/issues/37469
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-12-12 14:53:09 +01:00
Stephan Müller
174dd6ed4d mgr/dashboard: CdNotificationConfig
This model will now be taken as single argument in the 'show' method
of the notification service. Through using this model it's easy to
define notifications before sending them out. Which can be helpful
if you have to process an array of possible notification and the
possibility that those notifications would look a like.

This scenario doesn't exist in the current code base, but it's the
case for new feature to show alerts from Prometheus.

Fixes: https://tracker.ceph.com/issues/37469
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-12-12 14:53:09 +01:00
Alfredo Deza
1dcbf2f801
Merge pull request #25390 from jan--f/c-v-revert-partition-as-disk
ceph-volume: revert partition as disk

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-12-12 08:11:52 -05:00
alfonsomthd
893f78cb06 mgr/dashboard: code cleanup
Deleted duplicated ng-template.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2018-12-12 13:08:30 +01:00
Lenz Grimmer
e43de0b74f
Merge pull request #25276 from rhcs-dashboard/37401-chart-slice-hiding
mgr/dashboard: permanent pie chart slice hiding

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-12-12 12:34:52 +01:00