Cannot create networks if multiple regions exist

Bug #1329552 reported by Clayton O'Neill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-neutron
Fix Released
Undecided
Clayton O'Neill
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

If multiple neutron endpoints exist in different regions, then a "AmbiguousEndpoints:" error will be returned when using some resources (for example, neutron_network).

The fix for this is to define OS_REGION_NAME when calling neutron, if nova_region_name is defined in the neutron config file.

Changed in puppet-neutron:
assignee: nobody → Clayton O'Neill (clayton-oneill)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-neutron (master)

Reviewed: https://review.openstack.org/99801
Committed: https://git.openstack.org/cgit/stackforge/puppet-neutron/commit/?id=d1235d762b96e36b67180ee06929e36c81efd617
Submitter: Jenkins
Branch: master

commit d1235d762b96e36b67180ee06929e36c81efd617
Author: Clayton O'Neill <email address hidden>
Date: Thu Jun 12 19:49:34 2014 +0000

    Add multi-region support

    If only one region is available then the Neutron CLI will just pick the
    only one available. However, if more than one is available, then it
    will error out about ambiguous region. This patch extends the base
    provider code to parse out the nova_region_name when it's parsing out
    the keystone credentials and define the OS_REGION_NAME environment
    variable when calling neutron, if the nova_region_name variable exists
    in the config file.

    Closes-Bug: #1329552
    Change-Id: Ic0d59dcb02a11e93e8fad1e0e2ea830fb0dcccc7

Changed in puppet-neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/102219

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

Reviewed: https://review.openstack.org/102219
Committed: https://git.openstack.org/cgit/stackforge/puppet-neutron/commit/?id=56c5327710716faa433cbdbf467cd903171f428b
Submitter: Jenkins
Branch: stable/icehouse

commit 56c5327710716faa433cbdbf467cd903171f428b
Author: Clayton O'Neill <email address hidden>
Date: Thu Jun 12 19:49:34 2014 +0000

    Add multi-region support

    If only one region is available then the Neutron CLI will just pick the
    only one available. However, if more than one is available, then it
    will error out about ambiguous region. This patch extends the base
    provider code to parse out the nova_region_name when it's parsing out
    the keystone credentials and define the OS_REGION_NAME environment
    variable when calling neutron, if the nova_region_name variable exists
    in the config file.

    Closes-Bug: #1329552
    Change-Id: Ic0d59dcb02a11e93e8fad1e0e2ea830fb0dcccc7
    (cherry picked from commit d1235d762b96e36b67180ee06929e36c81efd617)

tags: added: in-stable-icehouse
Mathieu Gagné (mgagne)
Changed in puppet-neutron:
milestone: none → 5.0.0
status: Fix Committed → 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.