The commit adapts two different parts:
1. It adds all frontend related changes around the PG scrub
configuration form
2. It also adds an API test case to check the existence of
all hard-coded config options in the frontend
Fixes: https://tracker.ceph.com/issues/38211
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
This commit adds an initial config option component in order to move
the HTML template and the config option types related code to an own
centralized place to be re-usable by other components
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Add a filter route to the configurations endpoint to get a subset of
config options in one request.
Add a delete route to the configurations endpoint to delete a
specific config option value.
The commit contains the frontend and backend related changes.
It also adds the missing '/' to `ConfigurationService.bulkCreate` and
unit test.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
mgr/dashboard: Subscribe to changes when RequiredIf is used
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
FormControls that use 'requiredIf' validators depend on the state of other
controls.
To prevent that some of the state changes are not tracked, we now automatically
subscribe to the prerequsited controls and update the validation of the parent
control.
Fixes: https://tracker.ceph.com/issues/40017
Signed-off-by: Tiago Melo <tmelo@suse.com>
`describe_service` is called often and raising
assertions will pollute the log file with tracebacks.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
As iSCSI is not supported by Rook, users need a way to manage
ceph-iscsi without Rook knowledge
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Fixed missing error propagation from
the orchestrator to the dashboard
Adapted orchestrator integration in NFS
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
mgr/dashboard: fix backend error when updating RBD interlocked features
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Rules of like-prefix must visit every matching object. A next
logical step is to combine tag checking for rules of like-prefix.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
A rule containing a tag filter but no constraining prefix is
legal, as is a sequence of >1 such rules.
As currently designed, enforcement requires rules to be
installed in prefix_map as well as rule_map, though only the
latter is encoded.
Fixes: http://tracker.ceph.com/issues/37879
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Several Grafana dashboards were updated and their uids are changed.
Update corresponding uids in angular templates. Also fix that when a user
clicks performance details of an OSD, wrong OSD metrics are displayed.
Fixes: http://tracker.ceph.com/issues/39971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
memory leaks in the monitor are causing a significant
percentage of jobs run in the rgw verify suite to
fail even though the jobs succeeded before hand.
See: http://tracker.ceph.com/issues/38827 for
root cause
Signed-off-by: Ali Maredia <amaredia@redhat.com>
mgr/dashboard: Unify the look of dashboard charts
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>