Commit Graph

162 Commits

Author SHA1 Message Date
Dietmar Maurer
1f254b22e0 use new PVE::Storage::abs_filesystem_path 2013-10-01 12:45:20 +02:00
Dietmar Maurer
2051816c24 bump version to 3.1-14 - avoid warning in daily cron script 2013-09-24 06:41:54 +02:00
Dietmar Maurer
8fd7134c67 use correct changelog urls for pve repositories.
We always use a changelog file for each package (not source package).
2013-09-09 11:39:24 +02:00
Dietmar Maurer
446b96693a corretly use proxy CONNECT
There is a bug in LWP:UserAgent - it does not use CONNECT for https
proxy calls. So such calls fails with SQUID.
2013-09-09 11:33:25 +02:00
Dietmar Maurer
a25fa6e9bf changelog: proxy API call to correct node
Nodes can have different apt sources, so changelog localtion can also differ.
2013-08-26 10:11:03 +02:00
Dietmar Maurer
26f876ce18 apt: only consider installed packages
Because 'apt-get dist-upgrade' also does not consider the package
selection state (as opposed to apt-get dselect-upgrade).
2013-08-23 10:03:23 +02:00
Dietmar Maurer
702ecae163 try to guess changelog url fro security updates
Work for some packages, but not for all security updates. Seems
Debian security team does not upload changelogs.
2013-08-16 09:22:02 +02:00
Dietmar Maurer
d32d05d648 include glusterfs-client version in 'pveversion -v' 2013-08-14 07:56:33 +02:00
Dietmar Maurer
d97a44689d bug fix: only send updated package list once 2013-08-02 10:41:39 +02:00
Dietmar Maurer
745d942d91 apt: try to send updated packe list only once 2013-08-02 10:03:18 +02:00
Dietmar Maurer
933054047a apt: try to detect new packages
The previos approch did not detect new packages, like new kernels.
2013-08-02 09:21:26 +02:00
Dietmar Maurer
f460dc12b1 impl. a better way to suppress output from apt-get update. 2013-08-02 06:33:36 +02:00
Dietmar Maurer
a137235a4a be more quiet 2013-08-02 06:28:15 +02:00
Dietmar Maurer
2544e8d5c6 run 'apt-get update' in quiet mode when starting from cron 2013-08-02 06:15:20 +02:00
Dietmar Maurer
2ba6d82257 fix changelog url for pve repository
To make it compatible with 'apt-get changelog'
2013-08-01 11:35:48 +02:00
Dietmar Maurer
09c67ebb5b add correct url for proxmox package changelogs 2013-07-29 12:36:05 +02:00
Dietmar Maurer
19ed44c0ef tell apt to use http_proxy settings 2013-07-26 09:26:24 +02:00
Dietmar Maurer
7b02d9ecf3 write auth.conf 2013-07-25 10:29:52 +02:00
Dietmar Maurer
026c392bbb fix bug #437: include pve-libspice-server1 in package list 2013-07-19 06:10:00 +02:00
Dietmar Maurer
ea5eb43003 fix shell quoting for upgrade command 2013-06-24 08:02:32 +02:00
Dietmar Maurer
8794761f5a add/use API for pveversion
We want to be able to diplay that information on the GUI.
2013-06-21 11:44:11 +02:00
Dietmar Maurer
b179a622ba new pveupgrade script
Used to display additional information to the user (reboot required? database
up to date? ...)
2013-06-21 08:21:04 +02:00
Dietmar Maurer
6d39449226 fix bug #408: reset ENV before starting shell 2013-06-20 11:10:01 +02:00
Dietmar Maurer
d721d4dfd2 fix bug #379: allow to overwrite existing CTs if user has VM.Backup permissions
The requirement to have VM.Allocate it non-obvious and confusing
if the VM already exists. If the user can backup, he should also be able
to restore that backup.
2013-06-20 07:18:12 +02:00
Dietmar Maurer
a88002cf76 Allow to send notification mail about new packages. 2013-06-19 13:01:10 +02:00
Dietmar Maurer
3a76893d03 use interactive vnc shell to run system upgrade
System upgrade almost always requires user input.
2013-06-19 11:57:38 +02:00
Dietmar Maurer
a972b69db5 apt: group by Origin
code cleanups
2013-06-19 09:41:35 +02:00
Dietmar Maurer
d330e26f99 implement better method to compute changelog url
apt-get uses similar code.
2013-06-18 14:13:49 +02:00
Dietmar Maurer
9f6658a9fe apt-get upgrade: pass --force-confdef and --force-confold to dpkg 2013-06-18 12:41:25 +02:00
Dietmar Maurer
396c9e4a01 improve changelog viewer 2013-06-18 11:46:32 +02:00
Dietmar Maurer
f5ed75de51 use LWP to download changelog 2013-06-18 10:30:30 +02:00
Dietmar Maurer
446f92178d avoid warning about uninitialize values
And log a message to syslog when we update the package list.
2013-06-18 10:16:13 +02:00
Dietmar Maurer
c06e9cc8cf apt: always create new AptPkg::Cache object.
To re-open database - else we get old/cached entries.
2013-06-18 09:52:28 +02:00
Dietmar Maurer
b688d4389b implement changelog API
Fetching changelog at server side avoids security problems at
client (Same-Origin-Policy).
2013-06-18 09:46:25 +02:00
Dietmar Maurer
371dcc9243 apt: fix changelog url 2013-06-17 08:04:23 +02:00
Dietmar Maurer
00d48356de add changelog url to package info 2013-06-13 11:52:32 +02:00
Dietmar Maurer
c2d3fbe07e implement apt-get dist-upgrade 2013-06-13 11:52:32 +02:00
Dietmar Maurer
4806bc69a6 implement apt-get update 2013-06-13 11:52:31 +02:00
Dietmar Maurer
cd0bc36b6c cache apt query in /var/lib/pve-manager/pkgupdates 2013-06-13 11:52:31 +02:00
Dietmar Maurer
21299915de add API for apt using libapt-pkg-perl 2013-06-13 11:52:31 +02:00
Dietmar Maurer
1e53b5b3f6 allow to delete pools with non-existent VMs/Storage 2013-05-22 07:47:15 +02:00
Dietmar Maurer
b06c0d4d47 fix bug #374: correctly remove destroyed container from pool
And use add_vm_to_pool/remove_vm_from_pool from PVE::AccessControl
2013-05-14 12:11:44 +02:00
Stefan Priebe
0455911df1 implement node netstat call to get current tap network counters
Changes since V2:
- swap in / out / transmit / receive again

Changes since V1:
- new return format (use an arrayref instead of a hash to be JS compatible)
- swap in / out / transmit / receive

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-04-19 11:43:09 +02:00
Dietmar Maurer
7a05d783d8 remove all references to apache2 2013-04-16 11:54:25 +02:00
Dietmar Maurer
ff9c330c5d add bootlog
we use boodlogd on wheezy
2013-03-26 07:59:57 +01:00
Dietmar Maurer
1904114e36 network config: allow empty IP address/netmask
bump version to 2.3-13
2013-03-05 06:48:26 +01:00
Dietmar Maurer
d09f6f7d3c fix IP address verification 2013-03-04 06:56:42 +01:00
Damien PIQUET
e16a27be12 Added ipv4 validation, forbid network and broadcast addresses
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-02-27 10:34:09 +01:00
Dietmar Maurer
5614bec08b add task history to VM panel 2013-02-11 09:24:15 +01:00
Dietmar Maurer
20539e0c29 display KSM sharing on node status panel 2013-02-01 09:15:26 +01:00