Commit Graph

1575 Commits

Author SHA1 Message Date
Dietmar Maurer
62fb1d2d65 lxc GUI: implement console mode option 2015-08-17 12:49:45 +02:00
Wolfgang Link
043f17dc74 fix bug #684: Fix Typo 2015-08-17 10:59:40 +02:00
Wolfgang Link
4905626e31 fix bug #682: change at the Gui the used disk size.
in the pvesm and pvesh we are giving the correct size of the used space from a disk.
this change make the output of Gui and CLI consistent.
2015-08-17 09:47:36 +02:00
Wolfgang Bumiller
957a59b308 Ceph: fix old interfaces access in find_node_ip
Fixes #681
2015-08-12 09:43:03 +02:00
Wolfgang Bumiller
c182eb5891 bridgevlanport: replace sed pipe with substitution
The previous code stripped *all* combinations of zero or
more letters and digits followed by a dot of an interface
name to retrieve the VLANID. At the same time the supposedly
opposite code for IF_VLAN_RAW_DEVICE only actually extracts
the part up to the *first* dot. Thus an interface named
'a.b.0' would have a VLANID of 0 and a raw device name of
just 'a'.
I also don't see a reason to limit the removed portions to
alphanumeric characters. I.e. an interface named tap-test.0
would result in a VLANID of 'tap-0' and an
IF_VLAN_RAW_DEVICE of 'test'.

A simple shell substitution seems to do a much better job
and is more efficient than forking out two processes with a
pipe.
2015-08-11 10:26:35 +02:00
Dietmar Maurer
eafe236e8a pveversion: add criu package 2015-08-10 09:55:00 +02:00
Wolfgang Link
241c6f94c5 Add extra optional list to pveversion
if the packet on the opt list is not installed, it will not shown.
2015-08-10 09:53:18 +02:00
Dietmar Maurer
ce73ba1eef bump version to 4.0-28 2015-08-07 12:14:14 +02:00
Dietmar Maurer
5ceec1f57b allow all storages with content type 'images' for containers
New LXC containers can use raw images, so the distinction between 'images'
and 'rootdir' does not really makes sense now.
2015-08-07 10:34:56 +02:00
Emmanuel Kasper
abb96ea4a4 add some green to the icon to indicate more clearly when LXC and KVMs are running 2015-08-06 11:32:12 +02:00
Dietmar Maurer
3a337ea2ce bump version to 4.0-27 2015-08-06 11:30:50 +02:00
Dietmar Maurer
5af09e2471 update LXC GUI (support new rootfs and size parameter). 2015-08-06 10:34:54 +02:00
Dietmar Maurer
3d1bc0de00 bump version to 4.0-26 2015-07-31 11:17:05 +02:00
Wolfgang Bumiller
548db92416 add dhcp and slaac options to lxc network config 2015-07-31 10:51:01 +02:00
Alen Grizonic
a00a9ffd80 bug #659 (pool support) fix
lxc added to additional GUI pool functions (also for ExtJS5)

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
2015-07-30 11:39:11 +02:00
Dietmar Maurer
ea92d8b613 bridgevlan: avoid bash regex 2015-07-30 11:28:50 +02:00
Thomas Lamprecht
cc61ea3661 Use JSONSchema to parse vzdump config
Instead of a lot of hardcoded if's use JSONSchema::parse_config to
parse and validate vzdump.conf. To do that $confdesc was extended
to match a valid schema.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-30 11:27:49 +02:00
Emmanuel Kasper
398459d1e9 ext5migrate: set buttons property directly instead of calling applyIf
It seems that in ExtJS5 the prototype of the Window component already sets
some default values to me.buttons and me.layout, hence calling applyIf
on these properties will silently fail.

me.layout is already set to 'auto' by the framework, we don't need to set
that anymore.
2015-07-30 09:04:56 +02:00
Emmanuel Kasper
6d4e7e14d2 Move subscription tab to the outmost right of the node tab panel
This brings consistency with the datacenter tab panel.
2015-07-30 09:04:38 +02:00
Emmanuel Kasper
74dacdae26 remove debugging traces 2015-07-30 09:03:55 +02:00
Wolfgang Bumiller
5301228562 fix a remote_node_ip calling context
Using remote_node_ip to build a hash needs to explicitly
request a scalar context.
2015-07-30 08:58:04 +02:00
Dietmar Maurer
6bc821039a control.in: add replaces/provides for vlan
So that we can upgrade without problems (automatically remove old vlan package).
2015-07-29 06:57:46 +02:00
Alexandre Derumier
1010159a86 add vlan aware ifupdown script v3
This add support to enable vlan aware bridge,
and management interfaces

example: 1 bridge and 1 administration port on vlan 100

auto vmbr0
iface vmbr0 inet manual
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes
        bridge_vids 10-15

auto vmbr0.100
iface vmbr0.100 inet static
        address X.X.X.X
        netmask 255.255.255.0
        gateway X.X.X.X

bridge_vids is optional, and allow on the specified vlans.(current take 1 value or range, need to be improve with list)
If not specified, the allowed vlan are 2-4094.
vlan 1 is the default pvid. (all untagged traffic is going to this vlan).

scripts:
- /etc/network/if-up.d/bridgevlan

manage bridge vlan aware configuration

- /etc/network/if-up.d/bridgevlanport

manage bridge vlan admin port

-/etc/network/if-pre-up.d/vlan
-/etc/network/if-post-down.d/vlan

replace current vlan package, without vconfig usage and cleanups
It's only needed to create vlan interface from bridge_ports.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-07-29 06:46:16 +02:00
Thomas Lamprecht
c2dbc5e32d fix bug #662: wrong subroutine for parsing startup order
Changed from old, now missing, subroutine parse_startup() to new
pve_parse_startup_order()

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-28 09:31:09 +02:00
Wolfgang Bumiller
0a5b8747b0 Add missing ')' to en-us keyboard layout option.
Closes #303
2015-07-28 09:19:17 +02:00
Wolfgang Link
42bdda9576 Fix Extent ZFSPool Content with rootdir 2015-07-28 08:34:42 +02:00
Dietmar Maurer
0097a5f857 bump version to 4.0-25 2015-07-27 13:28:38 +02:00
Dietmar Maurer
78def3da3c PVE.dc.BackupView: improve rendering of boolean values 2015-07-27 09:27:44 +02:00
Thomas Lamprecht
e0d8276f31 Added UI elements for the backup job disabling function
Added a column in the datacenter backup job overview to see if a job
is enabled or not. Added checkbox to the input panel, which enables
or disables a job.
This closes bug/feature request 492.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-27 09:15:39 +02:00
Thomas Lamprecht
4341db1d2f Added functionality do disable temporary a backup job
Added an option to disable a backup job while preserving its
settings. When a job is disabled a '#' is added in front of the vzdump
command in the vzdump.cron file. So the cron job still fires,
but only a comment gets executed. If we would comment out the cron job
a bit more changes to the parser would be needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-27 09:15:09 +02:00
Wolfgang Link
3f2577db0b Change Ct restore rest call
this change will provide that it will be possibel to restore LXC and OVZ dumpfiles over the gui.
2015-07-24 13:48:20 +02:00
Wolfgang Link
459cb9ac36 Extent ZFSPool Content with rootdir 2015-07-24 13:16:04 +02:00
Wolfgang Link
2a30f27405 Add Snapshot to LXC
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2015-07-24 11:03:40 +02:00
Thomas Lamprecht
778d5b6d4e Added parallel compress support for vzdump with pigz.
Added a vzdump.conf option to controll gzip compression.
When 'pigz' (defaults to 0) is >0, pigz support is enabled.
When the pigz option equals 1 pigz uses #cores/2 threads,
else it spawns N threads. To use it select gzip in the web
interface and set the aproppriate option in /etc/vzdump.conf

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-23 06:08:09 +02:00
Alen Grizonic
d6ca60267f lxc added to read_pool
Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
2015-07-22 13:30:23 +02:00
Emmanuel Kasper
5997aecaef ext5migrate: replace call to private ExtJS function getRoot()
getRoot() semantics changed with ExtJS5.

To avoid further annoyances when ExtJS6 is around the corner, replace the call
to this private method, set rootProperty in the ObjectStore call,
and use the value of rootProperty to filter out the content of the server
answer.
2015-07-22 12:16:18 +02:00
Emmanuel Kasper
1ee7afe517 Add documentation header 2015-07-22 12:16:01 +02:00
Emmanuel Kasper
6d55c93e26 Enable loading of most of the datacenter config panel
This patch does the following:
 * remove the EXT5DEBUG header we added previously
 * build the items[] array as a one-dimensional array, as PVE.panel.Config
 with ExtJS5 is not able to find the elements otherwise
 * rename the problematic panel tabs with TODO suffix, to be dealed later on
2015-07-20 06:33:14 +02:00
Emmanuel Kasper
47e24d6131 Add EXT5DEBUG header, comment function to allow the dc Config panel to load 2015-07-20 06:33:04 +02:00
Emmanuel Kasper
92a7a5f8cd Include all the javascript files to HTML page header
Based on the JSSRC variable of the www/manager Makefile.
Files not yet commited to www/manager5 are commented out.
2015-07-20 06:29:10 +02:00
Dietmar Maurer
ee93ce96a5 copy window/Wizard.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
d7683c68e3 copy window/Restore.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
ea0d76d688 copy window/NotesEdit.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
04c32bed16 copy window/Migrate.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
060562a08e copy window/MigrateAll.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
56c8ef92d3 copy window/Backup.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
3048ca0700 copy pool/Summary.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
c801943bb5 copy pool/StatusView.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
a93fcb893f copy pool/Config.js from manager to manager5 2015-07-03 11:29:11 +02:00
Dietmar Maurer
9445dab493 copy panel/SubConfigPanel.js from manager to manager5 2015-07-03 11:29:11 +02:00