| Commit message (Collapse) | Author | Files | Lines |
|
Contains the following fixes
- absolute url fixes
- ssl socket closing fixes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
|
|
Signed-off-by: Kai Wagner <kwagner@suse.com>
|
|
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
per Willem's request.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
as librabbitmq-devel is not packaged on them yet.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
this mock library is only used by rgw tests.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
In RHEL 8, rpmbuild does not automatically generate __pycache__
directories. Generate them explicitly with the %py_byte_compile macro.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
|
|
On RHEL 7, this package is named "pyOpenSSL", but on RHEL 8, Fedora, and
SUSE, it is named "python3-pyOpenSSL".
Prior to this change, the RHEL conditional was applying to both RHEL 7
and 8, so we would fail to resolve the "pyOpenSSL" package dependency on
RHEL 8.
Update the RPM conditionals to use "pyOpenSSL" on RHEL 7 and
"python3-pyOpenSSL" on all other distributions.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
|
|
On RHEL 8, the python34-* and Cython packages are named identically to
Fedora (eg "python3-Cython"). Move the Python 2 "Cython" and python34-*
BuildRequires lines inside a RHEL 7 conditional, so RHEL 8 falls through
to the Fedora package names.
Signed-off-by: Ken Dreyer <kdreyer@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: Ricardo Dias <rdias@suse.com>
|
|
Signed-off-by: Ricardo Dias <rdias@suse.com>
|
|
assuming all string in the cythonized string use the legacy python2
string type, instead of using the unicode, and assuming all c strings
are ASCII, so we don't need encode/decode them when coerce from/to C
strings.
this helps when generating py3 bindings
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Compiling rbd.pyx because it changed.
[1/1] Cythonizing rbd.pyx
/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367:
FutureWarning: Cython directive 'language_level' not set, using 2 for
now (Py2). This will change in a later re
lease! File: /var/ssd/ceph/src/pybind/rbd/rbd.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
this warning is raised by cython 0.29.2
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
mstart also features an overrideable $RGW_FRONTEND which defaults to beast
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
|
|
This reverts commit 0475dfdea315e5208abc201355523c8dab78469f.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
There is a known crash under C++17 mode that requires an updated
devtoolset to address.
See https://bugzilla.redhat.com/show_bug.cgi?id=1616223
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
The future goal would be to change the version for each Ceph major
release to ensure C++ applications will need to be recompiled against
the librados C++ API since we don't guarentee ABI stability.
Fixes: https://tracker.ceph.com/issues/38177
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: ZhuJieWen <154667715@qq.com>
|
|
WITH_RADOSGW_AMQP_ENDPOINT is enabled by default.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
- Implementation of operations add/rm hosts
- Improvement of error management in Ansible Runner Service Client
- Addressed @sebastian-philipp suggestions and findings
- Remove the <role> parameter of hosts operations.
Now all the hosts are placed by default in a specific Ansible Inventory group called <orchestrator>.
Discussion on-going about to keep Host management API endpoint or not.
If hosts management is removed, further modifications will be needed to:
- Keep updated the <host inventory> in the orchestrator
- Manage hosts groups when operations are executed
- Adapted new commands (host add/rm) to use to the new <orchestrator_cli> syntax
- Improved error management
- Added return information to Add/remove host methods docstring
- Removed redundant exceptions following @sebastian-philipp suggestion
- Removed duplicated code
- Removed extra space
- Fixed unit tests
- Improved error management in launch playbook
- removed unused param in docstring (orchestrator.py)
Signed-off-by: Juan Miguel Olmo MartÃnez <jolmomar@redhat.com>
|
|
rabbitmq-c is not a header-only library. so we need to ensure that the
library is also around before linking against it. in this change:
* move the detection down to where librabbitmq is used
* add FindRabbitMQ.cmake for find_package(RabbitMQ)
* s/rabbitmq/RabbitMQ::RabbitMQ/ as the latter is an alias library
target, which has more information attached to it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
it will be installed by `mk-build-deps --install`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Fixes: http://tracker.ceph.com/issues/38404
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
function send_msg encode struct IBSYNMsg to a string, and recv_msg parse the string.
In the function send_msg, im.lid (unsigned short int) is formatted into a string with format string %04x,
so, recv_msg should read im.lid from the string with format string %hx instead of %hu (unsigned short).
Fixes: https://tracker.ceph.com/issues/38391
Signed-off-by: Peng Liu <liupeng37@baidu.com>
|
|
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
|
|
Both simple and async messengers use c_str() when copying the data from
the socket into the receive buffer, going behind bufferlist's back. If
the receive buffer is preallocated, we need to invalidate its crc cache
by hand to avoid possible data crc mismatches on the client side.
Fixes: https://tracker.ceph.com/issues/38416
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
|
|
Break assign_global_id() into two parts:
- _assign_global_id(), called under auth_lock, that does nothing but
assign an id (or fail). This makes use of the num_mon and num_rank
values, which means it only works while we are in quorum.
- increase_max_global_id(), if it looks like we should.
Also, adjust _should_increase_max_global_id() to also work under auth_lock
since we are looking at last_allocated_id. All last_allocated_id users
are not protected by auth_lock.
Fixes: http://tracker.ceph.com/issues/38372
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Provide AuthMonitor with the mon count and rank under the mon->auth_lock.
Only set these values while the monitor is active (and the mon is allowed
to authenticate). When we start an election or bootstrap, clear these
values.
Note that we aren't using them yet!
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
If the image has watchers, snapshots, or group links, restore the image
from the trash back to the image directory since data removal hasn't yet
started.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Exclude them from the trash list to prevent double-counting
them. This mimics the previous behavior for handling interrupted
image removals.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
When an image is moved to the trash, mirroring is disabled which will remove
the image id from the mirroring directory. If you then quickly attempt to
remove the image from the trash, it might fail if the rbd-mirror daemon hasn't
closed the image since it fails to filter out rbd-mirror daemon watchers
against images with mirroring disabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
... while removing an Image
Fixes: http://tracker.ceph.com/issues/24226
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
For backwards compatibility and upgrade reasons, the librados2
API needs to be preserved and it needs to continue to be compatible
with dependent libraries like librbd1.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
It's protected by CopyupRequest::m_lock mutex.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
|
|
Calling aio_operate() with the explicit snap_seq and snaps doesn't
mutate IoCtx, so no reason to clone it.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
|
|
In the deep-copy case, don't send copyup and hint twice (once with the
blank and once with the current snapshot context).
Preserve the workaround for compare-and-write added in commit
f6db9b8027b6 ("librbd: copyup state machine needs to handle empty write
ops").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
|
|
The server now has a list of *allowed* modes (no ordering) and the clients
have a list of modes in order of preference. Since we want everything
connecting to the mon to be secure by default (think: ceph auth set ...),
we need a separate option to ensure we prefer secure mon connections from
the CLI etc.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
|
|
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
|