1594 Commits

Author SHA1 Message Date
Emmanuel Kasper
dd0f5ef3d5 Convert the VMIDSelector to a generic GuestIDSelector
This allows to display a 'CT', a 'VM', or a 'CT/VM' label
to be displayed, depending on the context.

Currently when restoring a CT backup or creating a CT via the
wizard, we are asked to enter a  *VM* ID, which is confusing.
2016-12-19 07:31:27 +01:00
Dominik Csapak
c7db4f54b2 make realmselector non-editable
since most people do not have many login realms to choose from, making
this search/editable makes no sense

but by making this non-editable, you can now click anywhere on the text
to open the options, instead of only the little arrow

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-09 10:20:19 +01:00
Dominik Csapak
7f898bcd2f fix #1176: sort user/group/realm selector
this adds a default sort for the user, group and realmselector
so that the entries are in a consistent order

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-09 10:20:07 +01:00
Emmanuel Kasper
4a435cd284 fix jslint confusion warning
ExtJS components accept for the items property either a
single component or an array of components which generates
a jslint type confusion warning.
2016-12-06 06:54:09 +01:00
Emmanuel Kasper
14235a9155 Add online help for start/shutdown for containers 2016-12-06 06:53:59 +01:00
Emmanuel Kasper
14b0c7ab23 Turn the qemu StartupEdit widget into a generic component
and use this component for Qemu.
2016-12-06 06:53:20 +01:00
Dominik Csapak
c825e1d034 fix typo in vmtype check
by mistake we checked if me.vtype is 'qemu'
but the property is me.vmtype, so we would always show
restart mode

note that this error was purely cosmetic, behaviour was correct

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-05 12:26:53 +01:00
Dominik Csapak
e97bed98d0 adds a help button to the migration window
for now we have to explicitely define the
    onlineHelp: 'blockid'
string, so that the parser picks it up

in the future we should refactor that window, so that we define the
blockid when declaring the component

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-02 16:35:09 +01:00
Dominik Csapak
a39eb243a0 change lxc migration option to restart mode
since online migration does work at the moment, and with ha we already
have the restart mode

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-02 16:33:52 +01:00
Emmanuel Kasper
d1a87714d7 Remove last extra comma
also whitespace / indent cleanup
2016-12-02 11:26:48 +01:00
Emmanuel Kasper
568c69b214 Add online help for startup/shutdown order and LXC general settings 2016-12-01 11:42:37 +01:00
Emmanuel Kasper
73fd23f96a Add the possibility to create an unprivileged container at creation time in the GUI.
The setting is afterwards displayed as a read only option in the option time
2016-11-30 17:29:05 +01:00
Dominik Csapak
6ee35beef4 show in/out/up/down icons in osd overview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:12:24 +01:00
Dominik Csapak
1633c3484b make ceph status in cluster dashboard clickable
to get faster from the datacenter dashboard to the ceph dashboard

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:10:29 +01:00
Dominik Csapak
7e0c0f5200 add noout button and reorder actions
this patch adds a set/unset noout button (for easy maintenance of your
ceph cluster) and reorders the buttons so that global actions (reload,
add osd, set noout) are left, and osd specific actions are on the right

to reduce confusion, there is now a label left of the osd actions which
displays the selected osd

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:10:13 +01:00
Emmanuel Kasper
4e034c5d4f Add Windows 2016 as available ostype to select 2016-11-29 09:11:28 +01:00
Dominik Csapak
087d3bd7fb change ssh-public-keys check in wizard
we changed the ssh public key field to a pvetextfield, which return not
an empty string but null, so the .length check failed with an exception

we do not need to delete the field because it does not exists, when
no key is given

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-25 15:23:02 +01:00
Dominik Csapak
9de96055fc fix kvcombobox validator
since we often use the kvcombobox not statically but load its store at
runtime, we need to check the store and not the comboItems

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-23 12:09:37 +01:00
Dietmar Maurer
85ce9faba7 ha/ResourceEdit.js: fix online help ref 2016-11-23 11:39:58 +01:00
Dominik Csapak
84c0daf3e8 fix missing mons array in ceph status output
on setups with 1 monitor, timechecks has no monitor array

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-23 11:39:58 +01:00
Dominik Csapak
86c4c1e18c fix #1208: add ballooning checkbox to memory edit
when using fixed memory size, we implicitly deleted shares and
ballon, which removed a (manually) set balloon: 0,

to be able to set this via the gui, we add a checkbox to the fixed
memory edit (using variable memory always needs ballooning)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:39:12 +01:00
Dominik Csapak
f5096e8e39 check for array in disallowednodes filter
extjs throws an error if disallowednodes is not an array,
so we need to check this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:38:29 +01:00
Dominik Csapak
c764a82620 add new ceph dashboard
this patch changes the ceph dashboard

now we show the information in a more graphical way, namely:

the overall status is displayed by a big icon (+health)
the warnings/errors are in a list (with severity)

we show more detailed information about monitors, osds, and pgs

we show the usage of the cluster as a gauge graph, and
the reads, writes and iops as running charts (the last 5 minutes)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:38:11 +01:00
Dominik Csapak
4ded5a5c6a add ceph statudetail panel
this adds a the component ceph statusdetail,
it displays the monitors (+status)
the osd as a table (in/out,up/down)
and the pg states as a list (+number)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:37:44 +01:00
Dominik Csapak
fea2fbae48 add runningchart widget
this adds a new component 'runningchart', which is a simple linegraph

you define a timeFrame (default 5*60 seconds), and you regularly add
datapoints to it, and the graph shows the last timeFrame seconds of it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:37:24 +01:00
Dominik Csapak
5e2627d3bd refactor health status widget and ceph status data
this adds a new component health widget, used for cluster and ceph
status

also refactor ceph error levels and ceph status data into PVE.Utils

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:37:09 +01:00
Dominik Csapak
7d2c8e49dd refactor health icons
instead of setting them manually every time, factor them out in a
get_health_icon function

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:36:46 +01:00
Dominik Csapak
a0db524cbe improve green and red colors
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 16:36:16 +01:00
Dominik Csapak
9eb1d8ee70 change the ha resources columns
rename Request State to State, and add the request_state and crm_state
as hidden columns (so that the user can display them if they want)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 12:30:36 +01:00
Dominik Csapak
fba0a1d89e merge ha resources into the ha status panel
this changes the ha status view and ha resources view, so that they take
an rstore and use that instead of a new one

we do this, so that we can display the status and the resources grid
with one api call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 12:30:05 +01:00
Dominik Csapak
12613b2e62 add the haStatus panel
for the new status

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 12:29:09 +01:00
Dominik Csapak
aa16b83f62 add new fields to ha models
to be prepared for the new ha status

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-22 12:28:28 +01:00
Dietmar Maurer
75424963d6 ConfigPanel: automatically expand node in selectById()
This is only used for automated tests.
2016-11-21 13:02:01 +01:00
Dietmar Maurer
0ebabc3c5b Resources.js: s/enabled/started/ 2016-11-19 10:38:04 +01:00
Thomas Lamprecht
130668cfb5 ha resource edit: adapt to new service state
Add the new stopped state to the ResourceEdit panel.
Rename enabled state to started as done in ha-manager.

As 'enabled' is now the wrong label use the more correct label
'Request state', for both the resource edit window and the grid
column.

Do this by replacing the checkbox with a KVCombogrid.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-19 10:20:04 +01:00
Thomas Lamprecht
6f7ca2f310 do not show current node in migration window
As we cannot migrate to the source node do not show it in the
migration window's node selector.

Fixes #1049 partly

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-19 09:51:48 +01:00
Thomas Lamprecht
b6eb65687b NodeSelector: add disallowedNodes configuration property
This can be used to mask out some nodes from the node selector.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-19 09:51:14 +01:00
Dominik Csapak
a7c2cda748 add kvcombobox validator
this enables validation of all kvcomboboxes, including
multiselect

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-18 10:30:08 +01:00
Dominik Csapak
5ae11b3b8d make pool members grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-18 10:21:37 +01:00
Dominik Csapak
a833cced4f check for lxc instead of openvz in the backup window
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 15:49:21 +01:00
Dominik Csapak
99dc2644bb move onlineHelp from FirewallAliasEdit to FirewallAliases
since the first is a window, not the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:17:38 +01:00
Dominik Csapak
dfdf4e3034 remove border from ceph crushmap/config panel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:17:31 +01:00
Dominik Csapak
3168bc8278 make storage/template grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:17:10 +01:00
Dominik Csapak
7499e27bed make lxc/qemu snapshot/network grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:17:02 +01:00
Dominik Csapak
69c9d883d6 make backupview stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:52 +01:00
Dominik Csapak
89dc4c3b44 make ceph panels/grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:44 +01:00
Dominik Csapak
60d337128c make update/disk/network and task grid stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:38 +01:00
Dominik Csapak
3190457463 make user/acl/auth grids stateful
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:30 +01:00
Dominik Csapak
8504ce2ad9 make firewall panels/grids stateful
to save the columns/layouts in the browsers local storage

also change width to string (or else jslint complains)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:23 +01:00
Dominik Csapak
7b5f3d7cfa make backup/storage/ha resources/ha groups grid stateful
so that the column changes are saved in the browsers local storage

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-17 09:16:15 +01:00