pacemaker-remote resources need to be network space aware

Bug #1824514 reported by Liam Young
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack HA Cluster Charm
Fix Released
Undecided
Liam Young

Bug Description

When a pacemaker remote resource is added to cluster the address for communication with that node is specified. At the moment it just uses the hostname which may not resolve to the correct network space. To correct this:

1) interface-pacemaker-remote needs to be updated to allow the remote unit to specify an ip address for cluster traffic
2) pacemaker-remote charm needs to be updated to set that address with the correct address for the network space being used for the interface
3) hacluster needs updating to consume the new ip address info when creating the resource for the remote node

Liam Young (gnuoy)
Changed in charm-hacluster:
status: New → In Progress
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-hacluster (master)

Fix proposed to branch: master
Review: https://review.openstack.org/652042

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (master)

Reviewed: https://review.openstack.org/652042
Committed: https://git.openstack.org/cgit/openstack/charm-hacluster/commit/?id=27699267edfbf2ce9e5246d6ec89435ab3c4cacb
Submitter: Zuul
Branch: master

commit 27699267edfbf2ce9e5246d6ec89435ab3c4cacb
Author: Liam Young <email address hidden>
Date: Fri Apr 12 11:14:36 2019 +0000

    Use IP supplied via relation for pacmaker remotes

    When setting up resources for pacemaker remote nodes use the IP
    address supplied by the remote node for communication. This
    ensures that communication happens over the desired network
    space.

    Depends-On: I5aa6993ec702f97403d1a659e09a3fb2f5af4202
    Change-Id: I9bb20b5f0b0d780fbf4cc0ac0e5f86fe277c4715
    Closes-Bug: #1824514

Changed in charm-hacluster:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-hacluster:
milestone: none → 19.04
David Ames (thedac)
Changed in charm-hacluster:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.