| Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jos Collin <jcollin@redhat.com>
|
|
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>
|
|
instructions
Including missing recompile and set crushmap sections in crush-map-edits
Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
|
|
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>
|
|
virtualenv will prefer Python 3 over Python 2 if both are available.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
|
|
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>
|
|
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>
|
|
"path" was added by 2c0fd7d86827aa76b8d923870018365cdae4a6ad, so update
the test accordingly
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
`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>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
simpler this way
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
instead of using a homebrew replacement
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
instead of using a homebrew replacement
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
it's an alias of `interval_set<T,Map>` under some circumstances
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
to be consistent with STL conventions
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
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>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
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>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
ceph.py does this and ceph_manager.py kill_osd relies on it.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
The python3-remoto dependency does not exist on 18.04 (or any ubuntu or
debian AFAICS).
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
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>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Neha Ojha <nojha@redhat.com>
|
|
to be consistent with the version used by "make check"
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
so we can drop two patches which are already included by v1.72
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
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>
|
|
as "dpkg -s <package-name>" always returns 0 even if the <package> is
removed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
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>
|
|
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>
|
|
This is a no-no (pass by reference, not value)!
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: liushi <liu.shi@navercorp.com>
|