Cannot load 'instance' in the base class - problem in floating-ip-list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Thang Pham |
Bug Description
I tried the following on VMware using the VMwareVCDriver with nova-network:
1. Create an instance
2. Create a floating IP: $ nova floating-ip-create
3. Associate a floating IP with the instance: $ nova floating-
4. Attempt a list of the floating IPs:
$ nova floating-ip-list
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-dcb17077-
It failed and printed out the following messages in n-api logs:
2014-08-12 13:54:29.578 ERROR nova.api.openstack [req-86d8f466-
2014-08-12 13:54:29.578 TRACE nova.api.openstack Traceback (most recent call last):
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return req.get_
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack application, catch_exc_
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack app_iter = application(
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return resp(environ, start_response)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return self._app(env, start_response)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return resp(environ, start_response)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return resp(environ, start_response)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/lib/
2014-08-12 13:54:29.578 TRACE nova.api.openstack response = self.app(environ, start_response)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return resp(environ, start_response)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/usr/local/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack content_type, body, accept)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return method(req=request, **action_args)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack self._normalize
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack floating_
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack return getattr(self, name)
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack self.obj_
2014-08-12 13:54:29.578 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 13:54:29.578 TRACE nova.api.openstack _("Cannot load '%s' in the base class") % attrname)
2014-08-12 13:54:29.578 TRACE nova.api.openstack NotImplementedE
2014-08-12 13:54:29.579 INFO nova.api.openstack [req-86d8f466-
2014-08-12 13:54:29.580 DEBUG nova.api.
description: | updated |
summary: |
- Cannot load 'instance' in the base class + Cannot load 'instance' in the base class - problem in floating-ip-list |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/113981
Review: https:/