3026 Commits

Author SHA1 Message Date
Dominik Csapak
5e2110fe94 disable submit button in migrate window when not valid
when the form is not valid (e.g. an offline or no host selected),
disable the submit button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-01-10 08:21:30 +01:00
Dominik Csapak
cd371b8b61 show only relevant vms in bulk action window
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>
2017-01-10 08:18:35 +01:00
Dominik Csapak
61dd98d348 make filtered columns in grid more prominent
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>
2017-01-10 08:14:41 +01:00
Emmanuel Kasper
7085408bae Reload the grid list of backups after the backup task completion
This allows visual feedback for first time users doing a backup.
2017-01-05 16:17:32 +01:00
Dominik Csapak
f6b31faf9c change Start/Stop/Migrate all to Bulk actions
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>
2017-01-05 15:59:44 +01:00
Dominik Csapak
1d5b91a42f add vmselector form field
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>
2017-01-05 15:58:41 +01:00
Dominik Csapak
42ab04aacb add BulkAction window class
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>
2017-01-05 15:57:11 +01:00
Dominik Csapak
8085dbca5c add vmid filter to (start/stop/migrate)all
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>
2017-01-05 15:55:59 +01:00
Thomas Lamprecht
180873313f ha: re-add node to service status
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>
2017-01-05 15:52:23 +01:00
Dominik Csapak
d398b82539 remove not needed vnc code
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>
2017-01-04 10:50:38 +01:00
Dietmar Maurer
7fdb3e699d remove vznet.conf
leftover from openvz - not used anymore...
2017-01-04 10:43:15 +01:00
Emmanuel Kasper
75a0115329 Reload the Ceph OSDTree afer adding an OSD 2017-01-03 18:19:50 +01:00
Emmanuel Kasper
1593a4972c Hide the Edit window when we start a background task
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.
2017-01-03 18:19:25 +01:00
Fabian Grünbichler
21d2f6e84a fix #1230: add blocksize for ZFSPoolPlugin
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-01-03 12:56:33 +01:00
Dietmar Maurer
adf51e2b02 Clone.js: add onlineHelp 2017-01-03 12:30:48 +01:00
Emmanuel Kasper
7e7cdb0716 HA: Add a warning/info message for HA setups < 3 votes fix: #1228 2017-01-03 11:10:06 +01:00
Emmanuel Kasper
d5027d7a40 Fix a race conditon provoking the error no such file '/pve-storage-content'
(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)
2017-01-03 11:00:19 +01:00
Emmanuel Kasper
203abab762 Replace nested ternary operators with if/else statements 2017-01-03 10:19:25 +01:00
Dietmar Maurer
0a06505efa perftest2.pl: use -k (keepalive) to show max performance 2016-12-28 12:06:27 +01:00
Dietmar Maurer
11be8d6e47 remove PVE::API2Client class and related examples
We now have all API client code in an extra package:

https://git.proxmox.com/?p=pve-apiclient.git;a=summary
2016-12-28 11:45:47 +01:00
Dietmar Maurer
75b024bbac code cleanup 2016-12-28 11:34:01 +01:00
Dietmar Maurer
c43015a591 bump version to 4.4-5 2016-12-27 11:29:45 +01:00
Dietmar Maurer
ec8f05d4ac add unpriviledged flag to container restore window. 2016-12-27 10:19:57 +01:00
Dietmar Maurer
d2d7106e96 bump version to 4.4 2016-12-22 12:28:28 +01:00
Wolfgang Link
60e6724508 Change remove partition order.
If we remove first the journal the data partition will automatically mounted
and can't destroy the partition.
This is trigger by the udev ceph rule.
2016-12-22 12:26:10 +01:00
Wolfgang Link
2e62790ced Fix parsing block device.
Get the partition num and block device from sysfs.
This ensure different block device types will work.
2016-12-22 12:25:45 +01:00
Dietmar Maurer
819f3c69d9 bump version to 4.4-3 2016-12-22 12:02:41 +01:00
Wolfgang Link
48f36a83bc Enable service for ceph monitor.
We do not use the ceph.service what normally start ceph-mon,
so we have to ensure ceph-mon is enabled.
2016-12-22 11:57:50 +01:00
Fabian Grünbichler
f052e69dc1 replace SysV init script with our own service
for more information see http://tracker.ceph.com/issues/18305 .

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-22 11:53:52 +01:00
Wolfgang Link
aaff20ac4b Set correct permission for ceph user.
We have to set the correct permission,
because ceph greater than infernalis use ceph as daemon user.
2016-12-22 11:51:19 +01:00
Wolfgang Link
b5954a033d add jewel 2016-12-22 11:48:12 +01:00
Dietmar Maurer
b68bb37c6b rename pve.conf to ceph-after-pve-cluster.conf 2016-12-22 11:47:13 +01:00
Wolfgang Link
00b3a2c493 add systemd replacement for ceph init script
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>
2016-12-22 11:42:32 +01:00
Dominik Csapak
860cc177c2 do not hide ceph on dashboard if the api call fails
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>
2016-12-22 10:15:37 +01:00
Dominik Csapak
033a08abe8 add filter to dashboard storage graph
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>
2016-12-22 10:11:41 +01:00
Dominik Csapak
a39e1555df add a storage selection in the settings window
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>
2016-12-22 10:11:13 +01:00
Dominik Csapak
a55ce6927b load the diffstore on init
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>
2016-12-22 09:44:24 +01:00
Dominik Csapak
89ba43d362 add an alias to the diffstore
to use it declarative like this:

store : {
    type: 'diff'
}

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-22 09:43:16 +01:00
Dietmar Maurer
80259e0530 bump version to 4.4-2 2016-12-21 12:27:01 +01:00
Dietmar Maurer
abe9e9dac0 rebalance_lxc_containers: make it work with old style lxc setups 2016-12-21 12:20:40 +01:00
Dietmar Maurer
729f1b2d42 rebalance_lxc_containers: avoid repeated warnings if rebalance fails
Only warn once.
2016-12-21 11:39:46 +01:00
Dietmar Maurer
b8d87bf86e rebalance_lxc_containers: fix hotplug
factor out code to modify cpusets into $modify_cpuset->()
2016-12-21 11:13:16 +01:00
Dietmar Maurer
650ec00807 rebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup 2016-12-21 11:04:33 +01:00
Dominik Csapak
dc1eed1144 remove debug log statement
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:17:06 +01:00
Dominik Csapak
1d8f09ec57 fix typo in ceph jewel iops parsing
this prevented the write iops performance charts to get any meaningful
data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:08:28 +01:00
Dominik Csapak
8224d511fb filter the local node in the migrateall window
we do this already for single vm migrations, also do it for migrate all

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:06:13 +01:00
Dominik Csapak
c7cf5c25da validate nodeselector after store is loaded
this shows the validation status immediatly if no node is selected (for
instance because no node is online or you have only one node and open
the migration window)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:06:00 +01:00
Dominik Csapak
5972ae1cd4 make date column resizable
this makes the date column in the snapshottree a little bit bigger and
resizable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:04:53 +01:00
Dominik Csapak
4555bf4ad6 remove obsolete belongsTo
this was not needed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:04:33 +01:00
Dominik Csapak
a7fc228939 snapshottree: remove sorter before saving the state
extjs saves the state including the sorter, but cannot serialize the
sorter function. when restoring the state, it is not a valid sorter,
so we delete it before saving

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:04:07 +01:00