Name: pcs Version: 0.9.165 Release: 6%{?dist}.2 License: GPLv2 URL: https://github.com/ClusterLabs/pcs Group: System Environment/Base Summary: Pacemaker Configuration System #building only for architectures with pacemaker and corosync available ExclusiveArch: i686 x86_64 s390x ppc64le aarch64 %global pcs_snmp_pkg_name pcs-snmp %global pyagentx_version 0.4.pcs.1 %global bundled_lib_dir pcs/bundled %global pyagentx_dir %{bundled_lib_dir}/pyagentx #part after last slash is recognized as filename in look-aside repository #desired name is achived by trick with hash anchor Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: HAM-logo.png Source2: pcsd-bundle-config-1 Source11: https://rubygems.org/downloads/backports-3.11.3.gem Source12: https://rubygems.org/downloads/multi_json-1.13.1.gem Source13: https://rubygems.org/downloads/open4-1.3.4.gem Source14: https://rubygems.org/downloads/orderedhash-0.0.6.gem Source15: https://rubygems.org/downloads/rack-protection-1.5.5.gem Source16: https://rubygems.org/downloads/rack-test-0.7.0.gem Source17: https://rubygems.org/downloads/rack-1.6.10.gem Source18: https://rubygems.org/downloads/rpam-ruby19-1.2.1.gem Source19: https://rubygems.org/downloads/sinatra-contrib-1.4.7.gem Source20: https://rubygems.org/downloads/sinatra-1.4.8.gem Source21: https://rubygems.org/downloads/tilt-2.0.8.gem Source22: https://rubygems.org/downloads/ethon-0.11.0.gem Source23: https://rubygems.org/downloads/ffi-1.9.25.gem Source31: https://github.com/testing-cabal/mock/archive/1.0.1.tar.gz#/mock-1.0.1.tar.gz Source41: https://github.com/ondrejmular/pyagentx/archive/v%{pyagentx_version}.tar.gz#/pyagentx-%{pyagentx_version}.tar.gz Patch1: bz1462248-01-fix-error-for-an-inaccessible-resource-in-a-bundle.patch Patch2: bz1572886-01-fix-syntax-multiple-except.-as-parenthes.-tuple.patch Patch3: bz1475318-01-rfe-validate-nodes-watchdog-device-by-using-sbd.patch Patch4: bz1599758-01-fix-node-communicator-getter.patch Patch5: bz1600169-01-disable-usage-of-Expect-HTTP-header.patch Patch6: bz1488044-01-fix-pcs-cluster-cib-push-for-old-feature-set.patch Patch7: bz1475318-02-rfe-validate-nodes-watchdog-device-by-using-sbd.patch Patch8: bz1623181-01-fix-instance-attr-setting-for-OSP-agents.patch Patch98: bz1458153-01-give-back-orig.-master-behav.-resource-create.patch Patch99: bz1459503-01-OSP-workarounds-not-compatible-wi.patch Patch100: adapt-working-with-gems-to-rhel-7.patch #next patch is needed for situation when the rhel6 cluster is controlled from #rhel7 gui Patch101: change-cman-to-rhel6-in-messages.patch Patch102: show-only-warning-when-crm_mon-xml-is-invalid.patch Patch103: cache-tokens-read-from-pcsd.patch Patch104: fix-logging-in-pcsd.patch Patch105: lower-load-created-by-config-files-syncing-in-pcsd.patch Patch106: fix-crashes-in-pcs-cluster-auth.patch # git for patches BuildRequires: git #printf from coreutils is used in makefile BuildRequires: coreutils # python for pcs BuildRequires: python BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-pycurl # gcc for compiling custom rubygems BuildRequires: gcc BuildRequires: gcc-c++ # ruby and gems for pcsd BuildRequires: ruby >= 2.0.0 BuildRequires: rubygems BuildRequires: ruby-devel # pam devel for compiling rubygem-rpam-ruby19 BuildRequires: pam-devel BuildRequires: rubygem-bundler BuildRequires: rubygem-json BuildRequires: rubygem-minitest #for building rubygem-ffi BuildRequires: libffi-devel # following for UpdateTimestamps sanitization function BuildRequires: diffstat BuildRequires: systemd-units #for tests BuildRequires: python-lxml BuildRequires: corosync BuildRequires: pacemaker BuildRequires: pacemaker-cli BuildRequires: fence-agents-all # pcsd fonts and font management tools BuildRequires: fontconfig BuildRequires: liberation-sans-fonts BuildRequires: overpass-fonts # python and libraries for pcs, setuptools for pcs entrypoint Requires: python Requires: python-lxml Requires: python-setuptools Requires: python-clufter >= 0.59.0 Requires: python-pycurl # ruby and gems for pcsd Requires: ruby >= 2.0.0 Requires: rubygem-json # for killall Requires: psmisc # for working with certificates (validation etc.) Requires: openssl # cluster stack and related packages Requires: corosync Requires: pacemaker Requires: pacemaker-cli # for post, preun and postun macros Requires(post): systemd Requires(preun): systemd Requires(postun): systemd # pcsd fonts Requires: liberation-sans-fonts Requires: overpass-fonts Provides: bundled(rubygem-backports) = 3.11.3 Provides: bundled(rubygem-multi_json) = 1.13.1 Provides: bundled(rubygem-open4) = 1.3.4 Provides: bundled(rubygem-orderedhash) = 0.0.6 Provides: bundled(rubygem-rack) = 1.6.10 Provides: bundled(rubygem-rack-protection) = 1.5.5 Provides: bundled(rubygem-rack-test) = 0.6.3 Provides: bundled(rubygem-rpam-ruby19) = 1.2.1 Provides: bundled(rubygem-sinatra) = 1.4.8 Provides: bundled(rubygem-sinatra-contrib) = 1.4.7 Provides: bundled(rubygem-tilt) = 2.0.6 Provides: bundled(rubygem-ethon) = 0.11.0 Provides: bundled(rubygem-ffi) = 1.9.25 %description pcs is a corosync and pacemaker configuration tool. It permits users to easily view, modify and create pacemaker based clusters. # pcs-snmp package definition %package -n %{pcs_snmp_pkg_name} Group: System Environment/Base Summary: Pacemaker cluster SNMP agent License: GPLv2 and BSD-2-Clause URL: https://github.com/ClusterLabs/pcs # tar for unpacking pyagetx source tar ball BuildRequires: tar Requires: pcs = %{version}-%{release} Requires: pacemaker Requires: net-snmp Provides: bundled(pyagentx) = %{pyagentx_version} %description -n %{pcs_snmp_pkg_name} SNMP agent that provides information about pacemaker cluster to the master agent (snmpd) %define PCS_PREFIX /usr %prep %autosetup -p1 -S git # -- following borrowed from python-simplejon.el5 -- # Update timestamps on the files touched by a patch, to avoid non-equal # .pyc/.pyo files across the multilib peers within a build, where "Level" # is the patch prefix option (e.g. -p1) UpdateTimestamps() { Level=$1 PatchFile=$2 # Locate the affected files: for f in $(diffstat $Level -l $PatchFile); do # Set the files to have the same timestamp as that of the patch: touch -r $PatchFile $f done } UpdateTimestamps -p1 %{PATCH1} UpdateTimestamps -p1 %{PATCH2} UpdateTimestamps -p1 %{PATCH3} UpdateTimestamps -p1 %{PATCH4} UpdateTimestamps -p1 %{PATCH5} UpdateTimestamps -p1 %{PATCH6} UpdateTimestamps -p1 %{PATCH7} UpdateTimestamps -p1 %{PATCH8} UpdateTimestamps -p1 %{PATCH98} UpdateTimestamps -p1 %{PATCH99} UpdateTimestamps -p1 %{PATCH100} UpdateTimestamps -p1 %{PATCH101} UpdateTimestamps -p1 %{PATCH102} UpdateTimestamps -p1 %{PATCH106} cp -f %SOURCE1 pcsd/public/images mkdir -p pcsd/.bundle cp -f %SOURCE2 pcsd/.bundle/config mkdir -p pcsd/vendor/cache #copy ruby gems cp -f %SOURCE11 pcsd/vendor/cache cp -f %SOURCE12 pcsd/vendor/cache cp -f %SOURCE13 pcsd/vendor/cache cp -f %SOURCE14 pcsd/vendor/cache cp -f %SOURCE15 pcsd/vendor/cache cp -f %SOURCE16 pcsd/vendor/cache cp -f %SOURCE17 pcsd/vendor/cache cp -f %SOURCE18 pcsd/vendor/cache cp -f %SOURCE19 pcsd/vendor/cache cp -f %SOURCE20 pcsd/vendor/cache cp -f %SOURCE21 pcsd/vendor/cache cp -f %SOURCE22 pcsd/vendor/cache cp -f %SOURCE23 pcsd/vendor/cache #ruby gems copied mkdir -p %{bundled_lib_dir} tar -xzf %SOURCE41 -C %{bundled_lib_dir} mv %{bundled_lib_dir}/pyagentx-%{pyagentx_version} %{pyagentx_dir} cp %{pyagentx_dir}/LICENSE.txt pyagentx_LICENSE.txt cp %{pyagentx_dir}/CONTRIBUTORS.txt pyagentx_CONTRIBUTORS.txt cp %{pyagentx_dir}/README.md pyagentx_README.md %build %install rm -rf $RPM_BUILD_ROOT pwd make install \ DESTDIR=$RPM_BUILD_ROOT \ PYTHON_SITELIB=%{python_sitelib} \ PREFIX=%{PCS_PREFIX} \ BASH_COMPLETION_DIR=$RPM_BUILD_ROOT/usr/share/bash-completion/completions \ PYAGENTX_DIR=`readlink -f %{pyagentx_dir}` \ SYSTEMCTL_OVERRIDE=true #SYSTEMCTL_OVERRIDE enforces systemd to be used and skip autodetection make install_pcsd \ DESTDIR=$RPM_BUILD_ROOT \ PYTHON_SITELIB=%{python_sitelib} \ hdrdir="%{_includedir}" \ rubyhdrdir="%{_includedir}" \ includedir="%{_includedir}" \ PREFIX=%{PCS_PREFIX} \ SYSTEMCTL_OVERRIDE=true #after the ruby gem compilation we do not need ruby gems in the cache rm -r -v $RPM_BUILD_ROOT%{PCS_PREFIX}/lib/pcsd/vendor/cache %check run_all_tests(){ #prepare environment for tests sitelib=$RPM_BUILD_ROOT%{python_sitelib} pcsd_dir=$RPM_BUILD_ROOT%{PCS_PREFIX}/lib/pcsd #run pcs tests and remove them, we do not distribute them in rpm #python2-mock package is required but is only in epel so we will install it #manually #we do not have permissions to write anywhere else than $RPM_BUILD_ROOT #so we must install python2-mock there #test fail info: # # FAIL: test_base_create_with_agent_name_including_systemd_instance (pcs.test.cib_resource.test_create.Success) #---------------------------------------------------------------------- #Traceback (most recent call last): # File "/builddir/build/BUILDROOT/pcs-0.9.156-1.el7.x86_64/usr/lib/python2.7/site-packages/pcs/test/cib_resource/test_create.py", line 41, in test_base_create_with_agent_name_including_systemd_instance # """ # File "/builddir/build/BUILDROOT/pcs-0.9.156-1.el7.x86_64/usr/lib/python2.7/site-packages/pcs/test/cib_resource/common.py", line 69, in assert_effect # self.assert_effect_single(alternative_list[-1], expected_xml, output) # File "/builddir/build/BUILDROOT/pcs-0.9.156-1.el7.x86_64/usr/lib/python2.7/site-packages/pcs/test/cib_resource/common.py", line 56, in assert_effect_single # self.assert_pcs_success(command, output) # File "/builddir/build/BUILDROOT/pcs-0.9.156-1.el7.x86_64/usr/lib/python2.7/site-packages/pcs/test/tools/assertions.py", line 51, in assert_pcs_success # stdout_start=stdout_start # File "/builddir/build/BUILDROOT/pcs-0.9.156-1.el7.x86_64/usr/lib/python2.7/site-packages/pcs/test/tools/assertions.py", line 115, in assert_pcs_result # stdout=stdout #AssertionError: Stdout is not as expected #command: resource create R systemd:lvm2-pvscan@252:2 --no-default-ops --force #diff is (expected is 2nd): #- Warning: Agent 'systemd:lvm2-pvscan@252:2' is not installed or does not provide valid metadata: error: crm_abort: systemd_unit_exec: Triggered fatal assert at systemd.c:676 : systemd_init() #Full stdout: #Warning: Agent 'systemd:lvm2-pvscan@252:2' is not installed or does not provide valid metadata: error: crm_abort: systemd_unit_exec: Triggered fatal assert at systemd.c:676 : systemd_init() #---------------------------------------------------------------------- # REASON: crm_resource ends with an error ## cat /etc/redhat-release #Red Hat Enterprise Linux Server release 7.4 Beta (Maipo) ## crm_resource --show-metadata systemd:nonexistent@some:thingxxx #error: crm_abort: systemd_unit_exec: Triggered fatal assert at systemd.c:676 : systemd_init() # #************************************************************** # #pcs.lib.commands.test.test_stonith.Create.test_minimal_success #-------------------------------------------------------------- #This tests fails only with live build on i686. Live build was tried twice. #Architectures x86_64 and s390x succeeded, ppc64le was skipped with live #build. Test succeeded with scratch build on i686. # #====================================================================== #ERROR: test_minimal_success (pcs.lib.commands.test.test_stonith.Create) #---------------------------------------------------------------------- #Traceback (most recent call last): # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/commands/test/test_stonith.py", line 71, in test_minimal_success # instance_attributes={"must-set": "value"} # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/commands/stonith.py", line 77, in create # resource_type="stonith" # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/cib/resource/primitive.py", line 78, in create # allow_invalid=allow_invalid_instance_attributes, # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 871, in validate_parameters # update=update # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 486, in validate_parameters # parameters # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 518, in validate_parameters_values # agent_params = self.get_parameters() # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 858, in get_parameters # self._get_stonithd_metadata().get_parameters() # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 437, in get_parameters # params_element = self._get_metadata().find("parameters") # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 596, in _get_metadata # self._metadata = self._parse_metadata(self._load_metadata()) # File "/builddir/build/BUILDROOT/pcs-0.9.162-3.el7.i386/usr/lib/python2.7/site-packages/pcs/lib/resource_agent.py", line 668, in _load_metadata # [settings.stonithd_binary, "metadata"] #ValueError: need more than 0 values to unpack # # # ====================================================================== # FAIL: test_succes_model_options_and_heuristics (pcs.test.test_quorum.DeviceAddTest) # ---------------------------------------------------------------------- # Traceback (most recent call last): # File "/builddir/build/BUILDROOT/pcs-0.9.165-1.el7.s390x/usr/lib/python2.7/site-packages/pcs/test/test_quorum.py", line 179, in test_succes_model_options_and_heuristics # "quorum device add model net host=127.0.0.1 algorithm=ffsplit " # File "/builddir/build/BUILDROOT/pcs-0.9.165-1.el7.s390x/usr/lib/python2.7/site-packages/pcs/test/tools/assertions.py", line 82, in assert_pcs_success # returncode=0 # File "/builddir/build/BUILDROOT/pcs-0.9.165-1.el7.s390x/usr/lib/python2.7/site-packages/pcs/test/tools/assertions.py", line 129, in assert_pcs_result # ).format(returncode, pcs_returncode, command, stdout) # AssertionError: Expected return code "0", but was "-13" # command: quorum device add model net host=127.0.0.1 algorithm=ffsplit heuristics mode=on 'exec_ls=test -f /tmp/test' # stdout: # ====================================================================== # FAIL: test_succes_model_options_and_heuristics_no_exec (pcs.test.test_quorum.DeviceAddTest) # ---------------------------------------------------------------------- # Traceback (most recent call last): # File "/builddir/build/BUILDROOT/pcs-0.9.165-1.el7.s390x/usr/lib/python2.7/site-packages/pcs/test/test_quorum.py", line 202, in test_succes_model_options_and_heuristics_no_exec # "Warning: No exec_NAME options are specified, so heuristics are " # File "/builddir/build/BUILDROOT/pcs-0.9.165-1.el7.s390x/usr/lib/python2.7/site-packages/pcs/test/tools/assertions.py", line 82, in assert_pcs_success # returncode=0 # File "/builddir/build/BUILDROOT/pcs-0.9.165-1.el7.s390x/usr/lib/python2.7/site-packages/pcs/test/tools/assertions.py", line 129, in assert_pcs_result # ).format(returncode, pcs_returncode, command, stdout) # AssertionError: Expected return code "0", but was "-13" # command: quorum device add model net host=127.0.0.1 algorithm=ffsplit heuristics mode=on # stdout: # ---------------------------------------------------------------------- # # Tests after pcs.test.test_stonith.StonithDescribeTest.test_nonextisting_agent (included) are broken because it uses metadata from resource-agents that changed. There is no problem with code just with tests. export PYTHONPATH="${PYTHONPATH}:${sitelib}" easy_install -d ${sitelib} %SOURCE31 python ${sitelib}/pcs/test/suite.py -v --vanilla --all-but \ pcs.test.test_cluster.ClusterTest.testUIDGID \ pcs.test.test_stonith.StonithTest.test_stonith_create_provides_unfencing \ pcs.test.cib_resource.test_create.Success.test_base_create_with_agent_name_including_systemd_instance \ pcs.lib.commands.test.test_stonith.Create.test_minimal_success \ pcs.lib.commands.test.test_stonith.Create.test_minimal_wait_ok_run_ok \ pcs.lib.commands.test.test_stonith.CreateInGroup.test_minimal_success \ pcs.lib.commands.test.test_stonith.CreateInGroup.test_minimal_wait_ok_run_ok \ pcs.test.test_quorum.DeviceAddTest.test_succes_model_options_and_heuristics \ pcs.test.test_quorum.DeviceAddTest.test_succes_model_options_and_heuristics_no_exec \ pcs.test.test_cluster.ClusterTest.testRemoteNode \ pcs.test.test_stonith.StonithDescribeTest.test_nonextisting_agent \ pcs.test.test_stonith.StonithTest.testStonithCreation \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_disallowed_option_appear \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_guest_node_conflicts_with_existing_guest \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_guest_node_conflicts_with_existing_id \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_guest_node_conflicts_with_existing_remote \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_guest_node_name_conflicts_with_existing_remote \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_invalid_interval_appear \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_invalid_port_appear \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_fail_when_option_remote_node_specified \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_success \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_success_when_guest_node_matches_with_existing_guest \ pcs.test.test_cluster_pcmk_remote.NodeAddGuest.test_success_with_options \ pcs.test.test_cluster_pcmk_remote.NodeRemoveGuest.test_success_remove_by_node_name \ pcs.test.test_cluster_pcmk_remote.NodeRemoveGuest.test_success_remove_by_resource_host \ pcs.test.test_cluster_pcmk_remote.NodeRemoveGuest.test_success_remove_by_resource_id \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_manage_monitor \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_manage_monitor_disabled \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_manage_more \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_manage_nonexistent \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_manage_one \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_unmanage_monitor \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_unmanage_monitor_enabled \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_unmanage_more \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_unmanage_nonexistent \ pcs.test.cib_resource.test_manage_unmanage.ManageUnmanage.test_unmanage_one \ pcs.test.cib_resource.test_stonith_create.PlainStonith.test_error_when_not_valid_agent \ pcs.test.cib_resource.test_stonith_create.PlainStonith.test_warning_when_not_valid_agent \ pcs.test.cib_resource.test_operation_add.OperationAdd.test_add_with_OCF_CHECK_LEVEL \ pcs.test.cib_resource.test_operation_add.OperationAdd.test_base_add \ pcs.test.cib_resource.test_operation_add.OperationAdd.test_can_multiple_operation_add \ pcs.test.cib_resource.test_operation_add.OperationAdd.test_id_specified \ pcs.test.cib_resource.test_create.Bundle.test_success \ pcs.test.cib_resource.test_create.FailOrWarnGroup.test_fail_when_try_use_id_of_another_element \ pcs.test.cib_resource.test_create.Success.test_base_create \ pcs.test.cib_resource.test_create.Success.test_base_create_with_default_ops \ pcs.test.cib_resource.test_create.Success.test_create_disabled \ pcs.test.cib_resource.test_create.Success.test_create_with_trace_options \ pcs.test.cib_resource.test_create.Success.test_with_clone \ pcs.test.cib_resource.test_create.Success.test_with_clone_options \ pcs.test.cib_resource.test_create.Success.test_with_master \ pcs.test.cib_resource.test_create.SuccessClone.test_clone_does_not_overshadow_meta_options \ pcs.test.cib_resource.test_create.SuccessClone.test_clone_does_not_overshadow_operations \ pcs.test.cib_resource.test_create.SuccessClone.test_clone_places_disabled_correctly \ pcs.test.cib_resource.test_create.SuccessGroup.test_with_existing_group \ pcs.test.cib_resource.test_create.SuccessGroup.test_with_group \ pcs.test.cib_resource.test_create.SuccessGroup.test_with_group_with_after \ pcs.test.cib_resource.test_create.SuccessGroup.test_with_group_with_before \ pcs.test.cib_resource.test_create.SuccessMaster.test_disable_is_on_master_element \ pcs.test.cib_resource.test_create.SuccessMaster.test_put_options_after_master_as_primitive_options__original_behaviour \ pcs.test.cib_resource.test_create.SuccessMaster.test_steals_primitive_meta_options__original_behaviour \ pcs.test.cib_resource.test_create.SuccessOperations.test_completing_monitor_operation \ pcs.test.cib_resource.test_create.SuccessOperations.test_default_ops_only \ pcs.test.cib_resource.test_create.SuccessOperations.test_merging_default_ops_explictly_specified \ pcs.test.cib_resource.test_create.SuccessOperations.test_warn_on_forced_unknown_operation \ pcs.test.test_resource.CloneMasterUpdate.test_no_op_allowed_in_clone_update \ pcs.test.test_resource.CloneMasterUpdate.test_no_op_allowed_in_master_update \ pcs.test.test_resource.ResourceTest.testAddOperation \ pcs.test.test_resource.ResourceTest.testAddResourcesLargeCib \ pcs.test.test_resource.ResourceTest.testCloneMaster \ pcs.test.test_resource.ResourceTest.testCloneRemove \ pcs.test.test_resource.ResourceTest.testClonedGroup \ pcs.test.test_resource.ResourceTest.testClonedMasteredGroup \ pcs.test.test_resource.ResourceTest.testGroupRemoveTest \ pcs.test.test_resource.ResourceTest.testGroupRemoveWithConstraints2 \ pcs.test.test_resource.ResourceTest.testMSGroup \ pcs.test.test_resource.ResourceTest.testMasteredGroup \ pcs.test.test_resource.ResourceTest.testNoMoveMSClone \ pcs.test.test_resource.ResourceTest.testOPOption \ pcs.test.test_resource.ResourceTest.testResourceCloneId \ pcs.test.test_resource.ResourceTest.testResourceCloneUpdate \ pcs.test.test_resource.ResourceTest.testResourceEnable \ pcs.test.test_resource.ResourceTest.testResourceEnableClone \ pcs.test.test_resource.ResourceTest.testResourceMasterId \ pcs.test.test_resource.ResourceTest.testResourceMissingValues \ pcs.test.test_resource.ResourceTest.testUnclone \ pcs.test.test_resource.ResourceTest.testUpdateOperation \ test_result_python=$? find ${sitelib}/pcs -name test -type d -print0|xargs -0 rm -r -v -- #we installed python2-mock inside $RPM_BUILD_ROOT and now we need to remove #it because it does not belong into pcs package #easy_install does not provide uninstall and pip is not an option (is in #epel) so it must be cleaned manually rm -v ${sitelib}/easy-install.pth rm -v ${sitelib}/mock-1.0.1-py2.7.egg rm -v ${sitelib}/site.py rm -v ${sitelib}/site.pyc #run pcsd tests and remove them GEM_HOME=${pcsd_dir}/vendor/bundle/ruby ruby \ -I${pcsd_dir} \ -I${pcsd_dir}/test \ ${pcsd_dir}/test/test_all_suite.rb test_result_ruby=$? #remove tests after use here to be symmetrical with pcs tests rm -r -v ${pcsd_dir}/test if [ $test_result_python -ne 0 ]; then return $test_result_python fi return $test_result_ruby } run_all_tests %post %systemd_post pcsd.service %post -n %{pcs_snmp_pkg_name} %systemd_post pcs_snmp_agent.service %preun %systemd_preun pcsd.service %preun -n %{pcs_snmp_pkg_name} %systemd_preun pcs_snmp_agent.service %postun %systemd_postun_with_restart pcsd.service %postun -n %{pcs_snmp_pkg_name} %systemd_postun_with_restart pcs_snmp_agent.service %files %{python_sitelib}/pcs %{python_sitelib}/pcs-%{version}-py2.*.egg-info /usr/sbin/pcs /usr/lib/pcsd/* /usr/lib/pcsd/.bundle/config /usr/lib/systemd/system/pcsd.service /usr/share/bash-completion/completions/pcs /var/lib/pcsd /etc/pam.d/pcsd %dir /var/log/pcsd %config(noreplace) /etc/logrotate.d/pcsd %config(noreplace) /etc/sysconfig/pcsd %ghost %config(noreplace) /var/lib/pcsd/cfgsync_ctl %ghost %config(noreplace) /var/lib/pcsd/pcsd.cookiesecret %ghost %config(noreplace) /var/lib/pcsd/pcsd.crt %ghost %config(noreplace) /var/lib/pcsd/pcsd.key %ghost %config(noreplace) /var/lib/pcsd/pcs_settings.conf %ghost %config(noreplace) /var/lib/pcsd/pcs_users.conf %ghost %config(noreplace) /var/lib/pcsd/tokens %{_mandir}/man8/pcs.* %{_mandir}/man8/pcsd.* %exclude /usr/lib/pcsd/*.debian %exclude /usr/lib/pcsd/pcsd.service %exclude /usr/lib/pcsd/pcsd.conf %exclude %{python_sitelib}/pcs/bash_completion %exclude %{python_sitelib}/pcs/pcs.8 %exclude %{python_sitelib}/pcs/pcs %doc COPYING %doc CHANGELOG.md %files -n %{pcs_snmp_pkg_name} /usr/lib/pcs/pcs_snmp_agent /usr/lib/pcs/bundled/packages/pyagentx* /usr/lib/systemd/system/pcs_snmp_agent.service /usr/share/snmp/mibs/PCMK-PCS*-MIB.txt %{_mandir}/man8/pcs_snmp_agent.* %config(noreplace) /etc/sysconfig/pcs_snmp_agent %dir /var/log/pcs %doc COPYING %doc CHANGELOG.md %doc pyagentx_LICENSE.txt %doc pyagentx_CONTRIBUTORS.txt %doc pyagentx_README.md %changelog * Tue Jun 25 2019 Ivan Devat - 0.9.165-6.el7_6.2 - Fixed crashes in the `pcs cluster auth` command - Resolves: rhbz#1721235 * Thu Feb 28 2019 Ivan Devat - 0.9.165-6.el7_6.1 - `pcs` no longer spawns unnecessary processes for reading node tokens - Fixed a bug causing most of the messages not being logged into pcsd.log - Lower load caused by periodical config files syncing in pcsd by making it sync less frequently - Improve logging of periodical config files syncing in pcsd - Resolves: rhbz#1683959 rhbz#1683957 rhbz#1683958 * Fri Aug 31 2018 Ondrej Mular - 0.9.165-6 - Fix instance attributes setting for fence agents `fence_compute` and `fence_evacuate` - Resolves: rhbz#1623181 * Tue Aug 28 2018 Ondrej Mular - 0.9.165-5 - Fixed `pcs stonith sbd watchdog test` error messages - Fixed avaliable watchdog devices listing - Resolves: rhbz#1475318 * Thu Aug 16 2018 Ondrej Mular - 0.9.165-4 - Fixed `pcs cluster cib-push` for old crm_feature_set - Resolves: rhbz#1488044 * Mon Aug 06 2018 Ivan Devat - 0.9.165-3 - Fixed unhandled exception during a start support check - Resolves: rhbz#1572886 * Mon Jul 23 2018 Ivan Devat - 0.9.165-2 - Fixed validation for an unaccessible resource inside a bundle - Fixed test of watchdog devices - Fixed command `pcs cluster node add-outside` - Fixed large key files distribution - Resolves: rhbz#1462248 rhbz#1475318 rhbz#1599758 rhbz#1600169 * Fri Jun 22 2018 Ivan Devat - 0.9.165-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1572886 rhbz#1581150 rhbz#1579911 rhbz#1533849 rhbz#1557252 rhbz#1568353 rhbz#1574898 rhbz#1427273 rhbz#1475318 rhbz#1476862 rhbz#1535967 rhbz#1566382 rhbz#1588667 rhbz#1590533 rhbz#1403832 rhbz#1517333 rhbz#1529508 * Fri Apr 27 2018 Ivan Devat - 0.9.162-7 - Fixed license tag in specfile * Fri Apr 27 2018 Ivan Devat - 0.9.162-6 - Added aarch64 - Resolves: rhbz#1568291 * Wed Mar 21 2018 Ondrej Mular - 0.9.162-5.el7_5.1 - Fixed CVE-2018-1086 pcs: Debug parameter removal bypass, allowing information disclosure - Fixed CVE-2018-1079 pcs: Privilege escalation via authorized user malicious REST call - Fixed CVE-2018-1000119 rack-protection: Timing attack in authenticity_token.rb - Resolves: rhbz#1557253 * Mon Feb 05 2018 Ondrej Mular - 0.9.162-5 - Fixed `pcs cluster auth` in a cluster when not authenticated and using a non-default port - Fixed `pcs cluster auth` in a cluster when previously authenticated using a non-default port and reauthenticating using an implicit default port - Resolves: rhbz#1415197 * Fri Jan 05 2018 Ivan Devat - 0.9.162-3 - Pcs now properly exits with code 1 when an error occurs in pcs cluster node add-remote and pcs cluster node add-guest commands - Fixed a crash in the pcs booth sync command - Resolves: rhbz#1464781 rhbz#1527530 * Mon Dec 11 2017 Ivan Devat - 0.9.162-2 - Changed snmp agent logfile path - It is now possible to set the `action` option of stonith devices in GUI by using force - Do not crash when `--wait` is used in `pcs stonith create` - A warning is displayed in `pcs status` and a stonith device detail in web UI when a stonith device has its `method` option set to `cycle` - Resolves: rhbz#1367808 rhbz#1421702 rhbz#1522813 rhbz#1523378 * Wed Nov 15 2017 Ondrej Mular - 0.9.162-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1389943 rhbz#1389209 rhbz#1506220 rhbz#1508351 rhbz#1415197 rhbz#1506864 rhbz#1367808 rhbz#1499749 * Thu Nov 02 2017 Ivan Devat - 0.9.161-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1499749 rhbz#1415197 rhbz#1501274 rhbz#1502715 rhbz#1230919 rhbz#1503110 * Wed Oct 11 2017 Ivan Devat - 0.9.160-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1499749 rhbz#1443647 rhbz#1432283 rhbz#1421702 rhbz#1443418 rhbz#1464781 rhbz#1435697 rhbz#1441673 rhbz#1420437 rhbz#1388783 rhbz#1463327 rhbz#1418199 rhbz#1341582 rhbz#1489682 rhbz#1491631 rhbz#1213946 * Thu Jun 15 2017 Ivan Devat - 0.9.158-6 - It is now possible to disable, enable, unmanage and manage bundle resources and set their meta attributes - Fixed timeout when cluster setup takes long time in web UI - It is now mandatory to specify container type in the "resource bundle create" command - Resolves: rhbz#1447910 rhbz#1284404 * Thu Jun 08 2017 Ivan Devat - 0.9.158-5 - `pcs cluster setup` uses existing pacemaker authkey if it exists - `pcs resource create` shows only warning when case of remote node is detected - Resolves: rhbz#1459503 * Tue Jun 06 2017 Ivan Devat - 0.9.158-4 - Added support for enable and disable in bundles - New clusters are created with corosync encryption disabled by default - Flag `--master` is backward compatible in `pcs resource create` - Resolves: rhbz#1165821 rhbz#1433016 rhbz#1458153 * Wed May 31 2017 Ivan Devat - 0.9.158-3 - Added option to create not hardened cluster with the `pcs cluster setup` command using the `--no-hardened` flag - Added option to create not hardened cluster from web UI - Fixed a crash in the `pcs cluster node add-remote` command when an id conflict occurs - Fixed creating a new cluster from the web UI - `pcs cluster node add-guest` now works with the flag `--skipp-offline` - `pcs cluster node remove-guest` can be run again when the guest node was unreachable first time - Fixed "Error: Unable to read /etc/corosync/corosync.conf" when running `pcs resource create`([rhbz#1386114]) - Binary data are stored in corosync authkey - Resolves: rhbz#1284404 rhbz#1373614 rhbz#1165821 rhbz#1176018 rhbz#1386114 * Fri May 26 2017 Tomas Jelinek - 0.9.158-2 - Fixed crash of the `pcs cluster setup` command when the `--force` flag was used - Fixed crash of the `pcs cluster destroy --all` command when the cluster was not running - Fixed crash of the `pcs config restore` command when restoring pacemaker authkey - Fixed "Error: unable to get cib" when adding a node to a stopped cluster - Resolves: rhbz#1176018 * Tue May 23 2017 Ivan Devat - 0.9.158-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1447702 rhbz#1176018 rhbz#1433016 rhbz#1303969 rhbz#1386114 rhbz#1386512 rhbz#1390609 rhbz#1165821 rhbz#1315992 rhbz#1373614 rhbz#1422667 rhbz#1254984 * Mon Apr 10 2017 Ivan Devat - 0.9.157-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1362493 rhbz#1315627 rhbz#1378742 rhbz#1334429 rhbz#1402374 rhbz#1389941 rhbz#1303969 rhbz#1415080 rhbz#1328882 rhbz#1434972 rhbz#1413958 * Tue Feb 28 2017 Ivan Devat - 0.9.156-2 - Added ppc64le architecture - Resolves: rhbz#1402573 * Fri Feb 10 2017 Ivan Devat - 0.9.156-1 - Rebased to latest upstream sources (see CHANGELOG.md) - Resolves: rhbz#1409821 rhbz#1404233 rhbz#1408476 rhbz#1262001 rhbz#1389443 rhbz#1389941 rhbz#1315992 rhbz#1261116 rhbz#1389501 rhbz#1404229 rhbz#1284404 rhbz#1339355 rhbz#1347335 rhbz#1344712 rhbz#1395226 rhbz#1382004 rhbz#1378107 rhbz#1398562 rhbz#1402475 rhbz#1382597 rhbz#1389453 rhbz#1390071 rhbz#1390066 rhbz#1387670 rhbz#1292858 rhbz#1396462 rhbz#1419903 rhbz#1419661 * Tue Sep 20 2016 Ivan Devat - 0.9.152-10 - Fixed error when stopping qdevice if is not running - Fixed removing qdevice from a cluster - Fixed documentation regarding booth - Fixed return code when no matching ticket constraint found during remove - Resolves: rhbz#1158805 rhbz#1305049 * Wed Sep 14 2016 Ivan Devat - 0.9.152-9 - Added warning when stopping/destroying qdevice instance which is being used - Fiexed removing qdevice from a cluster which uses sbd - Fixed re-running "pcs cluster node add" if it failed due to qdevice - Fixed documentation regarding booth - Added warning when using unknown booth ticket option - Added constraint ticket remove command - Fixed return code and message when displaying node utilization for nonexistent node - Fixed setting utilization attributes in web UI - Fixed support for node utilization on remote node - Fixed updating of selected group when displaying new resource dialog - Fixed group list when managing cluster running older pcs in web UI - Fixed displaying unmanaged status for resources for older pcs in web UI - Fixed clone/master/unclone group/ungroup buttons for older pcs in web UI - Fixed node standby/unstandby for older pcs in web UI - Resolves: rhbz#1158805 rhbz#1308514 rhbz#1305049 rhbz#1158500 rhbz#1231858 * Wed Aug 31 2016 Ivan Devat - 0.9.152-8 - Fixed error message in node maintenance/unmaintenance commands - Fixed missing line at the end of booth config - Fixed documentation regarding booth - Fixed remove multiple booth resources with "--force" flag - Fixed cleanup of ip resource if it fails to create booth resource - Added bash completion for booth - Fixed display full booth configuration - Added ability to display booth config from remote node - Added support for ticket options during adding booth ticket - Fixed adding node to cluster when booth is not installed - Added restart command for booth - Fixed check if auto_tie_breaker is required when enabling sbd - Improved way of displaying status of unmanaged primitive resources in web UI - Resolves: rhbz#1247088 rhbz#1308514 rhbz#1164402 rhbz#1264360 * Fri Aug 19 2016 Ivan Devat - 0.9.152-7 - Added possibility to hide inactive resources in "pcs resource show" command - Fixed exceptions handling when waiting for response from user in command line - Fixed nonexisting resource detection in pcsd - Fixed SBD_WATCHDOG_TIMEOUT option value validation - Removed possibility to change SBD_PACEMAKER - Fixed exception when disabling service on systemd systems - Added automatic auto_tie_breaker quorum option set whenever it is needed for SBD to work - Fixed setting sbd watchdog in config - Fixed error handling when upgrading cib schema - Improved consistency of syntax 'pcs alert recipient add' command - Resolves: rhbz#1298585 rhbz#1354498 rhbz#1346852 rhbz#1164402 rhbz#1315371 rhbz#1366307 * Fri Aug 05 2016 Ivan Devat - 0.9.152-6 - Fixed documentation regarding clufter - Added possibility to change order of resources in a group in web UI - Added support for unmanaged resources in web UI - Added support for booth (cluster ticket manager) - Resolves: rhbz#1357945 rhbz#1281391 rhbz#1264360 rhbz#1308514 * Thu Jul 28 2016 Ivan Devat - 0.9.152-5 - Fixed traceback when stopping pcsd shortly after start - Fixed removing a dead node from a cluster - Added support for clufter's 'dist' parameter - Fixed filtering by property name in "pcs property show" - Fixed an error in web UI when removing resources takes a long time - Fixed occasional missing optional arguments of resources in web UI - Improved help for alerts - Fixed recreating a remote node resource - Fixed exceptions when authenticating cluster nodes - Fixed permissions for bash completion file - Resolves: rhbz#1348579 rhbz#1225423 rhbz#1357945 rhbz#1302010 rhbz#1301993 rhbz#1346852 rhbz#1231858 rhbz#1315371 rhbz#1303136 rhbz#1329472 rhbz#1359154 rhbz#1349465 * Fri Jul 15 2016 Ivan Devat - 0.9.152-4 - Added colocation constraint support in web UI - Fixed displaying cluster config when cib is provided as a file - Removed side effect on /etc/hosts during build - Recipient id is used as identifier in alarms - Improved quorum device commands syntax - Fixed pcs client for running on a remote node - Resolves: rhbz#1281364 rhbz#1269242 rhbz#1353607 rhbz#1315371 rhbz#1158805 rhbz#1289418 * Fri Jul 01 2016 Ivan Devat - 0.9.152-3 - Added support for pacemaker alerts - Added support for qdevice/qnetd provided by corosync - Fixed sbd calls on python3 - Fixed bad request when resource removal takes longer than pcs expects - Added support for set expected votes on a live cluster - Added a wrapper for holding SELinux context when pcsd is started by systemd - Resolves: rhbz#1315371 rhbz#1158805 rhbz#1164402 rhbz#1346852 rhbz#1327739 rhbz#1348579 rhbz#1349465 * Wed Jun 22 2016 Ivan Devat - 0.9.152-2 - Specified achitectures matching with pacemaker and corosync - Resolves: rhbz#1299847 * Tue Jun 21 2016 Ivan Devat - 0.9.152-1 - Rebased to latest upstream sources - Added support for sbd configuration - Added support for constraint tickets in web UI - Added warning to pcs quorum unblock command - Fixes in manpage and built-in help - Config files marked as config - Resolves: rhbz#1299847 rhbz#1164402 rhbz#1305049 rhbz#1264566 rhbz#1225946 rhbz#1231858 rhbz#1328066 rhbz#1341114 * Fri Jun 03 2016 Ivan Devat - 0.9.151-2 - Added missing requirements for python-setuptools - Resolves: rhbz#1299847 * Tue May 31 2016 Ivan Devat - 0.9.151-1 - Rebased to latest upstream sources - Added support for utilization attributes - Optimized pcs status command - Fixes in manpage and built-in help - Improved resource cleanups - Added --wait support for cluster start and node standby commands - Improved resource and fence agent options in web UI - Added ability to put a node into maintenance mode - Fixed adding acl permission when targed id does not exists - Fixed deleting resource when referenced in acl - Improved pcsd launch script - Added automatically setting provides=unfencing meta attribute for stonith device - Improved Cluster Properties page in web UI - Fixed page update after adding group in web UI - Fixed deleting group (clones) when managing older cluster in web UI - Fixed stonith update command when fence agents fails to get metadata - Added support for putting Pacemaker Remote nodes into standby - Added support for omission stopped resources in status command - Added login input sanitization in web UI - Added config settings for SSL options and ciphers - Improved resource update command to inform user about missused op settings - Spec file fixes - Added support for constraint tickets from command line - Fixed CVE-2016-0720 pcs: Cross-Site Request Forgery in web UI - Fixed CVE-2016-0721 pcs: cookies are not invalidated upon logout - Resolves: rhbz#1299847 rhbz#1158500 rhbz#1207405 rhbz#1219581 rhbz#1225946 rhbz#1220512 rhbz#1229822 rhbz#1231858 rhbz#1247088 rhbz#1248990 rhbz#1249085 rhbz#1252050 rhbz#1262773 rhbz#1281371 rhbz#1283562 rhbz#1286664 rhbz#1287320 rhbz#1290512 rhbz#1298585 rhbz#1305786 rhbz#1315652 rhbz#1321021 rhbz#1315743 rhbz#1315357 rhbz#1305049 rhbz#1335779 rhbz#1330884 * Wed Oct 21 2015 Tomas Jelinek - 0.9.143-15 - Fixed setting cluster properties in web UI - Resolves: rhbz#1272412 * Wed Oct 07 2015 Chris Feist - 0.9.143-14 - Fixed remaining issues when managing resources/groups/etc. that were previously unmanaged - Resolves: rhbz#1268801 * Tue Oct 06 2015 Chris Feist - 0.9.143-12 - Fixed issue managing resources that were clones and had the unmanaged meta attribute set under the clone/master - Resolves: rhbz#1268801 * Wed Sep 23 2015 Tomas Jelinek - 0.9.143-11 - Fix for crm_node -l output change - Resolves: rhbz#1265425 * Tue Sep 22 2015 Tomas Jelinek - 0.9.143-10 - Web UI fixes - Added more detailed warnings for 'pcs stonith confirm' - Resolves: rhbz#1189857 rhbz#1245264 * Wed Sep 16 2015 Tomas Jelinek - 0.9.143-9 - Multiple fixes in web UI (dashboard, nodes, resources, fence devices) - Fixed an authentication issue in web UI - Port parameter of fence agents is now considered optional - Resolves: rhbz#1158566 rhbz#1188361 rhbz#1189857 * Tue Sep 08 2015 Tomas Jelinek - 0.9.143-8 - Fixes in loading cluster status for web UI - Fixed checking user/group membership - Fixed a typo in an error message - Resolves: #rhbz1158566 #rhbz1158569 #rhbz1158571 * Mon Sep 07 2015 Tomas Jelinek - 0.9.143-7 - Multiple fixes in web UI - Fixed crash on missing nagios agents metadata - Check user/group membership on each request - Print output of crm_resource in pcs resource cleanup - Resolves: #rhbz1158571 #rhbz1189857 #rhbz1235022 #rhbz1257369 * Tue Sep 01 2015 Tomas Jelinek - 0.9.143-6 - Added missing dependency on openssl - Resolves: #rhbz1158577 * Tue Sep 01 2015 Tomas Jelinek - 0.9.143-5 - Fixed pcsd certificates synchronization - Multiple fixes in web UI - Resolves: #rhbz1158566 #rhbz1158577 #rhbz1189857 * Mon Aug 31 2015 Chris Feist - 0.9.143-4 - Fixed issue causing traceback on pcsd stop - Resolves: #rhbz#1258619 * Wed Aug 26 2015 Tomas Jelinek - 0.9.143-3 - Fixed relocation of remote nodes to their optimal node - Fixed pcs/pcsd path detection - Fixed command injection vulnerability - Resolves: #rhbz1122818 #rhbz1253294 #rhbz1253491 * Fri Aug 14 2015 Tomas Jelinek - 0.9.143-2 - Fixed relocation of unique clone resources to their optimal node - Improved logging of node to node communication - Fixed 'Add resource' form in web UI - Fixed support for nagios agents - Resolves: rhbz#1122818 rhbz#1158577 rhbz#1189857 rhbz#1235022 * Mon Aug 10 2015 Tomas Jelinek - 0.9.143-1 - Added support for setting permissions for users and groups to clusters managed by web UI - Resources are now displayed in a tree (clone, master/slave, group, primitive) in web UI - Renamed 'pcs resource relocate clean' command to 'pcs resource relocate clear' - Improved logging of config files synchronization - Various fixes in Resources tab in web UI - Added missing dependecy on initscripts to the spec file - Fixed traceback when running 'pcs resource enable clvmd --wait' - Resolves: rhbz#1122818 rhbz#1158571 rhbz#1158577 rhbz#1182119 rhbz#1189857 rhbz#1198640 rhbz#1219574 rhbz#1243579 rhbz#1247818 rhbz#1250720 * Fri Jul 10 2015 Chris Feist - 0.9.142-2 - Cleaned up tarball * Thu Jul 09 2015 Chris Feist - 0.9.142-1 - Rebase to latest upstream sources - Added ability to set hostname when using IP address to create a cluster - Added ability to clear out tokens with pcs pcsd clear-auth - Added ability to use nagios agents - Fixed issue with orphaned resources causing GUI to fail to work properly - More dashboard fixes - Synchronize files between pcsd instances in a cluster to allow for HA pcsd - ACL role fixes for pcs/pcsd - Resolves: rhbz#118310 rhbz#1207805 rhbz#1235022 rhbz#1198222 rhbz#1158566 rhbz#1158577 rhbz#1166160 * Tue Jun 23 2015 Tomas Jelinek - 0.9.141-1 - Rebased to latest upstream packages - Added a command to relocate resources to their preferred host - Fixed the dashboard in web UI - Configure corosync to log to a file - Added warning when creating a duplicate resource operation - Added support for debugging resource agents - Do not automatically use --force when removing a resource using web UI - Fixed pcsd communication when one of the nodes is not authenticated - Updated ruby gems - Spec file fixes - Resolves: rhbz#1198265 rhbz#1122818 rhbz#1158566 rhbz#1163671 rhbz#1175400 rhbz#1185096 rhbz#1198274 rhbz#1213429 rhbz#1231987 rhbz#1232644 rhbz#1233574 * Wed Jun 03 2015 Tomas Jelinek - 0.9.140-1 - Rebased to latest upstream packages - Added a note to man page and help poiting to cluster properties description - Fixed parsing of the corosync.conf file - Fixed diferences between the 'pcs cluster status' and 'pcs status cluster' commands as one is documented to be an alias of the other - Do not remove constraints referencing a group when removing a resource from the group - Added dashboard showing status of clusters to web UI - Added node authentication dialog to web UI - Added synchronization of web UI configuration files across cluster nodes - Fixed node authentication when one of the nodes is unreachable - Fixed an error message in the 'pcs config restore' command if a node is not authenticated - Fixed parsing of 'pcs acl role create' command's parameters - Properly overwrite a tokens file if its contents is unparsable - The 'pcs config' command now displays resources defaults and operations defaults - Show a useful error message when attempting to add a duplicate fence level in web UI - Added the require-all parameter to ordering constraints listing - Fixed VirtualDomain resource removal when there are constraints for the resource - Added a warning when removing a cluster node may cause a loss of the quorum - Fixed an error when uncloning a non-cloned resource - Fixed an error when removing a resource from a cloned group - Fixed waiting for resource commands to finish - Fixed 'pcs cluster start' and similar commands when run under a non-root account - Fixed parsing of 'pcs constraint order set' command's parameters - Fixed an error when creating a resource with an id which already exists - Improved man page and help for the 'pcs resource move' and 'pcs resource ban' commands - Fixed an error when referencing a non-existing acl role in 'pcs acl' commands - Fixed an error when adding an invalid stonith level - Fixed constraints removal and node standby / unstandby using remote web UI - Fixed formatting of resource / fence agent description - Fence agent description now contains information about the agent - The 'pcs status --full' command now displays node attributes and migration summary - Clufter moved to a standalone package - Fixed pcsd communication when one of the nodes is not authenticated - Fixed a timeout value in the fence_xvm agent form - Fixed the 'pcs resource enable' command when working with clones and multi-state resources - Resolves: rhbz#1198265 rhbz#1121791 rhbz#1134426 rhbz#1158491 rhbz#1158537 rhbz#1158566 rhbz#1158569 rhbz#1158577 rhbz#1163682 rhbz#1165803 rhbz#1166160 rhbz#1170205 rhbz#1176687 rhbz#1182793 rhbz#1182986 rhbz#1183752 rhbz#1186692 rhbz#1187320 rhbz#1187571 rhbz#1188571 rhbz#1196412 rhbz#1197758 rhbz#1199073 rhbz#1201452 rhbz#1202457 rhbz#1204880 rhbz#1205653 rhbz#1206214 rhbz#1206219 rhbz#1206223 rhbz#1212904 rhbz#1213429 rhbz#1215198 rhbz#1218979 * Tue Jun 02 2015 Tomas Jelinek - 0.9.137-16 - Fixes cluster property name validation - Resolves: rhbz#1218478 * Wed Apr 15 2015 Tomas Jelinek - 0.9.137-15 - Fixes issues with cookie signing in pcsd - Resolves: rhbz#1211568 * Mon Mar 09 2015 Tomas Jelinek - 0.9.137-14 - Do not set two_nodes=1 in corosync.conf when auto_tie_breaker=1 is set - Resolves: rhbz#1197770 * Tue Jan 20 2015 Tomas Jelinek - 0.9.137-13 - Keep cluster quorate during destruction as long as possible - Resolves: rhbz#1180506 * Mon Jan 19 2015 Tomas Jelinek - 0.9.137-12 - Warn if stopping nodes will cause a loss of the quorum - Resolves: rhbz#1180506 * Thu Jan 15 2015 Tomas Jelinek - 0.9.137-11 - Stop cluster nodes in parallel and keep cluster quorate during pacemaker shutdown - Resolves: rhbz#1180506 * Fri Jan 09 2015 Tomas Jelinek - 0.9.137-10 - Stop deleted resource before removing its constraints - Resolves: rhbz#1180390 * Thu Jan 08 2015 Tomas Jelinek - 0.9.137-9 - Added acl enable and disable commands - Display whether acls are enabled in the 'pcs acl' output - Resolves: rhbz#1054491 * Wed Jan 07 2015 Chris Feist 0.9.137-8 - Configuration of resource-discovery is now available on advanced location constraint rules - Resolves: rhbz#1054491 * Wed Jan 07 2015 Tomas Jelinek - 0.9.137-7 - When a role is removed in the GUI the user is now automatically deleted if they aren't members of another role - Resolves: rhbz#1054491 * Mon Jan 05 2015 Chris Feist - 0.9.137-6 - Allowed configuration of resource-discovery option on location constraint rules - Resolves: rhbz#1054491 * Fri Dec 19 2014 Chris Feist - 0.9.137-5 - Fixed error message when creating a user with the same name as a role - When a role is removed in the GUI the user is now automatically deleted if they aren't members of another role - Resolves: rhbz#1054491 * Wed Dec 17 2014 Tomas Jelinek - 0.9.137-4 - Fixed displaying globally-unique clones in GUI - Added latest version of clufter package - Resolves: rhbz#1170150 rhbz#1133897 * Mon Dec 8 2014 Chris Feist - 0.9.137-3 - Added latest version of clufter package - Resolves: rhbz#1133897 * Mon Dec 8 2014 Tomas Jelinek - 0.9.137-2 - Improved error messages for scoped cib operations - Fixed waiting for resource commands to finish - Resolves: rhbz#1115537 rhbz#1156311 * Tue Nov 25 2014 Tomas Jelinek - 0.9.137-1 - Added support for score-attribute in location rules in GUI - Added ability to wait for resource commands to finish - Fix clufter doc files installed with executable flag - Resolves: rhbz#1111368 rhbz#1156311 rhbz#1073075 rhbz#1133897 * Mon Nov 24 2014 Chris Feist - 0.9.136-2 - Added latest version of clufter package - Resolves: rhbz#1133897 * Wed Nov 19 2014 Chris Feist - 0.9.136-1 - Added support for 'pcs resource restart' - Added ability to wait for a resource to start after creation - Fixed issue with backports and ruby 2.0.0p576 - Fix for deleting a resource with a large number of options - Fix warning when unpacking a pcs config tarball - Resolves: rhbz#1111368 rhbz#1156311 rhbz#1156597 * Sat Oct 18 2014 Chris Feist - 0.9.135-1 - Added new clufter package - Rebased to latest upstream sources - Constraints tables are collapsed properly - Resolves: rhbz#1111368 rhbz#1145560 * Sat Oct 18 2014 Chris Feist - 0.9.134-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Fri Oct 17 2014 Chris Feist - 0.9.133-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Tue Oct 07 2014 Tomas Jelinek - 0.9.132-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Mon Sep 29 2014 Tomas Jelinek - 0.9.131-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 - Added python-clufter subpackage (configuration conversion tool) - Related: rhbz#1133897 * Fri Sep 26 2014 Tomas Jelinek - 0.9.130-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Mon Sep 22 2014 Tomas Jelinek - 0.9.129-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Thu Sep 18 2014 Tomas Jelinek - 0.9.128-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Fri Sep 12 2014 Chris Feist - 0.9.127-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Fri Sep 05 2014 Chris Feist - 0.9.126-1 - Rebased to latest upstream packages - Resolves: rhbz#1111368 * Tue Mar 25 2014 Chris Feist - 0.9.115-32 - Add ability to set totem options with pcs during cluster setup * Tue Feb 25 2014 Chris Feist - 0.9.115-31 - Add ability to see group/clone/ms constraints and meta attributes in pcsd * Mon Feb 24 2014 Chris Feist - 0.9.115-30 - Fix traceback with bad arguments to location rules - Fix results code when attempting to remove an order that doesn't exist * Fri Feb 21 2014 Chris Feist - 0.9.115-29 - Don't allow users to clone groups that have already been cloned - Fix order remove to remove resources from sets - Don't allow a user to force-start a group, clone or master/slave - When using debug-start use proper return code - Added cluster properties hover text - Fixed issue with stripping a nil value - HTML escape resource descriptions * Wed Feb 19 2014 Chris Feist - 0.9.115-28 - Remove leading/trailing white space in resource descriptions - Added tooltips for advanced cluster creation options - Fixed other 'Remove fence devices' button - When deleting a resource with pcsd use --force to prevent issues - Add proper tooltip for resource description info icon - Fix for long cluster names in menu - Do a better job of detecting when to send a redirect and when to notif - Don't silently ignore bad operation names * Tue Feb 18 2014 Chris Feist - 0.9.115-27 - Added --nodesc option to pcs stonith list - Don't attempt to print metadata for fence_sanlockd * Tue Feb 18 2014 Chris Feist - 0.9.115-26 - Fixed dialog text when removing a fence device - Show tool tips for optional fence agent arguments - Fix bad link on resource remove sprite - When removing a resource or fence device, show blank info - Fix resource management issues when pacemaker is not running - If first node is down, allow other nodes to show resource/stonith forms - Removing all nodes, now removes cluster configuration - Added ability to see nodes corosync/pacemaker/pcsd startup settings - Added extra colspan to improve long cluster name display - Added ability to configure IPv6 cluster - Added ability to set corosync transport in GUI - Added ability to set advanced cluster options on creation - Renamed last_node_standing to last_man_standing - On cluster creation color unauthorized nodes in orange - Added proper redirect when session variable times out - Fixed traceback when missing authentication tokens * Mon Feb 17 2014 Chris Feist - 0.9.115-24 - Added support for meta attributes in the GUI - Moved pcmk_host_list/map/check to optional arguments * Wed Feb 12 2014 Chris Feist - 0.9.115-23 - Added ability to use 'and/or' with rules - Fixed stonith optional arguments in pcsd * Tue Feb 11 2014 Chris Feist - 0.9.115-22 - Fixed selection arrow when selecting new resource on resources page - Fixed permissions on pcsd.service file * Thu Feb 06 2014 Chris Feist - 0.9.115-21 - Added support for resource descriptions - Show all nodes a resource is on for cloned resources - Improve visibility of dropdown menus - Keep last attempted login username if login fails * Tue Feb 04 2014 Chris Feist - 0.9.115-20 - Fixed issue when removing all resources or fence devices - Fixed duplicate id on fence device page * Mon Feb 03 2014 Chris Feist - 0.9.115-19 - Fixed issue when creating a cluster from the GUI on a node that isn't in the newly formed cluster - The GUI is now better at keeping track of nodes in the cluster * Tue Jan 28 2014 Chris Feist - 0.9.115-17 - Fixed issue with cluster properties not displaying properly when running pcsd on a node that was not in the cluster being managed - Fixed /etc/sysconfig/pcsd file for pcsd * Tue Jan 28 2014 Chris Feist - 0.9.115-1 - Re-synced to upstream sources * Fri Jan 24 2014 Daniel Mach - 0.9.114-2 - Mass rebuild 2014-01-24 * Thu Jan 23 2014 Chris Feist - 0.9.114-1 - Re-synced to upstream sources * Wed Jan 22 2014 Chris Feist - 0.9.113-1 - Re-synced to upstream sources * Mon Jan 20 2014 Chris Feist - 0.9.112-1 - Re-synced to upstream sources * Mon Jan 20 2014 Chris Feist - 0.9.111-1 - Re-synced to upstream sources * Fri Jan 17 2014 Chris Feist - 0.9.110-1 - Re-synced to upstream sources * Wed Jan 15 2014 Chris Feist - 0.9.108-1 - Re-synced to upstream sources * Wed Jan 15 2014 Chris Feist - 0.9.107-1 - Re-synced to upstream sources * Tue Jan 14 2014 Chris Feist - 0.9.106-1 - Re-synced to upstream sources * Mon Jan 13 2014 Chris Feist - 0.9.105-1 - Re-synced to upstream sources * Fri Jan 10 2014 Chris Feist - 0.9.104-1 - Re-synced to upstream sources * Fri Dec 27 2013 Daniel Mach - 0.9.100-2 - Mass rebuild 2013-12-27 * Tue Nov 12 2013 Chris Feist - 0.9.100-1 - Re-synced to upstream sources * Thu Nov 07 2013 Chris Feist - 0.9.99-2 - Re-synced to upstream sources * Wed Nov 06 2013 Chris Feist - 0.9.98-1 - Re-synced to upstream sources * Tue Nov 05 2013 Chris Feist - 0.9.96-2 - Re-synced to upstream sources * Tue Oct 29 2013 Chris Feist - 0.9.96-2 - Re-synced to upstream sources * Tue Oct 22 2013 Chris Feist - 0.9.95-2 - Re-synced to upstream sources * Tue Oct 22 2013 Chris Feist - 0.9.94-1 - Re-synced to upstream sources * Wed Oct 16 2013 Chris Feist - 0.9.91-1 - Re-synced to upstream sources * Tue Oct 15 2013 Chris Feist - 0.9.92-2 - Re-synced to upstream sources * Wed Oct 09 2013 Chris Feist - 0.9.91-1 - Re-synced to upstream sources * Wed Sep 18 2013 Chris Feist - 0.9.84-1 - Re-synced to upstream sources * Tue Sep 03 2013 Chris Feist - 0.9.77-1 - Re-synced to upstreams sources * Tue Sep 03 2013 Chris Feist - 0.9.76-1 - Re-synced to upstreams sources * Fri Aug 09 2013 Chris Feist - 0.9.71-1 - Rebuilt with new upstream sources * Fri Aug 09 2013 Chris Feist - 0.9.63-1 - Rebuilt with new upstream sources * Wed Aug 07 2013 Chris Feist - 0.9.62-1 - Rebuilt with new upstream sources * Tue Aug 06 2013 Chris Feist - 0.9.61-1 - Rebuilt with new upstream sources * Mon Jul 29 2013 Chris Feist - 0.9.60-1 - Rebuilt with new upstream sources - Added pcsd wizards * Tue Jul 23 2013 Chris Feist - 0.9.58-1 - Rebuilt with new upstream sources * Tue Jul 23 2013 Chris Feist - 0.9.57-1 - Rebuilt with new upstream sources * Mon Jul 22 2013 Chris Feist - 0.9.56-1 - Rebuilt with upstream source - Added missing bash completion file * Mon Jul 22 2013 Chris Feist - 0.9.55-1 - Rebuilt with upstream source * Wed Jul 10 2013 Chris Feist - 0.9.54-4 - Fix rpam error after adding systemd macros * Wed Jul 10 2013 Chris Feist - 0.9.54-3 - Rebuild with proper upstream sources * Wed Jul 10 2013 Chris Feist - 0.9.54-1 - Rebuild with upstream sources * Wed Jul 10 2013 Chris Feist - 0.9.53-2 - Added systemd macros * Tue Jul 09 2013 Chris Feist - 0.9.53-1 - Rebuild with upstream sources * Mon Jul 08 2013 Chris Feist - 0.9.52-1 - Rebuild with upstream sources * Mon Jul 01 2013 Chris Feist - 0.9.49-3 - Fix pcsd.conf source file location. * Mon Jul 01 2013 Chris Feist - 0.9.49-1 - Rebuild with upstream sources * Tue Jun 18 2013 Chris Feist - 0.9.48-1 - Rebuild with upstream sources * Wed Jun 12 2013 Chris Feist - 0.9.47-1 - Rebuild with upstream sources * Mon Jun 10 2013 Chris Feist - 0.9.46-1 - Rebuild with upstream sources * Wed Jun 05 2013 Chris Feist - 0.9.45-2 - Rebuild with upstream sources * Mon Jun 03 2013 Chris Feist - 0.9.44-4 - Rebuild with upstream sources * Thu May 30 2013 Chris Feist - 0.9.44-1 - Rebuild with upstream sources * Wed May 29 2013 Chris Feist - 0.9.43-1 - Rebuild with upstream sources * Wed May 29 2013 Chris Feist - 0.9.42-5 - Fix issues with ruby 2.0 build * Wed May 29 2013 Chris Feist - 0.9.42-1 - Rebuild with upstream sources * Tue May 07 2013 Chris Feist - 0.9.41-1 - Rebuild with upstream sources * Tue Apr 30 2013 Chris Feist - 0.9.40-1 - Rebuild with upstream sources * Wed Apr 17 2013 Chris Feist - 0.9.39-1 - Rebuild with upstream sources * Tue Apr 09 2013 Chris Feist - 0.9.38-1 - Rebuild with upstream sources * Wed Apr 03 2013 Chris Feist - 0.9.37-4 - Re-enable gem builds with fix for ruby 2.0.0 * Tue Mar 26 2013 Chris Feist - 0.9.37-2 - Temporarily disable gem builds for ruby 2.0.0 * Wed Mar 20 2013 Chris Feist - 0.9.37-1 - Re-synced to upstream * Fri Mar 15 2013 Chris Feist - 0.9.35-1 - Re-synced to upstream * Tue Mar 12 2013 Chris Feist - 0.9.34-1 - Re-synced to upstream - Updated pcsd location to /usr/lib * Wed Feb 20 2013 Chris Feist - 0.9.32-1 - Re-synced to upstream * Mon Feb 18 2013 Chris Feist - 0.9.31-1 - Re-synced to upstream * Mon Jan 14 2013 Chris Feist - 0.9.30-1 - Updated build to properly manage combined pcs/pcsd * Wed Jan 02 2013 Chris Feist - 0.9.29-4 - Updated certificate generation code to fix firefox issues * Fri Dec 07 2012 Chris Feist - 0.9.29-3 - Added in missing pam service * Thu Nov 29 2012 Chris Feist - 0.9.29-2 - Add pam-devel to BuildRequires * Thu Nov 29 2012 Chris Feist - 0.9.29-1 - Resync to latest version of pcs/pcsd * Fri Sep 28 2012 Chris Feist - 0.9.26-1 - Resync to latest version of pcs/pcsd * Tue Aug 21 2012 Chris Feist - 0.9.15-1.test.1 - Resync to latest version of pcs/pcsd * Mon Aug 13 2012 Chris Feist - 0.9.14-1.test.1 - Resync to latest version of pcs/pcsd * Thu Aug 09 2012 Chris Feist - 0.9.13-1.test.1 - Resync to latest version of pcs and rename pcs-gui to pcsd * Mon Jun 11 2012 Chris Feist - 0.9.5-5.test.1 - Resync to latest version of pcs * Mon Jun 11 2012 Chris Feist - 0.9.5-4 - Resync to latest version of pcs * Thu May 24 2012 Chris Feist - 0.9.4-1 - Resync to latest version of pcs - Move cluster creation options to cluster sub command. * Mon May 07 2012 Chris Feist - 0.9.3.1-1 - Resync to latest version of pcs which includes fixes to work with F17. * Mon Mar 19 2012 Chris Feist - 0.9.2.4-1 - Resynced to latest version of pcs * Mon Jan 23 2012 Chris Feist - 0.9.1-1 - Updated BuildRequires and %doc section for fedora * Fri Jan 20 2012 Chris Feist - 0.9.0-2 - Updated spec file for fedora specific changes * Mon Jan 16 2012 Chris Feist - 0.9.0-1 - Initial Build