Bug 1232015

Summary: instack-undercloud: one controller deployment: running "pcs status" - Error: cluster is not currently running on this node
Product: [Community] RDO Reporter: Alexander Chuzhoy <sasha>
Component: openstack-tripleo-heat-templatesAssignee: Giulio Fidente <gfidente>
Status: CLOSED WORKSFORME QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jason.dobies, srevivo
Target Milestone: ---   
Target Release: Kilo   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-05 10:51:57 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 Alexander Chuzhoy 2015-06-15 20:28:18 UTC
instack-undercloud:  one controller deployment: running "pcs status" -  Error: cluster is not currently running on this node

Environment:
pcs-0.9.137-13.el7_1.2.x86_64
instack-undercloud-2.1.2-dev8.el7.centos.noarch

Steps to reproduce:
1. Deploy overcloud with one controller.
2. Login to the controller and run "pcs status"

Result:
Error: cluster is not currently running on this node

Expected result:
No errors.

Comment 1 Giulio Fidente 2015-06-16 06:23:51 UTC
hi, can you check if you have the following:

https://github.com/rdo-management/tripleo-heat-templates/commit/edf29c16e0473f9d96d3d55b0b28f67de5a624bc

in /usr/share/openstack-tripleo-heat-templates/overcloud-resource-registry-puppet.yaml ?

Comment 2 Alexander Chuzhoy 2015-06-16 13:50:48 UTC
Checked, the change isn't there.

Comment 4 Giulio Fidente 2015-10-05 10:51:57 UTC
While the 'pcs' command is installed by default in the overcloud images, to make the Director setup a Pacemaker cluster on the controller nodes one needs to pass the following to the deploy command:

  -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml

without it, the Pacemaker cluster is not going to be created.