Comment 7 for bug 1971762

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/+/852495
Committed: https://opendev.org/openstack/charm-hacluster/commit/c579d517c5a0a5c95ff24f874e9445ed25245e10
Submitter: "Zuul (22348)"
Branch: stable/jammy

commit c579d517c5a0a5c95ff24f874e9445ed25245e10
Author: Felipe Reyes <email address hidden>
Date: Thu May 5 15:03:58 2022 -0400

    Catch FileExistsError when creating /etc/corosync dir.

    Hooks are expected to be idempotent, if the install hook for whatever
    reason needs to be re-run and the /etc/corosync directory already exists,
    because for example it was created in a previous run, the exception
    FileExistsError will be raised, this change captures the exception and
    moves on.

    Change-Id: If43a5c95bb59c9cca7f1a975214a9f013ad6f4d6
    Closes-Bug: #1971762
    (cherry picked from commit 715d31e09f939844bd27f2d4ed8c9207598a5938)