Dietmar Maurer
f25af3a938
set correct keymap for spiceterm
2013-12-10 08:36:58 +01:00
Dietmar Maurer
427d3fa6d2
implement spice viewer for openvz
2013-12-10 08:00:01 +01:00
Dietmar Maurer
2d802f8c3b
include spiceterm
2013-12-10 07:35:57 +01:00
Dietmar Maurer
409935933e
fix execute API
...
- remove command from index (so that pvesh does not list it)
- use POST instead of GET
- correctly check permissions
- return value with status codes and data (allow expections)
2013-12-09 11:08:02 +01:00
Stefan Priebe
87c3e93147
support to execute multiple commands in one request
2013-12-09 08:44:25 +01:00
Dietmar Maurer
c56a583f4e
use new --connect-timeout for ceph commands
2013-11-22 09:17:42 +01:00
Dietmar Maurer
52d7be4197
fix osd keyring, use tasks
2013-11-22 08:41:37 +01:00
Dietmar Maurer
88a6e29ad1
set correct keyring location for osd
2013-11-21 09:11:42 +01:00
Dietmar Maurer
0b1efc01d5
fix mds permissions in client.admin key
2013-11-21 07:34:30 +01:00
Dietmar Maurer
a08988dc48
allow to call ceph init multiple times
2013-11-20 11:28:23 +01:00
Dietmar Maurer
eac465a574
generate and save ceph fsid
...
add dependency on libuuid-perl
2013-11-20 10:48:22 +01:00
Dietmar Maurer
f3224487a3
avoid useles symlinks to ceph keyrings
2013-11-20 10:28:41 +01:00
Dietmar Maurer
c7881bf602
add ceph pool GUI
2013-11-20 07:53:43 +01:00
Dietmar Maurer
b0537f7be9
add API for ceph pools
2013-11-19 13:25:36 +01:00
Dietmar Maurer
dd7e2a94f2
add OSD tree
2013-11-19 12:13:53 +01:00
Dietmar Maurer
13f4d7623d
allow to create OSD on unused disks
2013-11-15 12:24:14 +01:00
Dietmar Maurer
e9ea467759
isert section when writing ceph.conf
2013-11-15 08:15:39 +01:00
Dietmar Maurer
570278fab0
add ceph log view
2013-11-15 08:02:35 +01:00
Dietmar Maurer
39e1ad7086
improve ceph API paths
2013-11-14 11:06:49 +01:00
Dietmar Maurer
68e0c4bd41
add monitor GUI
2013-11-14 10:15:36 +01:00
Dietmar Maurer
2f692121ce
display crush map
2013-11-13 12:16:20 +01:00
Dietmar Maurer
9662c1952a
start ceph management GUI
2013-11-13 11:01:24 +01:00
Dietmar Maurer
38db610ae6
move code to Ceph.pm, create API for ceph
2013-11-13 06:59:07 +01:00
Dietmar Maurer
718427dacb
subscription updates: set UserAgent header on proxy connect request
2013-10-29 10:20:38 +01:00
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
Dietmar Maurer
e3ceeb18e7
fix bug #276 : create root mount point
2012-11-05 06:44:35 +01:00
Stefan Priebe
f2c68844cf
PVE/API2/Nodes: remove hardcoded blowfish cipher PVE/API2/OpenVZ: remove hardcoded blowfish cipher
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2012-10-31 14:00:36 +01:00
Dietmar Maurer
6806a0f851
vncproxy: wait until vnc port is ready (avoid connection errors)
2012-10-24 09:02:23 +02:00
Dietmar Maurer
92fd515b47
fix bug #205
2012-10-23 09:52:45 +02:00
Dietmar Maurer
a2d331848d
create /var/run/dtach at pvedaemon startup
...
Previos code creates the directory on the wrong node!
2012-10-02 10:11:16 +02:00
Dietmar Maurer
f9d4fc64e2
updates for vzctl 4.0
2012-10-02 09:28:11 +02:00
Dietmar Maurer
47a5865acb
improve task viewer
2012-09-14 09:47:55 +02:00
Dietmar Maurer
10cdf3ae1a
fix bug 178: correctly verify if VMID is already used
2012-09-05 09:42:18 +02:00
Dietmar Maurer
88ba9a1dde
fix spelling errors
2012-08-25 09:00:06 +02:00
Dietmar Maurer
5eec2b0446
fix startup ordering
2012-08-07 09:21:19 +02:00
Dietmar Maurer
3f12bcfb9e
use numeric sorting in startall
2012-06-05 06:16:55 +02:00
Dietmar Maurer
995853d082
also list pools with VM.Allocate permissions
2012-05-30 11:21:40 +02:00
Dietmar Maurer
336ec53a48
fix vzdump --exclude-path
2012-05-30 07:25:49 +02:00
Dietmar Maurer
b92400b6a7
add startall/stopall API and init script
2012-04-20 09:35:08 +02:00
Dietmar Maurer
bc8f054e98
activate storage before starting containers
2012-04-18 12:09:48 +02:00
Dietmar Maurer
e721a8293f
fix permissions on subscription api
2012-04-12 11:16:04 +02:00
Dietmar Maurer
00a93a4bef
cleanup subscription code
2012-04-05 08:04:06 +02:00
Dietmar Maurer
b193e4ac94
fix bug #137 : API change! Return node name using 'node' property.
2012-04-02 13:11:28 +02:00
Dietmar Maurer
bbb3512854
only save required information
2012-03-30 11:45:55 +02:00
Dietmar Maurer
5f7b79501f
use /etc/subscription to store subscription key
2012-03-29 11:30:11 +02:00
Dietmar Maurer
cd73c63b7d
fix bug #117 : automatically add domain to hostname
2012-03-29 10:20:27 +02:00
Dietmar Maurer
7a95afb978
use validdirectory instead of validdomains
2012-03-29 09:33:52 +02:00
Dietmar Maurer
60a452f24f
fix bug #97 : execute 'clusvcadm' commands for HA managed CTs
2012-03-27 10:59:51 +02:00
Dietmar Maurer
924800406b
fix container locking (avoid multiple restore processes)
...
Unlike flock, LockFile::Simple does not inherit locks to child process.
So we need to do the locking inside the child process.
2012-03-27 08:35:36 +02:00
Dietmar Maurer
16b69b6c3e
add subscription status to datacenter summary
2012-03-26 10:39:10 +02:00
Dietmar Maurer
8ae3531231
fix error message
...
Only test MD5 if status is active
2012-03-26 08:24:15 +02:00
Dietmar Maurer
8f9217dc97
use PVE::ProcFSTools::read_cpuinfo to get numbert of sockets
2012-03-26 08:00:57 +02:00
Dietmar Maurer
21ace8d328
add subscription management API
2012-03-23 06:31:34 +01:00
Dietmar Maurer
52878b0a38
use Digest::SHA instead of Digest::SHA1
2012-03-20 12:33:38 +01:00
Dietmar Maurer
37a9901c3c
better way to select storage node for pool statistic
2012-03-06 11:11:53 +01:00
Dietmar Maurer
e4d5bf7257
improve network API - add more gettext markers
2012-02-29 12:39:12 +01:00
Dietmar Maurer
493a4387b6
cleanup and fix openvz vswap handling
2012-02-29 09:21:17 +01:00
Dietmar Maurer
0d246d07d8
fix openvz memory setting
2012-02-27 12:09:59 +01:00
Dietmar Maurer
c916497537
implement template download
...
Also added turnkeylinux.com
2012-02-21 11:45:30 +01:00
Dietmar Maurer
8710f2803a
add mount/unmount command for openvz
2012-02-20 10:11:49 +01:00
Dietmar Maurer
5c80f72c80
include use clause for exception handling
2012-02-17 06:07:22 +01:00
Dietmar Maurer
d553e535ab
fix vnc shell to nodes
2012-02-16 08:22:03 +01:00
Dietmar Maurer
940e4d9ea6
fix pool stats
2012-02-10 08:32:17 +01:00
Dietmar Maurer
8993f2db79
add permissions for openvz create/update
2012-02-07 07:26:07 +01:00
Dietmar Maurer
85dc4bf710
add permission checks on openvz API
2012-02-06 12:59:17 +01:00
Dietmar Maurer
4412265f02
check storage permissions on vzdump API
2012-02-06 11:41:48 +01:00
Dietmar Maurer
449f1b5d2f
require Sys.Audit to read cluster status
2012-02-06 11:23:30 +01:00
Dietmar Maurer
98e84b16d5
set permissions for VZDump API
2012-02-06 11:17:42 +01:00
Dietmar Maurer
d0289a19e5
fix permissions on node API
...
Remove upload method (now in PVE::API2::Storage::Status)
2012-02-06 09:54:09 +01:00
Dietmar Maurer
461e4a46d1
add permissions for service API
2012-02-06 09:38:30 +01:00
Dietmar Maurer
00cc94d33e
add permissions for task API
2012-02-06 09:33:57 +01:00
Dietmar Maurer
937515d61b
add permissions for backup API
2012-02-06 08:17:25 +01:00
Dietmar Maurer
6caab4e0c1
add pool selector to PVE.qemu.CreateWizard
2012-02-03 13:50:11 +01:00
Dietmar Maurer
a285f01438
add/improve pool permission check
2012-01-31 09:10:35 +01:00
Dietmar Maurer
19a6b9f1ff
implement PoolMember GUI
2012-01-30 12:02:56 +01:00
Dietmar Maurer
84916eb2d9
render resource pools
2012-01-30 07:09:47 +01:00
Dietmar Maurer
f16eb02dea
moved Pool.pm from AccessControl.pm
2012-01-27 08:39:46 +01:00
Dietmar Maurer
7d020b4246
implement new check attribute for permissions.
...
We use a simple prefix notation to express complex expressions.
2012-01-23 12:18:27 +01:00
Dietmar Maurer
e4d554ba9b
implement PasswordEdit dialog
...
And cleanup permission check code.
2012-01-20 12:56:48 +01:00
Dietmar Maurer
57ebda0841
use new assemble_vnc_ticket
2012-01-19 09:32:58 +01:00
Dietmar Maurer
a0af013278
add Datacenter summary
2011-12-23 11:23:04 +01:00
Dietmar Maurer
58bd719401
display when VM is managed by HA, cleanups
2011-12-22 13:24:51 +01:00
Dietmar Maurer
948abe8575
fix openvz create (use vzctl to create new container)
2011-12-22 12:08:07 +01:00
Dietmar Maurer
7a9f288ae3
add rgmanager to service list (and remove clvm)
2011-12-22 09:45:48 +01:00
Dietmar Maurer
6e4b266488
implement ha config commit
2011-12-22 09:45:17 +01:00
Dietmar Maurer
a06a3eacf5
start adding HA Config
2011-12-21 14:36:59 +01:00
Dietmar Maurer
e09058af9a
use new set_result_attrib
2011-12-21 07:11:04 +01:00
Dietmar Maurer
8747a9ece5
add API to query version info
...
Normaly all nodes should have the same version, so /api2/json/version is
good enough for most situations. But you can also query the version on
each node using /api2/json/nodes/{node}/version
2011-12-20 07:04:39 +01:00
Dietmar Maurer
51ed1415cd
improve ocf agent and openvz api
2011-12-15 13:49:13 +01:00
Dietmar Maurer
45116ffb90
use new AbstractMigrate.pm
2011-12-06 10:18:23 +01:00
Dietmar Maurer
0618d44689
implemente openvz migration
2011-12-02 10:38:41 +01:00
Dietmar Maurer
a7e42354de
fix bug 45: skip external VMs
2011-11-28 10:19:48 +01:00
Dietmar Maurer
f4a8bab48f
allow exclude-path in /etc/vzdump.conf
2011-11-28 08:14:58 +01:00
Dietmar Maurer
4baf5d13d1
use new syntax for PVE::JSONSchema::get_options
2011-11-24 12:22:24 +01:00
Dietmar Maurer
7b8e404522
fix bug 48: proxy initlop to correct node
2011-11-18 06:15:55 +01:00
Dietmar Maurer
7e79e293e8
implement openvz migrate
2011-11-17 14:36:25 +01:00
Dietmar Maurer
49046e5392
fix bug 39: proxy backup request to correct node
2011-11-17 11:51:47 +01:00
Dietmar Maurer
2c8e0b1537
add/display storage option
2011-11-14 09:33:02 +01:00
Dietmar Maurer
2d590018e5
add initlog API
2011-11-08 07:52:41 +01:00
Dietmar Maurer
607263cbf6
use PVE::Tools::dump_logfile
2011-11-08 07:49:09 +01:00
Dietmar Maurer
9f7678839d
support more than 'local' storage for openvz.
...
It is now possible to use NFS or other directory type storages.
2011-11-07 12:35:38 +01:00