Bug 1274252

Summary: "Unable to connect to Neutron" message on horizon
Product: Red Hat OpenStack Reporter: Pratik Pravin Bandarkar <pbandark>
Component: python-django-horizonAssignee: Matthias Runge <mrunge>
Status: CLOSED DUPLICATE QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 6)CC: aortega, athomas, mrunge, vumrao, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 5.0 (RHEL 6)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-horizon-2014.1.5-2.el7ost, python-django-horizon-2014.1.5-2.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-23 20:20:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pratik Pravin Bandarkar 2015-10-22 11:25:11 UTC
Description of problem:

From horizon, if we click on "instance" tab following error popup:
---
"Unable to connect to Neutron" 
---

Version-Release number of selected component (if applicable):
openstack-dashboard-2014.1.5-1.el6ost.noarch
python-django-horizon-2014.1.5-1.el6ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. update openstack-dashboard to 2014.1.5-1
2. from horizon --> click on instance tab.
3.

Actual results:

From horizon, if we click on "instance" tab following error popup:
---
"Unable to connect to Neutron" 
---

Expected results:
error should not display on horizon portal.


Additional info:

Comment 2 Pratik Pravin Bandarkar 2015-10-22 11:28:17 UTC
After digging deeper I found that its similar issue mentioned in:
---
https://bugs.launchpad.net/horizon/+bug/1349841
---

As mentioned in comment #11, I updated "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py" file and the error went away. I will report this issue to engineering team. 

So, for time-being we can follow below workaround:
----
- take backup of "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py"
- Replace:
[...]
         fips = FloatingIpManager(request)
         if fips.is_supported():<===
[...]

 with:
[...]
         fips = FloatingIpManager(request)
         if True:
[...]


- restart httpd service. 
________________

Comment 4 Matthias Runge 2015-10-23 20:20:04 UTC
There is already a fixed, tracking bug is
https://bugzilla.redhat.com/show_bug.cgi?id=1260410

*** This bug has been marked as a duplicate of bug 1260410 ***