Impossible to set endpoint_type and region_name for nova, cinder and neutron clients

Bug #1633454 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Valeriy Ponomaryov

Bug Description

Since commit [1] we are not able anymore to set endpoint_type and region_name that we want to use with either nova, neutron or cinder clients. Right now only default option is used. So, such bug exists in stable/mitaka, stable/newton and master (ocata-dev) branches.

For cinder it was possible to set it via "cinder_catalog_info" option.
For nova via "nova_catalog_info" and "nova_catalog_admin_info".
And for neutron setting direct url for request "neutron_url".

[1] https://github.com/openstack/manila/commit/7fc492ea

description: updated
tags: added: newton-backport-potential
tags: added: mitaka-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
status: New → In Progress
Changed in manila:
milestone: none → ocata-1
summary: - Impossible to set endpoint_type for nova, cinder and neutron clients
+ Impossible to set endpoint_type and region_name for nova, cinder and
+ neutron clients
description: updated
Changed in manila:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/386627
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=11b38f3188686368412cdbb22ef55570720e3002
Submitter: Jenkins
Branch: master

commit 11b38f3188686368412cdbb22ef55570720e3002
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Oct 14 15:54:23 2016 +0300

    Add support of endpoint_type and region_name to clients manila uses

    Since change [1] it is impossible to set endpoint_type and region_name
    for nova, cinder and neutron clients that are used by manila in some
    cases.
    So, to fix it, add additional options called 'endpoint_type' and
    'region_name' for each of config groups related to these clients.
    These options can be defined in appropriate config group as following:

    [nova]
    endpoint_type = publicURL
    region_name = SomeRegionName

    [cinder]
    endpoint_type = internalURL
    region_name = SomeRegionName

    [neutron]
    endpoint_type = adminURL
    region_name = SomeRegionName

    [1] Ic211a11308a3295409467efd88bff413482ee58d

    Change-Id: I6be0e77bbc0e4b1e9905eba7a7b48ff540e9e377
    Closes-Bug: #1633454

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/396632

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.0.0b1

This issue was fixed in the openstack/manila 4.0.0.0b1 development milestone.

Revision history for this message
Andrey Kirilochkin (andreika-mail) wrote :

Will you create a commit for mitaka since it also affected by this bug?

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Andrey,

all fixes should be proposed and merged in proper branch order. Change to "newton" branch is not merged yet. When it is merged I will "cherry-pick" "newton" change to "mitaka" branch.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/newton)

Reviewed: https://review.openstack.org/396632
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=1248814e22ee57b233d79a4c8246088836fd0e7a
Submitter: Jenkins
Branch: stable/newton

commit 1248814e22ee57b233d79a4c8246088836fd0e7a
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Oct 14 15:54:23 2016 +0300

    Add support of endpoint_type and region_name to clients manila uses

    Since change [1] it is impossible to set endpoint_type and region_name
    for nova, cinder and neutron clients that are used by manila in some
    cases.
    So, to fix it, add additional options called 'endpoint_type' and
    'region_name' for each of config groups related to these clients.
    These options can be defined in appropriate config group as following:

    [nova]
    endpoint_type = publicURL
    region_name = SomeRegionName

    [cinder]
    endpoint_type = internalURL
    region_name = SomeRegionName

    [neutron]
    endpoint_type = adminURL
    region_name = SomeRegionName

    [1] Ic211a11308a3295409467efd88bff413482ee58d

    Change-Id: I6be0e77bbc0e4b1e9905eba7a7b48ff540e9e377
    Closes-Bug: #1633454
    (cherry picked from commit 11b38f3188686368412cdbb22ef55570720e3002)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/405530

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/mitaka)

Reviewed: https://review.openstack.org/405530
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=88104fdb41a9131361618838bf98104a9a399e67
Submitter: Jenkins
Branch: stable/mitaka

commit 88104fdb41a9131361618838bf98104a9a399e67
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Oct 14 15:54:23 2016 +0300

    Add support of endpoint_type and region_name to clients manila uses

    Since change [1] it is impossible to set endpoint_type and region_name
    for nova, cinder and neutron clients that are used by manila in some
    cases.
    So, to fix it, add additional options called 'endpoint_type' and
    'region_name' for each of config groups related to these clients.
    These options can be defined in appropriate config group as following:

    [nova]
    endpoint_type = publicURL
    region_name = SomeRegionName

    [cinder]
    endpoint_type = internalURL
    region_name = SomeRegionName

    [neutron]
    endpoint_type = adminURL
    region_name = SomeRegionName

    Also, combined it with small commit [2] this change depends on.

    [1] Ic211a11308a3295409467efd88bff413482ee58d
    [2] I84d67546e541b29f127057e6c7da990db71f6955

    Change-Id: I6be0e77bbc0e4b1e9905eba7a7b48ff540e9e377
    Closes-Bug: #1633454
    (cherry picked from commit 11b38f3188686368412cdbb22ef55570720e3002)
    (cherry picked from commit 1248814e22ee57b233d79a4c8246088836fd0e7a)

tags: added: in-stable-mitaka
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.