227 Commits

Author SHA1 Message Date
Thomas Lamprecht
1ba0bf9cbc Makefile: fix distclean target
As some Makefiles in sub directories do not implement the distclean
target, namely:
PVE/Service/Makefile
PVE/CLI/Makefile

This target is broken.

As all other implementations just redirect to the 'clean' target I
do not implement the missing ones but rather remove all such
targets. Keep it just in the top level directory, for consistence
sake with other pve repos, and redirect it there directly to the
clean target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:21:48 +02:00
Dominik Csapak
9d9e015dda don't save password and double lines in pvesh history
we assumed that Term::ReadLine does not put
input into the history automatically, but it does this

so if this feature is enabled, we do not have to add
the inputs manually, and we have to delete the password
from the history

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-03 12:23:01 +02:00
Dietmar Maurer
c57f951538 use pve-doc-generator, bump version to 4.1-25 2016-04-10 15:54:35 +02:00
Dietmar Maurer
6cd98a200b remove old openvz make targets 2016-04-10 14:49:37 +02:00
Fabian Grünbichler
65b2ff76cd Use methods from PVE::QemuConfig
use config_file and load_config from PVE::QemuConfig
2016-03-08 11:53:33 +01:00
Wolfgang Link
9c5c9b623e refactor pveam to use it with our CLI Handler. 2016-02-26 11:34:52 +01:00
Wolfgang Link
4470d00c7e fix initlog name 2016-02-26 11:30:17 +01:00
Dietmar Maurer
75a34eb8fa pveupdate: use warnings instead of -w 2016-02-12 10:42:23 +01:00
Dietmar Maurer
6ec2e444d3 pveproxy.service: start after remote-fs and ceph 2016-01-22 11:24:20 +01:00
Dietmar Maurer
4345456e80 pve-manager.service: start after pve-ha-crm.service and pve-ha-lrm.service
To priorize HA VMs.
2016-01-22 11:24:19 +01:00
Dietmar Maurer
4d08ef1073 pve-manager.service: start after spiceproxy 2016-01-22 11:24:18 +01:00
Dietmar Maurer
ea5a773711 pveproxy.service: add Wants=ssh.service
and make sure sshd is running while pveproxy is active
2016-01-22 11:24:18 +01:00
Dietmar Maurer
4f345c2983 pve-manager.service: do not invoke old init.d script
redirect stdout/stderr to null, because we already log to pve task log.
2016-01-22 11:24:18 +01:00
Dietmar Maurer
ebd4ba37a9 pvesh: use PVE::SafeSyslog 2016-01-22 11:24:17 +01:00
Dietmar Maurer
8bc011d4f1 pvestatd: use 'priv' environment for service 2016-01-22 11:24:17 +01:00
Dietmar Maurer
9d040cd221 remove unused var 2016-01-22 11:24:16 +01:00
Dietmar Maurer
84898cc3f0 pvedaemon.service: Wants=corosync.service to fix shutdown order
To make sure /etc/pve/ is functional while pvedaemon is running.
2016-01-22 11:24:16 +01:00
Dietmar Maurer
a865b54877 pve-manager.service: add dependencies to fix shutdown order 2016-01-22 11:24:15 +01:00
Emmanuel Kasper
2abf9c199c Move pvereport functionality into a separate PVE package 2015-11-03 18:10:22 +01:00
Emmanuel Kasper
f0c944aeee Pretty format the output of multiple files in a directory
Also, don't "cat" non existing files
2015-10-30 07:11:36 +01:00
Wolfgang Link
a85d2ee06d add bios report to pvereport 2015-10-28 11:51:25 +01:00
Alexandre Derumier
1392869a2d pve-manager service : start after open-iscsi
Currently,if we have vms on lvm on top of iscsi,

pve-manager service start them too early at host boot,
before open-iscsi daemon, and vm don't start.

Reported-by: Philippe Guy <ph.guy@decidem.fr>
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-10-28 09:24:33 +01:00
Emmanuel Kasper
cd8f966ee7 Add new pvereport command 2015-10-27 07:31:57 +01:00
Dietmar Maurer
76281be8a4 cleanup: use new run_cli_handler() method 2015-10-02 11:28:01 +02:00
Emmanuel Kasper
4f406f4518 pvesh man page 2015-09-10 12:22:09 +02:00
Dietmar Maurer
6346d5d565 use PVE::SafeSyslog in pveproxy and pvedaemon 2015-09-08 16:57:53 +02:00
Dietmar Maurer
9007fe31a1 convert pveceph into a PVE::CLI class 2015-09-08 11:25:00 +02:00
Thomas Lamprecht
4e11f25986 Add missing install target dependencies
These added dependencies let you execute `make install` repeatedly,
whitout using `make clean` in between.
Without it make autodeleted the %.1.pod and %.8.pod files as the
install target doesn't declare a dependency although it needs them.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-08 08:14:40 +02:00
Dietmar Maurer
e5f1a62716 pveceph: set default release to hammer 2015-09-07 12:28:29 +02:00
Dietmar Maurer
a50345c868 convert spiceproxy into a PVE::Service class 2015-09-07 10:53:49 +02:00
Dietmar Maurer
31059552ac convert pvedaemon into a PVE::Service class 2015-09-07 10:08:08 +02:00
Dietmar Maurer
a68bc52cfa /etc/cron.d/pveupdate: always write file in postinstall
so that we can change times in future
2015-09-06 10:30:57 +02:00
Wolfgang Link
d6b5285075 improve pveupdate with random start time
this is important to avoid that all PVE nodes start the update procedure at the same time
2015-09-06 10:07:48 +02:00
Dietmar Maurer
b3874f0062 convert pvesubscription into a PVE::CLI class 2015-09-05 11:38:49 +02:00
Dietmar Maurer
96860456d4 further Makefile cleanups 2015-09-04 15:17:38 +02:00
Dietmar Maurer
c752018f95 improve Makefile 2015-09-04 15:09:05 +02:00
Dietmar Maurer
b86b0d29d5 convert pveproxy into a PVE::Service class 2015-09-04 14:16:25 +02:00
Dietmar Maurer
56a626d1a9 pvestatd: cleanup, run PVE::RPCEnvironment->init() 2015-09-04 12:48:30 +02:00
Dietmar Maurer
cc22a4b099 convert pvestatd into a PVE::Service class 2015-09-04 11:22:09 +02:00
Dietmar Maurer
594765203c vzdump: directly use CLIHandler to generate docs 2015-09-04 09:12:10 +02:00
Dietmar Maurer
5c92234706 vzdump: add bash completion support 2015-09-02 15:29:54 +02:00
Dietmar Maurer
31b275d9fb correctly display lxc templates 2015-08-18 09:43:15 +02:00
Wolfgang Link
08142b081f fix bug #682: change at the Gui the used disk size.
in the pvesm and pvesh we are giving the correct size of the used space from a disk.
this change make the output of Gui and CLI consistent.
2015-08-17 09:47:36 +02:00
Alexandre Derumier
2958761504 add node stats
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-23 17:13:50 +02:00
Alexandre Derumier
9e132b1670 add graphite plugin V2
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-06-23 17:13:14 +02:00
Dietmar Maurer
56678698ba implement status plugin framework 2015-06-22 09:45:57 +02:00
Alen Grizonic
1fc96439ad pveceph script double declaration
Found a double variable declaration that needs to be removed.

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
2015-06-19 07:27:18 +02:00
Dietmar Maurer
c4580deff8 change pve-manager service type to oneshot 2015-06-10 09:04:59 +02:00
Dietmar Maurer
b3e184733b use Wants instead of Requires inside systemd service definitions
To avoid unnecessary restarts of dependent services.
2015-06-09 09:30:30 +02:00
Wolfgang Bumiller
e7206545f0 move preparations into prepare()
Moving some preparation code found at the top level of some binaries
into a prepare() sub.
2015-05-29 16:12:24 +02:00