586 Commits

Author SHA1 Message Date
Fabian Grünbichler
d50472438d fix #949: add post-restart hook to vzdump 2016-04-22 10:54:18 +02:00
Fabian Grünbichler
3cba09d570 docs: typo, newlines 2016-04-15 16:36:03 +02:00
Fabian Grünbichler
74b47fd8e1 Fix 'mailto: ...' in /etc/vzdump.conf
allow comma-separated list of email addresses, like the API2
parameter.
2016-04-14 17:02:37 +02:00
Fabian Grünbichler
4f367c1917 VZDump: add -mailto schema desc 2016-04-14 12:46:21 +02:00
Fabian Grünbichler
3c6feff249 VZDump: remove dead code
remove get_lvm_mapping and get_lvm_device, which are not
used anywhere anymore.
2016-04-14 10:39:59 +02:00
Fabian Grünbichler
e2a2525e60 VZDump: mark 'size' as deprecated, warn if set
this parameter should be removed in a future release, just
warn and change description for now to avoid breakage.
2016-04-14 10:39:45 +02:00
Fabian Grünbichler
2fcb93475f VM -> guest in VZDump schema descriptions 2016-04-14 10:37:26 +02:00
Fabian Grünbichler
af77c16479 Spelling in VZDump descriptions 2016-04-14 10:36:58 +02:00
Wolfgang Bumiller
4aed5e3e3a Fix #936: ceph: support multiple roots in osd tree
The OSD tree in our GUI otherwise only shows the "first"
root it finds in the crush map.
2016-04-13 08:40:49 +02:00
Dominik Csapak
d1918d1bf6 revert default compress mode for vzdump to 0
rationale is the following:

we had this as default before commit
1ab98f059e1d28e5dd28f326ab371d6d5c1b8bb4

but wrongly documented

since we set the compression mode explicitly via the gui,
we can set the default to 0, which makes some operations more
intuitive (e.g. with the -stdout parameter it makes no sense
to compress it by default)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-12 12:44:44 +02:00
Dominik Csapak
5182366e67 remove useShims
since this was only necessary for the old java applet
we can remove this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:29:49 +02:00
Dominik Csapak
d9fd02eb79 add font-awesome
adds font-awesome to css folder and
inserts the css into the html of the site

we will use font-awesome for most icons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-05 11:58:01 +02:00
Thomas Lamprecht
7a0a8e67bf vzdump: use sendmail from tools
use the factored out sendmail from the PVE::Tools package

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-04-05 06:30:11 +02:00
Wolfgang Bumiller
e94fa5cbd8 Fix #926: vzdump: config/default key regression
Add a missing defined() so that explicit `0` values in
/etc/vzdump.conf don't get replaced by their defaults.
2016-03-31 17:21:37 +02:00
Emmanuel Kasper
6cf9cce336 Fix ExtJS6 locales file name 2016-03-31 13:35:01 +02:00
Dietmar Maurer
5783c7f4dd switch GUI to extjs6 2016-03-31 12:11:31 +02:00
Caspar Smit
d6c493923a Fixed a small typo
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:49 +02:00
Caspar Smit
92c11ee1ca Allow migrate-all button on HA enabled VMs
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:22 +02:00
Caspar Smit
6677f6402e Skip templates when using the start all VMs button
Refactored and now using PVE::QemuConfig and PVE::LXC::Config
Moved the next if.. statements into the corresponding branches

Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:51:11 +02:00
Caspar Smit
17e3b3b27f Allow non-root to use start/stop/migrate all buttons
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:50:34 +02:00
Dominik Csapak
b549494539 ext6migrate: add RRDStore class and RRDChart
this patch adds two classes for the charts:

RRDStore:

based on our updatestore, but specialized on our rrddata output
it converts the percentage (cpu) and the time (from unix to milliseconds)

also it handles the changes for the timeframe and cf

it sets a default reload of 30seconds

RRDChart:

based on Ext.chart.CartesianChart,
with specialized options for our rrd graphs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 10:38:28 +02:00
Dominik Csapak
54d389f759 ext6migrate: add charts js/css to index html
adds the sencha charts lib to the makefile and
the index file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-31 10:36:02 +02:00
Fabian Grünbichler
bbcfdc08cc use PVE::Storage::config(), not cfs_read_file() 2016-03-30 10:35:58 +02:00
Emmanuel Kasper
32f469f383 requires manual entering VM id before enabling the delete Button for VMs
suggested by a user in https://bugzilla.proxmox.com/show_bug.cgi?id=360#c7
similar to the way github handles the deleting of a repository

fixes: #360
2016-03-21 10:45:49 +01:00
Dominik Csapak
a74714b8b5 ext6migrate: add LvmThinEdit.js to html site
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:22:26 +01:00
Dietmar Maurer
0c061aec56 ext6migrate: use crisp theme instead of triton
This theme works without to many css changes.
2016-03-10 17:17:01 +01:00
Fabian Grünbichler
299d290c42 Allow non-self-signed override certificate for API
if the files pveproxy-ssl.pem and pveproxy-ssl.key are
available for a node (i.e., in /etc/pve/<node>/), they will
be used as TLS certificate and private key for the web
interface and API of this node.

Note: the Spice and non-websocket VNC connections are still
using the self-signed certificate and key in pve-ssl.pem
and pve-ssl.key.
2016-03-09 14:37:55 +01:00
Fabian Grünbichler
7141ae254a Use methods from PVE::QemuConfig
use config_file and load_config from PVE::QemuConfig
2016-03-08 11:53:33 +01:00
Dietmar Maurer
ee6e61009d pveam: add 'available' command to list available templates 2016-03-05 15:35:40 +01:00
Wolfgang Bumiller
1ab98f059e vzdump: fix default values
Not all document default values matched their actual
default, fix this by not maintaining two separate lists of
default values.

Note that this changes:
 - the default compression from none to the documented LZO
 - the documented default mode from stop to snapshot
2016-03-04 09:04:06 +01:00
Jean-Francois Dagenais
0568e342e8 vzdump: make sure only DOT pid files excluded
and not files like "acpid"

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
2016-03-04 09:02:29 +01:00
Wolfgang Bumiller
065db62f9c doc: The quotes around the glob are actually required... 2016-03-03 11:04:03 +01:00
Wolfgang Bumiller
6999138a2a doc: update vzdump stdexclude documentation 2016-03-03 11:00:11 +01:00
Wolfgang Bumiller
c6977cf081 vzdump: revert /var/run stdexclude entry to its original
It used to be /var/run/.+pid when we used regular
expressions so now it should be /var/run/?*pid
2016-03-03 10:59:52 +01:00
Fabian Grünbichler
e93408d600 LXC refactoring
call load_config in PVE::LXC::Config instead of PVE::LXC
2016-03-03 10:44:02 +01:00
Wolfgang Bumiller
b1f0911702 vzdump: don't double exclude-paths from the config
The exclude list is built from both the command line
parameters and the config. If no excludes are passed on the
command line we previously copied the defaults to it,
effectively passing them twice.
2016-03-03 09:54:11 +01:00
Wolfgang Bumiller
6368bbd484 vzdump: make exclude-path from config file work again
Call split_args() on the 'exclude-path' option read from
/etc/vzdump.conf

With the move to the generic JSONSchema::parse_config() in
commit cc61ea36 the call to split_args() for 'exclude-path'
was dropped breaking the 'exclude-path' option.
2016-03-03 09:51:05 +01:00
Wolfgang Bumiller
d38e93822d doc: consistent vzdump --exclude-path documentation
The schema's documentation was already updated to reflect
the change from regular expressions to shell globs, but the
pod entry in CLI/vzdump.pm wasn't.

Also C<> is not interpreted in verbatim (space-prefixed)
lines so it showed up as literal text.
2016-03-03 09:46:41 +01:00
Thomas Lamprecht
01b753b6b1 syslog: allow since/until parameters
allow the since/until parameters which journalctl understands
We use a really simple regex to check a valit date (time) stamp.

This can be done as this API call gets mainly used by the GUI where
we have full controll over what we send and additional journalctl
has already a good timestamp parser which can handle that.
2016-03-02 06:24:55 +01:00
Dietmar Maurer
05b252dc5c PVE::API2::Nodes::Nodeinfo: import raise_param_exc 2016-03-01 09:22:39 +01:00
Wolfgang Link
16b8d964cd add remove function to pveam
now it is possible to erase templates with pveam
2016-02-26 11:51:35 +01:00
Wolfgang Link
c519fe3c91 add list to pveam
This function list all the templates off a specified storage.
It also gives the size of the template.
2016-02-26 11:39:25 +01:00
Wolfgang Link
82282acf4f add pveam download
With this function you can download templates from the repositories.
2016-02-26 11:37:11 +01:00
Dietmar Maurer
9cfacf24b7 remove debugging code 2016-02-26 11:36:48 +01:00
Wolfgang Link
108b722948 refactor pveam to use it with our CLI Handler. 2016-02-26 11:34:52 +01:00
Wolfgang Link
06399fd71a change turnkey URL to https version to permit a redirection. 2016-02-26 11:30:06 +01:00
Dietmar Maurer
f494187fb6 do not use Net::SSL
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Wolfgang Link
d5a62d20da Fix problems with turnkey repository.
To prevent that one time Net:SSL and an outer time IO::Socket::SSL is loaded,
ensure that always use the same socket class.

We load the the Net:SSL in AccessControl.pm if we call pveupdate,
but if we call pveam update this module is not loaded an so the default is used (IO::Socket::SSL).
2016-02-18 06:34:41 +01:00
Emmanuel Kasper
36fd2767a6 Fix warning in Browser console due to missing meta entry
We're not going to support mobile devices via the standard gui,
but ExtJS 6 themes need this
2016-02-17 11:58:16 +01:00
Thomas Lamprecht
5fc9bddb07 ext6/triton: add some visual changes and fixes
They are mostly intended to save space as the "new theme", if it
gets applied, takes up space like it's worth pure gold.

Paddings get made smaller on buttons, tabs and grids.
Also let the main tree receive a sane space padding.

Further fix the height of the top info panel (the one with the logo,
PVE version, login button ...).

Also the "start/stop/more/..." buttons from the tool bar above the
navigation tab bar gets fixed.

Login panel got also some small fixes together with all input
fields.

We use simple CSS overrides to achieve this all.
Working with the scss (sass) files and rebuilding the theme would
be nicer, but as I have no intend to start working with senchas
"build system" and we self have no sane way for compiling the sass
stuff also, this is the preferred way for now.

We add a new css stylesheet so that the current manager remains
untouched by this changes.
2016-02-12 10:46:51 +01:00