← Back to team overview

openstack team mailing list archive

Diablo 4 dashboard floating ip error

 

 Error

Unexpected error: 'module' object has no attribute 'server_add_floating_ip'


dashboard  error as follows :

DEBUG:openstack_dashboard.api:extras_api connection created using token
"atkisc" and url "http://127.0.0.1:8774/v1.1/cloud";
DEBUG:openstack_dashboard.api:novaclient connection created using token
"atkisc" and url "http://127.0.0.1:8774/v1.1/cloud";
DEBUG:novaclient.client:REQ: curl -i
http://127.0.0.1:8774/v1.1/cloud/os-floating-ips/3?fresh=1316327073.34 -X
GET -H "X-Auth-Project-Id: cloud" -H "User-Agent: python-novaclient" -H
"X-Auth-Token: atkisc"

DEBUG:novaclient.client:RESP:{'date': 'Sun, 18 Sep 2011 06:24:33 GMT',
'status': '200', 'content-length': '88', 'content-type': 'application/json',
'content-location': u'
http://127.0.0.1:8774/v1.1/cloud/os-floating-ips/3?fresh=1316327073.34'}
{"floating_ip": {"instance_id": null, "ip": "60.12.206.120", "fixed_ip":
null, "id": 3}}

ERROR:openstack_dashboard.forms:Nonspecific error while handling form
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openstack_dashboard/forms.py", line
168, in maybe_handle
    return form, form.handle(request, data)
  File
"/usr/lib/python2.6/site-packages/openstack_dashboard/plugins/user/floating_ips.py",
line 82, in handle
    api.server_add_floating_ip(request,
AttributeError: 'module' object has no attribute 'server_add_floating_ip'
DEBUG:openstack_dashboard.api:auth_api connection created using url "
http://localhost:5000/v2.0/";



nova-api.log as follows :


2011-09-18 14:25:31,186 routes.middleware: Matched GET /cloud/extras/servers
2011-09-18 14:25:31,186 routes.middleware: Route path:
'/{project_id}/extras/servers', defaults: {'action': u'index', 'controller':
<nova.api.openstack.wsgi.Resource object at 0x3d85f90>}
2011-09-18 14:25:31,186 routes.middleware: Match dict: {'action': u'index',
'controller': <nova.api.openstack.wsgi.Resource object at 0x3d85f90>,
'project_id': u'cloud'}
2011-09-18 14:25:31,187 nova.api.openstack.wsgi: GET
http://127.0.0.1:8774/v1.1/cloud/extras/servers?fresh=1316327131.18
2011-09-18 14:25:31,187 nova.api.openstack.wsgi: Unrecognized Content-Type
provided in request
2011-09-18 14:25:31,188 nova.api.openstack.servers: Removing options 'fresh'
from query
2011-09-18 14:25:31,188 nova.compute.api: Searching by: {'deleted': False,
'recurse_zones': False}
2011-09-18 14:25:31,274 nova.api.openstack.common: Attempting to treat 10 as
an integer ID.
2011-09-18 14:25:31,274 nova.api.openstack.common: Attempting to treat
http://127.0.0.1:8774/v1.1/cloud/flavors/1 as an integer ID.
2011-09-18 14:25:31,274 nova.api.openstack.common: Attempting to treat
http://127.0.0.1:8774/v1.1/cloud/flavors/1 as a URL.
2011-09-18 14:25:31,291 nova.api.openstack.wsgi:
http://127.0.0.1:8774/v1.1/cloud/extras/servers?fresh=1316327131.18 returned
with HTTP 200
2011-09-18 14:25:31,299 routes.middleware: Matched GET
/cloud/os-floating-ips/3
2011-09-18 14:25:31,299 routes.middleware: Route path:
'/{project_id}/os-floating-ips/:(id)', defaults: {'action': u'show',
'controller': <nova.api.openstack.wsgi.Resource object at 0x3eca250>}
2011-09-18 14:25:31,300 routes.middleware: Match dict: {'action': u'show',
'controller': <nova.api.openstack.wsgi.Resource object at 0x3eca250>,
'project_id': u'cloud', 'id': u'3'}
2011-09-18 14:25:31,300 nova.api.openstack.wsgi: GET
http://127.0.0.1:8774/v1.1/cloud/os-floating-ips/3?fresh=1316327131.3
2011-09-18 14:25:31,300 nova.api.openstack.wsgi: Unrecognized Content-Type
provided in request
2011-09-18 14:25:31,327 nova.api.openstack.wsgi:
http://127.0.0.1:8774/v1.1/cloud/os-floating-ips/3?fresh=1316327131.3returned
with HTTP 200

Follow ups