Commit Graph

240 Commits

Author SHA1 Message Date
Dietmar Maurer
9dace87245 Merge remote-tracking branch 'origin/pve-ceph' 2013-12-21 08:03:57 +01:00
Dietmar Maurer
a51ceeb704 fix execute API 2013-12-10 12:05:02 +01:00
Dietmar Maurer
7774df7851 use get_standard_option() for spice options 2013-12-10 10:03:10 +01:00
Dietmar Maurer
b289829f91 factor out common code into run_spiceterm 2013-12-10 09:46:00 +01:00
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