Network client (neutron) initialized without specifying region

Bug #1570491 reported by Andrey Larionov
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Invalid
Undecided
Unassigned
Mitaka
Fix Released
Undecided
Unassigned
python-openstackclient
Fix Released
Medium
Andrey Larionov
python-openstackclient (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Fix Released
Medium
Corey Bryant

Bug Description

All network (neutron) related commands does not take region into account. In configuration where are more then one region, first one for network service is selected.

Revision history for this message
Richard Theis (rtheis) wrote :

Can you please provide debug output and configuration information?

Revision history for this message
Andrey Larionov (anlarionov) wrote :

I just uploaded patch for review. Think it will be linked soon.

Revision history for this message
Andrey Larionov (anlarionov) wrote :

Why does bot did't link review?

Revision history for this message
Richard Theis (rtheis) wrote :

I'm not sure why it wasn't added: https://review.openstack.org/#/c/306584/

Changed in python-openstackclient:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Andrey Larionov (anlarionov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/306584
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=8c6b5a087a4b0dca16faffdbcb5fc9f2d424ddf8
Submitter: Jenkins
Branch: master

commit 8c6b5a087a4b0dca16faffdbcb5fc9f2d424ddf8
Author: Andrey Larionov <email address hidden>
Date: Fri Apr 15 21:23:20 2016 +0300

    Initialize neutron client with region name

    All clients except neutron are initialized with region name.
    This makes unable to use network related commands of
    openstackclient in multi-region configurations

    Change-Id: I200dc9a2f938c3e69357f91c79810df167e4fccb
    Closes-bug: 1570491

Changed in python-openstackclient:
status: In Progress → Fix Released
Revision history for this message
Andrey Larionov (anlarionov) wrote :

Do you have any estimation on release date, which includes this fix?

Revision history for this message
Richard Theis (rtheis) wrote :

There should hopefully be a release this week.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-openstackclient 2.4.0

This issue was fixed in the openstack/python-openstackclient 2.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (stable/mitaka)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-openstackclient (stable/mitaka)

Change abandoned by Stuart McLaren (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/329419

Changed in python-openstackclient (Ubuntu):
status: New → Invalid
Changed in python-openstackclient (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Corey Bryant (corey.bryant)
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Ubuntu SRU details:

[Description]
The newInitialize neutron client with region name

The openstack client initializes all clients except neutron with the region name. This prevents openstack client from using network related commands in multi-region deployments.

[Test Case]
Deploy a multi-region cloud and use the openstack client against it. The first network service is selected.

[Regression Potential]
Low. This is a small bug fix that is being backported from version 2.4.0 to 2.3.1.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This has been uploaded to the unapproved queue for xenial [1] and is ready for SRU review.

[1] https://launchpad.net/ubuntu/xenial/+queue?queue_state=1&queue_text=

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Andrey, or anyone else affected,

Accepted python-openstackclient into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-openstackclient/2.3.1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in python-openstackclient (Ubuntu Xenial):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-xenial
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Regression testing on xenial-proposed has completed successfully for this. We performed regression testing by juju deploying two openstack clouds, one against -proposed and one against -updates, and running tempest integration smoke tests[1] to verify those deployed clouds, evaluating any differences in results. [1] https://github.com/openstack/tempest/blob/master/README.rst

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Also tested manually on xenial-proposed with invalid endpoint in RegionTwo: http://paste.ubuntu.com/25283922/

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Changed in cloud-archive:
status: New → Invalid
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Also tested manually on trusty-mitaka-proposed with invalid endpoint in RegionTwo: http://paste.ubuntu.com/25283954/

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-openstackclient - 2.3.1-0ubuntu1

---------------
python-openstackclient (2.3.1-0ubuntu1) xenial; urgency=medium

  * d/gbp.conf: Update for stable/mitaka branch.
  * New upstream point release (LP: #1703372).
  * d/p/init-neutron-client-with-region-name.patch: Initialize neutron
    client with region name to enable use with multi-region deployments
    (LP: #1570491).

 -- Corey Bryant <email address hidden> Mon, 10 Jul 2017 09:42:46 -0400

Changed in python-openstackclient (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for python-openstackclient has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Ryan Beisner (1chb1n) wrote :

The verification of the Stable Release Update for python-openstackclient has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Ryan Beisner (1chb1n) wrote :

This bug was fixed in the package python-openstackclient - 2.3.1-0ubuntu1~cloud0
---------------

 python-openstackclient (2.3.1-0ubuntu1~cloud0) trusty-mitaka; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 python-openstackclient (2.3.1-0ubuntu1) xenial; urgency=medium
 .
   * d/gbp.conf: Update for stable/mitaka branch.
   * New upstream point release (LP: #1703372).
   * d/p/init-neutron-client-with-region-name.patch: Initialize neutron
     client with region name to enable use with multi-region deployments
     (LP: #1570491).

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

Other bug subscribers

Related blueprints

Remote bug watches

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