Commit Graph

2689 Commits

Author SHA1 Message Date
Dietmar Maurer
b3f1adb200 rebalance_lxc_containers: avoid repeated warnings if rebalance fails
Only warn once.
2016-12-21 11:39:46 +01:00
Dietmar Maurer
0b959507c1 rebalance_lxc_containers: fix hotplug
factor out code to modify cpusets into $modify_cpuset->()
2016-12-21 11:13:16 +01:00
Dietmar Maurer
193146f8b0 rebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup 2016-12-21 11:04:33 +01:00
Dominik Csapak
7c4ef25f55 remove debug log statement
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:17:06 +01:00
Dominik Csapak
6783a3301c 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
b6262736d7 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
e4ad4e064a 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
5f80c67ecc 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
e62526ea4c 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
90ba9a4e02 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
Dominik Csapak
b35f19a3dc set fixed height on global search window
the buffered renderer does not work with auto height, and was disabled.
to enable it, we set a fixed height

when nothing is found, display 'none' to indicate nothing was found

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:03:40 +01:00
Dominik Csapak
94917cd1dc move chart series initialization into initComponent
with extjs 6.2 the charts are initialized differently, so that we can
not do this in the afterrender event, instead we do it in the
initComponent, after calling callParent

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:03:07 +01:00
Dominik Csapak
cc751ecd73 move hideHeaders into static configuration
in extjs 6.2, this property will not be set in ApplyIf, so we move it
into the static configuration, so that the headers will not be visible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-12-19 12:02:53 +01:00
Emmanuel Kasper
2685b38224 Rename filterFn to vmtypeFilter
since we have now two filters defined it makes sense to use
a separate name here
2016-12-19 11:37:20 +01:00
Emmanuel Kasper
ce76a18ae0 Filter by default the displayed guest backups fix #1161
This add a default filter which is executed on store initial load,
so we display only the backups matching our ID.
2016-12-19 11:36:51 +01:00
Emmanuel Kasper
256a65a4bb reduce scope of jslint warnings to the problematic statement
also remove it from qemu/Clone.js since it validates OK
2016-12-19 07:31:51 +01:00
Emmanuel Kasper
ed416f2024 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
Dietmar Maurer
f40069046d bump version to 4.4-1 2016-12-09 10:29:35 +01:00
Dominik Csapak
c2dc78a4e7 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
3253e1189d 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
Dietmar Maurer
fc41e96b42 aplinfo.dat: update 2016-12-09 10:19:13 +01:00
Emmanuel Kasper
734a91b9b9 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
6eb2141a78 Add online help for start/shutdown for containers 2016-12-06 06:53:59 +01:00
Emmanuel Kasper
a255dd7e8c Turn the qemu StartupEdit widget into a generic component
and use this component for Qemu.
2016-12-06 06:53:20 +01:00
Dietmar Maurer
e99edab2b0 bump version to 4.3-14 2016-12-05 12:33:51 +01:00
Dominik Csapak
6b43f8f16d 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
Dietmar Maurer
44a323f333 bump version to 4.3-13 2016-12-02 16:39:40 +01:00
Dominik Csapak
209daf221e 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
18fdf0bcf6 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
a979c78da0 Remove last extra comma
also whitespace / indent cleanup
2016-12-02 11:26:48 +01:00
Emmanuel Kasper
ff05aec018 Add online help for startup/shutdown order and LXC general settings 2016-12-01 11:42:37 +01:00
Emmanuel Kasper
a97bc80075 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
3a84e2b425 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
c359b43706 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
6f82e1b638 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
Dominik Csapak
a46ad02adb add ceph flags api calls
we add a get/post/delete api call for ceph flags

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:08:38 +01:00
Dominik Csapak
85c17d9673 also return the ceph flags in osd api call
we want to set/get the flags in the ceph/osd tab, so we have to
return it there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:07:14 +01:00
Thomas Lamprecht
5e3fd48d19 pvereport: tell lsblk to use ascii
The UTF-8 characters it uses otherwise may be not handled correctly
when some users sent the report to us.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-30 06:11:39 +01:00
Dietmar Maurer
ac04fb558b plug new ClusterConfig API at /cluster/config 2016-11-29 12:08:39 +01:00
Emmanuel Kasper
2b9e88286e Add Windows 2016 as available ostype to select 2016-11-29 09:11:28 +01:00
Dietmar Maurer
ff787af16e update changelog for 4.3-12
The actual 4.3-12 release is done in a separate
branch "hotfix-4.3-12", because we cannot release
commit a94749851 now (requires updated pve-cluster
package).
2016-11-28 07:14:26 +01:00
Dominik Csapak
8d365d994f fix #1212: allow options for delete in pvesh
we did not allow to use parameters in the delete handler in pvesh,
but we make use of them (e.g. force on snapshot deleting)

as the get/set and delete handler do the same, refactor the if/else
paths of them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-25 15:24:22 +01:00
Dominik Csapak
83576841ae 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
Dietmar Maurer
a947498513 use certificate cache from PVE::Cluster package 2016-11-25 08:54:46 +01:00
Dietmar Maurer
5a7b4a74e7 bump version to 4.3-11 2016-11-23 12:40:32 +01:00
Dominik Csapak
8ebc1f3cc6 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
95cf02104d ha/ResourceEdit.js: fix online help ref 2016-11-23 11:39:58 +01:00
Dominik Csapak
5c38487d83 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
Fabian Grünbichler
e099be45b7 fix SSL verify callback for certificate chains
ignoring parts of the chain means saying they are verified,
because the verify callback results are chained together
starting with the highest depth.
2016-11-23 08:33:32 +01:00
Thomas Lamprecht
83ec8f816a VZDump: switch ha managed check from enabled to started
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-11-22 16:47:19 +01:00