]> git.proxmox.com Git - pve-cluster.git/log
pve-cluster.git
10 years agobump version to 3.0-13
Dietmar Maurer [Wed, 30 Apr 2014 05:20:16 +0000 (07:20 +0200)]
bump version to 3.0-13

10 years agofix bug 204: use DERIVE instead of COUNTER
Dietmar Maurer [Wed, 30 Apr 2014 05:17:19 +0000 (07:17 +0200)]
fix bug 204: use DERIVE instead of COUNTER

10 years agomake sure we read latest versions inside locked code
Dietmar Maurer [Tue, 28 Jan 2014 15:36:39 +0000 (16:36 +0100)]
make sure we read latest versions inside locked code

File locks are used for read/modify/write cycles, so we need to make
sure that we always read latest versions.

10 years agobump version to 3.0-12, update libfuse2 dependency
Dietmar Maurer [Mon, 27 Jan 2014 10:50:52 +0000 (11:50 +0100)]
bump version to 3.0-12, update libfuse2 dependency

fix bug #489

10 years agobump version to 3.0-11
Dietmar Maurer [Mon, 13 Jan 2014 06:46:41 +0000 (07:46 +0100)]
bump version to 3.0-11

10 years agostop after ceph
Dietmar Maurer [Mon, 13 Jan 2014 06:45:35 +0000 (07:45 +0100)]
stop after ceph

10 years agostart service 'pve-cluster' before starting 'ceph'
Dietmar Maurer [Tue, 31 Dec 2013 05:36:12 +0000 (06:36 +0100)]
start service 'pve-cluster' before starting 'ceph'

10 years agobump version to 3.0-9
Dietmar Maurer [Tue, 10 Dec 2013 05:19:21 +0000 (06:19 +0100)]
bump version to 3.0-9

10 years agoadd a way to select the default console viewer
Dietmar Maurer [Tue, 10 Dec 2013 05:17:20 +0000 (06:17 +0100)]
add a way to select the default console viewer

10 years agobump version to 3.0-8
Dietmar Maurer [Tue, 1 Oct 2013 11:25:01 +0000 (13:25 +0200)]
bump version to 3.0-8

10 years agouse warnings instead of global -w flag
Dietmar Maurer [Tue, 1 Oct 2013 11:23:54 +0000 (13:23 +0200)]
use warnings instead of global -w flag

10 years agoadd reference to git version
Dietmar Maurer [Mon, 2 Sep 2013 08:42:08 +0000 (10:42 +0200)]
add reference to git version

10 years agosuppress another warning about uninitialized value at boot time
Dietmar Maurer [Tue, 20 Aug 2013 08:39:33 +0000 (10:39 +0200)]
suppress another warning about uninitialized value at boot time

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
10 years agocheck if mkdir return EEXIST
Dietmar Maurer [Tue, 20 Aug 2013 07:34:55 +0000 (09:34 +0200)]
check if mkdir return EEXIST

Seems -d $dir is not really reliable on cluster file system (cache?).

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
10 years agoavoid warning when adding a new node
Dietmar Maurer [Tue, 20 Aug 2013 07:02:38 +0000 (09:02 +0200)]
avoid warning when adding a new node

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
10 years agobump version to 3.0-5, update automake related files
Dietmar Maurer [Fri, 26 Jul 2013 09:10:34 +0000 (11:10 +0200)]
bump version to 3.0-5, update automake related files

10 years agoadd migration_unsecure param to datacenter.cfg
Stefan Priebe [Fri, 26 Jul 2013 07:17:12 +0000 (09:17 +0200)]
add migration_unsecure param to datacenter.cfg

10 years agodepend on fuse
Dietmar Maurer [Wed, 22 May 2013 09:42:50 +0000 (11:42 +0200)]
depend on fuse

Seems most utilities moved from fuse-utils to fuse.

11 years agofix warning about uninitialize value
Dietmar Maurer [Thu, 16 May 2013 11:03:43 +0000 (13:03 +0200)]
fix warning about uninitialize value

11 years agoremove depencency on fuse-utils
Dietmar Maurer [Thu, 16 May 2013 10:47:39 +0000 (12:47 +0200)]
remove depencency on fuse-utils

This package is no longer required.

bump version to 3.0-3

11 years agofix bug 383: resteart pveproxy instead of apache2
Dietmar Maurer [Tue, 14 May 2013 08:50:27 +0000 (10:50 +0200)]
fix bug 383: resteart pveproxy instead of apache2

bump version to 3.0-2

11 years agoupdates for wheezy
Dietmar Maurer [Fri, 15 Mar 2013 05:59:49 +0000 (06:59 +0100)]
updates for wheezy

11 years agobump version to 1.0-37
Dietmar Maurer [Fri, 1 Feb 2013 08:25:11 +0000 (09:25 +0100)]
bump version to 1.0-37

11 years agossh-copy-id: never use keys provided by the ssh-agent
Stefan Priebe [Fri, 1 Feb 2013 07:25:28 +0000 (08:25 +0100)]
ssh-copy-id: never use keys provided by the ssh-agent

- right now ssh-copy-id uses the keys in your ssh-agent see man ssh-copy-id
- ssh-copy-id should use the local key of user root

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
11 years agoadd another field (status) to new pve2.3-vm rrd format
Dietmar Maurer [Thu, 17 Jan 2013 08:27:57 +0000 (09:27 +0100)]
add another field (status) to new pve2.3-vm rrd format

11 years agoadd new pve2.3-vm stream (include template value)
Dietmar Maurer [Wed, 16 Jan 2013 08:55:47 +0000 (09:55 +0100)]
add new pve2.3-vm stream (include template value)

skip=3 to handle new template value

but we still rite to /var/lib/rrdcached/db/pve2-vm as the rrds have not changed

bump version to 1.0-35

11 years agocorrectly handle EAGAIN
Dietmar Maurer [Thu, 6 Dec 2012 07:28:53 +0000 (08:28 +0100)]
correctly handle EAGAIN

We simply sleep 1ms and repeat sendmsg (not perfect, but good enough).

11 years agofix ssh_merge_keys
Dietmar Maurer [Wed, 5 Dec 2012 12:02:23 +0000 (13:02 +0100)]
fix ssh_merge_keys

11 years agoimplement sendfd to support qemu fdset functionality
Dietmar Maurer [Wed, 5 Dec 2012 11:02:34 +0000 (12:02 +0100)]
implement sendfd to support qemu fdset functionality

11 years agoimport existing /root/.ssh/authorized_keys
Dietmar Maurer [Mon, 19 Nov 2012 09:26:13 +0000 (10:26 +0100)]
import existing /root/.ssh/authorized_keys

11 years agodo not pass undef to RRDs::graphv to avoid warnings
Dietmar Maurer [Sat, 3 Nov 2012 06:42:20 +0000 (07:42 +0100)]
do not pass undef to RRDs::graphv to avoid warnings

11 years agosub ssh_merge_keys in PVE::Cluster is still not 100% safe. man authorized_keys says...
Stefan Priebe [Fri, 2 Nov 2012 08:04:24 +0000 (09:04 +0100)]
sub ssh_merge_keys in PVE::Cluster is still not 100% safe. man authorized_keys says you're allowed to use several options in front of the ssh-{rsa, dsa} string.

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
11 years agoalso initialize /root/.ssh with 'pvecm updatecerts'
Dietmar Maurer [Wed, 31 Oct 2012 13:22:56 +0000 (14:22 +0100)]
also initialize /root/.ssh with 'pvecm updatecerts'

11 years agocleanups, bump version to 1.0-30
Dietmar Maurer [Wed, 31 Oct 2012 12:48:07 +0000 (13:48 +0100)]
cleanups, bump version to 1.0-30

11 years agoadded setup_rootsshconfig to create initial ssh config for user root
Stefan Priebe [Wed, 31 Oct 2012 11:27:34 +0000 (12:27 +0100)]
added setup_rootsshconfig to create initial ssh config for user root

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
11 years agocreate_rrd_graph: do not save data in file
Dietmar Maurer [Wed, 31 Oct 2012 06:03:06 +0000 (07:03 +0100)]
create_rrd_graph: do not save data in file

We use RRDs::graphv instead, and return file data directly.

11 years agoset ENV{HOME} to avoid ssh-copy-id errors
Dietmar Maurer [Mon, 24 Sep 2012 04:04:20 +0000 (06:04 +0200)]
set ENV{HOME} to avoid ssh-copy-id errors

11 years agobump version to 1.0-28
Dietmar Maurer [Fri, 31 Aug 2012 05:35:58 +0000 (07:35 +0200)]
bump version to 1.0-28

11 years agopreserve authorized_key key order
Dietmar Maurer [Thu, 30 Aug 2012 05:05:57 +0000 (07:05 +0200)]
preserve authorized_key key order

And identify double keys by key and not by comment. Original patch from Stefan Priebe <s.priebe@profihost.ag> contains white space errors - I removed that.

11 years agofix bug #199: allow node names to start with numbers
Dietmar Maurer [Tue, 22 May 2012 09:54:02 +0000 (11:54 +0200)]
fix bug #199: allow node names to start with numbers

12 years agonew rrd format for node data (skip 2 entries)
Dietmar Maurer [Mon, 26 Mar 2012 07:47:22 +0000 (09:47 +0200)]
new rrd format for node data (skip 2 entries)

12 years agouse Digest::SHA instead of Digest::SHA1
Dietmar Maurer [Tue, 20 Mar 2012 10:25:11 +0000 (11:25 +0100)]
use Digest::SHA instead of Digest::SHA1

12 years agocorrectly wait for quorum when adding a node
Dietmar Maurer [Tue, 20 Mar 2012 08:56:25 +0000 (09:56 +0100)]
correctly wait for quorum when adding a node

12 years agoavoid dcdb warnings when creating a new cluster
Dietmar Maurer [Tue, 20 Mar 2012 06:52:40 +0000 (07:52 +0100)]
avoid dcdb warnings when creating a new cluster

12 years agodisable iptables filter on bridge
Derumier Alexandre [Wed, 7 Mar 2012 08:40:54 +0000 (09:40 +0100)]
disable iptables filter on bridge

Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
12 years agofix for pvecm add: avoid ambiguous options
Dietmar Maurer [Wed, 22 Feb 2012 10:08:03 +0000 (11:08 +0100)]
fix for pvecm add: avoid ambiguous options

12 years agoadd missing use clause
Dietmar Maurer [Thu, 16 Feb 2012 10:04:48 +0000 (11:04 +0100)]
add missing use clause

12 years agodepend on insserv
Dietmar Maurer [Thu, 16 Feb 2012 09:52:03 +0000 (10:52 +0100)]
depend on insserv

12 years agouse new qb_log_filter_fn_set
Dietmar Maurer [Wed, 15 Feb 2012 06:01:02 +0000 (07:01 +0100)]
use new qb_log_filter_fn_set

12 years agodo not use PRIORITY_BUMP
Dietmar Maurer [Fri, 10 Feb 2012 08:10:37 +0000 (09:10 +0100)]
do not use PRIORITY_BUMP

12 years agocorretly enable/disable logs to stderr
Dietmar Maurer [Thu, 9 Feb 2012 11:05:05 +0000 (12:05 +0100)]
corretly enable/disable logs to stderr

Note: Angus told me to do it that way.

12 years agouse qblog instead of syslog
Dietmar Maurer [Thu, 9 Feb 2012 08:47:40 +0000 (09:47 +0100)]
use qblog instead of syslog

12 years agoremove optione --quiet
Dietmar Maurer [Thu, 9 Feb 2012 06:05:10 +0000 (07:05 +0100)]
remove optione --quiet

We always try to be quiet instead.

12 years agouse const char * for log_domain
Dietmar Maurer [Wed, 8 Feb 2012 08:46:49 +0000 (09:46 +0100)]
use const char * for log_domain

There is no need to alloc/free that string.

12 years agolookup corret file info
Dietmar Maurer [Thu, 2 Feb 2012 11:37:01 +0000 (12:37 +0100)]
lookup corret file info

12 years agonew helper: create_pmxcfs_db
Dietmar Maurer [Wed, 18 Jan 2012 13:29:47 +0000 (14:29 +0100)]
new helper: create_pmxcfs_db

12 years agouse new helper PVE::Tools::kvmkeymaplist()
Dietmar Maurer [Mon, 9 Jan 2012 10:49:17 +0000 (11:49 +0100)]
use new helper PVE::Tools::kvmkeymaplist()

12 years agofix bdb_backend_load_index()
Dietmar Maurer [Mon, 9 Jan 2012 07:21:34 +0000 (08:21 +0100)]
fix bdb_backend_load_index()

We need to check if there is already a placeholder.

12 years ago add tests for bdb_backend_load_index()
Dietmar Maurer [Mon, 9 Jan 2012 07:17:56 +0000 (08:17 +0100)]
 add tests for bdb_backend_load_index()

12 years agodepend on libxml-parser-perl
Dietmar Maurer [Thu, 22 Dec 2011 12:50:49 +0000 (13:50 +0100)]
depend on libxml-parser-perl

12 years agoimplement xml helpers for cluster.conf
Dietmar Maurer [Thu, 22 Dec 2011 12:27:53 +0000 (13:27 +0100)]
implement xml helpers for cluster.conf

12 years agofix online status calculation
Dietmar Maurer [Thu, 22 Dec 2011 08:22:07 +0000 (09:22 +0100)]
fix online status calculation

12 years agofix bug in xml_escape_attrib
Dietmar Maurer [Wed, 21 Dec 2011 13:01:53 +0000 (14:01 +0100)]
fix bug in xml_escape_attrib

12 years agoadd interface to read/write cluster.conf
Dietmar Maurer [Wed, 21 Dec 2011 06:13:55 +0000 (07:13 +0100)]
add interface to read/write cluster.conf

12 years agofix file name: use cluster.conf instead of cluster.cfg
Dietmar Maurer [Fri, 16 Dec 2011 05:56:23 +0000 (06:56 +0100)]
fix file name: use cluster.conf instead of cluster.cfg

12 years agodo not restart rsyslogd
Dietmar Maurer [Thu, 15 Dec 2011 07:09:43 +0000 (08:09 +0100)]
do not restart rsyslogd

Because we do not install pve-rsyslog.conf in order to not break
existing syslog parsers.

12 years agouse full-size-mode for RRD graph
Dietmar Maurer [Mon, 28 Nov 2011 09:40:23 +0000 (10:40 +0100)]
use full-size-mode for RRD graph

We do not want to scale graphs in the browser.

12 years agodepend on libdigest-hmac-perl
Dietmar Maurer [Sat, 26 Nov 2011 07:47:53 +0000 (08:47 +0100)]
depend on libdigest-hmac-perl

12 years agoavoid warning
Dietmar Maurer [Thu, 17 Nov 2011 10:22:46 +0000 (11:22 +0100)]
avoid warning

12 years agostart before cron
Dietmar Maurer [Tue, 15 Nov 2011 08:45:29 +0000 (09:45 +0100)]
start before cron

That way cron can read the vzdump crontab file on startup.

12 years agorestart pvedaemon after cluster 'add'
Dietmar Maurer [Tue, 15 Nov 2011 08:23:57 +0000 (09:23 +0100)]
restart pvedaemon after cluster 'add'

12 years agoupdate version to 1.0-10
Dietmar Maurer [Wed, 9 Nov 2011 09:12:37 +0000 (10:12 +0100)]
update version to 1.0-10

12 years agorename vzdump cron file to vzdump.cron
Dietmar Maurer [Mon, 31 Oct 2011 06:21:21 +0000 (07:21 +0100)]
rename vzdump cron file to vzdump.cron

12 years agoadd vzdump backup schedule to observed file list
Dietmar Maurer [Mon, 24 Oct 2011 08:09:09 +0000 (10:09 +0200)]
add vzdump backup schedule to observed file list

12 years agogenerate vzdump setup file /etc/pve/vzdump
Dietmar Maurer [Mon, 24 Oct 2011 05:33:27 +0000 (07:33 +0200)]
generate vzdump setup file /etc/pve/vzdump

Also create a symlink /etc/cron.d/vzdump to that file.

12 years agofix typo
Dietmar Maurer [Mon, 24 Oct 2011 04:49:26 +0000 (06:49 +0200)]
fix typo

12 years agoprotect against fork
Dietmar Maurer [Mon, 24 Oct 2011 04:46:48 +0000 (06:46 +0200)]
protect against fork

Each process needs its own ipcc connection, else the shared memory buffer gets corrupted.

12 years agoallow to read empty config files
Dietmar Maurer [Wed, 19 Oct 2011 09:25:20 +0000 (11:25 +0200)]
allow to read empty config files

The old code returned undef on empty files.

12 years agoanother fix for duplicate VM check
Dietmar Maurer [Wed, 19 Oct 2011 08:01:34 +0000 (10:01 +0200)]
another fix for duplicate VM check

12 years agofix expression to avoid duplicate vm ids
Dietmar Maurer [Wed, 19 Oct 2011 07:19:04 +0000 (09:19 +0200)]
fix expression to avoid duplicate vm ids

12 years agofix documenation
Dietmar Maurer [Fri, 14 Oct 2011 10:40:44 +0000 (12:40 +0200)]
fix documenation

we do not have ipcc_open and ipcc_close

12 years agorestart filesystem after update asap
Dietmar Maurer [Tue, 4 Oct 2011 05:28:46 +0000 (07:28 +0200)]
restart filesystem after update asap

12 years agoset exec bit for openvz scripts
Dietmar Maurer [Mon, 3 Oct 2011 05:56:22 +0000 (07:56 +0200)]
set exec bit for openvz scripts

12 years agoinitialize from_node
Dietmar Maurer [Mon, 3 Oct 2011 04:56:22 +0000 (06:56 +0200)]
initialize from_node

12 years agoallow to register handler for openvz configs
Dietmar Maurer [Wed, 28 Sep 2011 11:14:30 +0000 (13:14 +0200)]
allow to register handler for openvz configs

12 years agocorrectly handle renames
Dietmar Maurer [Wed, 28 Sep 2011 11:13:42 +0000 (13:13 +0200)]
correctly handle renames

12 years agocorrectly use 'from' instead of 'to'
Dietmar Maurer [Tue, 27 Sep 2011 05:51:33 +0000 (07:51 +0200)]
correctly use 'from' instead of 'to'

12 years agocreate qemu-server and openvz dirs
Dietmar Maurer [Mon, 26 Sep 2011 05:52:39 +0000 (07:52 +0200)]
create qemu-server and openvz dirs

12 years agostart clvm
Dietmar Maurer [Fri, 23 Sep 2011 08:43:38 +0000 (10:43 +0200)]
start clvm

12 years agobug fix - respect silent flag
Dietmar Maurer [Wed, 21 Sep 2011 10:06:32 +0000 (12:06 +0200)]
bug fix - respect silent flag

12 years agonew method get_members() to return node member status
Dietmar Maurer [Mon, 19 Sep 2011 11:11:36 +0000 (13:11 +0200)]
new method get_members() to return node member status

12 years agocheck max cluster name length
Dietmar Maurer [Mon, 19 Sep 2011 08:36:25 +0000 (10:36 +0200)]
check max cluster name length

12 years agoonly call g_string_append_len if we have something (len > 0)
Dietmar Maurer [Thu, 15 Sep 2011 05:53:29 +0000 (07:53 +0200)]
only call g_string_append_len if we have something (len > 0)

12 years agonew method to check that node exists: check_node_exists()
Dietmar Maurer [Fri, 9 Sep 2011 09:41:04 +0000 (11:41 +0200)]
new method to check that node exists: check_node_exists()

12 years agoRaise exception in check_cfs_quorum (and add noerr parameter)
Dietmar Maurer [Fri, 9 Sep 2011 09:24:27 +0000 (11:24 +0200)]
Raise exception in check_cfs_quorum (and add noerr parameter)

12 years agoadd .gitignore file
Dietmar Maurer [Tue, 30 Aug 2011 13:08:35 +0000 (15:08 +0200)]
add .gitignore file

12 years agoFixed startup order and lintian errors
Dietmar Maurer [Tue, 30 Aug 2011 13:04:11 +0000 (15:04 +0200)]
Fixed startup order and lintian errors

We now start in runlevel 2345 instead of S, and make sure
that we start before apache2.

12 years agofix typo in log message
Dietmar Maurer [Fri, 26 Aug 2011 05:43:47 +0000 (07:43 +0200)]
fix typo in log message

12 years agoimported from svn 'pve-cluster/trunk'
Dietmar Maurer [Tue, 23 Aug 2011 05:29:23 +0000 (07:29 +0200)]
imported from svn 'pve-cluster/trunk'