summaryrefslogtreecommitdiffstats
path: root/.peoplemap (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-04admin/build-doc: always install python3-* for build depsKefu Chai1-2/+1
since we've dropped the support of python36-*, i.e. python packages provided by EPEL7 before RHEL7/CentOS7 included python3. as before the inclusion of python3 as supported python3, python packages are named python36-*. and they don't provide python3-*. so we had to install python36-* explicitly. now that we are able to use the python3-* packages, we can just install python3-*. Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-01-03doc/developer: fix dev mailing list addressWillem Jan Withagen1-3/+28
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-01-03do_cmake.sh: fedora-32 (rawhide) build with python-3.8Kaleb S. KEITHLEY1-2/+3
Fedora-32 now has python-3.8. Fedora-29 is EOL. All non-EOL versions of Fedora have python-3.7, except Fedora-32 (Unclear to me why PYBUILD="3" isn't used, like Ubuntu and FreeBSD. That would eliminate breakage when pyhon versions change in Rawhide.) Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
2020-01-02lvm/activate.py: clarify error message: fsid refers to osd_fsidYaniv Kaul1-1/+1
Users complained[1] the error message isn't clear, and they thought it referred to the cluster fsid instead of the osd_fsid. Made it clearer. [1] rook/rook#4547 Fixes: https://tracker.ceph.com/issues/43442 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
2020-01-02doc: fix Getting Started with CephFSJos Collin1-1/+1
Signed-off-by: Jos Collin <jcollin@redhat.com>
2020-01-02doc: Add a RGW swift auth noteMatthew Oliver1-0/+5
Swift accounts are not like normal accounts, they are more akin to a bank account that multile people could share. Or in the case of a cloud it is usually mapped to the tenant. Radosgw deals with this with a user and subuser, which is great, but a little confusing. So this patch adds a note to those used to the Swift API to make it more clear. Signed-off-by: Matthew Oliver <moliver@suse.com>
2019-12-30doc/rados/operations/crush-map-edits: including recompile and set crushmapo ↵Rodrigo Severo1-0/+19
instructions Including missing recompile and set crushmap sections in crush-map-edits Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2019-12-27qa/tasks/vstart_runner: write string to StringIOKefu Chai1-0/+1
we use `six.StringIO` for stdout when writing output messages from `self.subproc.communicate()`, and `six.StringIO` accepts strings, so we need to decode the output before sending them to `six.StringIO`. Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-27make-dist: drop Python 2/3 autoselectNathan Cutler1-15/+1
virtualenv will prefer Python 3 over Python 2 if both are available. Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-12-27rgw: svc.bucket: assign to optional<> using "="Kefu Chai1-1/+1
instead of using *optional_val = value; we should use: optional_val = value; otherwise we will have following runtime assertion failure like /usr/include/c++/8/optional:945: constexpr _Tp& std::_Optional_base<_Tp, true, true>::_M_get() [with _Tp = RGWBucketInfo*]: Assertion 'this->_M_is_engaged()' failed. when compiled with the `_GLIBCXX_ASSERTIONS` macro defined. and recent `redhat-rpm-config` adds `-D_GLIBCXX_ASSERTIONS` to `__global_compiler_flags`, which is in turn included by `optflags`. and `optflags` is pratically used everywhere. Fixes: https://tracker.ceph.com/issues/43414 Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-27rgw: svc.bucket: move _orig_info out of "if" blockKefu Chai1-6/+4
so `*orig_info` is valid out of the `if` block if it's set to `&_orig_info`. Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-26qa: add "path" to "device" output schemaKefu Chai2-2/+10
"path" was added by 2c0fd7d86827aa76b8d923870018365cdae4a6ad, so update the test accordingly Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-26rbd-mirror: set proper state after journal replay shut downJason Dillaman1-0/+1
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-26rgw: initialize member variables of rgw_log_entryKefu Chai1-3/+3
`check-generated.sh` tests the dencoder of a class by: ceph-dencoder type rgw_log_entry select_test 2 dump_json > /tmp/foo ceph-dencoder type rgw_log_entry select_test 2 encode decode dump_json > /tmp/bar cmp /tmp/foo /tmp/bar but the second test instance created by `rgw_log_entry::generate_test_instances` is created using the default constructor of `rgw_log_entry`. if any of the member variable is created using random bits in the heap, there is chance that the test fails like: 2 rgw_log_entry /tmp/typ-l5omDhmDf /tmp/typ-4aoRVkoiV differ: char 315, line 15 **** rgw_log_entry test 2 dump_json check failed **** ceph-dencoder type rgw_log_entry select_test 2 dump_json > /tmp/typ-l5omDhmDf ceph-dencoder type rgw_log_entry select_test 2 encode decode dump_json > /tmp/typ-4aoRVkoiV 15c15 < "obj_size": 809908640, --- > "obj_size": 1122974112, Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-26rbd-mirror: do not log error upon bootstrap cancelJason Dillaman1-1/+5
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-25mgr/test_orchestrator: fix update_mgrs assertSage Weil1-5/+5
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-25common: skip interfaces starting with "lo" in find_ipv{4,6}_in_subnet()lijaiwei11-4/+3
This will solve the issue that the osd can't restart after seting a virtual local loopback IP. In find_ipv4_in_subnet() and find_ipv6_in_subnet(), I use boost::starts_with(addrs->ifa_name, "lo") to ship the interfaces starting with "lo". Fixes: https://tracker.ceph.com/issues/43417 Signed-off-by: Jiawei Li <lijiawei1@chinatelecom.cn>
2019-12-25mgr/balancer: sort pool names in 'balancer ls' outputSage Weil1-1/+1
Otherwise this will vary based on the internal key sort order the dict it was generated from. Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-25cephadm: support deployment of node-exporterPaul Cuzner1-19/+39
Patch to support cephadm deploying node-exporter containers. The node-exporter daemon has no configuration and just needs access to the hosts filesystem to pull the necessary system metrics. Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
2019-12-25mgr/restful: jsonify lists instead of mapsKefu Chai1-22/+16
in python3, `map()` returns a `map` instance which is iterable, while in python2, `map()` returns a `list`, but `JSONEncoder.default()` expects a list or whatever which inherits from `json.JSONEncoder`. in this change, we just return a materized list instead of a map for json encoder. Fixes: https://tracker.ceph.com/issues/43416 Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24include/cpp-btree: use inline variable to define btree_is_key_compare_toKefu Chai1-12/+11
simpler this way Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24include/cpp-btree: use std::conditional_t<>Kefu Chai1-28/+17
instead of using a homebrew replacement Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24include/cpp-btree: use static_assert()Kefu Chai1-15/+7
instead of using a homebrew replacement Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24include/interval_set: use interval_set when appropriateKefu Chai1-3/+3
it's an alias of `interval_set<T,Map>` under some circumstances Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24include/interval_set: rename some typesKefu Chai1-22/+22
to be consistent with STL conventions Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24include/cpp-btree: add emplace_hint()Kefu Chai2-9/+23
so we can construct the value to be inserted in-place, and move it into the tree, instead of copying it. Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-24rbd-mirror: fix race between replay shutdown and notificationJason Dillaman1-11/+12
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23qa/suites/rados/thrash-old-clients: configure mons in terms of addrvecsSage Weil8-8/+0
This is more explicit. More importantly, the 'mon update' command can't handle an "ip:port"; it wants either a CIDR, bare IP, or addrvec. Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/suites/rados/thrash-old-clients: hammer: fix package listSage Weil1-0/+2
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/tasks/cephadm: set .conf to cluster config objectSage Weil1-0/+1
ceph.py does this and ceph_manager.py kill_osd relies on it. Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/tasks/cephadm: archive /var/log/ceph logs too (not just cluster dir)Sage Weil1-2/+2
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/tasks/cephadm: client keyringSage Weil1-0/+39
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/suites/rados: move cephadm_orchestrator to el8Sage Weil6-0/+4
The python3-remoto dependency does not exist on 18.04 (or any ubuntu or debian AFAICS). Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/workunits/rbd: fixed python interpreter for EL8Jason Dillaman1-2/+2
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23qa/suites/rbd: fixed download path for Ubuntu BionicJason Dillaman1-1/+1
The OS image was changed in a9ee4bcf241 from Xenial to Bionic, but the Bionic image path is incorrect. Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23qa/tasks/cephadm: setup thrashers ctx itemSage Weil1-0/+3
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/tasks/ceph_manager: asok commands via cephadm shellSage Weil1-0/+12
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/workunits/rados/test_large_omap_detection: py3-ifySage Weil1-6/+6
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23mon/PGMap.h: disable network stats in dump_osd_statsNeha1-1/+1
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-12-23make-dist: package boost v1.72 instead of v1.67Kefu Chai1-2/+2
to be consistent with the version used by "make check" Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-23cmake: build boost v1.72 instead of v1.67Kefu Chai3-53/+3
so we can drop two patches which are already included by v1.72 Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-23crimson: do not use small_vectorKefu Chai1-11/+0
if `std::is_nothrow_move_constructible<small_vector<peer_shard_t, 2>>` also depends on if the allocator throws when moving from a small_vector to a new one, as we need to allocate memory for the destination small_vector. so, in this change, the optimization for small_vector is dropped, because the default allocator used by small_vector throws. Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-23install-deps.sh: use "apt" for checking install statusKefu Chai1-2/+2
as "dpkg -s <package-name>" always returns 0 even if the <package> is removed. Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-23common,rgw: workaround for boost 1.72Kefu Chai3-0/+6
see also https://github.com/boostorg/coroutine/issues/46 will need to remove this change once we require boost >= 1.73 Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-23librbd: diff iterate with fast-diff now correctly includes parentJason Dillaman1-1/+19
When whole-object and include-parent options are enabled, the diff will now include the parent image diffs. Previously, the parent image diffs were not included when fast-diff was enabled but was included when fast-diff was disabled. Fixes: https://tracker.ceph.com/issues/42248 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23mgr/cephadm: fix =[] default arg to _create_daemonSage Weil1-1/+3
This is a no-no (pass by reference, not value)! Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23qa/suites/rados/cephadm: enable mgr debuggingSage Weil1-0/+4
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-23librbd: bump minor version to match octopusJason Dillaman1-1/+1
This will assist layered projects like QEMU and libvirt determine which features are supported. Fixed: https://tracker.ceph.com/issues/43401 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23librbd: remove pool objects when removing a namespaceJason Dillaman1-0/+23
Avoid leaving RBD pool objects within a pool namespace that is being deleted. Fixes: https://tracker.ceph.com/issues/43378 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23mgr: close restful socket after execliushi1-0/+5
Signed-off-by: liushi <liu.shi@navercorp.com>