Commit Graph

45 Commits

Author SHA1 Message Date
Dietmar Maurer
7e5cb2f0b8 use PVE::HA::Config to skip HA enabled VMs 2015-03-27 13:43:59 +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
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
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
4a07fcedb7 depend on pve-firewall, connect firewall API 2014-05-06 12:43:41 +02: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
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
38db610ae6 move code to Ceph.pm, create API for ceph 2013-11-13 06:59:07 +01:00
Dietmar Maurer
ea5eb43003 fix shell quoting for upgrade command 2013-06-24 08:02:32 +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
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
21299915de add API for apt using libapt-pkg-perl 2013-06-13 11:52:31 +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
ff9c330c5d add bootlog
we use boodlogd on wheezy
2013-03-26 07:59:57 +01:00
Dietmar Maurer
20539e0c29 display KSM sharing on node status panel 2013-02-01 09:15:26 +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
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
b92400b6a7 add startall/stopall API and init script 2012-04-20 09:35:08 +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
21ace8d328 add subscription management API 2012-03-23 06:31:34 +01:00
Dietmar Maurer
e4d5bf7257 improve network API - add more gettext markers 2012-02-29 12:39:12 +01:00
Dietmar Maurer
c916497537 implement template download
Also added turnkeylinux.com
2012-02-21 11:45:30 +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
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
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
57ebda0841 use new assemble_vnc_ticket 2012-01-19 09:32:58 +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
607263cbf6 use PVE::Tools::dump_logfile 2011-11-08 07:49:09 +01:00
Dietmar Maurer
bf58f8ddda plug VZDump into our API 2011-10-14 13:43:06 +02:00
Dietmar Maurer
9056e748db add GUI for user_beancounters 2011-10-07 13:58:56 +02:00
Dietmar Maurer
339e41597d add openvz support (cli only for now) 2011-09-28 14:08:54 +02:00
Dietmar Maurer
beb651ee65 removed automake/autoconf, removed unused files 2011-08-23 16:11:04 +02:00