It is now commented out like it was before,
but I've added a comment what happened during this test with the QA
system. The problem was that even with only a increase of 1 PG the QA
cluster went into a cluster warning state and did not recover in time.
The QA coverage timeout is 2 minutes.
I could not reproduce this behavior with a local cluster, but I've
added a loop to wait until pgp and pg number are equal and the cluster
is in a healthy state again. This can take locally about 5 seconds.
The internal loop has a timeout of 3 minutes.
Fixes: https://tracker.ceph.com/issues/36362
Signed-off-by: Stephan Müller <smueller@suse.com>
The dashboard backend can now unset all set compression arguments if the
compression mode is switched to 'unset'. In the case of 'unset' Ceph
itself will only delete the 'compression_mode' argument, not all other
set arguments. The other arguments that should be removed, too, are
added to the update arguments in order to delete all set arguments.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
As of the merge of cleaner notifications, the notification component was
refactored and move this caused a loss of previously added
notifications.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
Now the pool list uses the task list service to monitor all tasks, in
order to extend each pool item with corresponding tasks if any. If there
is a running task for a pool you will see what action runs on it in the
listing.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
You can delete pools through the UI, this will generate a task that
deletes the pool in the background.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
You can create/edit pools through the UI if you have the right
permissions.
You can specify the following:
* Name - can't be duplicated
* Type - replicated or erasure
* Crush rule set
* Validates if you can use it
* A popover tells which crush steps are used
* Replica size - depends on your selected rule and the amount of OSDs
* Erasure code profile
* PGs - will be recalculated on form changes (type, replica size,
erasure profile, crush rule) only if not set before
* EC overwrites flag
* Compression - Algorithm / Min/max blob size / mode / ratio
* Application metadata - Predefined and custom applications as badges
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
Due to changes in the badges component, user roles had to be amended.
Fixes: https://tracker.ceph.com/issues/36357
Signed-off-by: Stephan Müller <smueller@suse.com>
It's now possible to filter badges and create badges via a create badges
label.
Fixes: https://tracker.ceph.com/issues/36357
Signed-off-by: Stephan Müller <smueller@suse.com>
Add the missing functionality to create config options and related
tests to the frontend.
Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Enables custom badges within badges component.
It's possible to use custom validations and custom error messages.
Fixes: https://tracker.ceph.com/issues/36357
Signed-off-by: Stephan Müller <smueller@suse.com>
Amends pool tasks in order to get the right results back into the UI
and also to have tasks with the same attributes.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
Adds pool type definition which is used in pool listing.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
There are two type definitions one for the crush rule itself and one
for the crush step definition which is used inside the crush rule
definition.
Fixes: https://tracker.ceph.com/issues/36355
Signed-off-by: Stephan Müller <smueller@suse.com>
Add some pattern validators (ip, uuid, number, decimalNumber) that
are needed to validate the config option input values.
Fixes: http://tracker.ceph.com/issues/24455
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
As (e.g.) the configuration option documentation has dropdown menus
with pre-defined filters we need a placeholder for them in the
datatable.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Added the missing import otherwise the 'should create' test will fail
because the received component is undefined.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Refactor '_get_mon_allow_pool_delete_config' method to be a little bit
more general. The method can now be used to get the value of every
config option known to the cluster.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
This gives us an interval where we warn before automatically marking an
OSD out. That way the operator has an opportunity to preemptively replace
the device and incurring only a single rebalance/recovery event (vs two,
one to evacutate the failing the device, another to refill the
replacement).
Signed-off-by: Sage Weil <sage@redhat.com>
Replace local predictor model file for Debian package.
It is compatible with below library:
python-sklearn 0.19.1-3
python-joblib 0.11-1
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
this reverts bcc0511d3b,
because
* we already check for C++17 support in the same cmake list
* it's non trivial to check the O(1) std::list::size().
* we always build using the GCC 7.3 from SCLs on CentOS and RHEL. so the
error message is always printed if we could have detected the O(1)
std::list::size(). and we cannot fail the build if we are using an
standard library with O(1) std::list::size().
so, this check is pointless.
Signed-off-by: Kefu Chai <kchai@redhat.com>