Comment 4 for bug 1987260

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/puppet-swift/+/854538
Committed: https://opendev.org/openstack/puppet-swift/commit/2d1b0a7f8a188b546b5f54fb1fd5372d7f47b350
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 2d1b0a7f8a188b546b5f54fb1fd5372d7f47b350
Author: Takashi Kajinami <email address hidden>
Date: Mon Aug 22 17:11:34 2022 +0900

    Fix type validation warning for storage policy rings

    Since 63688a14e57282ae97072b406c81d0da2f61965c was merged, this module
    support configuring storage policies.

    When multiple storage policies are used, we need to create multiple
    object rings like object.ring.gz, object-1.ring.gz. However the current
    regexp to validate the ring name does not consider this format and
    shows the type validation warning when creating a non-default policy
    rings.

    This change updates the regexp used in validation to accept that
    object-<number> format as well.

    Closes-Bug: #1987260
    Change-Id: Ibc7479e7defbfa4c49bf3c9f1574cdcf61b90ab9
    (cherry picked from commit 11b193cab8f880f1b73c57208646a889979e6fd8)