]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoinclude/ceph_fs: rename old auid field 23540/head
Sage Weil [Thu, 16 Aug 2018 15:28:27 +0000 (10:28 -0500)]
include/ceph_fs: rename old auid field

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoPendingReleaseNotes: note about auid support removal
Sage Weil [Sun, 12 Aug 2018 20:34:20 +0000 (15:34 -0500)]
PendingReleaseNotes: note about auid support removal

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoradosgw-admin: remove -a --auth-uid arg
Sage Weil [Sun, 12 Aug 2018 20:28:36 +0000 (15:28 -0500)]
radosgw-admin: remove -a --auth-uid arg

It was already a no-op.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: remove auid member from RGWUserInfo
Sage Weil [Sun, 12 Aug 2018 20:26:41 +0000 (15:26 -0500)]
rgw: remove auid member from RGWUserInfo

Unused.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth: remove auid member from EntityAuth
Sage Weil [Sun, 12 Aug 2018 20:10:39 +0000 (15:10 -0500)]
auth: remove auid member from EntityAuth

Note that for the keyring we still accept (but ignore) auid lines so that
we can parse old keyrings that have them.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: remove auid session member
Sage Weil [Sun, 12 Aug 2018 20:04:00 +0000 (15:04 -0500)]
osd: remove auid session member

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon: remove auid session member
Sage Weil [Sun, 12 Aug 2018 20:03:23 +0000 (15:03 -0500)]
mon: remove auid session member

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/dev/cephx_protocol: drop auid reference
Sage Weil [Sun, 12 Aug 2018 20:02:38 +0000 (15:02 -0500)]
doc/dev/cephx_protocol: drop auid reference

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth: remove auid args from handle_request and verify_authorizer
Sage Weil [Sun, 12 Aug 2018 20:00:44 +0000 (15:00 -0500)]
auth: remove auid args from handle_request and verify_authorizer

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'
Sage Weil [Sun, 12 Aug 2018 18:36:08 +0000 (13:36 -0500)]
mon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate
Sage Weil [Sun, 12 Aug 2018 18:34:50 +0000 (13:34 -0500)]
mon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate

Use 'osd pool ls' instead.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/OSDCap: remove auid from grammar
Sage Weil [Sun, 12 Aug 2018 18:29:00 +0000 (13:29 -0500)]
osd/OSDCap: remove auid from grammar

This is an incompatible change: old caps that include auid will no longer
parse.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/OSDCap: remove auid from is_capable() etc args
Sage Weil [Sun, 12 Aug 2018 17:39:33 +0000 (12:39 -0500)]
osd/OSDCap: remove auid from is_capable() etc args

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth: clean up cap parse error messages
Sage Weil [Sun, 12 Aug 2018 18:20:13 +0000 (13:20 -0500)]
auth: clean up cap parse error messages

Consistent formatted.  Drop newline.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/AuthMonitor: raise health warning on invalid caps
Sage Weil [Sun, 12 Aug 2018 18:18:09 +0000 (13:18 -0500)]
mon/AuthMonitor: raise health warning on invalid caps

Raise a health warning if we have invalid (unparsable) caps in the auth
database.  Include a simple test.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/AuthMonitor: drop ancient auth inc encoding compat
Sage Weil [Sun, 12 Aug 2018 17:43:26 +0000 (12:43 -0500)]
mon/AuthMonitor: drop ancient auth inc encoding compat

This is for *ancient* mons (I'm guessing bobtail?).

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomessages/MPoolOp: drop auid member
Sage Weil [Sat, 11 Aug 2018 18:56:51 +0000 (13:56 -0500)]
messages/MPoolOp: drop auid member

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosdc/Objecter: drop change_pool_auid
Sage Weil [Sat, 11 Aug 2018 18:55:30 +0000 (13:55 -0500)]
osdc/Objecter: drop change_pool_auid

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agopybind/rados: drop auid arg to pool_create
Sage Weil [Sat, 11 Aug 2018 19:00:58 +0000 (14:00 -0500)]
pybind/rados: drop auid arg to pool_create

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agopybind/rados: drop change_auid
Sage Weil [Sat, 11 Aug 2018 19:00:31 +0000 (14:00 -0500)]
pybind/rados: drop change_auid

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorados: drop mkpool, rmpool commands
Sage Weil [Sat, 11 Aug 2018 19:14:05 +0000 (14:14 -0500)]
rados: drop mkpool, rmpool commands

- mkpool and rmpool users should use the normal cli/mon commands

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorados: remove 'chown' command
Sage Weil [Sat, 11 Aug 2018 18:34:08 +0000 (13:34 -0500)]
rados: remove 'chown' command

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agolibrados: deprecate calls that take auid
Sage Weil [Sat, 11 Aug 2018 18:55:03 +0000 (13:55 -0500)]
librados: deprecate calls that take auid

Return EOPNOTSUPP for auid-specific calls, or EINVAL for ones that get a non-default
auid value.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agolibrados: mark all auid calls deprecated
Sage Weil [Sat, 11 Aug 2018 17:26:22 +0000 (12:26 -0500)]
librados: mark all auid calls deprecated

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: drop variable pool auid for prepare_new_pool
Sage Weil [Sat, 11 Aug 2018 19:22:03 +0000 (14:22 -0500)]
mon/OSDMonitor: drop variable pool auid for prepare_new_pool

Always set to 0 for now.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: remove pool auid change support
Sage Weil [Sat, 11 Aug 2018 19:31:07 +0000 (14:31 -0500)]
mon/OSDMonitor: remove pool auid change support

EOPNOTSUPP

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosdc/Objecter: do not pass auid to create_pool
Sage Weil [Sat, 11 Aug 2018 16:52:25 +0000 (11:52 -0500)]
osdc/Objecter: do not pass auid to create_pool

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph-authtool: remove auid options
Sage Weil [Sat, 11 Aug 2018 16:21:30 +0000 (11:21 -0500)]
ceph-authtool: remove auid options

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/workunits/cephtool: remove auid tests
Sage Weil [Fri, 10 Aug 2018 21:58:37 +0000 (16:58 -0500)]
qa/workunits/cephtool: remove auid tests

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23838 from wjwithagen/wjw-fix-ConfUtil
Kefu Chai [Fri, 31 Aug 2018 12:17:33 +0000 (20:17 +0800)]
Merge pull request #23838 from wjwithagen/wjw-fix-ConfUtil

common: Reverse deleted include

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocommon: Reverse deleted include 23838/head
Willem Jan Withagen [Fri, 31 Aug 2018 10:21:45 +0000 (12:21 +0200)]
common: Reverse deleted include

Reversing 1 delete from
https://github.com/ceph/ceph/commit/09d3f546b32cdf126a1246899a0b0a3eb25282d8

Clang trips over this:
home/jenkins/workspace/ceph-master/src/common/ConfUtils.cc:94:19: error: implicit instantiation of undefined template 'std::__1::basic_ostringstream<char, std::
__1::char_traits<char>, std::__1::allocator<char> >'
    ostringstream oss;
                  ^
/usr/include/c++/v1/iosfwd:123:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_ostringstream;
                               ^

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #23802 from votdev/unique_validator
Lenz Grimmer [Fri, 31 Aug 2018 09:13:00 +0000 (11:13 +0200)]
Merge pull request #23802 from votdev/unique_validator

mgr/dashboard: Add unique validator

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #23629 from wangxiaoguang/fix_deep_scrub
Kefu Chai [Fri, 31 Aug 2018 08:54:07 +0000 (16:54 +0800)]
Merge pull request #23629 from wangxiaoguang/fix_deep_scrub

os/bluestore: fix deep-scrub operation againest disk silent errors

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #23555 from tspmelo/wip-task-refactor
Lenz Grimmer [Fri, 31 Aug 2018 08:49:46 +0000 (10:49 +0200)]
Merge pull request #23555 from tspmelo/wip-task-refactor

mgr/dashboard: Extract/Refactor Task merge

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoos/bluestore: fix deep-scrub operation againest disk silent errors 23629/head
Xiaoguang Wang [Thu, 30 Aug 2018 02:26:41 +0000 (10:26 +0800)]
os/bluestore: fix deep-scrub operation againest disk silent errors

Say a object who has data caches, but in a while later, caches' underlying
physical device has silent disk erros accidentally, then caches and physical
data are not same. In such case, deep-scrub operation still tries to read
caches firstly and won't do crc checksum, then deep-scrub won't find such
data corruptions timely.

Here introduce a new flag 'CEPH_OSD_OP_FLAG_BYPASS_CLEAN_CACHE' which tells
deep-scrub to bypass object caches. Note that we only bypass cache who is in
STATE_CLEAN state. For STATE_WRITING caches, currently they are not written
to physical device, so deep-scrub operation can not read physical device and
can read these dirty caches safely. Once they are in STATE_CLEAN state(or not
added to bluestore cache), next round deep-scurb can check them correctly.

As to above discussions, I refactor BlueStore::BufferSpace::read sightly,
adding a new 'flags' argument, whose value will be 0 or:
     enum {
       BYPASS_CLEAN_CACHE = 0x1,     // bypass clean cache
     };

flags 0: normal read, do not bypass clean or dirty cache
flags BYPASS_CLEAN_CACHE: bypass clean cache, currently only for deep-scrube
                        operation

Test:
   I deliberately corrupt a object with cache, with this patch, deep-scrub
   can find data error very timely.

Signed-off-by: Xiaoguang Wang <xiaoguang.wang@easystack.cn>
6 years agoMerge pull request #23546 from xiexingguo/wip-complete-to
Kefu Chai [Thu, 30 Aug 2018 15:23:48 +0000 (23:23 +0800)]
Merge pull request #23546 from xiexingguo/wip-complete-to

osd/PGLog: trim - avoid dereferencing invalid iter

Reviewed-by: Yan Jun <yan.jun8@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #23800 from rjfd/wip-fix-crash-mgr-module
Kefu Chai [Thu, 30 Aug 2018 15:08:36 +0000 (23:08 +0800)]
Merge pull request #23800 from rjfd/wip-fix-crash-mgr-module

mgr/crash: fix python3 invalid syntax problems

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Noah Watkins <nwatkins@redhat.com>
6 years agoMerge pull request #23803 from tchaikov/wip-ceph_assert
Kefu Chai [Thu, 30 Aug 2018 15:03:29 +0000 (23:03 +0800)]
Merge pull request #23803 from tchaikov/wip-ceph_assert

include/buffer.h: do not use ceph_assert() unless __CEPH__ is defined

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge pull request #23820 from LenzGr/nautilus-404-page
Lenz Grimmer [Thu, 30 Aug 2018 14:22:12 +0000 (16:22 +0200)]
Merge pull request #23820 from LenzGr/nautilus-404-page

mgr/dashboard: Updated image on 404 page

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Extract/Refactor Task merge 23555/head
Tiago Melo [Mon, 13 Aug 2018 15:36:32 +0000 (16:36 +0100)]
mgr/dashboard: Extract/Refactor Task merge

Signed-off-by: Stephan Müller <smueller@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #23785 from alfredodeza/wip-rm34309
Andrew Schoen [Thu, 30 Aug 2018 14:14:36 +0000 (09:14 -0500)]
Merge pull request #23785 from alfredodeza/wip-rm34309

ceph-volume:  update batch documentation to explain filestore strategies

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #23509 into master
Sage Weil [Thu, 30 Aug 2018 13:52:49 +0000 (08:52 -0500)]
Merge PR #23509 into master

* refs/pull/23509/head:
OSD: add recovery bytes counter to osd logger

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #23572 into master
Sage Weil [Thu, 30 Aug 2018 13:52:44 +0000 (08:52 -0500)]
Merge PR #23572 into master

* refs/pull/23572/head:
qa/standalone/osd/osd-force-create-pg: add force-create-pg test
mon/MonCommands: fix 'osd force-create-pg'

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23611 into master
Sage Weil [Thu, 30 Aug 2018 13:52:39 +0000 (08:52 -0500)]
Merge PR #23611 into master

* refs/pull/23611/head:
mgr/devicehealth: fix exceptions
doc/mgr/devicehealth: update docs
mgr/devicehealth: leave health monitoring off by default
mgr/devicehealth: add 'device monitoring {on,off}' commands
mgr/devicehealth: 10m wakeup interval is sufficient
mgr/devicehealth: scrape at scrape_interval intervals
mgr/devicehealth: UTC everywhere
mgr/devicehealth: fix sleep_interval configurable

6 years agoMerge PR #23633 into master
Sage Weil [Thu, 30 Aug 2018 13:52:32 +0000 (08:52 -0500)]
Merge PR #23633 into master

* refs/pull/23633/head:
osd/PrimaryLogPG.cc: limit trimming at can_rollback_to

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agomgr/dashboard: Add unique validator 23802/head
Volker Theile [Wed, 29 Aug 2018 10:18:37 +0000 (12:18 +0200)]
mgr/dashboard: Add unique validator

Relocate an already existing async validator into a separate validator that can be reused by every other form. This validator is useful to check immediately after typing if an entered value, e.g. username, already exists.

The API request will be triggered after a delay of 500ms (can be modified). During this delay, every keystroke will reset the timer, so the REST API is not flooded with request.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23712 from tspmelo/wip-browser-support
Lenz Grimmer [Thu, 30 Aug 2018 11:53:27 +0000 (13:53 +0200)]
Merge pull request #23712 from tspmelo/wip-browser-support

mgr/dashboard: Add documentation about supported browsers

Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23796 from votdev/fix_form_button_layout
Lenz Grimmer [Thu, 30 Aug 2018 10:00:06 +0000 (12:00 +0200)]
Merge pull request #23796 from votdev/fix_form_button_layout

mgr/dashboard: Add gap between panel footer buttons

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Updated image on 404 page 23820/head
Lenz Grimmer [Thu, 30 Aug 2018 09:16:39 +0000 (11:16 +0200)]
mgr/dashboard: Updated image on 404 page

Replaced the image of a Mimic octopus with a Nautilus octopus in
preparation for the new major release code name.

The image was taken from Flickr (https://www.flickr.com/photos/146401137@N06/40335060661) and is
licensed under the Creative Commons "Attribution 2.0 Generic"
(CC BY 2.0) license.

Fixes: https://tracker.ceph.com/issues/24489
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agomgr/dashboard: Add documentation about supported browsers 23712/head
Tiago Melo [Thu, 23 Aug 2018 13:56:38 +0000 (14:56 +0100)]
mgr/dashboard: Add documentation about supported browsers

Fixes: http://tracker.ceph.com/issues/27207
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #23814 from joke-lee/doc_rgw_period_root_pool_long_description
Xie Xingguo [Thu, 30 Aug 2018 04:12:07 +0000 (12:12 +0800)]
Merge pull request #23814 from joke-lee/doc_rgw_period_root_pool_long_description

doc: fix long description error for rgw_period_root_pool

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23767 from tchaikov/wip-operator-insertion-ADL
Kefu Chai [Thu, 30 Aug 2018 03:04:43 +0000 (11:04 +0800)]
Merge pull request #23767 from tchaikov/wip-operator-insertion-ADL

include/types: move operator<< into the proper namespace

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23795 from tchaikov/wip-cmake-definitions-cleanup
Kefu Chai [Thu, 30 Aug 2018 02:36:30 +0000 (10:36 +0800)]
Merge pull request #23795 from tchaikov/wip-cmake-definitions-cleanup

cmake: no need to add "-D" before definitions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
6 years agoMerge pull request #23774 from tchaikov/wip-include-cleanup
Kefu Chai [Thu, 30 Aug 2018 02:32:41 +0000 (10:32 +0800)]
Merge pull request #23774 from tchaikov/wip-include-cleanup

auth,common: include cleanups

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agocore: add missing flag name for CEPH_OSD_OP_FLAG_WITH_REFERENCE
Xiaoguang Wang [Thu, 30 Aug 2018 02:07:45 +0000 (10:07 +0800)]
core: add missing flag name for CEPH_OSD_OP_FLAG_WITH_REFERENCE

Signed-off-by: Xiaoguang Wang <xiaoguang.wang@easystack.cn>
6 years agodoc: fix long description error for rgw_period_root_pool 23814/head
yuliyang [Thu, 30 Aug 2018 00:04:06 +0000 (08:04 +0800)]
doc: fix long description error for rgw_period_root_pool

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
6 years agoMerge pull request #23733 from dillaman/wip-migration-parent
Mykola Golub [Wed, 29 Aug 2018 18:45:08 +0000 (21:45 +0300)]
Merge pull request #23733 from dillaman/wip-migration-parent

librbd: always open first parent image if it exists for a snapshot

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23788 from alfredodeza/wip-rm34311
Andrew Schoen [Wed, 29 Aug 2018 18:18:48 +0000 (13:18 -0500)]
Merge pull request #23788 from alfredodeza/wip-rm34311

ceph-volume: tests.functional inherit SSH_ARGS from ansible

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.functional use Debian ansible os family in deploy.yml 23788/head
Alfredo Deza [Wed, 29 Aug 2018 17:32:55 +0000 (10:32 -0700)]
ceph-volume tests.functional use Debian ansible os family in deploy.yml

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agomgr/devicehealth: fix exceptions 23611/head
Sage Weil [Sun, 26 Aug 2018 20:27:32 +0000 (15:27 -0500)]
mgr/devicehealth: fix exceptions

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/mgr/devicehealth: update docs
Sage Weil [Sat, 18 Aug 2018 12:46:38 +0000 (07:46 -0500)]
doc/mgr/devicehealth: update docs

- several new commands weren't documented

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/devicehealth: leave health monitoring off by default
Sage Weil [Sat, 18 Aug 2018 12:42:14 +0000 (07:42 -0500)]
mgr/devicehealth: leave health monitoring off by default

For now at least.. unless all of the tests have been adjusted accordingly
to expect a device_health_metrics pool.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #23742 into master
Sage Weil [Wed, 29 Aug 2018 17:25:23 +0000 (12:25 -0500)]
Merge PR #23742 into master

* refs/pull/23742/head:
mon/OSDMonitor: don't change in-memory state on prune

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoceph-volume lvm.batch use the abspath attribute for Device objects in bluestore
Alfredo Deza [Wed, 29 Aug 2018 16:56:21 +0000 (09:56 -0700)]
ceph-volume lvm.batch use the abspath attribute for Device objects in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch remove usage of non-existent method
Alfredo Deza [Wed, 29 Aug 2018 16:55:31 +0000 (09:55 -0700)]
ceph-volume lvm.batch remove usage of non-existent method

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23801 from alfredodeza/wip-rm34317
Alfredo Deza [Wed, 29 Aug 2018 16:32:15 +0000 (09:32 -0700)]
Merge pull request #23801 from alfredodeza/wip-rm34317

doc/rados update invalid bash on bluestore migration

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-volume tests.functional inherit SSH_ARGS from ansible with synchronize module
Alfredo Deza [Tue, 28 Aug 2018 22:34:58 +0000 (15:34 -0700)]
ceph-volume tests.functional inherit SSH_ARGS from ansible with synchronize module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23787 from alfredodeza/wip-rm34310
Andrew Schoen [Wed, 29 Aug 2018 16:12:37 +0000 (11:12 -0500)]
Merge pull request #23787 from alfredodeza/wip-rm34310

ceph-volume lvm.batch remove non-existent sys_api property

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #23741 from liewegas/wip-protect-monmap
Kefu Chai [Wed, 29 Aug 2018 15:36:31 +0000 (23:36 +0800)]
Merge pull request #23741 from liewegas/wip-protect-monmap

mon: only share monmap after authenticating

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23738 from dmick/wip-fix-crashdump
Kefu Chai [Wed, 29 Aug 2018 15:26:46 +0000 (23:26 +0800)]
Merge pull request #23738 from dmick/wip-fix-crashdump

global/signal_handler.cc: report assert_file as correct name

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23734 from hjwsm1989/wip-speedup-upmap
Kefu Chai [Wed, 29 Aug 2018 15:25:30 +0000 (23:25 +0800)]
Merge pull request #23734 from hjwsm1989/wip-speedup-upmap

osd/OSDMap: map pgs with smaller batchs in calc_pg_upmaps

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23681 from tchaikov/wip-26994
Kefu Chai [Wed, 29 Aug 2018 14:51:24 +0000 (22:51 +0800)]
Merge pull request #23681 from tchaikov/wip-26994

qa/mgr/selftest: handle always-on module fall out

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoinclude/buffer.h: do not use ceph_assert() unless __CEPH__ is defined 23803/head
Kefu Chai [Wed, 29 Aug 2018 14:42:03 +0000 (22:42 +0800)]
include/buffer.h: do not use ceph_assert() unless __CEPH__ is defined

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc/rados update invalid bash on bluestore migration 23801/head
Alfredo Deza [Wed, 29 Aug 2018 14:26:11 +0000 (07:26 -0700)]
doc/rados update invalid bash on bluestore migration

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agomgr/crash: fix python3 invalid syntax problems 23800/head
Ricardo Dias [Wed, 29 Aug 2018 14:05:57 +0000 (15:05 +0100)]
mgr/crash: fix python3 invalid syntax problems

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: Add gap between panel footer buttons 23796/head
Volker Theile [Wed, 29 Aug 2018 09:42:17 +0000 (11:42 +0200)]
mgr/dashboard: Add gap between panel footer buttons

In forms there was no gap between the panel footer buttons.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23706 from tspmelo/wip-update-angular
Lenz Grimmer [Wed, 29 Aug 2018 09:34:16 +0000 (11:34 +0200)]
Merge pull request #23706 from tspmelo/wip-update-angular

mgr/dashboard: Update Angular packages

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
6 years agocmake: no need to add "-D" before definitions 23795/head
Kefu Chai [Wed, 29 Aug 2018 09:00:15 +0000 (17:00 +0800)]
cmake: no need to add "-D" before definitions

and there is no need to make the definition public for the executable
target.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomon,auth,common: include necessary headers 23774/head
Kefu Chai [Tue, 28 Aug 2018 12:08:33 +0000 (20:08 +0800)]
mon,auth,common: include necessary headers

we cannot assume the included header alway indirectly include the use types

in this case, CephContext is defined by ceph_context.h, and
g_ceph_context is declared by global_context.h. so we need to included
them respectively.

and remove unused headers.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoauth/AuthMethodList: add std:: before type names
Kefu Chai [Tue, 28 Aug 2018 12:07:22 +0000 (20:07 +0800)]
auth/AuthMethodList: add std:: before type names

we cannot assume 'using namespace std`

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoceph-volume lvm.batch remove non-existent sys_api property 23787/head
Alfredo Deza [Tue, 28 Aug 2018 21:28:08 +0000 (14:28 -0700)]
ceph-volume lvm.batch remove non-existent sys_api property

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoqa/mgr/selftest: handle always-on module fall out 23681/head
Noah Watkins [Tue, 28 Aug 2018 20:45:56 +0000 (13:45 -0700)]
qa/mgr/selftest: handle always-on module fall out

need a non-always-on module. hello doesn't work because it isn't
installed. so switch to selftest.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
6 years agodoc/man/ceph-volume uncomment flags that are now fully supported in batch 23785/head
Alfredo Deza [Tue, 28 Aug 2018 20:34:25 +0000 (13:34 -0700)]
doc/man/ceph-volume uncomment flags that are now fully supported in batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc/ceph-volume add filestore docs for batch
Alfredo Deza [Tue, 28 Aug 2018 20:32:19 +0000 (13:32 -0700)]
doc/ceph-volume add filestore docs for batch

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc/ceph-volume uncomment section of newly supported batch operations
Alfredo Deza [Tue, 28 Aug 2018 20:22:20 +0000 (13:22 -0700)]
doc/ceph-volume uncomment section of newly supported batch operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23765 from chenzhua/master
Jason Dillaman [Tue, 28 Aug 2018 17:02:52 +0000 (13:02 -0400)]
Merge pull request #23765 from chenzhua/master

doc: fix spelling errors in rbd doc

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23596 from cbodley/wip-rgw-no-datalog-marker
Casey Bodley [Tue, 28 Aug 2018 15:30:31 +0000 (11:30 -0400)]
Merge pull request #23596 from cbodley/wip-rgw-no-datalog-marker

rgw multisite: incremental data sync uses truncated flag to detect end of listing

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #23768 from wjwithagen/wjw-fix-shared_mutex
Casey Bodley [Tue, 28 Aug 2018 13:00:54 +0000 (09:00 -0400)]
Merge pull request #23768 from wjwithagen/wjw-fix-shared_mutex

core: Clang misses <optional> include

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agomgr/dashboard: Update Angular packages 23706/head
Tiago Melo [Thu, 23 Aug 2018 10:32:49 +0000 (11:32 +0100)]
mgr/dashboard: Update Angular packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agocore: Clang misses <optional> include 23768/head
Willem Jan Withagen [Tue, 28 Aug 2018 09:21:00 +0000 (11:21 +0200)]
core: Clang misses <optional> include

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #23764 from ceph/docs
Kai Wagner [Tue, 28 Aug 2018 07:59:57 +0000 (09:59 +0200)]
Merge pull request #23764 from ceph/docs

doc: fixed typo in cephfs snapshots

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23699 from tchaikov/wip-monc-drop-rwlock
Kefu Chai [Tue, 28 Aug 2018 07:36:23 +0000 (15:36 +0800)]
Merge pull request #23699 from tchaikov/wip-monc-drop-rwlock

auth: drop the RWLock in AuthClientHandler

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoinclude/types: move operator<< into the proper namespace 23767/head
Kefu Chai [Tue, 28 Aug 2018 06:48:28 +0000 (14:48 +0800)]
include/types: move operator<< into the proper namespace

we should define the operator<< in the namespace of its 2nd parameter.

normally, the operator<< defined in the global namespace works. but
there is a subtle difference between the operator<< defined in std
namespace and the global one because of Koenig lookup.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: fixed typo in cephfs snapshots 23764/head
Kai Wagner [Tue, 28 Aug 2018 06:24:47 +0000 (08:24 +0200)]
doc: fixed typo in cephfs snapshots

Signed-off-by: Kai Wagner <kwagner@suse.com>
6 years agodoc: fix spelling errors in rbd doc 23765/head
Chen Zhenghua [Tue, 28 Aug 2018 06:56:16 +0000 (14:56 +0800)]
doc: fix spelling errors in rbd doc

Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
6 years agoMerge pull request #23763 from chenzhua/master
Jos Collin [Tue, 28 Aug 2018 02:41:48 +0000 (08:11 +0530)]
Merge pull request #23763 from chenzhua/master

doc: fix cephfs spelling errors

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agodoc: fix cephfs spelling errors 23763/head
Chen Zhenghua [Tue, 28 Aug 2018 01:49:36 +0000 (09:49 +0800)]
doc: fix cephfs spelling errors

Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
6 years agomon/OSDMonitor: don't change in-memory state on prune 23742/head
Joao Eduardo Luis [Sun, 26 Aug 2018 15:01:46 +0000 (16:01 +0100)]
mon/OSDMonitor: don't change in-memory state on prune

We were modifying the in-memory state when running through several
osdmap pruning functions.

Should the transaction we're encoding not be committed, we may end up in
a state where we have a stale in-memory state that does not match what
is on disk; including having in-memory state while not having on-disk
state.

We prevent this sort of inconsistency by working on temporary states
instead.

Fixes: http://tracker.ceph.com/issues/24612
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
6 years agolibrbd: always open first parent image if it exists for a snapshot 23733/head
Jason Dillaman [Fri, 17 Aug 2018 14:17:55 +0000 (10:17 -0400)]
librbd: always open first parent image if it exists for a snapshot

The deep-copy and migration features required force-opening the
parent image just in case the deep-flatten feature wasn't enabled
on an image. This change simplies the code by always opening the
direct parent image, which really only matters if a cloned image
has snapshots w/o the deep-flatten feature.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge PR #23718 into master
Sage Weil [Mon, 27 Aug 2018 20:31:43 +0000 (15:31 -0500)]
Merge PR #23718 into master

* refs/pull/23718/head:
cleanup: Replace always-false assertions with abort
include/assert: Smarten up ceph_assert
common: Call ceph_abort(), not abort()
include,common: Remove assert and clobber-foo
rbd_replay: Use ceph_assert for asserts.
rbd_fuse: Use ceph_assert for asserts.
osdc: Use ceph_assert for asserts.
osd: Use ceph_assert for asserts.
msg: Use ceph_assert for asserts.
mgr: Use ceph_assert for asserts.
messages: Use ceph_assert for asserts.
mds: Use ceph_assert for asserts.
log: Use ceph_assert for asserts.
libradosstriper: Use ceph_assert for asserts.
librados: Use ceph_assert for asserts.
kv: Use ceph_assert for asserts.
test: Use ceph_assert for asserts.
key_value_store: Use ceph_assert for asserts.
json_spirit: Use ceph_assert for asserts.
journal: Use ceph_assert for asserts.
global: Use ceph_assert for asserts.
erasure-code: Use ceph_assert for asserts.
rbd: Use ceph_assert for asserts.
tools: Use ceph_assert for asserts.
rgw: Use ceph_assert for asserts.
mon: Use ceph_assert for asserts.
crush: Use ceph_assert for asserts in C++ code.
crimson: Use ceph_assert for asserts.
compressor: Use ceph_assert for asserts.
cls: Use ceph_assert for asserts.
client: Use ceph_assert for asserts.
auth: Use ceph_assert for asserts
os: Use ceph_assert for asserts
common: Use ceph_assert for asserts
include: Use ceph_assert for asserts
include/assert: Deprecate assert macro

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>