Comment 2 for bug 1994160

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

Reviewed: https://review.opendev.org/c/openstack/charm-hacluster/+/862627
Committed: https://opendev.org/openstack/charm-hacluster/commit/f73ca4d52fdc530531366d65e412a17877c88c63
Submitter: "Zuul (22348)"
Branch: master

commit f73ca4d52fdc530531366d65e412a17877c88c63
Author: Corey Bryant <email address hidden>
Date: Tue Oct 25 16:48:21 2022 +0000

    Update 'crm node show' parsing to trim ': member'

    The command 'crm node show' is used on jammy to retrieve the list of
    nodes defined in a cluster. The output for nodes includes ': member'
    which breaks ensuing commands that are using list_nodes() output.

    For example:
    juju-3f6cb6-zaza-4135aa8b2509-8.project.serverstack: member

    This change trims everything including and after the ':' from the
    output.

    Closes-Bug: #1994160
    Change-Id: I54a4f854f3e293503ec97d99a49b6dc51ee50c87