Unable to get quota information: floating ips
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to deploy Openstack with quantum and OVS plugin using devstack pulled a few hours ago. Openstack installs without errors. When I run horizon, I notice two things that are different than from pre-folsom work I did two weeks ago):
1) in admin panel, I no longer see a Launch Instance button on the Instances page.
2) When I switch to demo project, and click on Instances page, I do see a Launch Instance button, but when I click it, Horizon complains with "Error: Unable to get quota information"
I enabled logging and restarted nova, and saw the following which leads me to believe that some failure in getting floating IP information led to the horizon failure.
2012-08-28 21:48:00 INFO nova.api.
2012-08-28 21:48:00 DEBUG nova.api.
2012-08-28 21:48:00 ERROR nova.api.openstack [^[[01;
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return req.get_
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m application, catch_exc_
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m app_iter = application(
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return resp(environ, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return self.app(env, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return resp(environ, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return resp(environ, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return resp(environ, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/lib/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m response = self.app(environ, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return resp(environ, start_response)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m resp = self.call_func(req, *args, **self.kwargs)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/usr/local/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return self.func(req, *args, **kwargs)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m content_type, body, accept)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m action_result = self.dispatch(meth, request, action_args)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m return method(req=request, **action_args)
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m floating_ips = self.network_
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m File "/opt/stack/
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m raise NotImplementedE
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^
2012-08-28 21:48:00 TRACE nova.api.openstack ^[[01;35m^[[00m
2012-08-28 21:48:00 INFO nova.api.openstack [^[[01;
stack@openstack
2.6.10.53
Here is my nova.conf:
[DEFAULT]
verbose=True
auth_strategy=
log_dir=/tmp
log_file=nova.log
allow_resize_
root_helper=sudo /usr/local/
compute_
dhcpbridge_
fixed_range=
s3_host=192.168.4.1
s3_port=3333
network_
quantum_
quantum_
quantum_
quantum_
quantum_
quantum_url=http://
libvirt_
libvirt_
linuxnet_
osapi_compute_
my_ip=192.168.4.1
public_
vlan_interface=eth0
flat_network_
flat_interface=eth1
sql_connection=
libvirt_type=qemu
libvirt_
instance_
novncproxy_
xvpvncproxy_
vncserver_
vncserver_
api_paste_
image_service=
ec2_dmz_
rabbit_
rabbit_
glance_
force_dhcp_
multi_host=True
send_arp_
logging_
logging_
logging_
logging_
volume_
compute_
firewall_
enabled_
A similar bug (#1040956 horizon unable to obtain quota information ) is currently open, but the nova logs show a completely different exception stack than the one I am seeing, so I'm claiming it is not a duplicate.
Please contact me if I can provide more information, try out a possible fix, and I'll jump right on it.
In the attachment in bug #1040956, we can see:
File "/usr/local/ lib/python2. 7/dist- packages/ nova-2012. 2-py2.7. egg/nova/ network/ quantumv2/ api.py" , line 260, in get_floating_ ips_by_ project rror()
2012-08-25 13:26:43 TRACE nova.api.openstack raise NotImplementedE
that's what you're seeing too, so I'm going to mark as a duplicate