integrated-manager-for-lustre
integrated-manager-for-lustre copied to clipboard
Implement new automatic snapshot feature
Web interface shows Failed to load resource: the server responded with a status of 502 () error, when I applied this build.
why do we have policy and interval in help output? is it overlapping functionality or it is different? SUBCOMMANDS: create Create a snapshot destroy Destroy the snapshot help Prints this message or the help of the given subcommand(s) interval Snapshot intervals operations list List snapshots mount Mount a snapshot policy Automatic snapshot policies operations retention Snapshot retention rules operations unmount Unmount a snapshot
why do we have policy and interval in help output? is it overlapping functionality or it is different? SUBCOMMANDS: create Create a snapshot destroy Destroy the snapshot help Prints this message or the help of the given subcommand(s) interval Snapshot intervals operations list List snapshots mount Mount a snapshot policy Automatic snapshot policies operations retention Snapshot retention rules operations unmount Unmount a snapshot
It's a previous effort which will be replaced by this new feature. You can ignore it for now.
Web interface shows Failed to load resource: the server responded with a status of 502 () error, when I applied this build.
It's probably due to database migrations. I guess it needs to be built from scratch after I resolve conflicts in this PR.
@ip1981 please rebase, this has conflicts on latest master.
The db table is empty, which means the issue is cache not updating in warp-drive:
One change we need in this patch is a way to select the time to take snapshots when we bring up the modal.
We should be able to add a timepicker control after the fs selection dropdown here:
We should be able to use an time input to do this without too much hassle on the front-end:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time
The time of day selected will be sent to the manager and stored in the db. This in turn will determine when the selected snapshot policy runs.
Some more things to implement:
- Min snapshots are 2. Max snapshots are 32.
- We need to schedule the snapshot cleanup window per-policy
- Each interval scheduled must have the ability to specify when it will first run
Some more things to implement:
* Min snapshots are 2. Max snapshots are 32.
Done at the DB level and in GUI.
* We need to schedule the snapshot cleanup window per-policy * Each interval scheduled must have the ability to specify when it will first run
Done. First create a new snapshot if possible, then cleanup.
There are a couple of things to improve, but in general it's ready.
~~I might be hitting a bug in Chrome when an input event is not triggered when selecting a date.~~ Was with 81, ok with 87.
I will need https://github.com/whamcloud/integrated-manager-for-lustre/pull/2457 and https://github.com/whamcloud/integrated-manager-for-lustre/pull/2458