puppet-glance configures glance backends using deprecated glance parameters

Bug #1846808 reported by Alan Bishop on 2019-10-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-glance
Undecided
Alan Bishop

Bug Description

puppet-glance only provides glance::api::stores and glance::api::default_store parameters for configuring glance backends. However, glance deprecated these parameters in Rocky, in favor of the 'enabled_backends' and 'default_backend' parameters that support the Multi Store feature. Multi Store supports configuring multiple backends of the same type (e.g. multiple rbd backends).

Also, puppet-glance's glance::backend::* resources are implemented as puppet classes, which precludes defining more than one instance.

See [1] for glance's deprecation notice. The parameters are scheduled for removal in Ussuri.

[1] https://docs.openstack.org/glance/rocky/configuration/glance_api.html#glance-store

Changed in puppet-glance:
assignee: nobody → Alan Bishop (alan-bishop)
status: New → In Progress

Reviewed: https://review.opendev.org/686822
Committed: https://git.openstack.org/cgit/openstack/puppet-glance/commit/?id=fd02761c6e634100ce4583c88a092f2958742ae7
Submitter: Zuul
Branch: master

commit fd02761c6e634100ce4583c88a092f2958742ae7
Author: Alan Bishop <email address hidden>
Date: Fri Oct 11 05:58:47 2019 -0700

    Update the method of configuring glance backends

    This patch updates the method of configuring glance backends to use the
    modern syntax associated with glance's Multi Store feature. Glance's
    glance_store/stores and glance_store/default_store parameters were
    deprecated in Rocky, and are scheduled for removal in Ussuri.

    Backends are now specified using new glance::api::enabled_backends and
    glance::api::default_backend parameters. A series of
    glance::backend::multistore::* defined resources support configuring
    multiple instances of each backend.

    The legacy glance::api::stores and glance::api::default_store parameters,
    as well as the glance::backend::* class resources, are deprecated, but
    continue to function for backward compatibility.

    The glance::backend::s3 class is completely deprecated. Glance removed
    support for the s3 backend in Newton.

    Closes-Bug: #1846808
    Change-Id: I4f3ec9ee7c4147a4e62de961a9532bdc45526f6b

Changed in puppet-glance:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/695754
Committed: https://git.openstack.org/cgit/openstack/puppet-glance/commit/?id=69c10c44441028574827e77379bd2d36f3dd5dd5
Submitter: Zuul
Branch: stable/train

commit 69c10c44441028574827e77379bd2d36f3dd5dd5
Author: Alan Bishop <email address hidden>
Date: Fri Oct 11 05:58:47 2019 -0700

    Update the method of configuring glance backends

    This patch updates the method of configuring glance backends to use the
    modern syntax associated with glance's Multi Store feature. Glance's
    glance_store/stores and glance_store/default_store parameters were
    deprecated in Rocky, and are scheduled for removal in Ussuri.

    Backends are now specified using new glance::api::enabled_backends and
    glance::api::default_backend parameters. A series of
    glance::backend::multistore::* defined resources support configuring
    multiple instances of each backend.

    The legacy glance::api::stores and glance::api::default_store parameters,
    as well as the glance::backend::* class resources, are deprecated, but
    continue to function for backward compatibility.

    The glance::backend::s3 class is completely deprecated. Glance removed
    support for the s3 backend in Newton.

    Closes-Bug: #1846808
    Change-Id: I4f3ec9ee7c4147a4e62de961a9532bdc45526f6b
    (cherry picked from commit fd02761c6e634100ce4583c88a092f2958742ae7)

tags: added: in-stable-train

This issue was fixed in the openstack/puppet-glance 16.0.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers