[rocky, queens] Invalid Cinder API v1 entries in keystone catalog

Bug #1818273 reported by Alan Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alan Bishop

Bug Description

Cinder's API v1 was completely removed during the queens cycle [1], but TripleO continued to create a keystone service and endpoint. This is fixed in stein in puppet-cinder [2], but that patch is unsuitable for backporting (it deprecates some puppet parameters).

[1] https://review.openstack.org/499342
[2] https://review.openstack.org/636456

This bug addresses problem that exists in rocky and queens.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/640480

Changed in tripleo:
milestone: stein-3 → train-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/640480
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9ae5fd8f35bb9c337f040b7181eb3b66ae04ffc8
Submitter: Zuul
Branch: stable/rocky

commit 9ae5fd8f35bb9c337f040b7181eb3b66ae04ffc8
Author: Alan Bishop <email address hidden>
Date: Fri Mar 1 12:48:18 2019 -0500

    Don't create service or endpoint for cinder API v1

    Cinder removed support for API v1 in Queens [1], so don't create the
    keystone service or endpoint for v1.

    Existing keystone catalog entries for v1 are not removed. It is the
    user's responsibility for removing them.

    This issue is fixed in stein [2], but requires a different solution in
    rocky and queens. The keystone endpoint is easily suppressed by setting
    the corresponding cinder::keystone::auth::configure_endpoint hiera value
    False. However, puppet-cinder has no corresponding "configure_service"
    flag, so instead the service_name, service_type and service_description
    hiera values are set to match the corresponding API v3 values.

    [1] https://review.openstack.org/499342
    [2] https://review.openstack.org/636456

    Closes-Bug: 1818273
    Change-Id: Ia9bc71f62ba9dac591be18a1b4229f879c319956

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/644550

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.openstack.org/644550
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=86c8de92b3ac5758b152dc0c1f996f5d9c7aab38
Submitter: Zuul
Branch: stable/queens

commit 86c8de92b3ac5758b152dc0c1f996f5d9c7aab38
Author: Alan Bishop <email address hidden>
Date: Fri Mar 1 12:48:18 2019 -0500

    Don't create service or endpoint for cinder API v1

    Cinder removed support for API v1 in Queens [1], so don't create the
    keystone service or endpoint for v1.

    Existing keystone catalog entries for v1 are not removed. It is the
    user's responsibility for removing them.

    This issue is fixed in stein [2], but requires a different solution in
    rocky and queens. The keystone endpoint is easily suppressed by setting
    the corresponding cinder::keystone::auth::configure_endpoint hiera value
    False. However, puppet-cinder has no corresponding "configure_service"
    flag, so instead the service_name, service_type and service_description
    hiera values are set to match the corresponding API v3 values.

    [1] https://review.openstack.org/499342
    [2] https://review.openstack.org/636456

    Closes-Bug: 1818273
    Change-Id: Ia9bc71f62ba9dac591be18a1b4229f879c319956
    (cherry picked from commit 9ae5fd8f35bb9c337f040b7181eb3b66ae04ffc8)

tags: added: in-stable-queens
Changed in tripleo:
milestone: train-1 → train-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.4.0

This issue was fixed in the openstack/tripleo-heat-templates 9.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.4.0

This issue was fixed in the openstack/tripleo-heat-templates 8.4.0 release.

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.