]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agodoc: remove references to unversioned repository addresses 21357/head
Greg Farnum [Wed, 11 Apr 2018 17:53:07 +0000 (10:53 -0700)]
doc: remove references to unversioned repository addresses

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21336 from ceph/wip-yuriw-crontab
Yuri Weinstein [Wed, 11 Apr 2018 19:17:19 +0000 (12:17 -0700)]
Merge pull request #21336 from ceph/wip-yuriw-crontab

qa/tests: Changed rhel7.4 to rhel7.5

7 years agoMerge pull request #21311 from liewegas/wip-validate-caps
Gregory Farnum [Wed, 11 Apr 2018 18:14:37 +0000 (11:14 -0700)]
Merge pull request #21311 from liewegas/wip-validate-caps

mon: expand cap validity check for mgr, osd, mds

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge PR #21265 into master
Patrick Donnelly [Wed, 11 Apr 2018 17:25:21 +0000 (10:25 -0700)]
Merge PR #21265 into master

* refs/pull/21265/head:
doc: outline steps to take CephFS fs down

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agoMerge pull request #21236 from jecluis/wip-mon-auth-bootstrap
Sage Weil [Wed, 11 Apr 2018 15:57:20 +0000 (10:57 -0500)]
Merge pull request #21236 from jecluis/wip-mon-auth-bootstrap

mon/AuthMonitor: create bootstrap keys on create_initial()

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21102 from trociny/wip-23487
Sage Weil [Wed, 11 Apr 2018 15:49:09 +0000 (10:49 -0500)]
Merge pull request #21102 from trociny/wip-23487

mon: add  'ceph osd pool get erasure allow_ec_overwrites' command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21300 from dillaman/wip-rbd-mirror-active-active
Mykola Golub [Wed, 11 Apr 2018 15:15:11 +0000 (18:15 +0300)]
Merge pull request #21300 from dillaman/wip-rbd-mirror-active-active

rbd-mirror: integrate image map policy as incremental step to active-active

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21314 from badone/wip-ms_inject_socket_failures-SIGFPE
Kefu Chai [Wed, 11 Apr 2018 15:09:49 +0000 (23:09 +0800)]
Merge pull request #21314 from badone/wip-ms_inject_socket_failures-SIGFPE

msg/async/AsyncConnection: Fix FPE in process_connection

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21308 from dillaman/wip-23597
Mykola Golub [Wed, 11 Apr 2018 15:09:01 +0000 (18:09 +0300)]
Merge pull request #21308 from dillaman/wip-23597

librbd: disable ENOENT tracking within the object cacher

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21318 from badone/wip-qa-mon-misc-add-osdmap-prune-tests
Kefu Chai [Wed, 11 Apr 2018 15:08:33 +0000 (23:08 +0800)]
Merge pull request #21318 from badone/wip-qa-mon-misc-add-osdmap-prune-tests

qa/standalone/mon/misc.sh: Add osdmap-prune tests

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21306 from rzarzynski/wip-bs-bug23333-allow-eio
Kefu Chai [Wed, 11 Apr 2018 15:05:46 +0000 (23:05 +0800)]
Merge pull request #21306 from rzarzynski/wip-bs-bug23333-allow-eio

os/bluestore: alter the allow_eio policy regarding kernel's error list.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21288 from jcsp/wip-23584
Kefu Chai [Wed, 11 Apr 2018 15:03:06 +0000 (23:03 +0800)]
Merge pull request #21288 from jcsp/wip-23584

mgr/prometheus: fix PG state names

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agoMerge pull request #21281 from zealoussnow/wip-leozhang-0407
Kefu Chai [Wed, 11 Apr 2018 15:01:54 +0000 (23:01 +0800)]
Merge pull request #21281 from zealoussnow/wip-leozhang-0407

common: retry_sys_call no need take address of a function pointer

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21297 from tchaikov/wip-ceph-w-utf-8
Kefu Chai [Wed, 11 Apr 2018 15:01:07 +0000 (23:01 +0800)]
Merge pull request #21297 from tchaikov/wip-ceph-w-utf-8

ceph: print output of "status" as string not as bytes

Reviewed-by: Tim Serong <tserong@suse.com>
7 years agoMerge pull request #21275 from smithfarm/wip-23296
Kefu Chai [Wed, 11 Apr 2018 14:59:07 +0000 (22:59 +0800)]
Merge pull request #21275 from smithfarm/wip-23296

osdc/Objecter: add ignore overlay flag if got redirect reply

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21259 from rzarzynski/wip-common-hint-dout
Kefu Chai [Wed, 11 Apr 2018 14:58:24 +0000 (22:58 +0800)]
Merge pull request #21259 from rzarzynski/wip-common-hint-dout

common: hint the main branch of dout() accordingly to default verbosity.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20186 from jecluis/wip-codingstyle
Sage Weil [Wed, 11 Apr 2018 13:49:50 +0000 (08:49 -0500)]
Merge pull request #20186 from jecluis/wip-codingstyle

CodingStyle: add python and javascript/typescript

7 years agoCodingStyle: add python and javascript/typescript 20186/head
Joao Eduardo Luis [Tue, 30 Jan 2018 15:19:53 +0000 (15:19 +0000)]
CodingStyle: add python and javascript/typescript

As we are rapidly expanding our code base beyond C++ and C, it is a good
idea to enforce coding styles for other languages.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #21334 from batrick/i23643
Sage Weil [Wed, 11 Apr 2018 13:25:55 +0000 (08:25 -0500)]
Merge pull request #21334 from batrick/i23643

qa: fix typo in test_full

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21349 from wjwithagen/wjw-freebsd-deps
Casey Bodley [Wed, 11 Apr 2018 12:49:54 +0000 (08:49 -0400)]
Merge pull request #21349 from wjwithagen/wjw-freebsd-deps

FreeBSD: add new required packages to be installed

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21258 from votdev/rgw_proxy
Lenz Grimmer [Wed, 11 Apr 2018 12:49:37 +0000 (14:49 +0200)]
Merge pull request #21258 from votdev/rgw_proxy

mgr/dashboard: Implement a RGW proxy

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoMerge pull request #21347 from SUSE/wip-doc-mgr-plugin-limitations
John Spray [Wed, 11 Apr 2018 11:39:12 +0000 (12:39 +0100)]
Merge pull request #21347 from SUSE/wip-doc-mgr-plugin-limitations

doc/mgr: Add limitations section to plugin guide

Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoFreeBSD: add new required packages to be installed 21349/head
Willem Jan Withagen [Wed, 11 Apr 2018 11:37:15 +0000 (13:37 +0200)]
FreeBSD: add new required packages to be installed

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agodoc/mgr: Add limitations section to plugin guide 21347/head
Tim Serong [Wed, 11 Apr 2018 10:33:05 +0000 (20:33 +1000)]
doc/mgr: Add limitations section to plugin guide

Signed-off-by: Tim Serong <tserong@suse.com>
7 years agomgr/dashboard: Takeover PR #20799 and adapt comments. 21258/head
Volker Theile [Mon, 9 Apr 2018 13:26:26 +0000 (15:26 +0200)]
mgr/dashboard: Takeover PR #20799 and adapt comments.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Implement RGW proxy
Patrick Nawracay [Tue, 20 Mar 2018 08:03:30 +0000 (09:03 +0100)]
mgr/dashboard: Implement RGW proxy

This implementation is basically a Rados Gateway reverse proxy.  It
additionally takes care of the authentication to the Rados Gateway, but to use
it you will have to be authenticated against the dashboards RESTful API.

The corresponding credentials can be configured using the following commands:

    dashboard set-rgw-api-secret-key <secret-key>

    dashboard set-rgw-api-access-key <access-key>

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agomgr/dashboard: RGW proxy: Include `python-requests-aws`
Patrick Nawracay [Tue, 20 Mar 2018 08:01:32 +0000 (09:01 +0100)]
mgr/dashboard: RGW proxy: Include `python-requests-aws`

This commit will include the `python-requests-aws` [1] library.  This library
extends the `requests` library by an authentication mechanism to S3 gateways.

[1] https://github.com/tax/python-requests-aws

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
7 years agoMerge pull request #21022 from sebastian-philipp/dashboard_get_range
Lenz Grimmer [Wed, 11 Apr 2018 10:22:00 +0000 (12:22 +0200)]
Merge pull request #21022 from sebastian-philipp/dashboard_get_range

mgr/dashboard: Refactor multiple duplicates of `get_rate()`

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20920 from sebastian-philipp/dashboard_v2-erasure-code-profile
Lenz Grimmer [Wed, 11 Apr 2018 10:19:40 +0000 (12:19 +0200)]
Merge pull request #20920 from sebastian-philipp/dashboard_v2-erasure-code-profile

mgr/dashboard: Add ErasureCodeProfile controller

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #21086 from ricardoasmarques/fix-table-without-fetch-data
Lenz Grimmer [Wed, 11 Apr 2018 09:55:32 +0000 (11:55 +0200)]
Merge pull request #21086 from ricardoasmarques/fix-table-without-fetch-data

mgr/dashboard: Fix table without fetchData

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
7 years agoMerge pull request #21041 from votdev/custom_validators
Lenz Grimmer [Wed, 11 Apr 2018 09:11:09 +0000 (11:11 +0200)]
Merge pull request #21041 from votdev/custom_validators

mgr/dashboard: Add custom validators

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21078 from tspmelo/wip-notifications
Lenz Grimmer [Wed, 11 Apr 2018 09:08:04 +0000 (11:08 +0200)]
Merge pull request #21078 from tspmelo/wip-notifications

mgr/dashboard: Add notification service/component

Reviewed-by: Volker Theile vtheile@suse.com
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Loading indicator only if fechData provided 21086/head
Ricardo Marques [Wed, 28 Mar 2018 06:44:55 +0000 (07:44 +0100)]
mgr/dashboard: Loading indicator only if fechData provided

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Hide refresh button if no fetchData provided
Ricardo Marques [Wed, 28 Mar 2018 06:43:47 +0000 (07:43 +0100)]
mgr/dashboard: Hide refresh button if no fetchData provided

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Add custom validators. 21041/head
Volker Theile [Mon, 26 Mar 2018 09:24:29 +0000 (11:24 +0200)]
mgr/dashboard: Add custom validators.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge PR #19220 into master
Patrick Donnelly [Wed, 11 Apr 2018 05:13:29 +0000 (22:13 -0700)]
Merge PR #19220 into master

* refs/pull/19220/head:
mds: limit run time of load balancer
mds: add list to track recently used sub-directories
mds: calculate other mds' last_epoch_under locally
mds: cleanup mds_load map access/update
mds: check export pin when choosing dirfrags for exporting
mds: optimize MDBalancer::find_exports()
mds: avoid creating unnecessary subtrees during load balance
mds: mds: optimize MDBalancer::try_rebalance()
mds: don't try exporting subdir if dirfrag is already being exported
mds: don't try exporting dirfrags under mds's own mdsdir
mds: cleanup MDBalancer::try_rebalance()
mds: always pass current time to MDBalancer::{hit_inode,hit_dir}
mds: remove unused MDBalancer::export_empties()
mds: don't decay load counters when printing load
mds: adjust pop_nested when importing subtree
mds: adjust subtree popularity when import fails
mds: adjust subtree popularity after rename
mds: fix request rate calculation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21310 from tchaikov/wip-23610
Kefu Chai [Wed, 11 Apr 2018 05:00:01 +0000 (13:00 +0800)]
Merge pull request #21310 from tchaikov/wip-23610

osd: resend osd_pgtemp if it's not acked

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20947 from dzafman/wip-23364
David Zafman [Tue, 10 Apr 2018 23:32:09 +0000 (16:32 -0700)]
Merge pull request #20947 from dzafman/wip-23364

Special scrub handling of hinfo_key errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agocommon: hint the main branch of dout() accordingly to default verbosity. 21259/head
Radoslaw Zarzynski [Thu, 5 Apr 2018 14:55:27 +0000 (16:55 +0200)]
common: hint the main branch of dout() accordingly to default verbosity.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoqa/tests: Changed rhel7.4 to rhel7.5 21336/head
Yuri Weinstein [Tue, 10 Apr 2018 20:05:12 +0000 (13:05 -0700)]
qa/tests: Changed rhel7.4 to rhel7.5

Note: This is a temp fix till we get $ implementaion

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agodoc: Add release notes for the output format changes 20947/head
David Zafman [Tue, 10 Apr 2018 18:07:48 +0000 (11:07 -0700)]
doc: Add release notes for the output format changes

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Be smarter about when jsonschema can be used
David Zafman [Mon, 9 Apr 2018 22:09:38 +0000 (15:09 -0700)]
test: Be smarter about when jsonschema can be used

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Show snapset in list-inconsistent-snapset
David Zafman [Wed, 4 Apr 2018 23:09:39 +0000 (16:09 -0700)]
osd rados command: Show snapset in list-inconsistent-snapset

Add SnapSet bufferlist to inconsistent_snapset_t

Partial fix for http://tracker.ceph.com/issues/23428

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agorbd-mirror: image map shut down should reset task context 21300/head
Jason Dillaman [Mon, 9 Apr 2018 04:33:32 +0000 (00:33 -0400)]
rbd-mirror: image map shut down should reset task context

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: wire image map between pool watcher and instance watcher
Jason Dillaman [Fri, 9 Mar 2018 15:44:09 +0000 (10:44 -0500)]
rbd-mirror: wire image map between pool watcher and instance watcher

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: wire instance notifications through to pool replayer
Jason Dillaman [Fri, 9 Mar 2018 02:55:48 +0000 (21:55 -0500)]
rbd-mirror: wire instance notifications through to pool replayer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: integrate image map init/shut down into pool replayer
Jason Dillaman [Thu, 8 Mar 2018 22:49:55 +0000 (17:49 -0500)]
rbd-mirror: integrate image map init/shut down into pool replayer

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: initial policy instance update should detect dead instances
Jason Dillaman [Mon, 9 Apr 2018 03:19:48 +0000 (23:19 -0400)]
rbd-mirror: initial policy instance update should detect dead instances

At initial promotion to the leader position, it can be nearly always
assumed that at least one instance has died and needs to have its images
shuffled to another instance (i.e. the old leader).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: simplify the interface between image mapper and policy
Jason Dillaman [Wed, 14 Mar 2018 16:54:53 +0000 (12:54 -0400)]
rbd-mirror: simplify the interface between image mapper and policy

The context callbacks between the image map and its policy required
too many hooks between the two classes. Additionally, the original
implementation didn't support re-sending of acquire messages after
initializing (to close a potential race condition).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: image map listener should provide a callback context
Jason Dillaman [Fri, 9 Mar 2018 15:25:32 +0000 (10:25 -0500)]
rbd-mirror: image map listener should provide a callback context

The context wraps the necessary data and provides a pass-through chain
to the instance notification helpers.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: moved policy inner-types to common types header
Jason Dillaman [Wed, 14 Mar 2018 13:45:13 +0000 (09:45 -0400)]
rbd-mirror: moved policy inner-types to common types header

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: convert PoolReplayer to templated class
Jason Dillaman [Thu, 8 Mar 2018 22:13:38 +0000 (17:13 -0500)]
rbd-mirror: convert PoolReplayer to templated class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: block instance add/remove notifications until post-locked
Jason Dillaman [Fri, 9 Mar 2018 21:16:34 +0000 (16:16 -0500)]
rbd-mirror: block instance add/remove notifications until post-locked

Avoid a possible race condition with instances being detected before the
pool replayer leader handling is fully initialized.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: new add/remove instances listener
Jason Dillaman [Fri, 9 Mar 2018 02:46:17 +0000 (21:46 -0500)]
rbd-mirror: new add/remove instances listener

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: batch peer instances ack and timeout handlers
Jason Dillaman [Fri, 9 Mar 2018 04:18:35 +0000 (23:18 -0500)]
rbd-mirror: batch peer instances ack and timeout handlers

This throttles the on-disk updates and also will eventually help to
throttle the shuffling of images between alive peer instances.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: removed declared but undefined leader watcher methods
Jason Dillaman [Fri, 9 Mar 2018 01:51:57 +0000 (20:51 -0500)]
rbd-mirror: removed declared but undefined leader watcher methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: leader watcher should always initialize status watcher
Jason Dillaman [Fri, 9 Mar 2018 01:12:37 +0000 (20:12 -0500)]
rbd-mirror: leader watcher should always initialize status watcher

In the case of active/active, both the leader and the followers will be
sending status updates for their images. Therefore, all rbd-mirror daemons
should be registered.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: moved leader watcher listener interface out of templated class
Jason Dillaman [Thu, 8 Mar 2018 21:53:00 +0000 (16:53 -0500)]
rbd-mirror: moved leader watcher listener interface out of templated class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: moved pool watcher listener interface out of templated class
Jason Dillaman [Thu, 8 Mar 2018 21:49:07 +0000 (16:49 -0500)]
rbd-mirror: moved pool watcher listener interface out of templated class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd_mirror: document the basic state flow for pool watcher
Jason Dillaman [Thu, 8 Mar 2018 21:28:11 +0000 (16:28 -0500)]
rbd_mirror: document the basic state flow for pool watcher

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size
David Zafman [Wed, 4 Apr 2018 23:07:09 +0000 (16:07 -0700)]
osd: SnapSet::dump() handle snapid_t not in clone_overlap or clone_size

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Add getjson variable to save output
David Zafman [Wed, 4 Apr 2018 23:04:41 +0000 (16:04 -0700)]
test: Add getjson variable to save output

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change error name snapset_mismatch to snapset_error
David Zafman [Wed, 4 Apr 2018 22:58:57 +0000 (15:58 -0700)]
osd rados command: Change error name snapset_mismatch to snapset_error

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Clean-up test and use local values for number of objects and osds
David Zafman [Tue, 20 Mar 2018 23:07:49 +0000 (16:07 -0700)]
test: Clean-up test and use local values for number of objects and osds

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Without snapdir we don't have a head mismatch error anymore
David Zafman [Wed, 21 Mar 2018 02:05:53 +0000 (19:05 -0700)]
osd: Without snapdir we don't have a head mismatch error anymore

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: list-inconsistent-obj attribute improvements
David Zafman [Fri, 16 Mar 2018 06:59:52 +0000 (23:59 -0700)]
osd rados command: list-inconsistent-obj attribute improvements

System attributes shown as "object_info", "snapset" and "hashinfo"
Only output user attributes as "attrs"
Drop leading undescore "_" for user attribute keys
Improve logic as to when to show user attributes or specific system attributes

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change "oi" to "info" in scrub handling errors
David Zafman [Fri, 16 Mar 2018 04:50:30 +0000 (21:50 -0700)]
osd rados command: Change "oi" to "info" in scrub handling errors

data_digest_mismatch_oi -> data_digest_mismatch_info
omap_digest_mismatch_oi -> omap_digest_mismatch_info
size_mismatch_oi -> size_mismatch_info
obj_size_oi_mismatch -> obj_size_info_mismatch

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Change "oi_attr" to "info" in scrub handling errors
David Zafman [Fri, 16 Mar 2018 00:09:43 +0000 (17:09 -0700)]
osd rados command: Change "oi_attr" to "info" in scrub handling errors

oi_attr_missing -> info_missing
oi_attr_corrupted -> info_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapse...
David Zafman [Thu, 15 Mar 2018 21:29:54 +0000 (14:29 -0700)]
osd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapset_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)
David Zafman [Wed, 14 Mar 2018 23:07:01 +0000 (16:07 -0700)]
osd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)

Fixes: http://tracker.ceph.com/issues/23364
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Don't crash in get_hash_info() with a corrupt HashInfo
David Zafman [Wed, 14 Mar 2018 23:29:18 +0000 (16:29 -0700)]
osd: Don't crash in get_hash_info() with a corrupt HashInfo

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Remove check that masks differences (let diff fail)
David Zafman [Wed, 4 Apr 2018 23:05:08 +0000 (16:05 -0700)]
test: Remove check that masks differences (let diff fail)

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoqa: fix typo in test_full 21334/head
Patrick Donnelly [Tue, 10 Apr 2018 18:47:10 +0000 (11:47 -0700)]
qa: fix typo in test_full

Cause: 577737d007c05bc7a3972158be8c520ab73a1517

Fixes: http://tracker.ceph.com/issues/23643
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21321 into master
Patrick Donnelly [Tue, 10 Apr 2018 18:33:21 +0000 (11:33 -0700)]
Merge PR #21321 into master

* refs/pull/21321/head:
tools/cephfs: instantiate MDSUtility after global_init()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21130 from ceph/wip-rm23067
Andrew Schoen [Tue, 10 Apr 2018 18:31:56 +0000 (20:31 +0200)]
Merge pull request #21130 from ceph/wip-rm23067

ceph-volume  Implement an 'activate all' to help with dense servers or migrating OSDs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #21304 from rjfd/wip-rbd-pybind-fixes
Mykola Golub [Tue, 10 Apr 2018 17:45:42 +0000 (20:45 +0300)]
Merge pull request #21304 from rjfd/wip-rbd-pybind-fixes

rbd: python bindings fixes and improvements

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #21272 from cbodley/wip-rgw-beast-experiment
Casey Bodley [Tue, 10 Apr 2018 17:32:50 +0000 (13:32 -0400)]
Merge pull request #21272 from cbodley/wip-rgw-beast-experiment

rgw: beast frontend no longer experimental

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #21120 from oritwas/wip-rgw-21619
Yehuda Sadeh [Tue, 10 Apr 2018 17:21:52 +0000 (10:21 -0700)]
Merge pull request #21120 from oritwas/wip-rgw-21619

rgw: reshard cancel command should clear bucket resharding flag

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw: beast frontend no longer experimental 21272/head
Casey Bodley [Fri, 6 Apr 2018 01:10:40 +0000 (21:10 -0400)]
rgw: beast frontend no longer experimental

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #21302 into wip-sage-testing-20180410.153118
Sage Weil [Tue, 10 Apr 2018 15:31:26 +0000 (10:31 -0500)]
Merge PR #21302 into wip-sage-testing-20180410.153118

* refs/pull/21302/head:
qa/suites/rados/singleton/all/random-eio: whitelist eio error message

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge PR #21315 into wip-sage-testing-20180410.153007
Sage Weil [Tue, 10 Apr 2018 15:30:48 +0000 (10:30 -0500)]
Merge PR #21315 into wip-sage-testing-20180410.153007

* refs/pull/21315/head:
qa/tasks/mgr/test_failover: fix for id -> name rename in mgr metadata

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
7 years agogithubmap: update contributors
Sage Weil [Tue, 10 Apr 2018 15:30:47 +0000 (10:30 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21324 from tchaikov/wip-23495
Josh Durgin [Tue, 10 Apr 2018 15:21:11 +0000 (08:21 -0700)]
Merge pull request #21324 from tchaikov/wip-23495

qa/suites: whitelist SLOW_OPS

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agomgr/dashboard: Replace toastr calls with notification service 21078/head
Tiago Melo [Tue, 10 Apr 2018 15:01:42 +0000 (16:01 +0100)]
mgr/dashboard: Replace toastr calls with notification service

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Add notification component
Tiago Melo [Tue, 27 Mar 2018 20:25:15 +0000 (21:25 +0100)]
mgr/dashboard: Add notification component

This component is used on the navigation bar and will show the user the 10 most
recent notifications.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Add notification service
Tiago Melo [Tue, 10 Apr 2018 14:55:44 +0000 (15:55 +0100)]
mgr/dashboard: Add notification service

This service should be used to display any notification/toast to the user.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #19283 from yehudasa/wip-rgw-mfa
Yehuda Sadeh [Tue, 10 Apr 2018 14:59:10 +0000 (07:59 -0700)]
Merge pull request #19283 from yehudasa/wip-rgw-mfa

rgw: mfa support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21327 from LenzGr/dashboard-fork-awesome
Ricardo Dias [Tue, 10 Apr 2018 14:58:26 +0000 (15:58 +0100)]
Merge pull request #21327 from LenzGr/dashboard-fork-awesome

mgr/dashboard: Replace font-awesome with fork-awesome

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
7 years agoMerge PR #21080 into master
Patrick Donnelly [Tue, 10 Apr 2018 14:54:14 +0000 (07:54 -0700)]
Merge PR #21080 into master

* refs/pull/21080/head:
src: Added const references to various function parameters

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21126 from tspmelo/wip-services
Lenz Grimmer [Tue, 10 Apr 2018 14:47:03 +0000 (16:47 +0200)]
Merge pull request #21126 from tspmelo/wip-services

mgr/dashboard: Add Api module

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Replace font-awesome with fork-awesome 21327/head
Lenz Grimmer [Tue, 10 Apr 2018 12:59:46 +0000 (14:59 +0200)]
mgr/dashboard: Replace font-awesome with fork-awesome

Replaces the dependency on Font Awesome with Fork Awesome
(https://forkawesome.github.io/), which is a plug-in replacement
for font-awesome 4.7.0 and adds a few more icons (see
https://forkawesome.github.io/Fork-Awesome/whats-new/ for
background information about this fork).

It is licensed under the following licenses - see
https://forkawesome.github.io/Fork-Awesome/license/ for details:

Fonts: SIL OFL 1.1
Code: MIT License
Documentation: CC BY 3.0

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoqa/workunits/cephtool: test with valid auth syntax 21311/head
Sage Weil [Mon, 9 Apr 2018 21:50:15 +0000 (16:50 -0500)]
qa/workunits/cephtool: test with valid auth syntax

'allow' is not a valid mon cap; use 'allow *'.  Add some negative tests
to ensure the validation is working.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/AuthMonitor: check caps validity for all cap-related commands
Sage Weil [Mon, 9 Apr 2018 21:40:37 +0000 (16:40 -0500)]
mon/AuthMonitor: check caps validity for all cap-related commands

Add a validity check for 'auth add' and 'fs authorize'.  'auth caps' and
'auth get-or-create[-key]' already had the check.

Fixes: http://tracker.ceph.com/issues/22525
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon: expand cap validity check for mgr, osd, mds
lijing [Fri, 5 Jan 2018 09:44:57 +0000 (17:44 +0800)]
mon: expand cap validity check for mgr, osd, mds

Also strenghen the check to declare an unknown cap type as invalid.

Note that this means that in a mixed-version cluster, an older mon
would apply the syntax check for the older caps, even if the (say) OSDs
are newer and could parse something different.  This is judged to be fine:
it is not unreasonable to ask for the mons *and* daemons to be upgraded
before using the new cap syntax or feature.

Signed-off-by: Jing Li <lijing@gohighsec.com>
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd,mds: use map::merge() whenever appropriate 21310/head
Kefu Chai [Tue, 10 Apr 2018 06:07:17 +0000 (14:07 +0800)]
osd,mds: use map::merge() whenever appropriate

and use explicit std::move() when map::merge() is not available.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: resend osd_pgtemp if it's not acked
Kefu Chai [Mon, 9 Apr 2018 16:56:05 +0000 (00:56 +0800)]
osd: resend osd_pgtemp if it's not acked

if the osd_pgtemp message is dropped before monitor receives it, we need
to resend it. otherwise a pg could be stuck in activating state if the
pg creation was withheld by the max-pg-per-osd on the replica, and then
the replica osd removes some existing pg.

Fixes: http://tracker.ceph.com/issues/23610
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21319 from majianpeng/doc-remove-osd-op-threads
Kefu Chai [Tue, 10 Apr 2018 12:12:08 +0000 (20:12 +0800)]
Merge pull request #21319 from majianpeng/doc-remove-osd-op-threads

doc: remove unused config: "osd op threads"

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites: whitelist SLOW_OPS 21324/head
Kefu Chai [Tue, 10 Apr 2018 11:24:22 +0000 (19:24 +0800)]
qa/suites: whitelist SLOW_OPS

Fixes: http://tracker.ceph.com/issues/23495
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorgw: warn user about on going resharding when canceling it 21120/head
Orit Wasserman [Thu, 29 Mar 2018 10:57:28 +0000 (13:57 +0300)]
rgw: warn user about on going resharding when canceling it

Fixes: http://tracker.ceph.com/issues/21619
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
7 years agorgw: no need to RGWReshard::get before remove
Orit Wasserman [Thu, 29 Mar 2018 10:34:50 +0000 (13:34 +0300)]
rgw: no need to RGWReshard::get before remove

Signed-off-by: Orit Wasserman <owasserm@redhat.com>