Not able to list floating IPs in ESSEX
Hi,
I have done a two node installation of ESSEX following the document http://
Installed and configured keystone, glance and nova and dashboard.
The IP of the two servers are
=======
server1:
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
auto eth1
iface eth1 inet static
address 10.10.10.11
netmask 255.255.255.0
broadcast 10.10.10.255
gateway 10.10.10.1
Server 2:
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
auto eth1
iface eth1 inet static
address 10.10.10.12
netmask 255.255.255.0
broadcast 10.10.10.255
gateway 10.10.10.1
=======
I am using VLAN manager as networking. eth0 is my VLAN interface and eth1 is my public interface
The following packages are installed in my controller node
ii nova-api 2012.1+
ii nova-cert 2012.1+
ii nova-common 2012.1+
ii nova-compute 2012.1+
ii nova-compute-kvm 2012.1+
ii nova-consoleauth 2012.1+
ii nova-doc 2012.1+
ii nova-network 2012.1+
ii nova-objectstore 2012.1+
ii nova-scheduler 2012.1+
ii nova-volume 2012.1+
ii python-nova 2012.1+
ii python-novaclient 2012.1-0ubuntu1 client library for OpenStack Compute API
The /etc/nova/.conf file of my controller is as follows:
=======
[DEFAULT]
dhcpbridge_
dhcpbridge=
logdir=
state_path=
lock_path=
verbose=true
allow_admin_
use_deprecated_
auth_strategy=
scheduler_
my_ip=10.10.10.11
s3_host=10.10.10.11
rabbit_
cc_host=10.10.10.11
ec2_host=
ec2_dmz_
nova_url=http://
ec2_url=http://
keystone_ec2_url=http://
api_paste_
libvirt_type=kvm
root_helper=sudo nova-rootwrap
#VNC configuration
novnc_enabled=False
#vncserver_
#novncproxy_
#vncserver_
#vncserver_
#Network config
network_
#floating_
fixed_range=
network_size=10
force_dhcp_
#update_
routing_
ec2_private_
#sql_connection
sql_connection=
#sql_connection
iscsi_ip_
vlan_interface=eth0
vlan_start=200
public_
multi_host=True
libvirt_
connection_
#Image service
glance_
image_service=
#Volume service
#volume_
volume_
use_local_
nexenta_sparse=True
nexenta_
nexenta_
nexenta_volume=nova
nexenta_user=****
nexenta_
=======
PROBLEM:
I have set the auth file as follows on controller node.
export SERVICE_TOKEN=admin
export OS_TENANT_
export OS_USERNAME=
export OS_PASSWORD=
export OS_AUTH_URL="http://
export SERVICE_ENDPOINT=http://
I can list tenants,
But I can't list and allocate floating IPs.
When I run the command nova floating-ip-list in a terminal it returns an empty list -- usual behaviour. If I run the command on the same terminal again it hangs and gives the following error. But if I open a new terminal and run the command its working only for first time. For subsequent tries I am getting the same error.
"ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)"
The /var/log/
log file nova-api.log
2012-07-08 18:17:23 ERROR nova.rpc.common [req-cd1bf8fa-
2012-07-08 18:17:23 TRACE nova.rpc.common Traceback (most recent call last):
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common return method(*args, **kwargs)
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common return self.connection
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common return self.transport.
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common return connection.
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common return self.wait_
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common chanmap.keys(), allowed_methods, timeout=timeout)
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common channel, method_sig, args, content = read_timeout(
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common return self.method_
2012-07-08 18:17:23 TRACE nova.rpc.common File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.rpc.common raise m
2012-07-08 18:17:23 TRACE nova.rpc.common timeout: timed out
2012-07-08 18:17:23 TRACE nova.rpc.common
2012-07-08 18:17:23 ERROR nova.api.openstack [req-cd1bf8fa-
2012-07-08 18:17:23 TRACE nova.api.openstack Traceback (most recent call last):
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return req.get_
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack application, catch_exc_
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack app_iter = application(
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return self.app(env, start_response)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return resp(environ, start_response)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return resp(environ, start_response)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return resp(environ, start_response)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack response = self.app(environ, start_response)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return resp(environ, start_response)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack content_type, body, accept)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return method(req=request, **action_args)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack floating_ips = self.network_
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack {'method': 'get_floating_
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return _get_impl(
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack return rpc_amqp.
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack rv = list(rv)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack self.done()
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack self.gen.next()
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack self._iterator.
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack yield self.ensure(
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack error_callback(e)
2012-07-08 18:17:23 TRACE nova.api.openstack File "/usr/lib/
2012-07-08 18:17:23 TRACE nova.api.openstack raise rpc_common.
2012-07-08 18:17:23 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.
2012-07-08 18:17:23 TRACE nova.api.openstack
2012-07-08 18:17:23 INFO nova.api.openstack [req-cd1bf8fa-
Same behavior is observed from the dashboard.
Please help!!!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Nilanjan Roy
- Solved:
- Last query:
- Last reply: