[release-announce] puppet-pacemaker 0.7.2

no-reply at openstack.org no-reply at openstack.org
Sun Mar 24 23:25:55 UTC 2019


We jubilantly announce the release of:

puppet-pacemaker 0.7.2: Puppet module for Pacemaker

Download the package from:

    https://tarballs.openstack.org/puppet-pacemaker/

For more details, please see below.

0.7.2
^^^^^

New Features

* A new 'deep_compare' parameter has been added to the
  pacemaker::resource::* classes (defaulting to false). By default
  pacemaker does not update resources and will keep doing so. This
  happens for a number of mostly historical reasons (old non HA-NG OSP
  releases had way too many relationships between pacemaker resources
  and puppet-triggered restart would cause havoc on the overcloud,
  also lack of the code for doing this in puppet-pacemaker was a
  factor). When set to true additional code comparison logic will be
  triggered and we will actually update pacemaker resources. We do so
  by modifying an offline CIB with the manifests resources and then
  running crm_simulate on it in order to determine if pacemaker would
  trigger a restart of the resource if the CIB was to be pushed for
  real on to the cluster. We currently cannot use crm_diff due to a
  bug where it would trigger too many false positives. Using
  crm_simulate has one small side-effect. Namely, changes in resource
  operation timeouts normally do not trigger a resource restart and
  hence they won't update a resource. Also note that this is currently
  only supported for resources and bundles (not constraints not
  stonith resources).

Changes in puppet-pacemaker 0.7.1..0.7.2
----------------------------------------

5f79695 Release 0.7.2
5deba12 Make the redfish stonith agent a manual agent and add two workaround
bc7b472 Add fence-redfish support
306b0e0 Initial support for properties managed by pcs 0.10
c7b21ee Initial pcs 0.10 support
002b848 Modify puppet version 4 to 5
93482ad Add cluster_members_addr parameter to specify ip addresses used in cluster setup
7b55ac3 Fix up ordering of remote authkeys and a couple of pcs commands
6632d50 Match node properties more strictly
5800e93 Remove unneeded spec testing file
c2aa846 Deprecate include_class
b2744d3 Fix container_backend customizability
2fb9ce4 Fix stdlib version in metadata
fafb72f Skip some tests for Ubuntu 18.04 and puppet 4.8.
90033be Improve deep_compare detection
a31971d Update min tox version to 2.0
ece92d1 Fix reconnect_interval parameter
9a4bc2d Dissuade .gitignore references to personal tools
48bb89e Also consider podman containers when running facter
1320c38 Rely on path for CLI calls when possible
cbcf2b3 Remove the duplicated "the"
1cc8417 Update overriden to overridden
7a73e8d Fix container_backend issues on update
ecd3c1f switch documentation job to new PTI
123646b import zuul job settings from project-config
a451c3d Add 'Development' in README
e400b7b Abstract container backend
533dad0 Remove PE requirement from metadata.json
205191e Deep_compare fix with location constraints and better debugging
cd20731 Initial support for adding cluster nodes to an existing cluster
8d09c3f Remove the pcmk_is_remote fact
a82e355 Pin net-telnet to 0.1.1
8b2c014 Add the project source code repository in README
9fe625a Fix rspec test on ubuntu os.
475f65f Revert "Initial support for adding cluster nodes to an existing cluster"
966943a Do not call crm_node -n when running in a container
9c9c36b Fix OS versions in metadata
03391e0 Initial support for adding cluster nodes to an existing cluster
d465e25 Use crm_diff for pcmk resource deep_compare
4b14fe1 Introduce a function to verify for fixed crm_diff
8695d6f Fix a small race window when setting up pcmk remotes
354d2db fix tox python3 overrides
c0fb9ae fix error url
2bdb6f1 Move the tests around so pcmk_resource_has_changed? does not get triggered
99b7eb0 Fix missing pass-through of cluster_auth_enabled parameter
44ef58f Detect when a bundle or a resource needs updating
8df2e01 Add a deep_compare option in bundles and resources
da4673f Introduce some new functions in pcmk_common
77ba104 Work around ruby 2.5 dropping Dir::Tmpname.make_tmpname
ec5e694 Wrap the logic for creating resource and location_rule in its own function
52e85b0 Change resource/location exists return code and store their return codes in a class instance variable
6388e3f Move location_rule build to a common function
80667cc Add serverspec to Gemfile
c3e09a6 Wrap pcs command generation into their own functions
24d465a Wrap the cib file deletion commands in a function
faf5d4f Drop ubuntu 14.04 from spec tests
faa731b Fix up error code path
bde4061 Allow meta_params and op_params on resource::ip
2d24201 Follow the new PTI for document build
63016fa Add .tox/ to .gitignore
256d592 Add a pcsd_debug option


Diffstat (except docs and test files)
-------------------------------------

.gitignore                                         |  14 +-
.zuul.yaml                                         |   1 +
Gemfile                                            |   3 +-
README.md                                          |   7 +-
agent_generator/src_xml/fence_redfish.xml          | 182 ++++++++++
agent_generator/variables.sh                       |   3 +
bindep.txt                                         |   4 +
test-requirements.txt => doc/requirements.txt      |   0
lib/facter/pacemaker_node_name.rb                  |   9 +-
lib/facter/pcmk_is_remote.rb                       |   8 -
.../parser/functions/pacemaker_cluster_nodes.rb    |   8 +-
.../functions/pacemaker_resource_parameters.rb     |   1 +
lib/puppet/parser/functions/pcmk_cluster_setup.rb  |  62 ++++
lib/puppet/parser/functions/pcmk_nodes_added.rb    |  54 +++
lib/puppet/provider/pcmk_bundle/default.rb         | 167 ++++++---
lib/puppet/provider/pcmk_common.rb                 | 388 ++++++++++++++++++++-
lib/puppet/provider/pcmk_property/default.rb       |  50 ++-
lib/puppet/provider/pcmk_resource/default.rb       | 123 ++++---
lib/puppet/type/pcmk_bundle.rb                     |  31 ++
lib/puppet/type/pcmk_resource.rb                   |  27 ++
manifests/corosync.pp                              | 102 +++++-
manifests/new.pp                                   |  31 +-
manifests/new/wrapper.pp                           |   2 +-
manifests/params.pp                                |   7 +
manifests/resource/bundle.pp                       |  18 +
manifests/resource/filesystem.pp                   |  17 +
manifests/resource/ip.pp                           |  28 ++
manifests/resource/lsb.pp                          |  16 +
manifests/resource/ocf.pp                          |  15 +
manifests/resource/remote.pp                       |  16 +
manifests/resource/route.pp                        |  16 +
manifests/resource/service.pp                      |  16 +
manifests/resource/systemd.pp                      |  16 +
manifests/stonith/fence_redfish.pp                 | 343 ++++++++++++++++++
metadata.json                                      |  15 +-
.../notes/update-resources-ae2ef4f9e75e8699.yaml   |  16 +
spec/classes/coverage_spec.rb                      |   3 -
spec/classes/pacemaker_service_spec.rb             |  49 +--
spec/classes/pacemaker_spec.rb                     |  26 +-
spec/defines/pacemaker_contain_spec.rb             |   2 -
spec/functions/pacemaker_cluster_nodes_spec.rb     |   1 -
spec/functions/pcmk_cluster_setup_spec.rb          |  41 +++
spec/functions/pcmk_nodes_added_spec.rb            |  31 ++
spec/unit/puppet/provider/cib-orig.xml             | 238 +++++++++++++
spec/unit/puppet/provider/pcmk_common_spec.rb      |  76 ++++
tox.ini                                            |   5 +-
46 files changed, 2050 insertions(+), 238 deletions(-)







More information about the Release-announce mailing list