[SRU] FloatingIpManager in neutron.py missing is_supported method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| horizon (Ubuntu) |
Undecided
|
Billy Olsen | ||
| Trusty |
Critical
|
Billy Olsen |
Bug Description
The latest update to neutron (Version: 1:2014.
following error every time an instance is launched:
"Unable to connect to Neutron."
The logs didn't show any more errors.
I traced down that string to the "servers_
openstack-
string to show where the exception happened:
The modified error message now shows:
Unable to connect to Neutron.
'is_supported'
It turned out that the latest neutron ubuntu package doesn't have the correct file update. A check is done on the fips.is_
The neutron.py on openstack's icehouse repository has the method implemented
http://
But the source code of the latest ubuntu package doesn't have the method
http://
-------
[Impact]
* Unable to display floating IP information when using the horizon UI.
[Test Case]
1. Install a horizon and OpenStack.
- bzr branch lp:openstack-charm-testing
- cd openstack-
- juju-deployer -c default.yaml -v -d trusy-icehouse
2. Launch an instance
3. Observe the "Unable to connect to Neutron." message in the error notification bubble.
[Regression Potential]
* None.
* Should a regression occur, it would result in the "Unable to connect to
Neutron." message being shown to the user. Unfortunately, specific the
specific causes is not easy to discern (since the data is not readily
stored in the logs, thus the user would think this wasn't fixed.
Related branches
- Ubuntu Server Developers: Pending requested 2015-07-27
-
Diff: 68 lines (+48/-0)3 files modifieddebian/changelog (+9/-0)
debian/patches/fix-neutron-connection-error.patch (+38/-0)
debian/patches/series (+1/-0)
TimS (tim-sandquist+ubuntu) wrote : | #2 |
This affects us as well. I did some investigation to see what was going on.
The new FloatingIpManager code was added in this commit:
https:/
It was added for bug https:/
Apparently the supporting code that has the missing is_supported() method appears to be from this commit: https:/
I think https:/
Billy Olsen (billy-olsen) wrote : | #3 |
Thanks TimS for the analysis. It looks like this backport included a portion of a blueprint which was not fully backported (namely not showing the Floating IPs when they are not available). Rather than backporting the full blueprint, dropping the checks for the is_supported and simply assuming it is supported (which is what the previous code did) should be an appropriate fix for the icehouse release.
Changed in horizon (Ubuntu): | |
assignee: | nobody → Billy Olsen (billy-olsen) |
description: | updated |
summary: |
- FloatingIpManager in neutron.py missing is_supported method + [SRU] FloatingIpManager in neutron.py missing is_supported method |
Changed in horizon (Ubuntu Trusty): | |
status: | New → In Progress |
assignee: | nobody → Billy Olsen (billy-olsen) |
tags: | added: landscape |
Changed in horizon (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in horizon (Ubuntu Trusty): | |
importance: | Undecided → Critical |
status: | In Progress → Triaged |
James Page (james-page) wrote : | #4 |
I've tested and uploaded this fix to trusty proposed for the SRU team to review - as soon as I have IRC access I'll go chase as well.
tags: | added: regression-update |
Hello Dina, or anyone else affected,
Accepted horizon into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
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 to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
Changed in horizon (Ubuntu Trusty): | |
status: | Triaged → Fix Committed |
tags: | added: verification-needed |
James Page (james-page) wrote : | #6 |
I've pushed this update into our HA icehouse cloud (serverstack); I was able to confirm the bug pre-update, and confirm resolution post update.
I've also exercised Horizon both as a end-user and as a admin user and it tests out OK.
tags: |
added: verification-done removed: verification-needed |
Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package horizon - 1:2014.1.5-0ubuntu2
---------------
horizon (1:2014.
* Fix "Unable to Connect to Neutron" error message which is displayed
in various UI panels. (LP: #1476417)
- d/p/fix-
usage of the FloatingIPManag
-- Billy Olsen <email address hidden> Mon, 27 Jul 2015 10:37:15 -0700
Changed in horizon (Ubuntu Trusty): | |
status: | Fix Committed → Fix Released |
Adam Conrad (adconrad) wrote : Update Released | #8 |
The verification of the Stable Release Update for horizon 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.
Dina (dina-salem) wrote : | #9 |
Verified. Thanks for the update.
Status changed to 'Confirmed' because the bug affects multiple users.