Import context from neutron_lib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-powervm |
Fix Released
|
High
|
Sridhar Venkat |
Bug Description
Changes in https:/
Otherwise, the following exceptions occur:
2017-03-09 20:15:32.556738 | Traceback (most recent call last):
2017-03-09 20:15:32.556797 | File "/home/
2017-03-09 20:15:32.556823 | module = self._get_
2017-03-09 20:15:32.556884 | File "/home/
2017-03-09 20:15:32.556906 | __import__(name)
2017-03-09 20:15:32.556946 | File "networking_
2017-03-09 20:15:32.556978 | from networking_
2017-03-09 20:15:32.557013 | File "networking_
2017-03-09 20:15:32.557037 | from neutron import context as ctx
2017-03-09 20:15:32.557060 | ImportError: cannot import name context
Changed in networking-powervm: | |
assignee: | nobody → Sridhar Venkat (svenkat) |
importance: | Undecided → High |
summary: |
- Need to back port 442540 to coat + Import context from neutron_lib |
Changed in networking-powervm: | |
status: | New → Fix Released |
Reviewed: https:/ /review. openstack. org/443960 /git.openstack. org/cgit/ openstack/ networking- powervm/ commit/ ?id=f1ac6dcad9c cd137017ba68b47 e5f4f42f7bfbe5
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit f1ac6dcad9ccd13 7017ba68b47e5f4 f42f7bfbe5
Author: Eric Berglund <email address hidden>
Date: Tue Mar 7 08:53:47 2017 -0600
Import context from neutron_lib
The context.py file has been moved from neutron to neutron-lib.
This updates the import statement accordingly.
Closes-Bug: #1671628
Change-Id: I061c0b64e19f1d aedb506f3a4cc34 edfc6306b4c 890738d414fd4a6 fab997f53e)
(cherry picked from commit 240fa28d66288e3