Filter for local nodes in check_resource function
Filter for local nodes in check_resource function

While having extra customizations inside a TripleO deployed
Pacemaker environment, say you have instance HA with
pacemaker_remoted or you need to configure an external arbitrator
for something, then the status of the resources for remote nodes
is "Stopped".
This leads to failures while, for example, scaling up.
This fixes the way status is checked, filtering just local nodes.

Co-Authored-By: Giulio Fidente <16c240e05639e6af23d6004da057b148e7020896@redhat.com>
Change-Id: I8dc25f5d7031c265858afd5a266fda5315ae37a0

trozet/opnfv-tht,trozet/opnfv-tht,bcrochet/tripleo-heat-templates,bcrochet/tripleo-heat-templates,dprince/tripleo-heat-templates,openstack/tripleo-heat-templates,trozet/opnfv-tht,openstack/tripleo-heat-templates,bcrochet/tripleo-heat-templates,dprince/tripleo-heat-templates