]> git.proxmox.com Git - pve-manager-legacy.git/log
pve-manager-legacy.git
7 years agoadd systemd replacement for ceph init script
Wolfgang Link [Wed, 21 Dec 2016 14:56:12 +0000 (15:56 +0100)]
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>
7 years agodo not hide ceph on dashboard if the api call fails
Dominik Csapak [Wed, 21 Dec 2016 10:48:46 +0000 (11:48 +0100)]
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>
7 years agoadd filter to dashboard storage graph
Dominik Csapak [Wed, 21 Dec 2016 10:45:10 +0000 (11:45 +0100)]
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>
7 years agoadd a storage selection in the settings window
Dominik Csapak [Thu, 22 Dec 2016 08:54:06 +0000 (09:54 +0100)]
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>
7 years agoload the diffstore on init
Dominik Csapak [Wed, 21 Dec 2016 10:45:08 +0000 (11:45 +0100)]
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>
7 years agoadd an alias to the diffstore
Dominik Csapak [Wed, 21 Dec 2016 10:45:07 +0000 (11:45 +0100)]
add an alias to the diffstore

to use it declarative like this:

store : {
    type: 'diff'
}

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agobump version to 4.4-2
Dietmar Maurer [Wed, 21 Dec 2016 11:27:01 +0000 (12:27 +0100)]
bump version to 4.4-2

7 years agorebalance_lxc_containers: make it work with old style lxc setups
Dietmar Maurer [Wed, 21 Dec 2016 11:20:40 +0000 (12:20 +0100)]
rebalance_lxc_containers: make it work with old style lxc setups

7 years agorebalance_lxc_containers: avoid repeated warnings if rebalance fails
Dietmar Maurer [Wed, 21 Dec 2016 10:39:46 +0000 (11:39 +0100)]
rebalance_lxc_containers: avoid repeated warnings if rebalance fails

Only warn once.

7 years agorebalance_lxc_containers: fix hotplug
Dietmar Maurer [Wed, 21 Dec 2016 10:13:16 +0000 (11:13 +0100)]
rebalance_lxc_containers: fix hotplug

factor out code to modify cpusets into $modify_cpuset->()

7 years agorebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup
Dietmar Maurer [Wed, 21 Dec 2016 10:04:33 +0000 (11:04 +0100)]
rebalance_lxc_containers: make it work with new lxc/<ID>/ns subgroup

7 years agoremove debug log statement
Dominik Csapak [Thu, 15 Dec 2016 16:01:22 +0000 (17:01 +0100)]
remove debug log statement

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix typo in ceph jewel iops parsing
Dominik Csapak [Wed, 14 Dec 2016 09:31:47 +0000 (10:31 +0100)]
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>
7 years agofilter the local node in the migrateall window
Dominik Csapak [Wed, 7 Dec 2016 10:54:36 +0000 (11:54 +0100)]
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>
7 years agovalidate nodeselector after store is loaded
Dominik Csapak [Wed, 7 Dec 2016 10:54:35 +0000 (11:54 +0100)]
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>
7 years agomake date column resizable
Dominik Csapak [Tue, 6 Dec 2016 15:26:42 +0000 (16:26 +0100)]
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>
7 years agoremove obsolete belongsTo
Dominik Csapak [Tue, 6 Dec 2016 15:26:41 +0000 (16:26 +0100)]
remove obsolete belongsTo

this was not needed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agosnapshottree: remove sorter before saving the state
Dominik Csapak [Tue, 6 Dec 2016 15:26:40 +0000 (16:26 +0100)]
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>
7 years agoset fixed height on global search window
Dominik Csapak [Tue, 6 Dec 2016 15:26:39 +0000 (16:26 +0100)]
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>
7 years agomove chart series initialization into initComponent
Dominik Csapak [Tue, 6 Dec 2016 15:26:38 +0000 (16:26 +0100)]
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>
7 years agomove hideHeaders into static configuration
Dominik Csapak [Tue, 6 Dec 2016 15:26:37 +0000 (16:26 +0100)]
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>
7 years agoRename filterFn to vmtypeFilter
Emmanuel Kasper [Thu, 15 Dec 2016 15:25:59 +0000 (16:25 +0100)]
Rename filterFn to vmtypeFilter

since we have now two filters defined it makes sense to use
a separate name here

7 years agoFilter by default the displayed guest backups fix #1161
Emmanuel Kasper [Thu, 15 Dec 2016 15:25:58 +0000 (16:25 +0100)]
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.

7 years agoreduce scope of jslint warnings to the problematic statement
Emmanuel Kasper [Tue, 13 Dec 2016 09:07:41 +0000 (10:07 +0100)]
reduce scope of jslint warnings to the problematic statement

also remove it from qemu/Clone.js since it validates OK

7 years agoConvert the VMIDSelector to a generic GuestIDSelector
Emmanuel Kasper [Tue, 13 Dec 2016 09:07:40 +0000 (10:07 +0100)]
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.

7 years agobump version to 4.4-1
Dietmar Maurer [Fri, 9 Dec 2016 09:29:35 +0000 (10:29 +0100)]
bump version to 4.4-1

7 years agomake realmselector non-editable
Dominik Csapak [Wed, 7 Dec 2016 14:41:50 +0000 (15:41 +0100)]
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>
7 years agofix #1176: sort user/group/realm selector
Dominik Csapak [Wed, 7 Dec 2016 14:41:49 +0000 (15:41 +0100)]
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>
7 years agoaplinfo.dat: update
Dietmar Maurer [Fri, 9 Dec 2016 09:19:13 +0000 (10:19 +0100)]
aplinfo.dat: update

7 years agofix jslint confusion warning
Emmanuel Kasper [Mon, 5 Dec 2016 13:48:08 +0000 (14:48 +0100)]
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.

7 years agoAdd online help for start/shutdown for containers
Emmanuel Kasper [Mon, 5 Dec 2016 13:48:07 +0000 (14:48 +0100)]
Add online help for start/shutdown for containers

7 years agoTurn the qemu StartupEdit widget into a generic component
Emmanuel Kasper [Mon, 5 Dec 2016 13:48:06 +0000 (14:48 +0100)]
Turn the qemu StartupEdit widget into a generic component

and use this component for Qemu.

7 years agobump version to 4.3-14
Dietmar Maurer [Mon, 5 Dec 2016 11:33:51 +0000 (12:33 +0100)]
bump version to 4.3-14

7 years agofix typo in vmtype check
Dominik Csapak [Mon, 5 Dec 2016 10:04:11 +0000 (11:04 +0100)]
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>
7 years agobump version to 4.3-13
Dietmar Maurer [Fri, 2 Dec 2016 15:39:40 +0000 (16:39 +0100)]
bump version to 4.3-13

7 years agoadds a help button to the migration window
Dominik Csapak [Fri, 2 Dec 2016 13:20:45 +0000 (14:20 +0100)]
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>
7 years agochange lxc migration option to restart mode
Dominik Csapak [Fri, 2 Dec 2016 13:20:44 +0000 (14:20 +0100)]
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>
7 years agoRemove last extra comma
Emmanuel Kasper [Thu, 1 Dec 2016 13:16:40 +0000 (14:16 +0100)]
Remove last extra comma

also whitespace / indent cleanup

7 years agoAdd online help for startup/shutdown order and LXC general settings
Emmanuel Kasper [Thu, 1 Dec 2016 08:50:06 +0000 (09:50 +0100)]
Add online help for startup/shutdown order and LXC general settings

7 years agoAdd the possibility to create an unprivileged container at creation time in the GUI.
Emmanuel Kasper [Wed, 30 Nov 2016 14:19:38 +0000 (15:19 +0100)]
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

7 years agoshow in/out/up/down icons in osd overview
Dominik Csapak [Wed, 30 Nov 2016 10:52:10 +0000 (11:52 +0100)]
show in/out/up/down icons in osd overview

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake ceph status in cluster dashboard clickable
Dominik Csapak [Wed, 30 Nov 2016 10:52:09 +0000 (11:52 +0100)]
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>
7 years agoadd noout button and reorder actions
Dominik Csapak [Wed, 30 Nov 2016 10:52:08 +0000 (11:52 +0100)]
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>
7 years agoadd ceph flags api calls
Dominik Csapak [Wed, 30 Nov 2016 10:52:07 +0000 (11:52 +0100)]
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>
7 years agoalso return the ceph flags in osd api call
Dominik Csapak [Wed, 30 Nov 2016 10:52:06 +0000 (11:52 +0100)]
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>
7 years agopvereport: tell lsblk to use ascii
Thomas Lamprecht [Thu, 24 Nov 2016 09:55:30 +0000 (10:55 +0100)]
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>
7 years agoplug new ClusterConfig API at /cluster/config
Dietmar Maurer [Tue, 29 Nov 2016 11:07:38 +0000 (12:07 +0100)]
plug new ClusterConfig API at /cluster/config

7 years agoAdd Windows 2016 as available ostype to select
Emmanuel Kasper [Thu, 17 Nov 2016 14:03:17 +0000 (15:03 +0100)]
Add Windows 2016 as available ostype to select

7 years agoupdate changelog for 4.3-12
Dietmar Maurer [Mon, 28 Nov 2016 05:18:52 +0000 (06:18 +0100)]
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 58b12d605 now (requires updated pve-cluster
package).

7 years agofix #1212: allow options for delete in pvesh
Dominik Csapak [Fri, 25 Nov 2016 13:30:27 +0000 (14:30 +0100)]
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>
7 years agochange ssh-public-keys check in wizard
Dominik Csapak [Thu, 24 Nov 2016 08:16:34 +0000 (09:16 +0100)]
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>
7 years agouse certificate cache from PVE::Cluster package
Dietmar Maurer [Fri, 25 Nov 2016 06:35:59 +0000 (07:35 +0100)]
use certificate cache from PVE::Cluster package

7 years agobump version to 4.3-11
Dietmar Maurer [Wed, 23 Nov 2016 11:40:32 +0000 (12:40 +0100)]
bump version to 4.3-11

7 years agofix kvcombobox validator
Dominik Csapak [Wed, 23 Nov 2016 10:12:34 +0000 (11:12 +0100)]
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>
7 years agoha/ResourceEdit.js: fix online help ref
Dietmar Maurer [Wed, 23 Nov 2016 10:37:34 +0000 (11:37 +0100)]
ha/ResourceEdit.js: fix online help ref

7 years agofix missing mons array in ceph status output
Dominik Csapak [Wed, 23 Nov 2016 08:20:42 +0000 (09:20 +0100)]
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>
7 years agofix SSL verify callback for certificate chains
Fabian Grünbichler [Tue, 22 Nov 2016 13:26:55 +0000 (14:26 +0100)]
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.

7 years agoVZDump: switch ha managed check from enabled to started
Thomas Lamprecht [Tue, 22 Nov 2016 13:45:02 +0000 (14:45 +0100)]
VZDump: switch ha managed check from enabled to started

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agofix #1208: add ballooning checkbox to memory edit
Dominik Csapak [Tue, 22 Nov 2016 14:28:10 +0000 (15:28 +0100)]
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>
7 years agocheck for array in disallowednodes filter
Dominik Csapak [Tue, 22 Nov 2016 11:32:15 +0000 (12:32 +0100)]
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>
7 years agoadd new ceph dashboard
Dominik Csapak [Tue, 22 Nov 2016 11:32:14 +0000 (12:32 +0100)]
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>
7 years agoadd ceph statudetail panel
Dominik Csapak [Tue, 22 Nov 2016 11:32:13 +0000 (12:32 +0100)]
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>
7 years agoadd runningchart widget
Dominik Csapak [Tue, 22 Nov 2016 11:32:12 +0000 (12:32 +0100)]
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>
7 years agorefactor health status widget and ceph status data
Dominik Csapak [Tue, 22 Nov 2016 11:32:11 +0000 (12:32 +0100)]
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>
7 years agorefactor health icons
Dominik Csapak [Tue, 22 Nov 2016 11:32:10 +0000 (12:32 +0100)]
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>
7 years agoimprove green and red colors
Dominik Csapak [Tue, 22 Nov 2016 11:32:09 +0000 (12:32 +0100)]
improve green and red colors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agochange the ha resources columns
Dominik Csapak [Tue, 22 Nov 2016 11:07:31 +0000 (12:07 +0100)]
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>
7 years agomerge ha resources into the ha status panel
Dominik Csapak [Tue, 22 Nov 2016 11:07:30 +0000 (12:07 +0100)]
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>
7 years agoadd the haStatus panel
Dominik Csapak [Tue, 22 Nov 2016 11:07:29 +0000 (12:07 +0100)]
add the haStatus panel

for the new status

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd new fields to ha models
Dominik Csapak [Tue, 22 Nov 2016 11:07:28 +0000 (12:07 +0100)]
add new fields to ha models

to be prepared for the new ha status

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoConfigPanel: automatically expand node in selectById()
Dietmar Maurer [Mon, 21 Nov 2016 12:02:01 +0000 (13:02 +0100)]
ConfigPanel: automatically expand node in selectById()

This is only used for automated tests.

7 years agoResources.js: s/enabled/started/
Dietmar Maurer [Sat, 19 Nov 2016 09:38:04 +0000 (10:38 +0100)]
Resources.js: s/enabled/started/

7 years agoha resource edit: adapt to new service state
Thomas Lamprecht [Fri, 18 Nov 2016 16:14:34 +0000 (17:14 +0100)]
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>
7 years agodo not show current node in migration window
Thomas Lamprecht [Thu, 17 Nov 2016 14:00:40 +0000 (15:00 +0100)]
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>
7 years agoNodeSelector: add disallowedNodes configuration property
Thomas Lamprecht [Thu, 17 Nov 2016 15:49:54 +0000 (16:49 +0100)]
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>
7 years agoadd kvcombobox validator
Dominik Csapak [Fri, 18 Nov 2016 09:13:37 +0000 (10:13 +0100)]
add kvcombobox validator

this enables validation of all kvcomboboxes, including
multiselect

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake pool members grid stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:51 +0000 (10:50 +0100)]
make pool members grid stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoenable certificate pinning for proxied requests
Fabian Grünbichler [Thu, 17 Nov 2016 10:36:32 +0000 (11:36 +0100)]
enable certificate pinning for proxied requests

when forwarding an API request to the responsible node,
only accept the certificate that this node should have
according to the contents of the cluster file system.

to limit performance issues, cache certificate fingerprint
on first request for each node, and only regenerate cache
(at most once per minute) if the actual encountered
fingerprint does not match or every 30 minutes (to clear out
old entries).

7 years agopass proxied to node to proxy_request
Fabian Grünbichler [Wed, 16 Nov 2016 13:24:14 +0000 (14:24 +0100)]
pass proxied to node to proxy_request

in addition to proxied to IP

7 years agocheck for lxc instead of openvz in the backup window
Dominik Csapak [Thu, 17 Nov 2016 14:44:03 +0000 (15:44 +0100)]
check for lxc instead of openvz in the backup window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomove onlineHelp from FirewallAliasEdit to FirewallAliases
Dominik Csapak [Tue, 8 Nov 2016 09:52:26 +0000 (10:52 +0100)]
move onlineHelp from FirewallAliasEdit to FirewallAliases

since the first is a window, not the grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoremove border from ceph crushmap/config panel
Dominik Csapak [Tue, 8 Nov 2016 09:52:25 +0000 (10:52 +0100)]
remove border from ceph crushmap/config panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake storage/template grid stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:50 +0000 (10:50 +0100)]
make storage/template grid stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake lxc/qemu snapshot/network grids stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:49 +0000 (10:50 +0100)]
make lxc/qemu snapshot/network grids stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake backupview stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:48 +0000 (10:50 +0100)]
make backupview stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake ceph panels/grids stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:47 +0000 (10:50 +0100)]
make ceph panels/grids stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake update/disk/network and task grid stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:46 +0000 (10:50 +0100)]
make update/disk/network and task grid stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake user/acl/auth grids stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:45 +0000 (10:50 +0100)]
make user/acl/auth grids stateful

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomake firewall panels/grids stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:44 +0000 (10:50 +0100)]
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>
7 years agomake backup/storage/ha resources/ha groups grid stateful
Dominik Csapak [Tue, 8 Nov 2016 09:50:43 +0000 (10:50 +0100)]
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>
7 years agoremove reset columns button from resource grid
Dominik Csapak [Tue, 8 Nov 2016 09:50:42 +0000 (10:50 +0100)]
remove reset columns button from resource grid

since we now have the client settings, we do not need this anymore

also rename the stateid to 'grid-resource'
(we want to establish a convention to differentiate between saved local
storage items)

the whole saveCurrentState logic was not really necessary, so we can drop this too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoVZDump: die with error if plugin loading fails
Stefan Priebe [Wed, 16 Nov 2016 19:08:28 +0000 (20:08 +0100)]
VZDump: die with error if plugin loading fails

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
7 years agoadd sheepdog and gluster to pveproxy.service
Fabian Grünbichler [Tue, 15 Nov 2016 09:26:39 +0000 (10:26 +0100)]
add sheepdog and gluster to pveproxy.service

this ensures proper ordering for starting on boot and
stopping on shutdown.

7 years agoAPI2Client: allow to set ssl options
Dietmar Maurer [Sun, 13 Nov 2016 08:51:57 +0000 (09:51 +0100)]
API2Client: allow to set ssl options

and use /etc/pve/pve-root-ca.pem as default CA.

7 years agoAPI2Client: avoid perl warning
Dietmar Maurer [Sun, 13 Nov 2016 08:24:31 +0000 (09:24 +0100)]
API2Client: avoid perl warning

7 years agonew helper call_menu_handler
Dietmar Maurer [Sat, 12 Nov 2016 11:45:21 +0000 (12:45 +0100)]
new helper call_menu_handler

7 years agoConfigPanel: added helper selectById()
Dietmar Maurer [Fri, 11 Nov 2016 16:11:19 +0000 (17:11 +0100)]
ConfigPanel: added helper selectById()

for test automation

7 years agoResourceTree.js: return value in selectById
Dietmar Maurer [Fri, 11 Nov 2016 14:52:52 +0000 (15:52 +0100)]
ResourceTree.js: return value in selectById

So that automation tools can see success.

7 years agolxc: don't show an empty ssh-public-key field in summary
Dietmar Maurer [Thu, 10 Nov 2016 15:15:32 +0000 (16:15 +0100)]
lxc: don't show an empty ssh-public-key field in summary

7 years agoadd activeTitle helper
Dietmar Maurer [Thu, 10 Nov 2016 10:33:00 +0000 (11:33 +0100)]
add activeTitle helper