Bug 1451842 - pcsd race condition on overcloud deploy while calling cluster_destroy
Summary: pcsd race condition on overcloud deploy while calling cluster_destroy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-pacemaker
Version: 11.0 (Ocata)
Hardware: x86_64
OS: Linux
low
low
Target Milestone: Upstream M2
: 12.0 (Pike)
Assignee: Michele Baldessari
QA Contact: Marian Krcmarik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-17 15:34 UTC by Raoul Scarazzini
Modified: 2018-09-03 11:17 UTC (History)
9 users (show)

Fixed In Version: puppet-pacemaker-0.6.1-0.20170609092028.4b2c5aa.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 21:28:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1692923 0 None None None 2017-05-23 15:11:59 UTC
OpenStack gerrit 467281 0 'None' MERGED Add retries for pcs cluster setup 2021-01-05 18:33:02 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Raoul Scarazzini 2017-05-17 15:34:28 UTC
Description of problem:

Overcloud deploy fails while trying to add a messaging node in a composable environment.
On the controller node the failure seems related to the cluster setup command:

Error: /sbin/pcs cluster setup --wait --name tripleo_cluster controller-0 controller-1 controller-2 messaging-0 messaging-1 messaging-2 galera-0 galera-1 galera-2 --token 10000 returned 1 instead of one of [0]
Error: /Stage[main]/Pacemaker::Corosync/Exec[Create Cluster tripleo_cluster]/returns: change from notrun to 0 failed: /sbin/pcs cluster setup --wait --name tripleo_cluster controller-0 controller-1 controller-2 messaging-0 messaging-1 messaging-2 galera-0 galera-1 galera-2 --token 10000 returned 1 instead of one of [0]

Looking at the nodes (sosreport will be attached) error is related to the messaging-1 node:

Error: /sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1 returned 1 instead of one of [0]
Error: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/returns: change from notrun to 0 failed: /sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1 returned 1 instead of one of [0]

The pcsd call that fails is specifically this one:

::ffff:172.17.0.24 - - [17/May/2017:01:46:41 +0000] "GET /remote/cluster_destroy HTTP/1.1" 401 24 0.0181

this gives 401 and the entire deployment to fail.

Version-Release number of selected component (if applicable):

The tested puddle is 2017-05-09.2

How reproducible:

It's a race, so no specific tests are needed, just some continuous deployment on the same env.

Actual results:

Deploy fails.

Expected results:

Deploy succeed.

Additional info:

This race happened 1 time in a string of 20 consecutive deployments, so can be considered "rare".

Comment 1 Raoul Scarazzini 2017-05-17 16:39:11 UTC
Here the sosreports: http://file.rdu.redhat.com/~rscarazz/BZ1451842/

Comment 8 errata-xmlrpc 2017-12-13 21:28:17 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/RHEA-2017:3462


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