Now that IO is being processed by multiple threads, it's possible
that a write operation that was issued prior to a flush would not
have been started prior to the processing of the flush.
Fixes: https://tracker.ceph.com/issues/47050
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
A technical requirement of move operations requires that the collection
be reset to a known state before being used again.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
mgr/dashboard: remove "This week/month/year" and "Today" time stamps of Grafana in dashboard
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
so we can pick the tests selectively. currently, some features are not
supported by crimson. but we will cover more and more of them. so
attaching different labels to tests cases helps us to run these tests
selectively.
Signed-off-by: Kefu Chai <kchai@redhat.com>
os/bluestore/BlueRocksEnv: Avoid flushing too much data at once.
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
69ed3d9cff refactored `_create_daemon()` which obsoleted any need to
search for the NFSServiceSpec in the SpecStore
Signed-off-by: Michael Fritch <mfritch@suse.com>
If a message is forwarded, it's conceivable the leader's and peon's evaluation
will disagree about whether the message is useful or not, which could result
in the leader ignoring it and the peon having a dangling forwarded message.
Fix this by marking the op as no_reply whenever ignoring it.
Fixes: https://tracker.ceph.com/issues/46914
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
It now connects to the cluster to retrieve any global config
overrides before processing the default map options.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This will allow global config overrides for the max concurrent ops to
be applied prior to listing the images.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Wait until after the CLI has connected to the cluster and therefore
has received all global configuration overrides.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
librados will retrieve a bootstrap config update from the MONs
after connecting and then finish initializing the context. In
general, non-primitive config options cannot be updated after
initialization is complete. This prevents the rbd CLI from
supporting non-primitive config overrides from the MON.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
In general, non-primitive config options cannot be updated after
the service threads have been marked as running. In librados, this
happens after the MonClient bootstrap process. However, the configs
received from the MON were applied in a separate thread which can
race with librados marking the service threads as running.
Now the received MON configs will be applied within the context of
the bootstrap function call instead of deferring to a separate
thread.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Deployment of monitoring images has been broken in the context of
ceph-salt. Due to the removal of the registries in
/etc/containers/registries.conf, all images need to be provided
qualified.
Fixes: https://tracker.ceph.com/issues/46726
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
This modification allows the user to create a new bootstrap cluster using a predefined SSl port for the dashboard.
If firewall is enabled, any new manager daemon deployed in new hosts will take care of open the required ports for all the services enabled in the manager.
Two new parameters for cephadm tool (aka binary or standalone):
Command bootstrap:
--ssl-dashboard-port SSL_DASHBOARD_PORT
Port number used to connect with dashboard using SSL
Command deploy:
--tcp-ports TCP_PORTS
List of tcp ports to open in the host firewall
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Allow only [A-Za-z0-9-_.] characters for FS, volume, subvolume and
subvolume group names and add test for the same.
Signed-off-by: Rishabh Dave <ridave@redhat.com>