and move the grouping feature in the class definition while changing
the text to a generic one
this allows us to group by all columns and still have meaningful
grouping headers
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
we did not check the healthservices array for the monitor widget,
this patch does that, and takes the worst health state
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
since the value at the top is now directly a string,
we need the jslint confusion at the number and not for the
string at the bottom anymore
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
we expect a gettext on a single line and to not contain any
variable/logic, so we remove the long text from it altogether (since we
do not want to translate that at the moment), and we rearrange the code
so that gettext only contains strings
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this adds a default filter for bulk start and stop, so that only the
relevant vms are visible (stopped and started respectively)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this makes the column header not only italic but also bold, so that one
can more easily see that the column is filtered
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this uses the new vmselector and the new vmid filter in the backend
to allow starting/stopping/migrating selected vms instead of all
by default all vms are selected to have the same default behaviour
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this is a form field which is a grid for selecting vms
if nodename is given, it will filter the vms only to the given node
you can filter the grid with the column header, and only the selected
and visible items are in the value of the field
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this is mostly copied from MigrateAll.js, but a more generic way,
to allow startall and stopall to also use it
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this is a simple filter which allows us to limit the actions to specific
vmids
this makes it much simpler to start/stop/migrate a range of vms
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
On the old HA status we saw where a service was located currently,
this information was lost when we merged the resource and the status
tab.
Add this information again.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
since we access novnc always with the NoVncIndex.pm and never in extjs
itself, we can delete this code
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
We closed the Edit window too early, so listeners set to
the 'close' event would reload the underlying grid before the action
successfully completed on the server side.
(NB: the error was only displayed intermittently in the browser console)
The reload call could try a store reload before the store has
a defined url.
The call here is useless since the initial display of
the storage selector compoment will call setStorage() to pass an url
to the store and load it.
Also remove the test on me.store.proxy.url since it was not working
(ExtJS autodefined an URL based on the model name)
the old sys V init script does a lot of stuff, most of which
is already replaced with the system units since jewel,
except for the OSD activation which is still done by either
udev or the old init script.
include systemd service as drop in replacement for the init
script when using jewel. the service is not enabled by
default (as this would break hammer), but needs to be copied
to /etc/systemd/system on upgrade to (manual) or install of
jewel (automatic).
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
with this patch, we do not hide the ceph status anymore if the api call
fails (too slow, e.g.) as long as we showed it at least one time
also, we only stop the updates if we never successfully got the status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
with this patch, the storage graph on the dashboard only counts the
storages which are selected in the settings window
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
this will be used to filter the dashboard storage graph to the selected
storages, so that one can choose which storages are relevant
e.g. if you have one nfs server with multiple exports (on the same filesystem),
you only want to count it once
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
if the rstore in the diffstore is already loaded at the time of
the instantiation, load the data instantly
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>