Comment 4 for bug 2008704

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

Reviewed: https://review.opendev.org/c/openstack/charm-hacluster/+/875768
Committed: https://opendev.org/openstack/charm-hacluster/commit/6909080a77aab7a13ab5e9695e5665b25f2df4e9
Submitter: "Zuul (22348)"
Branch: stable/jammy

commit 6909080a77aab7a13ab5e9695e5665b25f2df4e9
Author: Felipe Reyes <email address hidden>
Date: Mon Feb 27 10:59:00 2023 -0300

    Use get_property instead of get-property

    hacluster uses the command "crm configure get-property <CMD>" to obtain
    a property of the cluster, although "get-property" has been deprecated
    in favor of "get_property", since crmsh-4.2.1 a warning is printed to
    stdout[0] breaking the parsing.

        # crm configure get-property maintenance-mode 2>/dev/null
        WARNING: This command 'get-property' is deprecated, please use 'get_property'
        INFO: "get-property" is accepted as "get_property"
        true

    [0] https://github.com/ClusterLabs/crmsh/commit/86282af8e5389138ddd204ed5bd9358460219688

    Change-Id: Id0ee9ab1873d14dcd1c960001cdeb8318f599ef5
    Closes-Bug: #2008704
    (cherry picked from commit 8446b38347c666ecb2bddaadfd104ee0d4b5c92a)