Bug 1602783

Summary: crm_node -n must not be called within meta-data calls
Product: Red Hat Enterprise Linux 7 Reporter: Michele Baldessari <michele>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: pkomarov
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.6CC: agk, cluster-maint, fdinitto, mkrcmari, pkomarov
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: resource-agents-4.1.1-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:39:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michele Baldessari 2018-07-18 13:33:18 UTC
Description of problem:
When creating bundles (rabbit/galera/redis) with pcmk-1.1.19 code inside against a pcmk-1.1.18 cluster, we will experience crm_node -n hanging, because when pcs creates the bundle it will invoke the meta-data function. Doing so in this specific configuration will invoke crm_node -n which will hang.

By not invoking crm_node -n, everything is fine.

This is due to the newly introduced CRM_OP_NODE_INFO call and this very specific upgrade path.

Fix is here: https://github.com/ClusterLabs/resource-agents/pull/1173/

Comment 4 pkomarov 2018-08-01 09:19:53 UTC
Verified, 

[root@controller-0 ~]# docker exec -it galera-bundle-docker-0 sh -c "rpm -q pacemaker resource-agents"
pacemaker-1.1.19-4.el7.x86_64
resource-agents-4.1.1-4.el7.x86_64
[root@controller-0 ~]# rpm -q pacemaker resource-agents
pacemaker-1.1.18-11.el7_5.3.x86_64
resource-agents-3.9.5-124.el7.x86_64

...
2018-08-01 08:22:38Z [overcloud]: CREATE_COMPLETE  Stack CREATE completed successfully

 Stack overcloud CREATE_COMPLETE 

Started Mistral Workflow tripleo.deployment.v1.get_horizon_url. Execution ID: 1d512b4e-a447-4d2b-9e13-0cdf0eb8bf4b
Overcloud Endpoint: http://10.0.0.106:5000/
Overcloud Horizon Dashboard URL: http://10.0.0.106:80/dashboard
Overcloud rc file: /home/stack/overcloudrc
Overcloud Deployed

Comment 6 errata-xmlrpc 2018-10-30 11:39:24 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-2018:3278