2589 Commits

Author SHA1 Message Date
Dominik Csapak
70e779e47b add HostList validator and check monhosts with it
this adds a vtype which splits the given string into a list by
; or , or space
and checks if it is a valid (hostname|ip) port notation

also make the rbd monhost input field use it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-07-15 11:53:05 +02:00
Dominik Csapak
7b58d7b272 refactor DnsName regex
we will need this again

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-07-15 11:53:05 +02:00
Dominik Csapak
62631154f9 give comment in bridgeselector more space
change the default column widths, to give more space
to the comment column

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-07-12 14:43:54 +02:00
Wolfgang Bumiller
3ddb4f31a5 bump version to 4.2-17 2016-07-11 13:11:11 +02:00
Fabian Grünbichler
0da2260fc2 vzdump: add newline in mail text
for consistency with html version and better readability
2016-07-07 11:12:24 +02:00
Wolfgang Bumiller
44b21574f0 Fix #1048: vzdump: include job-* hook logs in email 2016-07-07 10:52:58 +02:00
Wolfgang Bumiller
6cd975001f vzdump: safer cp call 2016-07-07 10:52:58 +02:00
Wolfgang Bumiller
c37f23f53b 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.
2016-07-07 08:15:15 +02:00
Dominik Csapak
6897aeb307 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>
2016-07-07 08:15:14 +02:00
Dominik Csapak
597fd1b4e3 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>
2016-07-07 08:09:53 +02:00
Dominik Csapak
464c721af6 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>
2016-07-07 08:09:53 +02:00
Dominik Csapak
3335a948e9 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>
2016-07-07 08:09:53 +02:00
Wolfgang Link
8c9e7b5ad3 Add some extra debug information to the report.
There were no useful information about block device.
2016-07-05 12:30:00 +02:00
Emmanuel Kasper
067d24db98 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.
2016-07-05 09:31:47 +02:00
Wolfgang Bumiller
e002f24dc6 lxc/status: show disk usage on running containers 2016-07-04 14:13:50 +02:00
Dominik Csapak
ffe31eeacd 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>
2016-07-01 11:10:37 +02:00
Dominik Csapak
5039e75e31 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>
2016-06-30 14:06:59 +02:00
Dominik Csapak
1de934eb8e 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>
2016-06-30 14:06:45 +02:00
Dominik Csapak
0aa52e14b8 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>
2016-06-30 14:04:06 +02:00
Dominik Csapak
76dc2ad016 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>
2016-06-30 13:47:36 +02:00
Wolfgang Bumiller
f9078dd525 bump version to 2.4-16 2016-06-29 14:41:05 +02:00
Wolfgang Bumiller
3f682b1d6d use new repoman toolkit 2016-06-29 14:41:04 +02:00
Dominik Csapak
8cd6425724 remove unnecessary debug output
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-29 14:32:36 +02:00
Dominik Csapak
dadec6d02d 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>
2016-06-29 14:32:36 +02:00
Dominik Csapak
9f95072366 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>
2016-06-29 14:32:36 +02:00
Dominik Csapak
fc349cb69a make content of configuration window a component
otherwise, the styling does not apply

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-29 14:32:36 +02:00
Wolfgang Bumiller
837c047dbb build-depends: add liblocale-po-perl 2016-06-29 14:32:08 +02:00
Dominik Csapak
839eed5834 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>
2016-06-21 10:24:03 +02:00
Dominik Csapak
18532680ff 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>
2016-06-21 10:23:38 +02:00
Dominik Csapak
79f305de0d 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>
2016-06-16 16:35:13 +02:00
Dominik Csapak
6a87871f66 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>
2016-06-16 16:34:24 +02:00
Dominik Csapak
8cf53ea659 make viewselector stateful
to save the view across browser refresh/sessions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 16:33:59 +02:00
Dominik Csapak
29aedb75d6 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>
2016-06-16 16:33:38 +02:00
Dietmar Maurer
68084386bb bump version to 2.4-15 2016-06-16 10:59:03 +02:00
Dominik Csapak
f48141d7c2 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>
2016-06-16 10:53:54 +02:00
Dominik Csapak
6aafa47e2b change bodystyle to bodypadding
use the shortcut for padding,
same as everywhere else

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-16 10:53:09 +02:00
Dominik Csapak
a4d292d9da 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>
2016-06-15 16:39:11 +02:00
Dominik Csapak
688677441d 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>
2016-06-15 16:37:45 +02:00
Dominik Csapak
5240a1a390 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>
2016-06-15 16:35:04 +02:00
Dominik Csapak
9038682fed 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>
2016-06-15 16:25:38 +02:00
Dominik Csapak
ac4905b2c9 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>
2016-06-15 16:24:49 +02:00
Dietmar Maurer
19bfb364c6 bump version to 4.2-14 2016-06-14 12:21:36 +02:00
Emmanuel Kasper
80e51f7ee6 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
2016-06-14 12:20:46 +02:00
Emmanuel Kasper
de38208467 Add Help buttons for three more Qemu Panels 2016-06-14 12:20:38 +02:00
Dietmar Maurer
eabb54735c bump version to 4.2-13 2016-06-10 15:34:51 +02:00
Dietmar Maurer
7aa0353ea6 revert commit ccc7ad4b478ecdb549178ea6b5b883ad16c4b461
ceph 'infernalis' and 'jewel' still not work 100%, so
disable that until it runs really stable.
2016-06-10 15:31:19 +02:00
Dominik Csapak
91535f2ba7 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>
2016-06-09 17:40:03 +02:00
Dietmar Maurer
17325396e3 pveceph install: run apt-get interactive
It is sometime necessary to answer questions.
2016-06-09 10:01:58 +02:00
Wolfgang Link
ccc7ad4b47 Extend the Ceph featuring version Infernalis and Hammer. 2016-06-09 07:28:16 +02:00
Wolfgang Link
1aecf972bc Add check if ceph is managed by systemd
Ceph is managed since version infernalis by systemd and use
ceph as user and group.
2016-06-09 07:28:16 +02:00