Commit Graph

434 Commits

Author SHA1 Message Date
Alexandre Derumier
fc78c972ef ceph.conf : remove auth_supported
It's not used since ceph 0.50,
replaced by the 3 others auth config options

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2016-01-22 11:24:15 +01:00
Thomas Lamprecht
efedd8c36f make startall wait up to 60 seconds for quorum
Previously we waited 10 seconds, in PVE 4 system sometimes need more
time to initialize all services so the didn't execute the startall
command even if a few seconds later cfs quorum was etablished.
This is a background process started from the pve-manager init
script, thus waiting doesn't interferes with other processes, so
wait long enough.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-11-10 07:48:20 +01:00
Emmanuel Kasper
6bbdf981d1 Use protected mode to be able to execute root system commands
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
2015-11-06 10:06:11 +01:00
Dietmar Maurer
cdb5a20942 report: change return type to string 2015-11-03 18:14:51 +01:00
Emmanuel Kasper
34ada77a13 Add REST endpoint for /report call 2015-11-03 18:10:44 +01:00
Thomas Lamprecht
3625a09137 Fix check if vm is ha managed in get_start_stop_list
The check used was completely wrong and so the startall and stopall
API calls touched HA managed service, which they shouldn't.

Using the vm_is_ha_managed call from the HA stack fixes that.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-10-20 09:50:00 +02:00
Thomas Lamprecht
04b2004b36 fix lxc config key in get_start_stop_list sub
When adding the new LXC config format we forgot to adapt the
get_start_stop_list and do s/pve.startup/onboot/

This fixes that qemu VMs were started always before LXC CTs,
irregardless of the defined order.

This also let's us simplify the surrounding code and reduce code
reuse.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-10-20 09:46:16 +02:00
Wolfgang Bumiller
7a9486a7e1 DNS ui/api: ipv6 support 2015-10-05 12:33:42 +02:00
Alexandre Derumier
3f0d1a4bfd NetworkEdit : add support for vlan interfaces.
Edit only for now, create will come soon in another patch

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-09-25 07:06:48 +02:00
Alexandre Derumier
a1604d7046 add bridge vlan aware checkbox
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-09-16 11:02:43 +02:00
Wolfgang Link
6f9ea1c199 fix output percent_used in rbd pools
This fix is essential of cause json field changes in the ceph api.
They change the field size in pool to max_avail
and the field total_size in stats to total_max_avail
2015-09-09 06:41:54 +02:00
Emmanuel Kasper
eb5d01365b Rename onboot and startup parameters to follow vm.conf synthax
This fixes the problem of containers not autostarting with onboot=1
2015-09-08 11:13:32 +02:00
Dietmar Maurer
b38516ebec add use clause for PVE::API2::LXC::Status 2015-09-07 11:01:03 +02:00
Emmanuel Kasper
1b5e56f283 Fix package path to startup and shutdown subroutines 2015-09-07 10:58:12 +02:00
Wolfgang Link
67469842a0 complete optional packet list for pveversion 2015-08-25 09:39:14 +02:00
Wolfgang Bumiller
957a59b308 Ceph: fix old interfaces access in find_node_ip
Fixes #681
2015-08-12 09:43:03 +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
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
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
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
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
Dietmar Maurer
761a2b311c allow to download templates with type lxc 2015-07-02 11:25:08 +02:00
Dietmar Maurer
502a69ef9e fix bug #648: forward call to correct node 2015-06-30 07:04:25 +02:00
Wolfgang Bumiller
3ed15e6c11 PVE::API2::Network: network_interfaces update + ipv6 2015-06-26 08:54:17 +02:00
Wolfgang Bumiller
905c2f5176 PVE::API2::Ceph: network_interfaces update + ipv6 2015-06-26 08:53:09 +02:00
Dietmar Maurer
c9ea843b1b pveversion: also remove clvm 2015-06-19 12:40:18 +02:00
Dietmar Maurer
21ccef4fb4 pveversion: also list lxcfs and cgmanager 2015-06-19 12:31:09 +02:00
Dietmar Maurer
97f6e02926 pveversion: fix package list for pve 4.0 2015-06-19 12:24:58 +02:00
Dietmar Maurer
04fb6e38e5 GUI: add ksmtuned service 2015-06-11 09:29:27 +02:00
Dietmar Maurer
317146196c API change: remove bootlog API, use new dump_journal helper for syslog
The systemd journal contains boot log entries.
2015-06-09 12:18:30 +02:00
Dietmar Maurer
50d4dc1749 implement service API using systemctl 2015-06-05 15:32:14 +02:00
Dietmar Maurer
74e3975e12 remove UBC GUI 2015-06-02 11:53:19 +02:00
Dietmar Maurer
91d7c7aa00 API change: /cluster/status - do not use clustat 2015-06-02 11:05:30 +02:00
Dietmar Maurer
94c47be79d fix typo 2015-06-02 08:42:32 +02:00
Wolfgang Bumiller
eb6d749792 pass port family to next_vnc_port 2015-05-12 12:16:26 +02:00
Dietmar Maurer
2c27e4b7c7 lxc: implement startup and onboot option 2015-04-22 10:49:30 +02:00
Dietmar Maurer
989b774393 depend on new pve-container package, activate LXC API 2015-04-18 09:40:44 +02:00
Dietmar Maurer
0532bd2857 re-add template download code
this was removed by accident.
2015-04-16 07:58:50 +02:00
Dietmar Maurer
e877877f5e use new ha infrastructure 2015-04-03 08:36:59 +02:00
Dietmar Maurer
dafb62468e remove OpenVZ related code
There is still no OpenVZ for kernel 3.10 or newer, so we remove that code now.
2015-03-27 13:43:59 +01:00
Dietmar Maurer
7e5cb2f0b8 use PVE::HA::Config to skip HA enabled VMs 2015-03-27 13:43:59 +01:00
Dietmar Maurer
c0d696f9da fix proxversion -v for jessie release 2015-03-06 11:30:40 +01:00
Dietmar Maurer
42a55af27b skip test for HA managed VMs
unless we have a replavement for rgmanager
2015-03-03 09:20:20 +01:00
Dietmar Maurer
297faa1258 use new PVE::Cluster::vm_is_ha_managed() 2015-03-03 07:11:28 +01:00
Alexandre Derumier
9c8a09a76d api2 : node : add migrate_all
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-11 07:01:44 +01:00
Alexandre Derumier
c09c7160a5 api2: node : startall : add force option
force start if onboot = 0

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-11 07:01:31 +01:00
Dietmar Maurer
eab837c4c4 cleanup vzdump -stop implementation
* do not unlink $pidfile inside stop_running_backups to avoid race conditions
* use pve UPID to save pid (see PVE::Tools::upid_decode)
* allow to pass -stop parameter to nomal backup job
* simple return 'OK' instead of calling exit() inside API call.
* rename stop_all_backups to stop_running_backups
2015-01-20 09:35:01 +01:00
Wolfgang Link
8682f6fcb1 Fix backup failure at shutdown.
This fix include a new function of vzdump.
Now you can call vzdump -stop and the backup will be aborted.
Also if the pve-manager init script stop the process, vzdump -stop will called.

Signed-off-by: Wolfgang Link <wolfgang@linksystems.org>
2015-01-20 08:06:59 +01:00
Tobias Doerffel
f9adc7763d Fixed typo in backup API
Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de>
2014-11-24 06:36:48 +01:00
Stefan Priebe
6ec9de4426 VZDump: send an error email in case of lock failure
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-10-23 10:57:22 +02:00
Dan Hunsaker
b71c468669 Add CT suspend/resume support via PVE2 API
Suspend/resume support for VMs has been in the PVE2 API for some time,
but even though vzctl supports suspend/resume (what they call checkpoint/
restore), the API doesn't yet support suspend/resume for CTs.  This patch
adds that support.

Signed-off-by: Dan Hunsaker <danhunsaker@gmail.com>
2014-10-09 09:21:13 +02:00
Stanislav German-Evtushenko
4b15265645 GUI: add new email_from option to datacenter.cfg
Signed-off-by: Stanislav German-Evtushenko <ginermail@gmail.com>
2014-09-04 17:16:02 +02:00
Dietmar Maurer
c608873a5c GUI: add pool view 2014-08-13 08:06:18 +02:00
Dietmar Maurer
8dfca17e2e cleanup novnc console code
And implement novnc console for openvz and shell (needs vncterm update).
2014-06-24 17:35:17 +02:00
Dietmar Maurer
94cc956030 trim subscription key to avoid unexpected errors.
People normally use cut&paste, and that often adds unexpected white space
characters. So we simply remove them for convenience.
2014-06-13 06:32:07 +02:00
Dietmar Maurer
05adc1414d use new PVE::API2::Firewall::CT class 2014-05-26 08:31:44 +02:00
Dietmar Maurer
1f3e956a53 fix mon_command syntax for 'auth get' 2014-05-22 06:43:09 +02:00
Dietmar Maurer
4a07fcedb7 depend on pve-firewall, connect firewall API 2014-05-06 12:43:41 +02:00
Dietmar Maurer
e7c967c0a4 Formatter/HTML: improve output format 2014-05-05 13:00:35 +02:00
Dietmar Maurer
d25dec0fd5 Formatter/HTML: add method description 2014-05-02 11:48:38 +02:00
Dietmar Maurer
7e73c93e55 new html formatter PVE::API2::Formatter::HTML
This one provides a login page and uses bootstrap for html.
2014-05-02 11:36:11 +02:00
Dietmar Maurer
d812f3bb2b include bootstrap html framework 2014-05-02 11:35:16 +02:00
Dietmar Maurer
ed2cd21059 split out formatter code 2014-05-02 11:35:02 +02:00
Dietmar Maurer
b5eda02313 bump version to 3.1-43 (fix network API) 2014-02-16 09:27:41 +01:00
Dietmar Maurer
44d353a7ac API extension: allow to set comments inside network interfaces file 2014-02-12 11:28:53 +01:00
Dietmar Maurer
5374d54f21 ceph: fix percent_used 2014-01-23 17:29:14 +01:00
Dietmar Maurer
cc81005afd ceph: view osd commit/apply latency 2014-01-23 10:08:02 +01:00
Dietmar Maurer
941c019548 ceph: display osd usage 2014-01-23 09:38:29 +01:00
Dietmar Maurer
d54f1126b7 ceph: display pool usage information 2014-01-23 08:28:26 +01:00
Dietmar Maurer
7d4fc5ef92 ceph: add API and buttons for osd in/out
And move OSD API into separate package PVE::API2::CephOSD
2014-01-22 12:44:52 +01:00
Dietmar Maurer
a34866f031 split out ceph code into PVE::CephTools 2014-01-22 09:33:15 +01:00
Dietmar Maurer
2f80464060 use longer rados timeouts when inside worker tasks 2014-01-22 08:05:40 +01:00
Dietmar Maurer
f26b46dbcb ceph: re-open rados connection inside worker process 2014-01-21 12:11:25 +01:00
Dietmar Maurer
2aafa9ea6d ceph: untaint values for createosd 2014-01-21 11:21:46 +01:00
Dietmar Maurer
6e3c2f4764 ceph: use format 'plain' for call which do no return data 2014-01-21 07:44:41 +01:00
Dietmar Maurer
36fd0190c5 code cleanup 2014-01-20 08:55:35 +01:00
Dietmar Maurer
970236b3ec use PVE::RADOS perl bindings 2014-01-17 09:45:22 +01:00
Dietmar Maurer
a7a7fb00ac ceph: improve disk usage detection 2014-01-10 12:04:26 +01:00
Dietmar Maurer
0e5816e4d2 ceph: allow to specify separate journal disks 2014-01-10 09:04:48 +01:00
Dietmar Maurer
946662f65b ceph: allow to specify crush ruleset on pool creation 2014-01-03 11:40:53 +01:00
Dietmar Maurer
d6261e3122 ceph: only use 64 PGs by default (same default as ceph default pools) 2014-01-03 11:03:05 +01:00
Dietmar Maurer
190df9a105 ceph: try to unmount OSD after removal 2014-01-03 10:58:08 +01:00
Dietmar Maurer
8b336060cb ceph: return decompiled crush map in text format.
This is easier to read.
2014-01-03 10:46:59 +01:00
Dietmar Maurer
ace49d5357 avoid slash characters in task ids
Our REST API cannot handle that.
2013-12-31 12:47:40 +01:00
Dietmar Maurer
43d85563a7 pveceph: allow to specify fs-type 2013-12-31 08:12:20 +01:00
Dietmar Maurer
740895591f pveceph: allow to set min_size for pools 2013-12-31 08:04:26 +01:00
Dietmar Maurer
cee8e2b661 fix osd remove 2013-12-30 13:50:01 +01:00
Dietmar Maurer
4c917e974d make it easier to set VLAN tags on OVS ports/bond 2013-12-30 11:06:34 +01:00
Dietmar Maurer
ffffb625e5 add support to change bond_xmit_hash_policy on linux bond devices 2013-12-30 08:21:44 +01:00
Dietmar Maurer
10a9563eb4 use new ovs bond modes (changed in pve-common) 2013-12-30 07:38:13 +01:00
Dietmar Maurer
bdfa249812 check if ovs is installed when creation ovs network components 2013-12-27 09:52:22 +01:00
Dietmar Maurer
d11733f8da add GUI for openvswitch network 2013-12-27 09:45:31 +01:00
Dietmar Maurer
f7e342ea2a ceph: allow to specify network 2013-12-21 10:18:17 +01:00
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
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