Bug 1726694 - OSP 14->15: upgrade breaks -- outdated pacemaker scale-up logic missing `--start` and `addr=`
Summary: OSP 14->15: upgrade breaks -- outdated pacemaker scale-up logic missing `--st...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-pacemaker
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Jiri Stransky
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1727807
TreeView+ depends on / blocked
 
Reported: 2019-07-03 13:14 UTC by Jiri Stransky
Modified: 2019-12-02 10:11 UTC (History)
6 users (show)

Fixed In Version: puppet-pacemaker-0.7.3-0.20190807230458.8b30131.el8ost.noarch
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-02 10:11:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1835217 0 None None None 2019-07-03 14:16:44 UTC
OpenStack gerrit 671011 0 'None' MERGED Scale up logic with extra IP addresses for pcs 0.10 2020-02-03 12:38:52 UTC
Red Hat Product Errata RHBA-2019:4030 0 None None None 2019-12-02 10:11:54 UTC

Description Jiri Stransky 2019-07-03 13:14:05 UTC
Looks like the scale-up logic is outdated here:

https://github.com/openstack/puppet-pacemaker/blob/658f4ee6d982169191531bd0daf6ef8e08f06ddc/manifests/corosync.pp#L223

It fails, i had to scale up manually via e.g. `pcs cluster node add controller-2 addr=172.17.1.11 --start --wait`.

The error message produced is:

        "<13>Jul 1 16:53:28 puppet-user: Notice: /Stage[main]/Pacemaker::Corosync/Exec[Adding Cluster node: controller-1 to Cluster tripleo_cluster]/returns: Error: Cannot specify '--wait' without specifying '-
-start'",
        "<13>Jul 1 16:53:28 puppet-user: Notice: /Stage[main]/Pacemaker::Corosync/Exec[Adding Cluster node: controller-1 to Cluster tripleo_cluster]/returns: Error: Errors have occurred, therefore pcs is unable
 to continue",
        "<13>Jul 1 16:53:28 puppet-user: Notice: /Stage[main]/Pacemaker::Corosync/Exec[Adding Cluster node: controller-1 to Cluster tripleo_cluster]/returns: No addresses specified for host 'controller-1', usin
g 'controller-1'",
        "<13>Jul 1 16:53:28 puppet-user: Error: '/sbin/pcs cluster node add controller-1 --wait' returned 1 instead of one of [0]",
        "<13>Jul 1 16:53:28 puppet-user: Error: /Stage[main]/Pacemaker::Corosync/Exec[Adding Cluster node: controller-1 to Cluster tripleo_cluster]/returns: change from 'notrun' to ['0'] failed: '/sbin/pcs clus
ter node add controller-1 --wait' returned 1 instead of one of [0]",

Comment 1 Jiri Stransky 2019-07-17 13:25:22 UTC
Upstream patch posted and tested manually.

Comment 3 Shelley Dunne 2019-09-19 18:29:48 UTC
Re-setting Target Milestone z1 to --- to begin the 15z1 Maintenance Release.

Comment 10 errata-xmlrpc 2019-12-02 10:11:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4030


Note You need to log in before you can comment on or make changes to this bug.