summaryrefslogtreecommitdiffstats
path: root/src/journal/Journaler.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-31auth: clean up cap parse error messagesSage Weil3-7/+9
Consistent formatted. Drop newline. Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31mon/AuthMonitor: raise health warning on invalid capsSage Weil6-0/+76
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>
2018-08-31mon/AuthMonitor: drop ancient auth inc encoding compatSage Weil1-13/+0
This is for *ancient* mons (I'm guessing bobtail?). Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31messages/MPoolOp: drop auid memberSage Weil3-16/+6
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31osdc/Objecter: drop change_pool_auidSage Weil4-29/+2
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31pybind/rados: drop auid arg to pool_createSage Weil2-24/+7
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31pybind/rados: drop change_auidSage Weil2-35/+1
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31rados: drop mkpool, rmpool commandsSage Weil21-124/+59
- mkpool and rmpool users should use the normal cli/mon commands Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31rados: remove 'chown' commandSage Weil2-22/+0
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31librados: deprecate calls that take auidSage Weil8-80/+59
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>
2018-08-31librados: mark all auid calls deprecatedSage Weil2-15/+34
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31mon/OSDMonitor: drop variable pool auid for prepare_new_poolSage Weil2-15/+8
Always set to 0 for now. Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31mon/OSDMonitor: remove pool auid change supportSage Weil1-5/+2
EOPNOTSUPP Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31osdc/Objecter: do not pass auid to create_poolSage Weil3-5/+4
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31ceph-authtool: remove auid optionsSage Weil8-30/+5
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31qa/workunits/cephtool: remove auid testsSage Weil1-26/+0
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31common: Reverse deleted includeWillem Jan Withagen1-0/+1
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>
2018-08-31os/bluestore: fix deep-scrub operation againest disk silent errorsXiaoguang Wang5-5/+31
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>
2018-08-30mgr/dashboard: Extract/Refactor Task mergeTiago Melo9-195/+540
Signed-off-by: Stephan Müller <smueller@suse.com> Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-30mgr/dashboard: Add unique validatorVolker Theile6-89/+142
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>
2018-08-30mgr/dashboard: Updated image on 404 pageLenz Grimmer2-2/+2
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>
2018-08-30mgr/dashboard: Add documentation about supported browsersTiago Melo1-0/+16
Fixes: http://tracker.ceph.com/issues/27207 Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-30core: add missing flag name for CEPH_OSD_OP_FLAG_WITH_REFERENCEXiaoguang Wang1-0/+3
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@easystack.cn>
2018-08-30doc: fix long description error for rgw_period_root_poolyuliyang1-1/+1
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2018-08-29ceph-volume tests.functional use Debian ansible os family in deploy.ymlAlfredo Deza1-1/+1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-29mgr/devicehealth: fix exceptionsSage Weil1-2/+2
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-29doc/mgr/devicehealth: update docsSage Weil1-1/+19
- several new commands weren't documented Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-29mgr/devicehealth: leave health monitoring off by defaultSage Weil1-4/+3
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>
2018-08-29ceph-volume lvm.batch use the abspath attribute for Device objects in bluestoreAlfredo Deza1-1/+1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-29ceph-volume lvm.batch remove usage of non-existent methodAlfredo Deza1-1/+1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-29ceph-volume tests.functional inherit SSH_ARGS from ansible with synchronize ↵Alfredo Deza1-0/+2
module Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-29include/buffer.h: do not use ceph_assert() unless __CEPH__ is definedKefu Chai1-0/+4
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-29doc/rados update invalid bash on bluestore migrationAlfredo Deza1-1/+1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-29mgr/crash: fix python3 invalid syntax problemsRicardo Dias1-2/+3
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-08-29mgr/dashboard: Add gap between panel footer buttonsVolker Theile1-0/+4
In forms there was no gap between the panel footer buttons. Signed-off-by: Volker Theile <vtheile@suse.com>
2018-08-29cmake: no need to add "-D" before definitionsKefu Chai2-4/+4
and there is no need to make the definition public for the executable target. Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-29mon,auth,common: include necessary headersKefu Chai10-6/+14
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>
2018-08-29auth/AuthMethodList: add std:: before type namesKefu Chai1-2/+2
we cannot assume 'using namespace std` Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-28ceph-volume lvm.batch remove non-existent sys_api propertyAlfredo Deza1-1/+1
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-28qa/mgr/selftest: handle always-on module fall outNoah Watkins1-6/+5
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>
2018-08-28doc/man/ceph-volume uncomment flags that are now fully supported in batchAlfredo Deza1-8/+7
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-28doc/ceph-volume add filestore docs for batchAlfredo Deza1-1/+26
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-28doc/ceph-volume uncomment section of newly supported batch operationsAlfredo Deza1-5/+4
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-28mgr/dashboard: Update Angular packagesTiago Melo2-638/+298
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-28core: Clang misses <optional> includeWillem Jan Withagen1-0/+1
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-28include/types: move operator<< into the proper namespaceKefu Chai1-48/+64
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>
2018-08-28doc: fixed typo in cephfs snapshotsKai Wagner1-1/+1
Signed-off-by: Kai Wagner <kwagner@suse.com>
2018-08-28doc: fix spelling errors in rbd docChen Zhenghua3-3/+3
Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
2018-08-28doc: fix cephfs spelling errorsChen Zhenghua3-3/+3
Signed-off-by: Chen Zhenghua <chen.zhenghua@zte.com.cn>
2018-08-28mon/OSDMonitor: don't change in-memory state on pruneJoao Eduardo Luis2-18/+23
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>