]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
build: restructure packaging
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 10 Oct 2018 11:55:05 +0000 (13:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Oct 2018 09:20:41 +0000 (11:20 +0200)
use dpkg-buildpackage and debhelper properly, add missing dependencies and
embed used perl modules from libpve-common-perl to make pve-ha-simulator
standalone.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
19 files changed:
Makefile
changelog.Debian [deleted file]
debian/changelog [new file with mode: 0644]
debian/control
debian/pve-ha-manager.install [new file with mode: 0644]
debian/pve-ha-manager.triggers [new file with mode: 0644]
debian/pve-ha-simulator.install [new file with mode: 0644]
debian/rules
debian/triggers [deleted file]
simdebian/compat [deleted file]
simdebian/control [deleted file]
simdebian/copyright [deleted file]
simdebian/rules [deleted file]
src/Makefile
src/PVE/HA/Makefile
src/PVE/HA/Resources/Makefile
src/PVE/HA/Sim/Makefile
src/PVE/HA/Sim/Resources/Makefile
src/PVE/Makefile

index b406f3fea7d7f9272fe2dd9d48412a8653e66dd3..1bf41fa45a1b50a7374ac9f37efc119efacc4ea2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,19 +17,6 @@ all: deb
 dinstall: $(DEB) $(SIMDEB)
        dpkg -i ${DEB} ${SIMDEB}
 
-
-.PHONY: simdeb
-simdeb: ${SIMDEB}
-${SIMDEB}:
-       rm -rf build
-       mkdir build
-       rsync -a src/ build
-       rsync -a simdebian/ build/debian
-       cp changelog.Debian build/debian/changelog
-       echo "git clone git://git.proxmox.com/git/pve-ha-manager.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
-       cd build; dpkg-buildpackage -rfakeroot -b -us -uc
-       lintian ${SIMDEB}
-
 .PHONY: deb
 deb: ${DEB} ${SIMDEB}
 ${DEB}:
@@ -37,10 +24,10 @@ ${DEB}:
        mkdir build
        rsync -a src/ build
        rsync -a debian/ build/debian
-       cp changelog.Debian build/debian/changelog
        echo "git clone git://git.proxmox.com/git/pve-ha-manager.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
-       cd build; dpkg-buildpackage -rfakeroot -b -us -uc
+       cd build; dpkg-buildpackage -b -us -uc
        lintian ${DEB}
+       lintian ${SIMDEB}
 
 .PHONY: clean
 clean:
diff --git a/changelog.Debian b/changelog.Debian
deleted file mode 100644 (file)
index 06845a8..0000000
+++ /dev/null
@@ -1,502 +0,0 @@
-pve-ha-manager (2.0-5) unstable; urgency=medium
-
-  * skip CRM and LRM work if last cfs update failed
-
-  * regression test system: allow to simulate cluster fs failures
-
-  * postinst: drop transitional cleanup for systemd watchdog mux socket
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 07 Feb 2018 11:00:12 +0100
-
-pve-ha-manager (2.0-4) unstable; urgency=medium
-
-  * address timing issues happening when pve-cluster.service is being restarted
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Nov 2017 11:46:50 +0100
-
-pve-ha-manager (2.0-3) unstable; urgency=medium
-
-  * add ignore state for resources
-
-  * lrm/crm service: restart on API changes
-
-  * lrm.service: do not timeout on stop
-
-  * fix #1347: let postfix fill in FQDN in fence mails
-
-  * fix #1073: do not count backup-suspended VMs as running
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Oct 2017 11:10:51 +0200
-
-pve-ha-manager (2.0-2) unstable; urgency=medium
-
-  * explicitly sync journal when disabling watchdog updates
-
-  * always queue service stop if node shuts down
-
-  * Fix shutdown order of HA and storage services
-
-  * Resource/API: abort early if resource in error state
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 14 Jun 2017 07:49:59 +0200
-
-pve-ha-manager (2.0-1) unstable; urgency=medium
-
-  * rebuild for PVE 5.0 / Debian Stretch
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 13 Mar 2017 11:31:53 +0100
-
-pve-ha-manager (1.0-40) unstable; urgency=medium
-
-  * ha-simulator: allow adding service on runtime
-
-  * ha-simulator: allow deleting service via GUI
-
-  * ha-simulator: allow new service request states over gui
-
-  * ha-simulator: use JSON instead of Dumper for manager status view
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 24 Jan 2017 10:03:07 +0100
-
-pve-ha-manager (1.0-39) unstable; urgency=medium
-
-  * add setup_environment hook to CLIHandler class
-
-  * ha-simulator: fix typo s/Mode/Node/
-
-  * is_node_shutdown: check for correct systemd targets
-
-  * Simulator: fix scrolling to end of cluster log view
-
-  * Simulator: do not use cursor position to insert log
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Jan 2017 13:15:08 +0100
-
-pve-ha-manager (1.0-38) unstable; urgency=medium
-
-  * update manual page
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Nov 2016 11:46:21 +0100
-
-pve-ha-manager (1.0-37) unstable; urgency=medium
-
-  * HA::Status: provide better/faster feedback
-
-  * Manager.pm: store flag to indicate successful start
-
-  * ha status: include common service attributes
-
-  * Groups.pm: add verbose_description for 'restricted'
-
-  * Resources.pm: use verbose_description for state
-
-  * pve-ha-group-node-list: add verbose_description
-
-  * ha-manager: remove 'enabled' and 'disabled' commands
-
-  * rename request state 'enabled' to 'started'
-
-  * get_pve_lock: correctly send a lock update request
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 22 Nov 2016 17:04:57 +0100
-
-pve-ha-manager (1.0-36) unstable; urgency=medium
-
-  * Resources: implement 'stopped' state
-
-  * ha-manager: remove obsolet pod content
-
-  * Fix #1189: correct spelling in fence mail
-
-  * API/Status: avoid using HA Environment
-
-  * factor out resource config check and default set code
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 15 Nov 2016 16:42:07 +0100
-
-pve-ha-manager (1.0-35) unstable; urgency=medium
-
-  * change service state to error if no recovery node is available
-
-  * cleanup backup & mounted locks after recovery (fixes #1100)
-
-  * add possibility to simulate locks from services
-
-  * don't run regression test when building the simulator package
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 15 Sep 2016 13:23:00 +0200
-
-pve-ha-manager (1.0-34) unstable; urgency=medium
-
-  * fix race condition on slow resource commands in started state
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 12 Sep 2016 13:07:05 +0200
-
-pve-ha-manager (1.0-33) unstable; urgency=medium
-
-  * relocate policy: try to avoid already failed nodes
-
-  * allow empty json status files
-
-  * more regression tests
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 22 Jul 2016 12:16:48 +0200
-
-pve-ha-manager (1.0-32) unstable; urgency=medium
-
-  * use correct verify function for ha-group-node-list
-
-  * send email on fence failure and success
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Jun 2016 17:01:12 +0200
-
-pve-ha-manager (1.0-31) unstable; urgency=medium
-
-  * selcet_service_node: include all online nodes in default group
-
-  * LRM: do not count erroneous service as active
-
-  * fix relocate/restart trial count leak on service deletion
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 06 May 2016 08:26:10 +0200
-
-pve-ha-manager (1.0-30) unstable; urgency=medium
-
-  * Env: allow debug logging
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 29 Apr 2016 16:50:34 +0200
-
-pve-ha-manager (1.0-29) unstable; urgency=medium
-
-  * Resources: deny setting nonexistent group
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 20 Apr 2016 18:22:28 +0200
-
-pve-ha-manager (1.0-28) unstable; urgency=medium
-
-  * Config: add get_service_status method
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 19 Apr 2016 08:41:22 +0200
-
-pve-ha-manager (1.0-27) unstable; urgency=medium
-
-  * use pve-doc-generator to generate man pages
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 08 Apr 2016 08:25:07 +0200
-
-pve-ha-manager (1.0-26) unstable; urgency=medium
-
-  * status: show added but not yet active services
-
-  * status: mark CRM as idle if no service is configured
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 15 Mar 2016 12:49:18 +0100
-
-pve-ha-manager (1.0-25) unstable; urgency=medium
-
-  * Use config_file from PVE::QemuConfig
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Mar 2016 11:50:49 +0100
-
-pve-ha-manager (1.0-24) unstable; urgency=medium
-
-  * simulator: install all virtual resources
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Mar 2016 10:30:40 +0100
-
-pve-ha-manager (1.0-23) unstable; urgency=medium
-
-  * fix infinite started <=> migrate cycle
-
-  * exec_resource_agent: process error state early
-
-  * avoid out of sync command execution in LRM
-
-  * do not pass ETRY_AGAIN back to the CRM
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 24 Feb 2016 12:15:21 +0100
-
-pve-ha-manager (1.0-22) unstable; urgency=medium
-
-  * fix 'change_service_location' misuse and recovery from fencing
-
-  * add VirtFail resource and use it in new regression tests
-
-  * improve relocation policy code in manager and LRM
-
-  * improve verbosity of API status call
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 15 Feb 2016 10:57:44 +0100
-
-pve-ha-manager (1.0-21) unstable; urgency=medium
-
-  * Fix postinstall script not removing watchdog-mux.socket
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 04 Feb 2016 18:23:47 +0100
-
-pve-ha-manager (1.0-20) unstable; urgency=medium
-
-  * LRM: do not release lock on shutdown errors
-
-  * Split up resources and move them to own sub folder
-
-  * Add virtual resources for tests and simulation
-
-  * add after_fork method to HA environment and use it in LRM
-  
- -- Proxmox Support Team <support@proxmox.com>  Wed, 27 Jan 2016 17:05:23 +0100
-
-pve-ha-manager (1.0-19) unstable; urgency=medium
-
-  * remove 'running' from migrate/relocate log message
-
-  * LRM: release agent lock on graceful shutdown
-
-  * LRM: release agent lock also on restart
-
-  * CRM: release lock on shutdown request
-
-  * TestHardware: correct shutdown/reboot behaviour of CRM and LRM
-
-  * resource agents: fix relocate
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 18 Jan 2016 12:41:08 +0100
-
-pve-ha-manager (1.0-18) unstable; urgency=medium
-
-  * pve-ha-lrm.service: depend on lxc.service
-
-  * output watchdog module name if it gets loaded
-
-  * remove watchdog-mux.socket
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Jan 2016 12:27:49 +0100
-
-pve-ha-manager (1.0-17) unstable; urgency=medium
-
-  * Resources.pm: use PVE::API2::LXC
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Jan 2016 12:25:38 +0100
-
-pve-ha-manager (1.0-16) unstable; urgency=medium
-
-  * check_active_workers: fix typo /uuid/uid/
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 21 Dec 2015 10:21:30 +0100
-
-pve-ha-manager (1.0-15) unstable; urgency=medium
-
-  * stop all resources on node shutdown (instead of freeze)
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Dec 2015 10:33:30 +0100
-
-pve-ha-manager (1.0-14) unstable; urgency=medium
-
-  * allow to configure watchdog module in /etc/default/pve-ha-manager
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Dec 2015 11:09:47 +0100
-
-pve-ha-manager (1.0-13) unstable; urgency=medium
-
-  * HA API: Fix permissions
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 30 Oct 2015 11:16:50 +0100
-
-pve-ha-manager (1.0-12) unstable; urgency=medium
-
-  * Adding constants to gain more readability
-
-  * exec_resource_agent: return valid exit code instead of die's
-
-  * code cleanups
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 29 Oct 2015 10:21:49 +0100
-
-pve-ha-manager (1.0-11) unstable; urgency=medium
-
-  * add workaround for bug #775
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 21 Oct 2015 08:58:41 +0200
-
-pve-ha-manager (1.0-10) unstable; urgency=medium
-
-  * better resource status check on addition and update
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 12 Oct 2015 18:26:24 +0200
-
-pve-ha-manager (1.0-9) unstable; urgency=medium
-
-  * delete node from CRM status when deleted from cluster
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Sep 2015 07:35:30 +0200
-
-pve-ha-manager (1.0-8) unstable; urgency=medium
-
-  * Use new lock domain sub instead of storage lock
-
- -- Proxmox Support Team <support@proxmox.com>  Sat, 26 Sep 2015 10:36:09 +0200
-
-pve-ha-manager (1.0-7) unstable; urgency=medium
-
-  * enhance ha-managers group commands
-
-  * vm_is_ha_managed: allow check on service state
-
-  * improve Makefile
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 21 Sep 2015 12:17:41 +0200
-
-pve-ha-manager (1.0-6) unstable; urgency=medium
-
-  * implement bash completion for ha-manager
-
-  * implement recovery policy for services
-
-  * simulator: fix random output of manager status
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Sep 2015 12:06:12 +0200
-
-pve-ha-manager (1.0-5) unstable; urgency=medium
-
-  * Replacing hardcoded qemu commands with plugin calls
-
-  * improve error state behaviour
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Sep 2015 08:45:36 +0200
-
-pve-ha-manager (1.0-4) unstable; urgency=medium
-
-  * groups: encode nodes as hash (internally)
-
-  * add trigger for pve-api-updates
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 16 Jun 2015 09:59:03 +0200
-
-pve-ha-manager (1.0-3) unstable; urgency=medium
-
-  * CRM: do not start if there is no resource.cfg file to avoid warnings
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 09 Jun 2015 14:35:09 +0200
-
-pve-ha-manager (1.0-2) unstable; urgency=medium
-
-  * use Wants instead of Requires inside systemd service definitions
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 09 Jun 2015 09:33:24 +0200
-
-pve-ha-manager (1.0-1) unstable; urgency=medium
-
-  * enable/start crm and lrm services by default
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 05 Jun 2015 10:03:53 +0200
-
-pve-ha-manager (0.9-3) unstable; urgency=medium
-
-  * regression test improvements
-  
- -- Proxmox Support Team <support@proxmox.com>  Fri, 10 Apr 2015 06:53:23 +0200
-
-pve-ha-manager (0.9-2) unstable; urgency=medium
-
-  * issue warning if ha group does not exist
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 07 Apr 2015 09:52:07 +0200
-
-pve-ha-manager (0.9-1) unstable; urgency=medium
-
-  * rename vm resource prefix: pvevm: => vm:
-
-  * add API to query ha status
-
-  * allow to use simply VMIDs as resource id
-
-  * finalize ha api
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 03 Apr 2015 06:18:05 +0200
-
-pve-ha-manager (0.8-2) unstable; urgency=medium
-
-  * lrm: reduce TimeoutStopSec to 95
-
-  * lrm: set systemd killmode to 'process'
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 02 Apr 2015 08:48:24 +0200
-
-pve-ha-manager (0.8-1) unstable; urgency=medium
-
-  * currecrtly send cfs lock update request
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 02 Apr 2015 08:18:00 +0200
-
-pve-ha-manager (0.7-1) unstable; urgency=medium
-
-  * create /etc/pve/ha automatically
-
-  * use correct package for lock_ha_config
-
-  * fix ha-manager status when ha is unconfigured
-
-  * do not unlink watchdog socket when started via systemd
-
-  * depend on systemd
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 01 Apr 2015 11:05:08 +0200
-
-pve-ha-manager (0.6-1) unstable; urgency=medium
-
-  * move configuration handling into PVE::HA::Config
-
-  * ha-manager status: add --verbose flag
-
-  * depend on qemu-server
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 27 Mar 2015 12:28:50 +0100
-
-pve-ha-manager (0.5-1) unstable; urgency=medium
-
-  * implement service migration
-
-  * fix service dependencies (allow restart, reboot)
-
-  * freeze services during reboot/restart
-  
- -- Proxmox Support Team <support@proxmox.com>  Thu, 26 Mar 2015 13:22:58 +0100
-
-pve-ha-manager (0.4-1) unstable; urgency=medium
-
-  * increase fence_delay to 60 seconds
-
-  * fix regression test environment
-
-  * fix failover after master crash with pending fence action
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 25 Mar 2015 13:59:28 +0100
-
-pve-ha-manager (0.3-1) unstable; urgency=medium
-
-  * really activate softdog
-
-  * correctly count active services
-
-  * implement fence_delay to avoid immediate fencing
-
-  * pve-ha-simulator: reset watchdog with poweroff
-
-  * pve-ha-simulator: use option nofailback for default groups
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 16 Mar 2015 13:03:23 +0100
-
-pve-ha-manager (0.2-1) unstable; urgency=medium
-
-  * add ha-manager command line tool
-
-  * start implementing resources and groups API
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Mar 2015 09:26:12 +0100
-
-pve-ha-manager (0.1-1) unstable; urgency=low
-
-  * first package
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 18 Feb 2015 11:30:21 +0100
-
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..06845a8
--- /dev/null
@@ -0,0 +1,502 @@
+pve-ha-manager (2.0-5) unstable; urgency=medium
+
+  * skip CRM and LRM work if last cfs update failed
+
+  * regression test system: allow to simulate cluster fs failures
+
+  * postinst: drop transitional cleanup for systemd watchdog mux socket
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 07 Feb 2018 11:00:12 +0100
+
+pve-ha-manager (2.0-4) unstable; urgency=medium
+
+  * address timing issues happening when pve-cluster.service is being restarted
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 09 Nov 2017 11:46:50 +0100
+
+pve-ha-manager (2.0-3) unstable; urgency=medium
+
+  * add ignore state for resources
+
+  * lrm/crm service: restart on API changes
+
+  * lrm.service: do not timeout on stop
+
+  * fix #1347: let postfix fill in FQDN in fence mails
+
+  * fix #1073: do not count backup-suspended VMs as running
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Oct 2017 11:10:51 +0200
+
+pve-ha-manager (2.0-2) unstable; urgency=medium
+
+  * explicitly sync journal when disabling watchdog updates
+
+  * always queue service stop if node shuts down
+
+  * Fix shutdown order of HA and storage services
+
+  * Resource/API: abort early if resource in error state
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 14 Jun 2017 07:49:59 +0200
+
+pve-ha-manager (2.0-1) unstable; urgency=medium
+
+  * rebuild for PVE 5.0 / Debian Stretch
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 13 Mar 2017 11:31:53 +0100
+
+pve-ha-manager (1.0-40) unstable; urgency=medium
+
+  * ha-simulator: allow adding service on runtime
+
+  * ha-simulator: allow deleting service via GUI
+
+  * ha-simulator: allow new service request states over gui
+
+  * ha-simulator: use JSON instead of Dumper for manager status view
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 24 Jan 2017 10:03:07 +0100
+
+pve-ha-manager (1.0-39) unstable; urgency=medium
+
+  * add setup_environment hook to CLIHandler class
+
+  * ha-simulator: fix typo s/Mode/Node/
+
+  * is_node_shutdown: check for correct systemd targets
+
+  * Simulator: fix scrolling to end of cluster log view
+
+  * Simulator: do not use cursor position to insert log
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Jan 2017 13:15:08 +0100
+
+pve-ha-manager (1.0-38) unstable; urgency=medium
+
+  * update manual page
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Nov 2016 11:46:21 +0100
+
+pve-ha-manager (1.0-37) unstable; urgency=medium
+
+  * HA::Status: provide better/faster feedback
+
+  * Manager.pm: store flag to indicate successful start
+
+  * ha status: include common service attributes
+
+  * Groups.pm: add verbose_description for 'restricted'
+
+  * Resources.pm: use verbose_description for state
+
+  * pve-ha-group-node-list: add verbose_description
+
+  * ha-manager: remove 'enabled' and 'disabled' commands
+
+  * rename request state 'enabled' to 'started'
+
+  * get_pve_lock: correctly send a lock update request
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 22 Nov 2016 17:04:57 +0100
+
+pve-ha-manager (1.0-36) unstable; urgency=medium
+
+  * Resources: implement 'stopped' state
+
+  * ha-manager: remove obsolet pod content
+
+  * Fix #1189: correct spelling in fence mail
+
+  * API/Status: avoid using HA Environment
+
+  * factor out resource config check and default set code
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 15 Nov 2016 16:42:07 +0100
+
+pve-ha-manager (1.0-35) unstable; urgency=medium
+
+  * change service state to error if no recovery node is available
+
+  * cleanup backup & mounted locks after recovery (fixes #1100)
+
+  * add possibility to simulate locks from services
+
+  * don't run regression test when building the simulator package
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 15 Sep 2016 13:23:00 +0200
+
+pve-ha-manager (1.0-34) unstable; urgency=medium
+
+  * fix race condition on slow resource commands in started state
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 12 Sep 2016 13:07:05 +0200
+
+pve-ha-manager (1.0-33) unstable; urgency=medium
+
+  * relocate policy: try to avoid already failed nodes
+
+  * allow empty json status files
+
+  * more regression tests
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 22 Jul 2016 12:16:48 +0200
+
+pve-ha-manager (1.0-32) unstable; urgency=medium
+
+  * use correct verify function for ha-group-node-list
+
+  * send email on fence failure and success
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Jun 2016 17:01:12 +0200
+
+pve-ha-manager (1.0-31) unstable; urgency=medium
+
+  * selcet_service_node: include all online nodes in default group
+
+  * LRM: do not count erroneous service as active
+
+  * fix relocate/restart trial count leak on service deletion
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 06 May 2016 08:26:10 +0200
+
+pve-ha-manager (1.0-30) unstable; urgency=medium
+
+  * Env: allow debug logging
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 29 Apr 2016 16:50:34 +0200
+
+pve-ha-manager (1.0-29) unstable; urgency=medium
+
+  * Resources: deny setting nonexistent group
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 20 Apr 2016 18:22:28 +0200
+
+pve-ha-manager (1.0-28) unstable; urgency=medium
+
+  * Config: add get_service_status method
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 19 Apr 2016 08:41:22 +0200
+
+pve-ha-manager (1.0-27) unstable; urgency=medium
+
+  * use pve-doc-generator to generate man pages
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 08 Apr 2016 08:25:07 +0200
+
+pve-ha-manager (1.0-26) unstable; urgency=medium
+
+  * status: show added but not yet active services
+
+  * status: mark CRM as idle if no service is configured
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 15 Mar 2016 12:49:18 +0100
+
+pve-ha-manager (1.0-25) unstable; urgency=medium
+
+  * Use config_file from PVE::QemuConfig
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Mar 2016 11:50:49 +0100
+
+pve-ha-manager (1.0-24) unstable; urgency=medium
+
+  * simulator: install all virtual resources
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 02 Mar 2016 10:30:40 +0100
+
+pve-ha-manager (1.0-23) unstable; urgency=medium
+
+  * fix infinite started <=> migrate cycle
+
+  * exec_resource_agent: process error state early
+
+  * avoid out of sync command execution in LRM
+
+  * do not pass ETRY_AGAIN back to the CRM
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 24 Feb 2016 12:15:21 +0100
+
+pve-ha-manager (1.0-22) unstable; urgency=medium
+
+  * fix 'change_service_location' misuse and recovery from fencing
+
+  * add VirtFail resource and use it in new regression tests
+
+  * improve relocation policy code in manager and LRM
+
+  * improve verbosity of API status call
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 15 Feb 2016 10:57:44 +0100
+
+pve-ha-manager (1.0-21) unstable; urgency=medium
+
+  * Fix postinstall script not removing watchdog-mux.socket
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 04 Feb 2016 18:23:47 +0100
+
+pve-ha-manager (1.0-20) unstable; urgency=medium
+
+  * LRM: do not release lock on shutdown errors
+
+  * Split up resources and move them to own sub folder
+
+  * Add virtual resources for tests and simulation
+
+  * add after_fork method to HA environment and use it in LRM
+  
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 27 Jan 2016 17:05:23 +0100
+
+pve-ha-manager (1.0-19) unstable; urgency=medium
+
+  * remove 'running' from migrate/relocate log message
+
+  * LRM: release agent lock on graceful shutdown
+
+  * LRM: release agent lock also on restart
+
+  * CRM: release lock on shutdown request
+
+  * TestHardware: correct shutdown/reboot behaviour of CRM and LRM
+
+  * resource agents: fix relocate
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 18 Jan 2016 12:41:08 +0100
+
+pve-ha-manager (1.0-18) unstable; urgency=medium
+
+  * pve-ha-lrm.service: depend on lxc.service
+
+  * output watchdog module name if it gets loaded
+
+  * remove watchdog-mux.socket
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 12 Jan 2016 12:27:49 +0100
+
+pve-ha-manager (1.0-17) unstable; urgency=medium
+
+  * Resources.pm: use PVE::API2::LXC
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Jan 2016 12:25:38 +0100
+
+pve-ha-manager (1.0-16) unstable; urgency=medium
+
+  * check_active_workers: fix typo /uuid/uid/
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 21 Dec 2015 10:21:30 +0100
+
+pve-ha-manager (1.0-15) unstable; urgency=medium
+
+  * stop all resources on node shutdown (instead of freeze)
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Dec 2015 10:33:30 +0100
+
+pve-ha-manager (1.0-14) unstable; urgency=medium
+
+  * allow to configure watchdog module in /etc/default/pve-ha-manager
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 03 Dec 2015 11:09:47 +0100
+
+pve-ha-manager (1.0-13) unstable; urgency=medium
+
+  * HA API: Fix permissions
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 30 Oct 2015 11:16:50 +0100
+
+pve-ha-manager (1.0-12) unstable; urgency=medium
+
+  * Adding constants to gain more readability
+
+  * exec_resource_agent: return valid exit code instead of die's
+
+  * code cleanups
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 29 Oct 2015 10:21:49 +0100
+
+pve-ha-manager (1.0-11) unstable; urgency=medium
+
+  * add workaround for bug #775
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 21 Oct 2015 08:58:41 +0200
+
+pve-ha-manager (1.0-10) unstable; urgency=medium
+
+  * better resource status check on addition and update
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 12 Oct 2015 18:26:24 +0200
+
+pve-ha-manager (1.0-9) unstable; urgency=medium
+
+  * delete node from CRM status when deleted from cluster
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Sep 2015 07:35:30 +0200
+
+pve-ha-manager (1.0-8) unstable; urgency=medium
+
+  * Use new lock domain sub instead of storage lock
+
+ -- Proxmox Support Team <support@proxmox.com>  Sat, 26 Sep 2015 10:36:09 +0200
+
+pve-ha-manager (1.0-7) unstable; urgency=medium
+
+  * enhance ha-managers group commands
+
+  * vm_is_ha_managed: allow check on service state
+
+  * improve Makefile
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 21 Sep 2015 12:17:41 +0200
+
+pve-ha-manager (1.0-6) unstable; urgency=medium
+
+  * implement bash completion for ha-manager
+
+  * implement recovery policy for services
+
+  * simulator: fix random output of manager status
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 16 Sep 2015 12:06:12 +0200
+
+pve-ha-manager (1.0-5) unstable; urgency=medium
+
+  * Replacing hardcoded qemu commands with plugin calls
+
+  * improve error state behaviour
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Sep 2015 08:45:36 +0200
+
+pve-ha-manager (1.0-4) unstable; urgency=medium
+
+  * groups: encode nodes as hash (internally)
+
+  * add trigger for pve-api-updates
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 16 Jun 2015 09:59:03 +0200
+
+pve-ha-manager (1.0-3) unstable; urgency=medium
+
+  * CRM: do not start if there is no resource.cfg file to avoid warnings
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 09 Jun 2015 14:35:09 +0200
+
+pve-ha-manager (1.0-2) unstable; urgency=medium
+
+  * use Wants instead of Requires inside systemd service definitions
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 09 Jun 2015 09:33:24 +0200
+
+pve-ha-manager (1.0-1) unstable; urgency=medium
+
+  * enable/start crm and lrm services by default
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 05 Jun 2015 10:03:53 +0200
+
+pve-ha-manager (0.9-3) unstable; urgency=medium
+
+  * regression test improvements
+  
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 10 Apr 2015 06:53:23 +0200
+
+pve-ha-manager (0.9-2) unstable; urgency=medium
+
+  * issue warning if ha group does not exist
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 07 Apr 2015 09:52:07 +0200
+
+pve-ha-manager (0.9-1) unstable; urgency=medium
+
+  * rename vm resource prefix: pvevm: => vm:
+
+  * add API to query ha status
+
+  * allow to use simply VMIDs as resource id
+
+  * finalize ha api
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 03 Apr 2015 06:18:05 +0200
+
+pve-ha-manager (0.8-2) unstable; urgency=medium
+
+  * lrm: reduce TimeoutStopSec to 95
+
+  * lrm: set systemd killmode to 'process'
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 02 Apr 2015 08:48:24 +0200
+
+pve-ha-manager (0.8-1) unstable; urgency=medium
+
+  * currecrtly send cfs lock update request
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 02 Apr 2015 08:18:00 +0200
+
+pve-ha-manager (0.7-1) unstable; urgency=medium
+
+  * create /etc/pve/ha automatically
+
+  * use correct package for lock_ha_config
+
+  * fix ha-manager status when ha is unconfigured
+
+  * do not unlink watchdog socket when started via systemd
+
+  * depend on systemd
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 01 Apr 2015 11:05:08 +0200
+
+pve-ha-manager (0.6-1) unstable; urgency=medium
+
+  * move configuration handling into PVE::HA::Config
+
+  * ha-manager status: add --verbose flag
+
+  * depend on qemu-server
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 27 Mar 2015 12:28:50 +0100
+
+pve-ha-manager (0.5-1) unstable; urgency=medium
+
+  * implement service migration
+
+  * fix service dependencies (allow restart, reboot)
+
+  * freeze services during reboot/restart
+  
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 26 Mar 2015 13:22:58 +0100
+
+pve-ha-manager (0.4-1) unstable; urgency=medium
+
+  * increase fence_delay to 60 seconds
+
+  * fix regression test environment
+
+  * fix failover after master crash with pending fence action
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 25 Mar 2015 13:59:28 +0100
+
+pve-ha-manager (0.3-1) unstable; urgency=medium
+
+  * really activate softdog
+
+  * correctly count active services
+
+  * implement fence_delay to avoid immediate fencing
+
+  * pve-ha-simulator: reset watchdog with poweroff
+
+  * pve-ha-simulator: use option nofailback for default groups
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 16 Mar 2015 13:03:23 +0100
+
+pve-ha-manager (0.2-1) unstable; urgency=medium
+
+  * add ha-manager command line tool
+
+  * start implementing resources and groups API
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Mar 2015 09:26:12 +0100
+
+pve-ha-manager (0.1-1) unstable; urgency=low
+
+  * first package
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 18 Feb 2015 11:30:21 +0100
+
index 1758e7373e69630023d3e6a855af3523a0258bda..ddd4d15f4949237205636209ed7c4f2ad58a499e 100644 (file)
@@ -16,7 +16,8 @@ Package: pve-ha-manager
 Section: perl
 Priority: optional
 Architecture: any
-Depends: libpve-common-perl,
+Depends: libjson-perl,
+         libpve-common-perl,
          pve-cluster (>= 3.0-17),
          qemu-server,
          systemd,
@@ -26,3 +27,21 @@ Depends: libpve-common-perl,
 Conflicts: watchdog,
 Description: Proxmox VE HA Manager
  HA Manager Proxmox VE.
+
+Package: pve-ha-simulator
+Section: perl
+Priority: optional
+Architecture: all
+Depends: libclone-perl,
+         libdevel-cycle-perl,
+         libfilesys-df-perl,
+         libglib-perl,
+         libgtk3-perl,
+         libjson-perl,
+         libnet-ip-perl,
+         libstring-shellquote-perl,
+         liburi-perl,
+         ${misc:Depends},
+         ${perl:Depends},
+Description: Proxmox VE HA Simulator
+ This is a simple GUI to simulate the behavior of a Proxmox VE HA cluster.
diff --git a/debian/pve-ha-manager.install b/debian/pve-ha-manager.install
new file mode 100644 (file)
index 0000000..7a3f13d
--- /dev/null
@@ -0,0 +1,34 @@
+/usr/sbin/ha-manager
+/usr/sbin/pve-ha-crm
+/usr/sbin/pve-ha-lrm
+/usr/sbin/watchdog-mux
+/usr/share/bash-completion/completions/ha-manager
+/usr/share/bash-completion/completions/pve-ha-crm
+/usr/share/bash-completion/completions/pve-ha-lrm
+/usr/share/man
+/usr/share/man/man1
+/usr/share/man/man1/ha-manager.1.gz
+/usr/share/man/man8
+/usr/share/man/man8/pve-ha-crm.8.gz
+/usr/share/man/man8/pve-ha-lrm.8.gz
+/usr/share/perl5/PVE/API2/HA/Groups.pm
+/usr/share/perl5/PVE/API2/HA/Resources.pm
+/usr/share/perl5/PVE/API2/HA/Status.pm
+/usr/share/perl5/PVE/CLI/ha_manager.pm
+/usr/share/perl5/PVE/HA/CRM.pm
+/usr/share/perl5/PVE/HA/Config.pm
+/usr/share/perl5/PVE/HA/Config.pm
+/usr/share/perl5/PVE/HA/Env.pm
+/usr/share/perl5/PVE/HA/Env/PVE2.pm
+/usr/share/perl5/PVE/HA/Fence.pm
+/usr/share/perl5/PVE/HA/FenceConfig.pm
+/usr/share/perl5/PVE/HA/Groups.pm
+/usr/share/perl5/PVE/HA/LRM.pm
+/usr/share/perl5/PVE/HA/Manager.pm
+/usr/share/perl5/PVE/HA/NodeStatus.pm
+/usr/share/perl5/PVE/HA/Resources.pm
+/usr/share/perl5/PVE/HA/Resources/PVECT.pm
+/usr/share/perl5/PVE/HA/Resources/PVEVM.pm
+/usr/share/perl5/PVE/HA/Tools.pm
+/usr/share/perl5/PVE/Service/pve_ha_crm.pm
+/usr/share/perl5/PVE/Service/pve_ha_lrm.pm
diff --git a/debian/pve-ha-manager.triggers b/debian/pve-ha-manager.triggers
new file mode 100644 (file)
index 0000000..fda3139
--- /dev/null
@@ -0,0 +1,2 @@
+activate-noawait pve-api-updates
+interest-noawait pve-api-updates
diff --git a/debian/pve-ha-simulator.install b/debian/pve-ha-simulator.install
new file mode 100644 (file)
index 0000000..4948a77
--- /dev/null
@@ -0,0 +1,2 @@
+/usr/sbin/pve-ha-simulator
+/usr/share/pve-ha-simulator/PVE
index 468631f68e070278e2da6ed8054552051a78db8c..b2159114772634d6496195979e158bafae67127a 100755 (executable)
 %:
        dh $@ --with=systemd
 
+override_dh_install:
+       # embed copies of libpve-common-perl files needed by simulator
+       install -d -m 0755 debian/tmp/usr/share/pve-ha-simulator/PVE
+       install -m 0644 \
+               /usr/share/perl5/PVE/Exception.pm \
+               /usr/share/perl5/PVE/JSONSchema.pm \
+               /usr/share/perl5/PVE/ProcFSTools.pm \
+               /usr/share/perl5/PVE/SafeSyslog.pm \
+               /usr/share/perl5/PVE/SectionConfig.pm \
+               /usr/share/perl5/PVE/Syscall.pm \
+               /usr/share/perl5/PVE/Tools.pm \
+               debian/tmp/usr/share/pve-ha-simulator/PVE/
+       dh_install --fail-missing
+
 # dh_systemd_enable watchdog-mux despite it being static to get it installed in
 # the correct location/package without manual intervention
 override_dh_systemd_enable:
diff --git a/debian/triggers b/debian/triggers
deleted file mode 100644 (file)
index fda3139..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-activate-noawait pve-api-updates
-interest-noawait pve-api-updates
diff --git a/simdebian/compat b/simdebian/compat
deleted file mode 100644 (file)
index ec63514..0000000
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/simdebian/control b/simdebian/control
deleted file mode 100644 (file)
index 5b692a7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Source: pve-ha-manager
-Section: perl
-Priority: extra
-Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 7.0.50~), libpve-common-perl, libglib-perl, libgtk3-perl
-Standards-Version: 3.8.4
-
-Package: pve-ha-simulator
-Section: perl
-Priority: optional
-Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libpve-common-perl, libglib-perl, libgtk3-perl
-Description: Proxmox VE HA Simulator
- This is a simple GUI to simulate the behavior of a Proxmox VE HA cluster.
diff --git a/simdebian/copyright b/simdebian/copyright
deleted file mode 100644 (file)
index 3ef2e85..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Copyright (C) 2015 Proxmox Server Solutions GmbH
-
-This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/simdebian/rules b/simdebian/rules
deleted file mode 100755 (executable)
index 4a6f1c9..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-%:
-       dh $@
-
-override_dh_auto_test:
-
-
-override_dh_auto_install:
-
-       make DESTDIR=$$(pwd)/debian/pve-ha-simulator installsim
index f70f06d32b570bf8a5a87f001788aacb30f4f69e..d34d47e7e67c750fb8439a598ee8d69b88e1e60c 100644 (file)
@@ -34,7 +34,7 @@ watchdog-mux: watchdog-mux.c
        gcc watchdog-mux.c -o watchdog-mux -Wall -Wl,-z,relro
 
 .PHONY: install
-install: watchdog-mux pve-ha-crm pve-ha-lrm ha-manager.1 pve-ha-crm.8 pve-ha-lrm.8 ha-manager.bash-completion pve-ha-lrm.bash-completion pve-ha-crm.bash-completion
+install: watchdog-mux pve-ha-crm pve-ha-lrm ha-manager.1 pve-ha-crm.8 pve-ha-lrm.8 ha-manager.bash-completion pve-ha-lrm.bash-completion pve-ha-crm.bash-completion pve-ha-simulator
        PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::Service::pve_ha_crm; PVE::Service::pve_ha_crm->verify_api();"
        PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::Service::pve_ha_lrm; PVE::Service::pve_ha_lrm->verify_api();"
        PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::ha_manager; PVE::CLI::ha_manager->verify_api();"
@@ -43,10 +43,12 @@ install: watchdog-mux pve-ha-crm pve-ha-lrm ha-manager.1 pve-ha-crm.8 pve-ha-lrm
        install -m 0755 pve-ha-lrm ${DESTDIR}${SBINDIR}
        install -m 0755 ha-manager ${DESTDIR}${SBINDIR}
        install -m 0755 watchdog-mux ${DESTDIR}${SBINDIR}
+       install -m 0755 pve-ha-simulator ${DESTDIR}${SBINDIR}
        install -m 0644 -D pve-ha-crm.bash-completion ${DESTDIR}${BASHCOMPLDIR}/pve-ha-crm
        install -m 0644 -D pve-ha-lrm.bash-completion ${DESTDIR}${BASHCOMPLDIR}/pve-ha-lrm
        install -m 0644 -D ha-manager.bash-completion ${DESTDIR}${BASHCOMPLDIR}/ha-manager
        make -C PVE install
+       make -C PVE PERLDIR=${PREFIX}/share/${SIMPACKAGE} installsim
        install -d ${DESTDIR}/${MAN8DIR}
        install -m 0644 pve-ha-crm.8 ${DESTDIR}/${MAN8DIR}
        gzip -9 ${DESTDIR}/${MAN8DIR}/pve-ha-crm.8
@@ -56,12 +58,6 @@ install: watchdog-mux pve-ha-crm pve-ha-lrm ha-manager.1 pve-ha-crm.8 pve-ha-lrm
        install -m 0644 ha-manager.1 ${DESTDIR}/${MAN1DIR}
        gzip -9 ${DESTDIR}/${MAN1DIR}/ha-manager.1
 
-.PHONY: installsim
-installsim: pve-ha-simulator
-       install -d ${DESTDIR}${SBINDIR}
-       install -m 0755 pve-ha-simulator ${DESTDIR}${SBINDIR}
-       make -C PVE PERLDIR=${PREFIX}/share/${SIMPACKAGE} installsim
-
 .PHONY: test
 test: 
        make -C test test
index 313e6b0ac29e0b5200143b4e1f253ccd7cb8a9fe..c366f6c6147d0042ac17da83623091a8e1cb09c3 100644 (file)
@@ -14,4 +14,4 @@ install:
 installsim:
        install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/HA
        for i in ${SIM_SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/HA/$$i; done
-       make -C Sim installsim
+       make -C Sim install
index ea840a7529fc9d062de174066b090398d7a54b40..28fbb55763e10d6e1f440a4c75ef0193a64678e2 100644 (file)
@@ -4,8 +4,3 @@ SOURCES=PVEVM.pm PVECT.pm
 install:
        install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/HA/Resources
        for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/HA/Resources/$$i; done
-
-.PHONY: installsim
-installsim:
-       install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/HA/Resources
-       for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/HA/Resources/$$i; done
index 793f142ed87898f1f1fc25d8f784426d91e66b6a..cb8fefff9c6b89ff4479860d70f2558a0e60f991 100644 (file)
@@ -1,7 +1,7 @@
 SOURCES=Env.pm Hardware.pm TestEnv.pm TestHardware.pm RTEnv.pm RTHardware.pm Resources.pm
 
-.PHONY: installsim
-installsim:
+.PHONY: install
+install:
        install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/HA/Sim
        for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/HA/Sim/$$i; done
-       make -C Resources installsim
+       make -C Resources install
index b15a8461b8faeef1fb532ef24085640482409f5e..bfbb08e97c48f05c38e97c86b64e0c609a699683 100644 (file)
@@ -1,6 +1,6 @@
 SOURCES=VirtVM.pm VirtCT.pm VirtFail.pm
 
-.PHONY: installsim
-installsim:
+.PHONY: install
+install:
        install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE/HA/Sim/Resources
        for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/HA/Sim/Resources/$$i; done
index b57dd06474cd288b770b6011c8006f63e206c21b..7da9fede5934ea6849a881c57f24b104ebc76cf0 100644 (file)
@@ -1,4 +1,3 @@
-
 .PHONY: install
 install:
        install -d -m 0755 ${DESTDIR}${PERLDIR}/PVE