]> git.proxmox.com Git - pve-cluster.git/log
pve-cluster.git
8 years agoFix #935: fix corosync.conf check
Fabian Grünbichler [Mon, 11 Apr 2016 07:56:00 +0000 (09:56 +0200)]
Fix #935: fix corosync.conf check

8 years agoinstall pmxcfs.8 man page
Dietmar Maurer [Sat, 9 Apr 2016 13:26:23 +0000 (15:26 +0200)]
install pmxcfs.8 man page

8 years agobump version to 4.0-39
Dietmar Maurer [Wed, 6 Apr 2016 15:44:00 +0000 (17:44 +0200)]
bump version to 4.0-39

8 years agoremove old/stale inline docs
Dietmar Maurer [Wed, 6 Apr 2016 15:42:33 +0000 (17:42 +0200)]
remove old/stale inline docs

8 years agogenerate man pages with pve-doc-generator
Dietmar Maurer [Wed, 6 Apr 2016 15:39:43 +0000 (17:39 +0200)]
generate man pages with pve-doc-generator

8 years agobump version to 4.0-38
Dietmar Maurer [Thu, 31 Mar 2016 08:33:37 +0000 (10:33 +0200)]
bump version to 4.0-38

8 years agoallow empty values in rrddata
Dominik Csapak [Thu, 24 Mar 2016 14:24:34 +0000 (15:24 +0100)]
allow empty values in rrddata

since the charts plugin in extjs6 behaves correctly
when some values are missing,
we can allow empty fields in the rrddata response

if we do not do this, we have to manually insert
empty values on the client side to correctly show
the graphs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.0-37
Dietmar Maurer [Tue, 15 Mar 2016 15:45:06 +0000 (16:45 +0100)]
bump version to 4.0-37

8 years agoAdd warning for pvecm commands if not part of cluster
Fabian Grünbichler [Mon, 14 Mar 2016 08:19:22 +0000 (09:19 +0100)]
Add warning for pvecm commands if not part of cluster

If the cluster config file is missing, pvecm status, nodes
and expected will probably not work. Add a helpful warning
because the corosync-quorumtool error message is not very
descriptive here.

Add a helper sub in Cluster.pm to actually do the check.

8 years agobump version to 4.0-36
Dietmar Maurer [Mon, 14 Mar 2016 07:35:07 +0000 (08:35 +0100)]
bump version to 4.0-36

8 years agofix #904: wrap openssl with faketime
Fabian Grünbichler [Fri, 11 Mar 2016 08:37:19 +0000 (09:37 +0100)]
fix #904: wrap openssl with faketime

This should prevent issues when generating certificates on
first boot of a node with the RTC wrongly set to the local
timezone instead of UTC. Since we cannot require the node to
be synchronized with an NTP server, we pretend it's
yesterday when calling openssl.

8 years agobump version to 4.0-35
Dietmar Maurer [Fri, 4 Mar 2016 16:01:27 +0000 (17:01 +0100)]
bump version to 4.0-35

8 years agoadd 'fencing' to datacenter.cfg
Thomas Lamprecht [Fri, 4 Mar 2016 12:08:31 +0000 (13:08 +0100)]
add 'fencing' to datacenter.cfg

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 4.0-34
Dietmar Maurer [Sat, 27 Feb 2016 08:38:20 +0000 (09:38 +0100)]
bump version to 4.0-34

8 years agoalways start rrd grephs at 0
Markus Köberl [Thu, 25 Feb 2016 13:14:41 +0000 (14:14 +0100)]
always start rrd grephs at 0

Signed-off-by: Markus Köberl <markus.koeberl@tugraz.at>
8 years agobump version to 4.0-33
Dietmar Maurer [Thu, 18 Feb 2016 18:09:56 +0000 (19:09 +0100)]
bump version to 4.0-33

8 years agofix strtol error check (see manual page)
Dietmar Maurer [Thu, 18 Feb 2016 18:09:12 +0000 (19:09 +0100)]
fix strtol error check (see manual page)

8 years agoadd check for int overflow on vmids
Dominik Csapak [Mon, 15 Feb 2016 11:02:10 +0000 (12:02 +0100)]
add check for int overflow on vmids

this patch adds a check for overflow after converting the
<vmid>.conf path to an vmid (which are 32-bit integers)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
8 years agobump version to 4.0-32
Dietmar Maurer [Thu, 11 Feb 2016 09:01:25 +0000 (10:01 +0100)]
bump version to 4.0-32

8 years agoadd 'max_workers' to datacenter.cfg
Thomas Lamprecht [Wed, 10 Feb 2016 10:58:23 +0000 (11:58 +0100)]
add 'max_workers' to datacenter.cfg

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 4.0-31
Dietmar Maurer [Fri, 15 Jan 2016 16:17:04 +0000 (17:17 +0100)]
bump version to 4.0-31

8 years agoUse correct key usage in node SSL certificate
Fabian Grünbichler [Fri, 15 Jan 2016 09:12:33 +0000 (10:12 +0100)]
Use correct key usage in node SSL certificate

8 years agoChange CA SSL key size to 4096 bit
Fabian Grünbichler [Fri, 15 Jan 2016 09:12:32 +0000 (10:12 +0100)]
Change CA SSL key size to 4096 bit

8 years agobump version to 4.0-30
Dietmar Maurer [Sat, 26 Dec 2015 18:11:42 +0000 (19:11 +0100)]
bump version to 4.0-30

8 years agoipcc_send_rec: clear errno if we get a valid result
Dietmar Maurer [Sat, 26 Dec 2015 18:09:12 +0000 (19:09 +0100)]
ipcc_send_rec: clear errno if we get a valid result

8 years agobump version to 4.0-29
Dietmar Maurer [Fri, 4 Dec 2015 12:52:25 +0000 (13:52 +0100)]
bump version to 4.0-29

8 years agoqb_loop_timer_add: do not use small timeouts
Dietmar Maurer [Fri, 4 Dec 2015 12:34:33 +0000 (13:34 +0100)]
qb_loop_timer_add: do not use small timeouts

because callbacks seems to get skipped sometimes.

8 years agoadd/use dfsm_is_initialized to avoid unnecessary error logs at startup
Dietmar Maurer [Fri, 4 Dec 2015 12:18:57 +0000 (13:18 +0100)]
add/use dfsm_is_initialized to avoid unnecessary error logs at startup

8 years agostart pve-cluster before cron, bump version to 4.0-28
Dietmar Maurer [Wed, 2 Dec 2015 12:28:24 +0000 (13:28 +0100)]
start pve-cluster before cron, bump version to 4.0-28

because cron config can be on /etc/pve (vzdump backup jobs)

8 years agoset RELEASE=4.1
Dietmar Maurer [Wed, 2 Dec 2015 12:06:04 +0000 (13:06 +0100)]
set RELEASE=4.1

8 years agostart pve-cluster before ceph, bump version to 4.0-27
Dietmar Maurer [Wed, 2 Dec 2015 12:04:15 +0000 (13:04 +0100)]
start pve-cluster before ceph, bump version to 4.0-27

because ceph config can be on /etc/pve

8 years agobump version to 4.0-26
Dietmar Maurer [Tue, 24 Nov 2015 11:43:08 +0000 (12:43 +0100)]
bump version to 4.0-26

8 years agoadd Wants=rrdcached.service
Dietmar Maurer [Tue, 24 Nov 2015 11:41:21 +0000 (12:41 +0100)]
add Wants=rrdcached.service

8 years agobump version to 4.0-25
Dietmar Maurer [Wed, 18 Nov 2015 09:49:18 +0000 (10:49 +0100)]
bump version to 4.0-25

8 years agoadd 'ha/fence.cfg' to observed files
Thomas Lamprecht [Wed, 18 Nov 2015 09:15:49 +0000 (10:15 +0100)]
add 'ha/fence.cfg' to observed files

fence.cfg will be used by the PVE HA manager for external fence
device configuration, this allows us to use cfs_read_file and
cfs_write_file methods.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 4.0-24
Dietmar Maurer [Thu, 29 Oct 2015 16:39:29 +0000 (17:39 +0100)]
bump version to 4.0-24

8 years agoRemove decode from log_msg
Thomas Lamprecht [Wed, 28 Oct 2015 17:01:02 +0000 (18:01 +0100)]
Remove decode from log_msg

decode('utf8', $msg) fails if $msg contains uft8 characters that
have no perl internal representation, so this makes no sense here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
8 years agosysctl : fs.aio-max-nr = 1048576
Alexandre Derumier [Tue, 13 Oct 2015 07:07:36 +0000 (09:07 +0200)]
sysctl : fs.aio-max-nr = 1048576

Seem that each disk use 1024 aio nr instead 256.

Libvirt already increase it since a long time
http://libvirt.org/git/?p=libvirt.git;a=commit;h=5298551e07a9839c046e0987b325e03f8ba801e5

no penalty to increase this value by default.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 4.0-23
Dietmar Maurer [Mon, 12 Oct 2015 10:47:15 +0000 (12:47 +0200)]
bump version to 4.0-23

8 years agoimprove RRP support and use 'name' subkey as default
Thomas Lamprecht [Mon, 12 Oct 2015 10:14:17 +0000 (12:14 +0200)]
improve RRP support and use 'name' subkey as default

This patches allows to configure RRP (= redundant ring protocol)
at cluster creation time. Also setting ring 0 and 1 addresses when
adding a new node. This helps and fixes some bugs when corosync runs
completely separated on an own network.
Changing rrp configs, or the bindnet addresses automatically on an
running cluster isn't supported and not planned, as it needs an
complete cluster reboot and has to many possible failure points.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agouse 'name' over 'ring0_addr' and prepare for rrp
Thomas Lamprecht [Fri, 9 Oct 2015 16:49:38 +0000 (18:49 +0200)]
use 'name' over 'ring0_addr' and prepare for rrp

Adapt some functions to prefer 'name' subkey over 'ring0_addr'.
Add a function to get a hash representatiion of the totem corosync
config item.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoclean up some error handling
Thomas Lamprecht [Fri, 9 Oct 2015 16:49:37 +0000 (18:49 +0200)]
clean up some error handling

Does not change functionality, makes some code a bit more readable
and lessens code reuse.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agoprefer 'name' subkey over 'ring0_addr' for nodename
Thomas Lamprecht [Fri, 9 Oct 2015 16:49:36 +0000 (18:49 +0200)]
prefer 'name' subkey over 'ring0_addr' for nodename

Use the name subkey from the cmap keys by default, if not set
fallback to the ring0_addr.
This fixes some issues when we move the corosync communication to
a different network and use an specific address or an new hostname
for that. Withouth this patch the nodename in the .members special
file changes together with ring0_addr, which can result in quite a
few problems (e.g.: in the ha-manager).
This allows also to separate the webinterface traffic from corosync.
IP adresses can be used for ring0 addresses directly now also,
without making problems.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 4.0-22
Dietmar Maurer [Mon, 5 Oct 2015 11:16:28 +0000 (13:16 +0200)]
bump version to 4.0-22

8 years agocheck_vmid_unused: fix error message
Dietmar Maurer [Mon, 5 Oct 2015 11:14:54 +0000 (13:14 +0200)]
check_vmid_unused: fix error message

8 years agobump version to 4.0-21
Dietmar Maurer [Sat, 26 Sep 2015 08:31:47 +0000 (10:31 +0200)]
bump version to 4.0-21

8 years agoadd function to lock a domain
Thomas Lamprecht [Fri, 25 Sep 2015 15:50:05 +0000 (17:50 +0200)]
add function to lock a domain

This can be used to execute code on an 'action domain' basis.
E.g.: if there are actions that cannot be run simultaneously even if
they, for example, don't access a common file and maybe also spread
across different packages we can now secure the consistence of said
actions on an 'action domain' basis.

The need to use a dirty hack like cfs_lock_storage with some
arbitrary storage name becomes obsolete. Also the code behaviour
and meaning becomes clearer.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 years agobump version to 4.0-20
Dietmar Maurer [Fri, 25 Sep 2015 11:03:36 +0000 (13:03 +0200)]
bump version to 4.0-20

8 years agoinstall bash completion configuration file
Dietmar Maurer [Fri, 25 Sep 2015 10:16:57 +0000 (12:16 +0200)]
install bash completion configuration file

8 years agoconvert pvecm into a PVE::CLI class
Dietmar Maurer [Fri, 25 Sep 2015 10:05:18 +0000 (12:05 +0200)]
convert pvecm into a PVE::CLI class

8 years agobump version to 4.0-19
Dietmar Maurer [Wed, 23 Sep 2015 05:57:38 +0000 (07:57 +0200)]
bump version to 4.0-19

8 years agocheck_vmid_unused: simplify code
Dietmar Maurer [Wed, 23 Sep 2015 05:54:15 +0000 (07:54 +0200)]
check_vmid_unused: simplify code

8 years agocheck_vmid_unused message change
Alen Grizonic [Tue, 22 Sep 2015 14:21:36 +0000 (16:21 +0200)]
check_vmid_unused message change

changed message if vmid used on a different cluster node

8 years agobump version to 4.0-18
Dietmar Maurer [Fri, 18 Sep 2015 07:19:53 +0000 (09:19 +0200)]
bump version to 4.0-18

8 years agonew helper: complete_vmid
Dietmar Maurer [Fri, 18 Sep 2015 07:13:12 +0000 (09:13 +0200)]
new helper: complete_vmid

8 years agobump version to 4.0-17
Dietmar Maurer [Tue, 8 Sep 2015 05:21:56 +0000 (07:21 +0200)]
bump version to 4.0-17

8 years agonew bash completion helper: complete_migration_target
Dietmar Maurer [Mon, 7 Sep 2015 05:23:59 +0000 (07:23 +0200)]
new bash completion helper: complete_migration_target

moved from PVE::LXC

8 years agoadd some bash completion helpers
Dietmar Maurer [Fri, 4 Sep 2015 06:06:58 +0000 (08:06 +0200)]
add some bash completion helpers

8 years agobump version to 4.0-16
Dietmar Maurer [Tue, 1 Sep 2015 08:44:01 +0000 (10:44 +0200)]
bump version to 4.0-16

8 years agodo not pass undefined value to PVE::JSONSchema::parse_config
Dietmar Maurer [Tue, 1 Sep 2015 08:41:55 +0000 (10:41 +0200)]
do not pass undefined value to PVE::JSONSchema::parse_config

8 years agobump version to 4.0-15
Dietmar Maurer [Thu, 6 Aug 2015 09:22:24 +0000 (11:22 +0200)]
bump version to 4.0-15

8 years agouse simple files for LXC configuration
Dietmar Maurer [Mon, 3 Aug 2015 04:27:01 +0000 (06:27 +0200)]
use simple files for LXC configuration

8 years agocluster typo bug #588 fix
Alen Grizonic [Wed, 29 Jul 2015 08:05:06 +0000 (10:05 +0200)]
cluster typo bug #588 fix

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
8 years agobump version to 4.0-14
Dietmar Maurer [Mon, 22 Jun 2015 07:37:12 +0000 (09:37 +0200)]
bump version to 4.0-14

8 years agoadd observed file status.cfg
Dietmar Maurer [Mon, 22 Jun 2015 06:55:01 +0000 (08:55 +0200)]
add observed file status.cfg

We want to use that for new status plugins (graphite server).

8 years agobump version to 4.0-13
Dietmar Maurer [Fri, 19 Jun 2015 05:33:50 +0000 (07:33 +0200)]
bump version to 4.0-13

8 years agopvecm use of uninitialized value $ARGV[0]
Alen Grizonic [Thu, 18 Jun 2015 13:58:29 +0000 (15:58 +0200)]
pvecm use of uninitialized value $ARGV[0]

Just a small bug fix for the pvecm script which did not verify
the argument existence during the $ARGV[0] check (when argument not used).

Script run error -> Use of uninitialized value $ARGV[0] in
string ne at /usr/bin/pvecm line 26.

Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
8 years agopath_is_lockdir: optimize away a strlen call
Wolfgang Bumiller [Wed, 3 Jun 2015 11:55:54 +0000 (13:55 +0200)]
path_is_lockdir: optimize away a strlen call

8 years agobump version to 4.0-12
Dietmar Maurer [Mon, 1 Jun 2015 10:22:58 +0000 (12:22 +0200)]
bump version to 4.0-12

8 years agouse activate-noawait triggers
Dietmar Maurer [Mon, 1 Jun 2015 08:05:20 +0000 (10:05 +0200)]
use activate-noawait triggers

8 years agoimprove parser for /etc/ssh/ssh_host_rsa_key.pub
Dietmar Maurer [Sun, 31 May 2015 06:10:37 +0000 (08:10 +0200)]
improve parser for /etc/ssh/ssh_host_rsa_key.pub

8 years agofix filename in error message
Dietmar Maurer [Sun, 31 May 2015 06:06:46 +0000 (08:06 +0200)]
fix filename in error message

8 years agouse systemctl instead of service
Dietmar Maurer [Fri, 29 May 2015 12:59:47 +0000 (14:59 +0200)]
use systemctl instead of service

8 years agobump version to 4.0-11
Dietmar Maurer [Fri, 29 May 2015 12:45:50 +0000 (14:45 +0200)]
bump version to 4.0-11

8 years agoallow sshd root login when we setup a PVE cluster
Dietmar Maurer [Fri, 29 May 2015 12:37:19 +0000 (14:37 +0200)]
allow sshd root login when we setup a PVE cluster

8 years agopvecm create: put brackets around hostnames for rsync
Wolfgang Bumiller [Thu, 21 May 2015 11:07:44 +0000 (13:07 +0200)]
pvecm create: put brackets around hostnames for rsync

ssh and friends differ with respect to ipv6notations
 * ssh: 'user@host'
 * ssh-copy-id: 'user@host' as it uses ssh
 * scp: 'user@[host]:file'
 * rsync --rsh=ssh: '[user@host]'

rsync accepts brackets for all of ipv4, ipv6 or named hosts, so simply
defaulting to always using them works

8 years agopvecm create: add corosync.conf parameters for ipv6
Wolfgang Bumiller [Thu, 21 May 2015 11:07:43 +0000 (13:07 +0200)]
pvecm create: add corosync.conf parameters for ipv6

pvecm create now adds the following additional corosync.conf parameters:
 * totem.ip_version
 * totem.interface.ringnumber
 * totem.interface.bindnetaddr

For ipv6 corosync needs a 'totem.interface' list with at least one entry
containing a bindnetaddr setting. Additionally 'totem.ip_version' needs to
explicitly be set to ipv6 (or an 'mcastaddr' set, which corosync can
choose automatically, though, so we let it do just that).

8 years agoinclude ::1 in a certificate's subjectAltName list
Wolfgang Bumiller [Thu, 21 May 2015 11:07:42 +0000 (13:07 +0200)]
include ::1 in a certificate's subjectAltName list

8 years agocache address families for known nodes
Wolfgang Bumiller [Thu, 21 May 2015 11:07:41 +0000 (13:07 +0200)]
cache address families for known nodes

8 years agoremote_node_ip: option to include the packet family
Wolfgang Bumiller [Tue, 12 May 2015 09:19:09 +0000 (11:19 +0200)]
remote_node_ip: option to include the packet family

If an array is requested, the function now returns ($ip, $family),
otherweise just the IP alone.
Several ipv6 related changes in other packages need to pass the packet
family to functions and will make use of this functionality.

8 years agobump version to 4.0-10
Dietmar Maurer [Fri, 8 May 2015 10:24:16 +0000 (12:24 +0200)]
bump version to 4.0-10

8 years agowhitespace cleanups
Dietmar Maurer [Fri, 8 May 2015 10:23:18 +0000 (12:23 +0200)]
whitespace cleanups

8 years agouse freeaddrinfo on getaddrinfo results when done
Wolfgang Bumiller [Fri, 8 May 2015 09:39:25 +0000 (11:39 +0200)]
use freeaddrinfo on getaddrinfo results when done

8 years agoipv6 support for lookup_node_ip
Wolfgang Bumiller [Fri, 8 May 2015 09:39:24 +0000 (11:39 +0200)]
ipv6 support for lookup_node_ip

8 years agobump version to 4.0-9
Dietmar Maurer [Tue, 5 May 2015 13:13:48 +0000 (15:13 +0200)]
bump version to 4.0-9

8 years agotrigger pve-api-updates event
Dietmar Maurer [Tue, 5 May 2015 13:12:45 +0000 (15:12 +0200)]
trigger pve-api-updates event

8 years agosystem() is declared to warn on an unused result, replacing this with umount2(2)...
Wolfgang Bumiller [Tue, 5 May 2015 07:57:11 +0000 (09:57 +0200)]
system() is declared to warn on an unused result, replacing this with umount2(2) is more efficient anyway

8 years agoWith _FORTIFY_SOURCE and optimization, glibc defines a fortify_function for open...
Wolfgang Bumiller [Tue, 5 May 2015 07:45:37 +0000 (09:45 +0200)]
With _FORTIFY_SOURCE and optimization, glibc defines a fortify_function for open(2) which checks whether the mode parameter was provided when O_CREAT was used.

8 years agomake it compile as user: don't try to resolve the node IP when the 'printmanpod'...
Wolfgang Bumiller [Tue, 5 May 2015 07:41:26 +0000 (09:41 +0200)]
make it compile as user: don't try to resolve the node IP when the 'printmanpod' or 'verifyapi' options are used

8 years agoreplace hardcoded perl paths with variables coming from perl's Config and ExtUtils...
Wolfgang Bumiller [Tue, 5 May 2015 07:07:57 +0000 (09:07 +0200)]
replace hardcoded perl paths with variables coming from perl's Config and ExtUtils::Embed modules

9 years agopve-cluster : fix typo error in mkdir /etc/corosync
Alexandre Derumier [Tue, 28 Apr 2015 15:10:51 +0000 (17:10 +0200)]
pve-cluster : fix typo error in mkdir /etc/corosync

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
9 years agonew helper PVE::Cluster::check_vmid_unused
Dietmar Maurer [Thu, 16 Apr 2015 09:01:02 +0000 (11:01 +0200)]
new helper PVE::Cluster::check_vmid_unused

9 years agobump version to 4.0-8
Dietmar Maurer [Thu, 16 Apr 2015 05:15:58 +0000 (07:15 +0200)]
bump version to 4.0-8

9 years agoallow unpriviledged users to read lxc configuration
Dietmar Maurer [Wed, 15 Apr 2015 14:16:57 +0000 (16:16 +0200)]
allow unpriviledged users to read lxc configuration

We need this to run unprivileged lxc containers.

9 years agobump version to 4.0-7
Dietmar Maurer [Fri, 10 Apr 2015 06:31:20 +0000 (08:31 +0200)]
bump version to 4.0-7

9 years agotrack configuration changes inside lxc subdirectories
Dietmar Maurer [Fri, 10 Apr 2015 06:29:44 +0000 (08:29 +0200)]
track configuration changes inside lxc subdirectories

9 years agoremove vm_is_ha_managed method
Dietmar Maurer [Fri, 27 Mar 2015 09:56:33 +0000 (10:56 +0100)]
remove vm_is_ha_managed method

9 years agobump version to 4.0-6
Dietmar Maurer [Fri, 27 Mar 2015 09:55:07 +0000 (10:55 +0100)]
bump version to 4.0-6

9 years agoadd more 'observed' files.
Dietmar Maurer [Fri, 27 Mar 2015 09:53:53 +0000 (10:53 +0100)]
add more 'observed' files.

9 years agobump version to 4.0-5
Dietmar Maurer [Fri, 20 Mar 2015 08:43:33 +0000 (09:43 +0100)]
bump version to 4.0-5