Need ability to configure cinder's settings for nova

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

Bug Description

Cinder has a "nova" section in its config which is used when cinder accesses the nova API endpoint. Currently, none of those settings can be managed by TripleO, and the default values are insufficient for some features to work.

For example, the process of extending an in-use volume requires cinder invoke nova's os_compute_api:os-server-external-events:create, and that API is forbidden on nova's public endpoint. Unfortunately, that's the endpoint cinder uses unless TripleO can override the default configuration.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/616666

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/616669

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/616666
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=ca688946a2e01e479a02824bb59d27aaf5778f6a
Submitter: Zuul
Branch: master

commit ca688946a2e01e479a02824bb59d27aaf5778f6a
Author: Alan Bishop <email address hidden>
Date: Thu Nov 8 13:32:22 2018 -0500

    Include ::cinder::nova in cinder's configuration

    Partial-Bug: #1802347
    Change-Id: I925e25bcc352955560fc449fc5287e56beb12ca3

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-tripleo (stable/rocky)

Change abandoned by Alan Bishop (<email address hidden>) on branch: stable/rocky
Review: https://review.openstack.org/618316
Reason: Waiting for a tht patch on master to merge first.

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

Reviewed: https://review.openstack.org/616669
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f49ca18155eddab5ef29f897e95c4b2ee79d78f7
Submitter: Zuul
Branch: master

commit f49ca18155eddab5ef29f897e95c4b2ee79d78f7
Author: Alan Bishop <email address hidden>
Date: Thu Nov 8 13:43:17 2018 -0500

    Configure cinder's access to the nova API

    Configure cinder to use the nova API's admin endpoint instead of the
    default public endpoint. Add the necessary auth credentials so that
    cinder can access nova's API as a privileged user, which is required
    for certain actions (see [1]).

    [1] https://git.openstack.org/cgit/openstack/cinder/tree/cinder/compute/nova.py#n86

    Closes-Bug: #1802347
    Depends-On: I925e25bcc352955560fc449fc5287e56beb12ca3
    Depends-On: Ia357ea41f8472d47e266d853f120a14b767e880d
    Change-Id: Ic0eef51c1dafd4a1378f5317390e7c09f1d429cd

Changed in tripleo:
status: In Progress → Fix Released
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/618525

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

Reviewed: https://review.openstack.org/618316
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=1c6d183124d1937cf96ebd44a2b777010b9fcfbd
Submitter: Zuul
Branch: stable/rocky

commit 1c6d183124d1937cf96ebd44a2b777010b9fcfbd
Author: Alan Bishop <email address hidden>
Date: Thu Nov 8 13:32:22 2018 -0500

    Include ::cinder::nova in cinder's configuration

    Partial-Bug: #1802347
    Depends-On: I35885a30ff9f023f52e29fd2585805e44ab6f85e
    Change-Id: I925e25bcc352955560fc449fc5287e56beb12ca3
    (cherry picked from commit ca688946a2e01e479a02824bb59d27aaf5778f6a)

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

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

commit c7e16c3e7ad0af20f07551f3b86419c4e37d75d5
Author: Alan Bishop <email address hidden>
Date: Thu Nov 8 13:43:17 2018 -0500

    Configure cinder's access to the nova API

    Configure cinder to use the nova API's admin endpoint instead of the
    default public endpoint. Add the necessary auth credentials so that
    cinder can access nova's API as a privileged user, which is required
    for certain actions (see [1]).

    [1] https://git.openstack.org/cgit/openstack/cinder/tree/cinder/compute/nova.py#n86

    Closes-Bug: #1802347
    Depends-On: I925e25bcc352955560fc449fc5287e56beb12ca3
    Depends-On: Ia357ea41f8472d47e266d853f120a14b767e880d
    Change-Id: Ic0eef51c1dafd4a1378f5317390e7c09f1d429cd
    (cherry picked from commit f49ca18155eddab5ef29f897e95c4b2ee79d78f7)

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

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

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/620209

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

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

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

Reviewed: https://review.openstack.org/620097
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=fa2fb539559633baa305c499d52f375d3d925c43
Submitter: Zuul
Branch: stable/queens

commit fa2fb539559633baa305c499d52f375d3d925c43
Author: Alan Bishop <email address hidden>
Date: Thu Nov 8 13:32:22 2018 -0500

    Include ::cinder::nova in cinder's configuration

    Partial-Bug: #1802347
    Depends-On: I35885a30ff9f023f52e29fd2585805e44ab6f85e
    Change-Id: I925e25bcc352955560fc449fc5287e56beb12ca3
    (cherry picked from commit ca688946a2e01e479a02824bb59d27aaf5778f6a)
    (cherry picked from commit 1c6d183124d1937cf96ebd44a2b777010b9fcfbd)

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

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

commit b64e6ebcab6f24ae15947f2df735faef85afa9b7
Author: Alan Bishop <email address hidden>
Date: Thu Nov 8 13:43:17 2018 -0500

    Configure cinder's access to the nova API

    Configure cinder to use the nova API's admin endpoint instead of the
    default public endpoint. Add the necessary auth credentials so that
    cinder can access nova's API as a privileged user, which is required
    for certain actions (see [1]).

    [1] https://git.openstack.org/cgit/openstack/cinder/tree/cinder/compute/nova.py#n86

    Closes-Bug: #1802347
    Depends-On: I925e25bcc352955560fc449fc5287e56beb12ca3
    Depends-On: Ia357ea41f8472d47e266d853f120a14b767e880d
    Change-Id: Ic0eef51c1dafd4a1378f5317390e7c09f1d429cd
    (cherry picked from commit f49ca18155eddab5ef29f897e95c4b2ee79d78f7)
    (cherry picked from commit c7e16c3e7ad0af20f07551f3b86419c4e37d75d5)

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

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

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

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

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.