* refs/pull/21924/head:
align lspools output in file-layouts and manual-freebsd-deployment
Fixed configuration setting standby_replay
Fixed the order of configuration
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Fixed typo and slightly reworked the description of the mgr
dashboard in the "Major changes" section. Updated the
description in the "Notable changes" section as well by adding
a note about creating an SSL certificate.
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
* refs/pull/21842/head:
MDSMonitor: clean up use of pending fsmap in uncommitted ops
MDSMonitor: refactor last_beacons to use mono_clock
mds: refactor MDSMap init
mds: refactor FSMap init
mds: refactor Filesystem init
mds: move compat set methods to MDSMap
Reviewed-by: João Eduardo Luís <joao@suse.de>
If a deletion fails and the 'Cancel' button is pressed to close the dialog, then the deletion process is triggered again.
Signed-off-by: Volker Theile <vtheile@suse.com>
- Take care that the deletion dialog gets notified about errors to stop the progress spinner and enable the delete button again.
- Prettify JS code.
Signed-off-by: Volker Theile <vtheile@suse.com>
MDCache::cow_inode() checks "cap->issued() & CEPH_CAP_ANY_WR" to decide
if it needs to setup client_need_snapflush for the new snap inode. If
cap message flushes dirty caps and releases the same caps, cap->issued()
may have no WR caps when MDCache::cow_inode() gets called. The solution
is temporarily setting NEEDSNAPFLUSH on Capability::state.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
commit de3f3d88b3 make Locker::_do_cap_update() get called before
adjusting wanted caps. This is wrong because Locker::_do_cap_update()
need uptodate wanted caps to calculate max size.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24111
Thanks to Yan Zheng for identifying and reviewing the fix.
Fixes: http://tracker.ceph.com/issues/24087
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
"acconfig.h" is needed for HAVE_SYS_PRCTL_H and <string.h> for memset.
Fixes: http://tracker.ceph.com/issues/24123
Signed-off-by: Mykola Golub <mgolub@suse.com>
The config observers may want to take locks that are ordered relative
to monc_lock.
We could simply drop monc_lock for this call, but that would implicitly
rely on a single-threaded dispatch to avoid having two incoming MConfig
messages get reordered. Explicitly putting it on a finisher is safer.
Note that we adjust the get_monmap_and_config() to start, drain, and stop
the finisher to ensure we have incoming config processed and applied
before returning.
Fixes: http://tracker.ceph.com/issues/24118
Signed-off-by: Sage Weil <sage@redhat.com>
This Manager Module will send statistics and version information from
a Ceph cluster back to telemetry.ceph.com if the user has opted-in on sending
this information.
Additionally a user can tell that the information is allowed to be made
public which then allows other users to see this information.
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 8f6137d162)
It seems pretty-quick is not restricted to the root of the dashboard frontend
and this could bring undesired changes to some files.
Signed-off-by: Tiago Melo <tmelo@suse.com>
mgr/dashboard: Display notification if RGW is not configured
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
before this change,
ceph config show
no valid command found; 2 closest matches:
config show {}
config show-with-defaults
Error EINVAL: invalid command
after this change
ceph config show
Invalid command: missing required parameter who(<string>)
config show <who> {<key>} : Show running configuration
Error EINVAL: invalid command
Signed-off-by: Kefu Chai <kchai@redhat.com>