Ask Your Question
2

Error: Unable to connect to Neutron

asked 2015-04-09 21:11:51 -0600

KSoucy gravatar image

updated 2015-04-09 21:44:13 -0600

SGPJ gravatar image

I'm getting this error only when deploying instances from Horizon. However, the instances are functioning and reachable on private and external network after being deployed. All services are running and nothings appear to be "broken" with Neutron...

anyone has some suggestions on what could cause this? new deployment of devstask - here's our local.conf script file:

[[local|localrc]]
HOST_IP=x.x.x.x(intentionally removed)
SERVICE_HOST=$HOST_IP


ADMIN_PASSWORD=(intentionally removed)
DATABASE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
MYSQL_PASSWORD=$ADMIN_PASSWORD

LOGFILE=stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
VERBOSE=True
LOG_COLOR=True
RECLONE=no



ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch #,c-bak
#ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond

ENABLED_SERVICES+=,n-novnc

disable_service n-net
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron,q-metering #,q-lbaas
#Q_ML2_TENANT_NETWORK_TYPE=vxlan
#Q_DVR_MODE=dvr_snat


ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
SWIFT_REPLICAS=1
SWIFT_HASH=011688b4413657e209e


# Images
# Use this image when creating test instances
IMAGE_URLS+=",http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img"
# Use this image when working with Orchestration (Heat)
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-i386-cfntools.qcow2"
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"

#ENABLED_SERVICES+=,tempest
#API_RATE_LIMIT=False

# Enable the ceilometer metering services
enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector

# Enable the ceilometer alarming services
enable_service ceilometer-alarm-evaluator,ceilometer-alarm-notifier

# Enable the ceilometer api services
enable_service ceilometer-api

[[post-config|$NOVA_CONF]]
[DEFAULT]
notification_driver=nova.openstack.common.notifier.rabbit_notifier,ceilometer.compute.nova_notifier
edit retag flag offensive close merge delete

Comments

it happend to me too! this error message comes up when there's instance in the instance list. and I went to openstack_dashboard/neutron.py which is located under horizon folder and found fips.is_supported(): triggerred the exception and error_message = _('Unable to connect to Neutron.') shown up

blanka gravatar imageblanka ( 2015-04-15 05:13:04 -0600 )edit

and I follow the class under openstack_dashboard/neutron.py and openstack_dashboard/network_base.py and there's no method called "is_supported" under class FloatingIpManager in both neutron.py and network_base.py

is it possible that is_supported method is removed by accident?

blanka gravatar imageblanka ( 2015-04-15 05:17:56 -0600 )edit

by the way, my version is git/horizon origin/stable/icehouse, thanks!

blanka gravatar imageblanka ( 2015-04-15 05:41:51 -0600 )edit

I have the same problem, and have you solved this yet ? I'm looking forwrad to your help. thanks!

junneyang gravatar imagejunneyang ( 2015-05-26 03:26:47 -0600 )edit

Hi , I am facing the same problem and followed all the steps but still unsuccessfull , need help , how can I debug the error I am getting ?

hnhillol gravatar imagehnhillol ( 2015-05-26 14:39:14 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-09 21:48:20 -0600

SGPJ gravatar image

check whether you have exhausted IPs and post neutron log while launching VM.

edit flag offensive delete link more
1

answered 2015-04-10 04:41:23 -0600

lhinds gravatar image

updated 2015-04-10 04:42:53 -0600

Is Neutron running still?

ps -aF | grep neutron*

Have you tried disabling your firewall? I guess you're using Ubuntu?

iptables-save > /etc/iptables.rules
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F

Is it listening?

netstat -ln | grep 9696
edit flag offensive delete link more

Comments

please add this to question comment not as an answer please.

SGPJ gravatar imageSGPJ ( 2015-04-14 23:20:19 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

4 followers

Stats

Asked: 2015-04-09 21:11:51 -0600

Seen: 2,887 times

Last updated: Jul 17 '15