]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
8 years agovzdump: safer cp call
Wolfgang Bumiller [Thu, 7 Jul 2016 08:22:24 +0000 (10:22 +0200)]
vzdump: safer cp call

8 years agofix undefined value warning in resources api call
Wolfgang Bumiller [Tue, 5 Jul 2016 12:45:35 +0000 (14:45 +0200)]
fix undefined value warning in resources api call

With the new calculation $pe->{maxcpu} was used before being
initialized to zero. Moving the initialization up.
Additionally setting $pe->{cpu} to $entry->{cpu} if maxcpu
is not set seems pointless as with its factor (maxcpu)
initialized to zero it is cancelled out anyway.

8 years agofix surviving update store
Dominik Csapak [Mon, 4 Jul 2016 11:16:10 +0000 (13:16 +0200)]
fix surviving update store

when a load of an update store was ongoing and stopUpdate
was called, the task could not be canceled, and the store
would remain indefinitely

this patch sets 'isStopped' of the store on stopUpdate
and checks it on the next update and stopping it then

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoreload lxc resources also on activate
Dominik Csapak [Tue, 5 Jul 2016 15:06:57 +0000 (17:06 +0200)]
reload lxc resources also on activate

in a previous commit (26c5aba0) we changed the reload
from the activate event to afterrender, because
activate will not be fired as a lazyitem

but this only fires once, so we also reload on activate.
with the lazyitem/tabchange fix from a previous commit,
this has now the correct behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofire activate event for lazyitems in tabpanels
Dominik Csapak [Tue, 5 Jul 2016 15:06:56 +0000 (17:06 +0200)]
fire activate event for lazyitems in tabpanels

when changing tabs which are lazyitems,
there will be no activate event for the content of the tab

so we fire it manually on tabchange (if the new card has the
lazyitems plugin activated) as we do it for the hide event

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocorrectly delete name of a qemu vm
Dominik Csapak [Tue, 5 Jul 2016 15:06:54 +0000 (17:06 +0200)]
correctly delete name of a qemu vm

we mistakenly sent
'name:'
instead of:
'delete:name'

in case of an empty name of qemu guest
which lead to an error message that it is
not a valid dns name

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoAdd some extra debug information to the report.
Wolfgang Link [Tue, 5 Jul 2016 10:21:31 +0000 (12:21 +0200)]
Add some extra debug information to the report.

There were no useful information about block device.

8 years agoadd ca-certificates as required depency
Emmanuel Kasper [Mon, 4 Jul 2016 12:52:59 +0000 (14:52 +0200)]
add ca-certificates as required depency

ca-certificates provides the necessary root ca certificates
to connect to the PVE enterprise repositories
The package was always installed since pve-manager 3.1-13 as an indirect
'Depends:'  via liblwp-protocol-https, but could have been missing in previous
versions of pve.

Adding this dependency directly makes it sures that it's available
in each PVE installs no matter what Debian packagers do.
With this package installed we no longer need to ship
our own server CA cert.

8 years agolxc/status: show disk usage on running containers
Wolfgang Bumiller [Mon, 4 Jul 2016 10:09:20 +0000 (12:09 +0200)]
lxc/status: show disk usage on running containers

8 years agofix #1030: calculate correct cpu usage of pools
Dominik Csapak [Mon, 20 Jun 2016 10:36:01 +0000 (12:36 +0200)]
fix #1030: calculate correct cpu usage of pools

we only added the % of the vms in a pool
which lead to wrong results
e.g. having a pool with 3 vms with 4 cores each and a
cpu usage of 50% each (2 cores at 100%)
lead to :

vm1 50%
vm2 50%
vm3 50%
pool 150%

instead we new calculate the percentage for the whole pool

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #757: show the bridge comment in the selector
Dominik Csapak [Wed, 29 Jun 2016 12:28:39 +0000 (14:28 +0200)]
fix #757: show the bridge comment in the selector

this shows the comment of the bridge in the selector

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd comment to network edit and view
Dominik Csapak [Wed, 29 Jun 2016 12:28:38 +0000 (14:28 +0200)]
add comment to network edit and view

this adds a new textinput field for the comment to the
network edit window and a new column for it in the
network view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd comments to network model
Dominik Csapak [Wed, 29 Jun 2016 12:28:37 +0000 (14:28 +0200)]
add comments to network model

we already have a comments field for network entries
now we have it in the model

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #1043: prevent ceph destroypool when in use
Dominik Csapak [Thu, 30 Jun 2016 09:46:02 +0000 (11:46 +0200)]
fix #1043: prevent ceph destroypool when in use

also introduces a force parameter to this call
if force is true, the call destroys the ceph pool
even when it is use

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 2.4-16
Wolfgang Bumiller [Wed, 29 Jun 2016 12:35:48 +0000 (14:35 +0200)]
bump version to 2.4-16

8 years agouse new repoman toolkit
Wolfgang Bumiller [Wed, 29 Jun 2016 12:40:55 +0000 (14:40 +0200)]
use new repoman toolkit

8 years agoremove unnecessary debug output
Dominik Csapak [Tue, 21 Jun 2016 14:20:20 +0000 (16:20 +0200)]
remove unnecessary debug output

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix background color of template badges
Dominik Csapak [Tue, 21 Jun 2016 14:20:19 +0000 (16:20 +0200)]
fix background color of template badges

the template badges had the wrong background color
when selected or hovered, so the line would be
blue but the background of the icon would be white

now the background is the correct color

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoset focus on tree after selecting a node
Dominik Csapak [Tue, 21 Jun 2016 14:20:18 +0000 (16:20 +0200)]
set focus on tree after selecting a node

this is useful when using the new search field,
or when double clicking in the search tab,
since it focuses the item in the tree and lets
the treepanel scroll to the item

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake content of configuration window a component
Dominik Csapak [Tue, 21 Jun 2016 14:20:17 +0000 (16:20 +0200)]
make content of configuration window a component

otherwise, the styling does not apply

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobuild-depends: add liblocale-po-perl
Wolfgang Bumiller [Tue, 28 Jun 2016 12:54:20 +0000 (14:54 +0200)]
build-depends: add liblocale-po-perl

8 years agofix #558: add cluster wide search to the top
Dominik Csapak [Mon, 20 Jun 2016 13:46:37 +0000 (15:46 +0200)]
fix #558: add cluster wide search to the top

this makes use of the new globalsearch field and
puts it on top of the page, so that one can easily use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd globalsearchfield
Dominik Csapak [Tue, 21 Jun 2016 07:22:54 +0000 (09:22 +0200)]
add globalsearchfield

this adds a field, the globalsearchfield

its use is to search across our resources (vm,nodes,storage,pools)
quickly and from everywhere

it filters by taking each word you write, and gives
points to resources based on how often the word matches or
if it is an exact match for a field (details in source), and
sorts after this relevance number

with enter or click on an entry, you go directly to the selected
resource

also supports key up/down selecting of the entries and
toggling the search globally with ctrl+space or ctrl+shift+f

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd configuration button to backups
Dominik Csapak [Thu, 16 Jun 2016 12:02:06 +0000 (14:02 +0200)]
add configuration button to backups

this adds a button to show the configuration of backups

this helps if someone wants to know the details of the
vm in the backup (e.g. name, storages, etc.)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake bottom panel collapsible
Dominik Csapak [Thu, 16 Jun 2016 10:26:05 +0000 (12:26 +0200)]
make bottom panel collapsible

to save space if not needed, but keep it available with one click
(even temporarily when you click the title instead of the
expand tool)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake viewselector stateful
Dominik Csapak [Thu, 16 Jun 2016 10:26:04 +0000 (12:26 +0200)]
make viewselector stateful

to save the view across browser refresh/sessions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomake containerviewport stateful
Dominik Csapak [Thu, 16 Jun 2016 10:26:03 +0000 (12:26 +0200)]
make containerviewport stateful

with this patch, the split view saves its state
in the local storage, so that users don't lose this
after a refresh or even a new browser session
(only when they change browser/workstation)

if the window resizes (or refreshes),
the left/bottom panel gets resized to a sane width/height
in case this would be bigger than the viewport
to avoid an unusable interface

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 2.4-15
Dietmar Maurer [Thu, 16 Jun 2016 08:59:03 +0000 (10:59 +0200)]
bump version to 2.4-15

8 years agoremove unnecessary information from lxc templates
Dominik Csapak [Thu, 16 Jun 2016 08:14:04 +0000 (10:14 +0200)]
remove unnecessary information from lxc templates

as with vm templates, restyle the summary panel
for lxc templates

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agochange bodystyle to bodypadding
Dominik Csapak [Thu, 16 Jun 2016 08:14:03 +0000 (10:14 +0200)]
change bodystyle to bodypadding

use the shortcut for padding,
same as everywhere else

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove unnecessary information on template summary
Dominik Csapak [Wed, 15 Jun 2016 13:33:51 +0000 (15:33 +0200)]
remove unnecessary information on template summary

since most of the information on the summary page is
irrelevant for templates (e.g. status,ha,using memory,graphs, etc),
we only show just the information which is available and helpful

since we then have the vertical space, we move the notes panel
below the statuspanel, to allow visually more space for the description
(which makes sense for a template)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomove notepanel padding out of the class
Dominik Csapak [Wed, 15 Jun 2016 13:13:26 +0000 (15:13 +0200)]
move notepanel padding out of the class

it makes more sense to define the padding in context,
rather than directly in the component

especially if we want to use this panel elsewhere in the future

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd 'edit' tool to notes panel
Dominik Csapak [Wed, 15 Jun 2016 13:13:25 +0000 (15:13 +0200)]
add 'edit' tool to notes panel

this adds a tool to the note panel to edit it,
this is clearer than just double clicking the notes field
(also makes it easier on tablets)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd a 'bootdisk size' entry to the status view
Dominik Csapak [Wed, 15 Jun 2016 13:13:24 +0000 (15:13 +0200)]
add a 'bootdisk size' entry to the status view

to show the size of the current bootdisk of the vm/container

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoremove RAM column from lxc snapshottree (temporarily)
Dominik Csapak [Wed, 15 Jun 2016 13:13:23 +0000 (15:13 +0200)]
remove RAM column from lxc snapshottree (temporarily)

since we cannot save the ram state for lxc containers currently,
it makes no sense to display a column, where every entry is 'no'

i left it there but commented it out, so that when we implement it,
we just have to reenable the column

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-14
Dietmar Maurer [Tue, 14 Jun 2016 10:21:36 +0000 (12:21 +0200)]
bump version to 4.2-14

8 years agoAdd a toplevel pointer to the PVE admin guide
Emmanuel Kasper [Tue, 14 Jun 2016 09:41:43 +0000 (11:41 +0200)]
Add a toplevel pointer to the PVE admin guide

Since the Admin Guide is now delivered with each standard
PVE installation, link it from the support tab

Initial idea was to include the chapters list in the panel itself
but a simple link renders better because:
* linking to toplevel allows to show that pdf and epub are also
available
* the chapter list is long and would need scrolling on laptop displays
* since a click opens the documentation in another tab, table of content
and content would be in two different tabs, which is not intuitive

8 years agoAdd Help buttons for three more Qemu Panels
Emmanuel Kasper [Tue, 14 Jun 2016 09:41:42 +0000 (11:41 +0200)]
Add Help buttons for three more Qemu Panels

8 years agobump version to 4.2-13
Dietmar Maurer [Fri, 10 Jun 2016 13:34:51 +0000 (15:34 +0200)]
bump version to 4.2-13

8 years agorevert commit ccc7ad4b478ecdb549178ea6b5b883ad16c4b461
Dietmar Maurer [Fri, 10 Jun 2016 13:31:19 +0000 (15:31 +0200)]
revert commit ccc7ad4b478ecdb549178ea6b5b883ad16c4b461

ceph 'infernalis' and 'jewel' still not work 100%, so
disable that until it runs really stable.

8 years agohtmlEncode some comment fields
Dominik Csapak [Thu, 9 Jun 2016 14:06:32 +0000 (16:06 +0200)]
htmlEncode some comment fields

this adds Ext.String.htmlEncode as renderer
for some comment/description fields

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agopveceph install: run apt-get interactive
Dietmar Maurer [Thu, 9 Jun 2016 08:01:58 +0000 (10:01 +0200)]
pveceph install: run apt-get interactive

It is sometime necessary to answer questions.

8 years agoExtend the Ceph featuring version Infernalis and Hammer.
Wolfgang Link [Tue, 7 Jun 2016 11:24:06 +0000 (13:24 +0200)]
Extend the Ceph featuring version Infernalis and Hammer.

8 years agoAdd check if ceph is managed by systemd
Wolfgang Link [Tue, 7 Jun 2016 11:24:05 +0000 (13:24 +0200)]
Add check if ceph is managed by systemd

Ceph is managed since version infernalis by systemd and use
ceph as user and group.

8 years agoFix #191: acl: honor propagate checkbox
Wolfgang Bumiller [Wed, 8 Jun 2016 14:20:28 +0000 (16:20 +0200)]
Fix #191: acl: honor propagate checkbox

8 years agobump version to 4.2-12
Dietmar Maurer [Wed, 8 Jun 2016 10:46:23 +0000 (12:46 +0200)]
bump version to 4.2-12

8 years agoRename the SCSI VirtIO controller to better differenciate from VirtIO blk
Emmanuel Kasper [Wed, 8 Jun 2016 09:24:05 +0000 (11:24 +0200)]
Rename the SCSI VirtIO controller to better differenciate from VirtIO blk

Also fix casing to match VirtIO as displayed in Network Panel

8 years agoCase fix for VMware
Emmanuel Kasper [Wed, 8 Jun 2016 09:22:13 +0000 (11:22 +0200)]
Case fix for VMware

Closes: #778
8 years agofix #1005: don't exclude /var/log/?* with stdexcludes
Fabian Grünbichler [Wed, 8 Jun 2016 08:02:35 +0000 (10:02 +0200)]
fix #1005: don't exclude /var/log/?* with stdexcludes

the old behaviour can be easily restored with --exclude-path
and this seemed to surprise a lot of users.

8 years agoRemove IPv4 netmask check
Wolfgang Bumiller [Fri, 3 Jun 2016 13:33:25 +0000 (15:33 +0200)]
Remove IPv4 netmask check

8 years agoFix #1015: vzdump: send email on early errors
Wolfgang Bumiller [Mon, 6 Jun 2016 10:17:47 +0000 (12:17 +0200)]
Fix #1015: vzdump: send email on early errors

VZDump->new() dies when a tmpdir or dumpdir is configured
but does not exist. At this point the error is not being
reported via email.

This also moves the instantiation of VZDump into the worker
since new() can now call sendmail() on error.

Additionally rather than only showing a single error if both
tmpdir and dumpdir don't exist, both are included in the
message.

8 years agobump version to 4.2-11
Dietmar Maurer [Fri, 3 Jun 2016 10:12:44 +0000 (12:12 +0200)]
bump version to 4.2-11

8 years agoadd vzdump/extractconfig API path
Fabian Grünbichler [Fri, 3 Jun 2016 09:09:40 +0000 (11:09 +0200)]
add vzdump/extractconfig API path

8 years agoremove old www/manager dir
Dietmar Maurer [Thu, 2 Jun 2016 14:41:06 +0000 (16:41 +0200)]
remove old www/manager dir

8 years agodisable animation of charts on load
Dominik Csapak [Thu, 2 Jun 2016 13:20:43 +0000 (15:20 +0200)]
disable animation of charts on load

this enables the animation of the chart after it
finished loading, to avoid the initial zoom

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-10
Dietmar Maurer [Thu, 2 Jun 2016 08:01:56 +0000 (10:01 +0200)]
bump version to 4.2-10

8 years agonode GUI: move status into column layout
Dietmar Maurer [Thu, 2 Jun 2016 05:59:52 +0000 (07:59 +0200)]
node GUI: move status into column layout

8 years agoGUI: move status into column layout
Dietmar Maurer [Thu, 2 Jun 2016 05:21:57 +0000 (07:21 +0200)]
GUI: move status into column layout

8 years agomake the graphs on the summary pages use empty space
Dominik Csapak [Wed, 1 Jun 2016 14:17:08 +0000 (16:17 +0200)]
make the graphs on the summary pages use empty space

this patch lets the graphs flow if you have enough
horizontal space

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocheck if tabs exist before selecting them
Dominik Csapak [Wed, 1 Jun 2016 14:17:07 +0000 (16:17 +0200)]
check if tabs exist before selecting them

when switching from a vm to a template, if you
have a tab selected which does not exists in a template
(for example console or task history) you break
the site

this patch checks if the wanted tab actually exists,
and leave it on default (the first) when it does not

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix jslint errors
Dominik Csapak [Wed, 1 Jun 2016 14:17:06 +0000 (16:17 +0200)]
fix jslint errors

jslint does not like mixing statements and function calls

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agohide snapshot tab with qemu templates
Dominik Csapak [Wed, 1 Jun 2016 14:17:05 +0000 (16:17 +0200)]
hide snapshot tab with qemu templates

since we cannot create templates with existing snapshots,
and we cannot take snapshots of templates, showing
the tab on templates makes no sense

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-9
Dietmar Maurer [Wed, 1 Jun 2016 10:54:11 +0000 (12:54 +0200)]
bump version to 4.2-9

8 years agoAdd support for Help Button in Edit windows
Emmanuel Kasper [Wed, 1 Jun 2016 10:15:43 +0000 (12:15 +0200)]
Add support for Help Button in Edit windows

8 years agoAdd online help for some complex Qemu InputPanels
Emmanuel Kasper [Wed, 1 Jun 2016 10:15:45 +0000 (12:15 +0200)]
Add online help for some complex Qemu InputPanels

8 years agoAdd custom syle to pveHelpButton
Emmanuel Kasper [Wed, 1 Jun 2016 10:15:44 +0000 (12:15 +0200)]
Add custom syle to pveHelpButton

Next / OK are already displayed in blue, which is the 'call-to-action'
color we use everywhere.
To prevent stealing attention from these buttons, switch help button
to grey

8 years agoAdd support for onlineHelp in Creation Wizard
Emmanuel Kasper [Wed, 1 Jun 2016 10:15:42 +0000 (12:15 +0200)]
Add support for onlineHelp in Creation Wizard

Inside a wizard, switching to a new tab will fire
the 'activate' event to the new tab, causing
the inputPanel of this tab to display its help in
the wizard window.

8 years agoAdd help button for PVE
Emmanuel Kasper [Wed, 1 Jun 2016 10:15:41 +0000 (12:15 +0200)]
Add help button for PVE

This help button is meant to be added on InputPanels, where a
link to an online documentation chapter or subschapter is available.

Clicking on the help button will open the help in a new
browser tab.

Original idea similar to the pfSense GUI.

8 years agofix right click selection in tree
Dominik Csapak [Fri, 27 May 2016 08:27:15 +0000 (10:27 +0200)]
fix right click selection in tree

in my commit 685b7aa4c595b9e98de5acbfc853908e88ee26f2
i introduced a bug with that an item gets selected
in the tree when you right click on it

also fix the function parameters

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-8
Dietmar Maurer [Wed, 25 May 2016 08:00:45 +0000 (10:00 +0200)]
bump version to 4.2-8

8 years agosimplify/optimize code
Dietmar Maurer [Wed, 25 May 2016 07:59:25 +0000 (09:59 +0200)]
simplify/optimize code

8 years agodepend on pve-docs package
Dietmar Maurer [Wed, 25 May 2016 06:53:56 +0000 (08:53 +0200)]
depend on pve-docs package

and serve documentation files with pveproxy:

https://<HOST>:8006/pve-docs/index.html

8 years agobump version to 4.2-7
Dietmar Maurer [Mon, 23 May 2016 07:42:51 +0000 (09:42 +0200)]
bump version to 4.2-7

8 years agoStatus: report errors on socket creation problems
Thomas Lamprecht [Fri, 20 May 2016 10:07:39 +0000 (12:07 +0200)]
Status: report errors on socket creation problems

If the socket couldn't be created (e.g. FQDN not resolvable) we
continued witouth any hint, when actualy writing the data we then
die'd. The user then does not really know why, so report errors
if the socket creation failed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoStatus: allow IPs and move properties to base class
Thomas Lamprecht [Fri, 20 May 2016 10:07:38 +0000 (12:07 +0200)]
Status: allow IPs and move properties to base class

We only allowed servers with the dns-name format, as such status
server may often be in internal networks and with no hostname
(testing, small network so no dns, ...) do not limit the
configuration possibilities with no reason.

Also move the base property part to the base Status class, all
current plugins use server and port so no need for double
declaration of format/descriptions.

If a future plugin doesn't need them it can omit them by not
returning the respective properties in the options method
inherited by SectionConfig.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agofix wrong message after subscription upload
Dominik Csapak [Fri, 20 May 2016 08:24:04 +0000 (10:24 +0200)]
fix wrong message after subscription upload

since extjs5 Store.snapshot does not exist anymore,
we didnt remove filtered records

this lead to the fact, that the 'message' record did
not get removed and a "no subscription file" message
was shown directly after uploading a key

to get also the filtered records in the store
we use store.getData().getSource()

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agomove cmdmenu function and use it in poolmemberlist
Dominik Csapak [Thu, 19 May 2016 12:27:05 +0000 (14:27 +0200)]
move cmdmenu function and use it in poolmemberlist

we had the function for the cmdmenu at two
different places (resourcetree and resourcegrid)

move it to PVE.Utils to reuse code, and
also use it in pool members list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoupdate changelog
Dietmar Maurer [Thu, 19 May 2016 04:12:48 +0000 (06:12 +0200)]
update changelog

8 years agofix reset button with bind mounts
Dominik Csapak [Wed, 18 May 2016 13:55:21 +0000 (15:55 +0200)]
fix reset button with bind mounts

if we do not disable the storageselector with bind mounts,
it automatically sets the first storage which can hold
containers (because of allowBlank: false) and triggers
the dirty flag but clicking on reset does not delete
the value there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agofix #1000: add backup checkbox for mountpoints
Dominik Csapak [Wed, 18 May 2016 13:55:20 +0000 (15:55 +0200)]
fix #1000: add backup checkbox for mountpoints

excluding bind mounts and rootfs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.2-6
Dietmar Maurer [Wed, 18 May 2016 09:33:06 +0000 (11:33 +0200)]
bump version to 4.2-6

8 years agoallow tagging of vlan 1 in gui
Dominik Csapak [Wed, 18 May 2016 09:18:30 +0000 (11:18 +0200)]
allow tagging of vlan 1 in gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agocephserver : add systemd support V3
Alexandre Derumier [Tue, 17 May 2016 23:52:59 +0000 (01:52 +0200)]
cephserver : add systemd support V3

V3 changelog:
 -fix test of zero value id

 please note that even if ceph(osd|mon).target are currently not available in ceph packages,
 they are not used by proxmox api currently, because we always specify an id to a service.
 targets are used to start/stop all services at the same time. Starting speficic serviceid is
 done through ceph-(osd|mon)@.service files.

V2 changelog :
  - remove setsid
  - use [A-Za-z0-9]{1,32} pattern for services

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 4.2-5
Dietmar Maurer [Tue, 17 May 2016 15:00:06 +0000 (17:00 +0200)]
bump version to 4.2-5

8 years agoceph: brackets around ipv6
Wolfgang Bumiller [Tue, 17 May 2016 08:38:01 +0000 (10:38 +0200)]
ceph: brackets around ipv6

8 years agofix #992: remove network id from gui
Dominik Csapak [Tue, 17 May 2016 09:14:11 +0000 (11:14 +0200)]
fix #992: remove network id from gui

since we can simply use the first free one, omit the
selection combobox.

disable the add button if we have 10 or more network
devices

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoset 'disabled' for grid panels which disaply a read only, not sortable content
Emmanuel Kasper [Tue, 10 May 2016 13:01:56 +0000 (15:01 +0200)]
set 'disabled' for grid panels which disaply a read only, not sortable content

 * closes the bug #976
 * minor usability improvement: having a clickable row where
 no action was possible is a bit misleading

8 years agoEnlarge Object Grid first column default size
Emmanuel Kasper [Tue, 10 May 2016 13:01:54 +0000 (15:01 +0200)]
Enlarge Object Grid first column default size

The framework value of 100 is not enough for many of our description
fields.
Setting this at the parent component level allow to remove
the end component setting.

8 years agochange hotplugselector to checkboxes
Dominik Csapak [Wed, 11 May 2016 09:40:31 +0000 (11:40 +0200)]
change hotplugselector to checkboxes

the hotplugselector was not good to use,
and the options were confusing (empty was the default value, etc)

now we have checkboxes for each value, and if none are selected,
hotplug is disabled

also fixes the renderer when hotplug is set to '1' which
just means the default of 'disk,network,usb'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoAdd ceph in optional packages
Wolfgang Link [Tue, 10 May 2016 06:01:42 +0000 (08:01 +0200)]
Add ceph in optional packages

It is usefull to see which ceph version are installed on the PVE host.

8 years agoupdate changelog
Dietmar Maurer [Fri, 6 May 2016 07:29:51 +0000 (09:29 +0200)]
update changelog

8 years agofix #979: check always for migrated vm
Dominik Csapak [Fri, 6 May 2016 06:48:29 +0000 (08:48 +0200)]
fix #979: check always for migrated vm

we only checked for grouping attributes for moved vms,
but this is only true in server view

e.g. in pool view the grouping attributes is pool
and the item is not reselected, resulting in a "file not found"
error (it looks for the conf on the wrong node)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoHDEdit: cleanup, move logic to view controller
Dietmar Maurer [Wed, 4 May 2016 11:06:13 +0000 (13:06 +0200)]
HDEdit: cleanup, move logic to view controller

8 years agofix #973: disable iothread for non-virtio drives
Dietmar Maurer [Wed, 4 May 2016 10:48:18 +0000 (12:48 +0200)]
fix #973: disable iothread for non-virtio drives

this patch disables the iothread field, whenever the disk
is not a virtio disk, or the selected controller is not
virtio

8 years agoStatus/Graphite: fix carbon protocol
Alexey Kuzmin [Tue, 3 May 2016 13:05:17 +0000 (15:05 +0200)]
Status/Graphite: fix carbon protocol

Carbon (particularly carbon-c-relay) expects one metric per line.
Current PVE implementation breaks this rule.

Committed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoStatus/Plugin: fix Typo
Thomas Lamprecht [Tue, 3 May 2016 13:05:16 +0000 (15:05 +0200)]
Status/Plugin: fix Typo

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoCosmetic improvement: display the generated HTML with proper indenting
Emmanuel Kasper [Tue, 3 May 2016 11:40:57 +0000 (13:40 +0200)]
Cosmetic improvement: display the generated HTML with proper indenting

8 years agoServe debug versions of ExtJS libs when pveproxy is started in debug mode
Emmanuel Kasper [Tue, 3 May 2016 11:40:56 +0000 (13:40 +0200)]
Serve debug versions of ExtJS libs when pveproxy is started in debug mode

8 years agoimprove pending changes for qemu hardware in gui
Dominik Csapak [Tue, 3 May 2016 07:26:42 +0000 (09:26 +0200)]
improve pending changes for qemu hardware in gui

this patch fixes an access to an undefined value
if a disk/cd/network device was pending

also improve how this is displayed:
instead of
****
undefined
new value
****

show just the new value

this occured when having a new disk under pending,
or having a disk removal under pending

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agoadd undo Zoom Button
Dominik Csapak [Tue, 3 May 2016 07:12:11 +0000 (09:12 +0200)]
add undo Zoom Button

this adds a decent undo zoom button, which is only enabled
when the chart is zoomed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>