Dietmar Maurer
cee25a8af9
depend on libmime-base32-perl (required by OTP.pm)
2017-03-30 17:42:16 +02:00
Dietmar Maurer
06a0313f5a
OTP.pm: new class with OTP helpers
...
Copied from pve-access-control.
2017-03-30 17:38:22 +02:00
Fabian Grünbichler
692160c16c
README.dev: remove vlan and ifenslave-2.6 packages
...
we have a conflict on the former and the latter does not
even exist in Jessie.
2017-03-29 14:22:02 +02:00
Fabian Grünbichler
b55b958dfc
README.dev: remove '-y' from apt-get
2017-03-29 14:01:19 +02:00
Dietmar Maurer
dc3954cafd
bump version to 5.0-3
2017-03-21 12:07:34 +01:00
Dietmar Maurer
32ef45aee2
INotify.pm: use Clone::clone instead of Storable::dclone
...
I run into seroius troubles with dclone, which seem to be
buggy with tainted flag ...
Also, documentation states Clone::clone is much faster.
2017-03-21 11:59:08 +01:00
Wolfgang Bumiller
e04b9f4c43
bump version to 5.0-2
2017-03-13 15:07:18 +01:00
Dietmar Maurer
520eab5b38
README.dev: add libiscsi-dev libiscsi7
2017-03-13 12:58:51 +01:00
Dietmar Maurer
25cf5a58e5
README.dev: change build order (pve-firewall before qemu-server)
2017-03-13 12:54:05 +01:00
Dietmar Maurer
b92b9140a5
README.dev: remove lvm.git
2017-03-13 12:41:52 +01:00
Dietmar Maurer
ee45626ada
README.dev: add extjs.git and pve-guest-common.git
2017-03-13 12:39:15 +01:00
root
3ffb13953e
README.dev: add missing build depends for pve-cluster
2017-03-13 12:26:21 +01:00
root
67b18b3538
add missing build dependencies
2017-03-13 12:22:48 +01:00
root
37640d6262
README.dev: adopt package list for stretch
2017-03-13 11:22:54 +01:00
Dominik Csapak
0f3f314ed7
add keeplocale parameter to run_command
...
since the "lang" param has not worked, introduce a "keeplocale"
parameter instead.
the default behaviour is the same (set LC_ALL to 'C'), but we can use
the parameter to keep the locale from the host (eg. for the vncshell)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 09:24:52 +01:00
Dietmar Maurer
a8e49285a5
Makefile: upload to --product pve,pmg
...
We use the same library for new proxmox mail gateway (pmg).
2017-03-08 12:14:43 +01:00
Fabian Grünbichler
2ebffe56db
bump version to 5.0-1
2017-03-08 10:27:29 +01:00
Dietmar Maurer
8d8869aeff
Makefile: use "--product pve --dist jessie" for upload
2017-03-08 10:18:23 +01:00
Dietmar Maurer
657d77df4c
bump version to 4.0-93
2017-03-08 06:18:32 +01:00
Dietmar Maurer
bbca3bdc48
SectionConfig::check_value: return bool/numbers as numeric value
...
This is important when we convert the result to JSON.
Else the GUI receives booleans as "0", which evaluate to true
in JS!
NOTE: "0" evaluates to false with perl.
2017-02-25 09:41:17 +01:00
Dietmar Maurer
79501b2a58
JSONSchema::check_type: return success (not value)
2017-02-25 09:24:24 +01:00
Dietmar Maurer
dc9c3ffa6c
RESTEnvironment->init_request: reset result_attributes
2017-02-24 06:30:16 +01:00
Dietmar Maurer
9c2e403407
SectionConfig: add new parameter $skip_type to createSchema()
...
This is useful when there is only a single type of entries.
2017-02-20 12:40:33 +01:00
Dietmar Maurer
df89e5eb15
SectionConfig:write_config: sort options by key name
...
Else we can get different config digest...
2017-02-19 14:47:00 +01:00
Dietmar Maurer
885641fb6a
SectionConfig: allow to get class specific updateSchema()
...
Useful when you have different section types, and you want to have
separate update API methods.
2017-02-19 11:17:34 +01:00
Dominik Csapak
3c476ed580
(maybe) fixes #1229 : fix port reservation
...
when reserving ports, we use lock_file to lock the
reservation file, but then use file_set_content which
writes a new file and renames it, making the lock invalid
and different processes waiting for the lock get inconsistent
data
instead we use a designated lock file for the lock, so that we don't
lose the lock when writing the reservation file
this should fix the problem that sometimes multiple vms get the
same vnc/spice port
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-02-16 15:02:55 +01:00
Dominik Csapak
813a5c0d26
fix trailing whitespaces
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-02-16 09:15:47 +01:00
Emmanuel Kasper
ef73f03b60
Fix example to latest RestHandler
...
looking at the handle() sub from RestHandler.pm
my $result = &$func($param);
this parameters are not passed anymore
2017-02-15 11:14:59 +01:00
Wolfgang Bumiller
f5a73bff2c
bump version to 4.0-92
2017-02-09 11:40:07 +01:00
Wolfgang Bumiller
0c0304c0d9
deps: moving skiplock breaks qemu-server << 4.0-109
2017-02-08 09:56:43 +01:00
Wolfgang Bumiller
26bcdf92d5
JSONSchema: adding skiplock option here
2017-02-07 14:54:31 +01:00
Wolfgang Bumiller
86330049be
Network: stop using ifconfig
...
We shouldn't mix different tool sets on the one hand, and on
the other hand net-tools is an optional package in stretch
and there's no real need for us to depend on it.
2017-02-07 14:54:31 +01:00
Fabian Grünbichler
aa6e988099
bump version to 4.0-91
2017-02-06 14:45:47 +01:00
Fabian Grünbichler
c5df85be73
add Breaks for upgrade path
2017-02-06 14:44:48 +01:00
Wolfgang Bumiller
87cd38946e
buildsys: missing build-dependencies
2017-02-03 12:12:54 +01:00
Fabian Grünbichler
fb3a6db16c
cleanup previous commit
2017-01-27 15:21:54 +01:00
Wolfgang Link
affde347f1
Fix interface writer for bridge_ports and slaves.
...
The pve-iface-list allow to separate interfaces with [;,\s].
But in the interface file are only whitespace allowed to separate interfaces.
2017-01-27 14:45:54 +01:00
Fabian Grünbichler
a056df6bda
bump version to 4.0-90
2017-01-27 10:57:59 +01:00
Wolfgang Bumiller
a313fe7335
RESTEnvironment: let check_worker take a $self
2017-01-27 10:27:38 +01:00
Fabian Grünbichler
7788d7e523
bump version to 4.0-89
2017-01-25 10:01:55 +01:00
Fabian Grünbichler
c480d509e9
remove AbstractConfig and AbstractMigrate
...
they have their own repo / package now (pve-guest-common)
2017-01-25 10:01:55 +01:00
Dietmar Maurer
5f9861ad1f
set compat level to 9
...
To avoid warnings on debian stretch.
2017-01-24 11:16:32 +01:00
Dietmar Maurer
5d5a179cda
runtest.pl: use lib '.' - because newer perl does not have that by default
...
To make tests work again on debian stretch.
2017-01-24 11:12:53 +01:00
Wolfgang Bumiller
e0a862e2c0
fix #1232 : cleanup bridges on veth_delete
...
When a container stops or hotplug changes are applied we
do a veth_delete() which does not cleanup the firewall
bridges or OVS ports. This is problematic at the next
startup. When creating a network device we usually want to
copy the MTU of the bridge we intend to put it on, however,
with OVS still having the old port lying around the
recreated device gets associated with the bridge before we
read its MTU, potentially reducing it to that of the newly
created device.
This cleanup also gets rid of stale fwbr/fwln devices from
stopped containers.
2017-01-20 10:05:10 +01:00
Dietmar Maurer
2aabf653ad
bump version to 4.0-88
2017-01-19 12:53:30 +01:00
Dietmar Maurer
2b4582cb92
remove libmime-base32-perl - we do not need that
2017-01-19 12:52:32 +01:00
Dietmar Maurer
8ecb08d710
PVE::Ticket - new helper class to create auth tickets
2017-01-19 12:42:40 +01:00
Dietmar Maurer
a0a8c8bc71
bump version to 4.0-87
2017-01-19 09:09:53 +01:00
Dietmar Maurer
7278cb3c12
JSONSchema: remove formatter option
...
We do no longer store that information in the method info.
2017-01-18 16:46:54 +01:00
Dietmar Maurer
4612730446
RESTHandler.pm: remove register_page_formatter (no longer required)
2017-01-18 13:13:23 +01:00