** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1209072
Title:
'ActionDeserializer' object has no attribute '_action_change_password'
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
When I test reboot in xml format, nova has been broken.
the tempest log is the following:
tempest.common.rest_client: INFO: Request: GET
http://192.168.1.101:8774/v3/servers/41a88f5d-68b5-4093-8325-c179b7b02ae7
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type':
'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token
omitted>'}
tempest.common.rest_client: INFO: Response Status: 404
tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Wed, 07 Aug
2013 03:55:02 GMT', 'content-length': '137', 'content-type': 'application/xml;
charset=UTF-8', 'x-compute-request-id':
'req-d1dfb79d-15ba-4d16-a7c3-1e56a6b05b33'}
tempest.common.rest_client: DEBUG: Response Body: <itemNotFound code="404"
xmlns="http://docs.openstack.org/compute/api/v1.1"><message>Instance could not
be found</message></itemNotFound>
tempest.common.rest_client: INFO: Request: POST
http://192.168.1.101:8774/v3/servers/41a88f5d-68b5-4093-8325-c179b7b02ae7/action
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type':
'application/xml', 'Accept': 'application/xml', 'X-Auth-Token': '<Token
omitted>'}
tempest.common.rest_client: DEBUG: Request Body: <?xml version="1.0"
encoding="UTF-8"?>
<reboot xmlns="http://docs.openstack.org/compute/api/v1.1" type="SOFT"/>
tempest.common.rest_client: INFO: Response Status: 500
tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Wed, 07 Aug
2013 03:55:02 GMT', 'content-length': '192', 'content-type': 'application/xml;
charset=UTF-8', 'x-compute-request-id':
'req-e7aaf72b-636c-4bd7-b7da-4129d5f0c596'}
tempest.common.rest_client: DEBUG: Response Body: <computeFault code="500"
xmlns="http://docs.openstack.org/compute/api/v1.1"><message>The server has
either erred or is incapable of performing the requested
operation.</message></computeFault>
the nova trace is:
2013-08-07 11:43:03.274 DEBUG nova.api.openstack.wsgi
[req-0dec83be-e22e-4de6-a16d-612df92acfce
ServersNegativeV3TestXML1959565404-user
ServersNegativeV3TestXML1797780207-tenant] Action: 'action', body: <?xml
version="1.0" encoding="UTF-8"?>
<reboot xmlns="http://docs.openstack.org/compute/api/v1.1" type="SOFT"/> from
(pid=11467) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:927
2013-08-07 11:43:03.274 DEBUG nova.api.openstack.wsgi
[req-0dec83be-e22e-4de6-a16d-612df92acfce
ServersNegativeV3TestXML1959565404-user
ServersNegativeV3TestXML1797780207-tenant] Calling method <bound method
ConfigDriveController._action_reboot of
<nova.api.openstack.compute.plugins.v3.config_drive.ConfigDriveController
object at 0x391a8d0>> from (pid=11467) _process_stack
/opt/stack/nova/nova/api/openstack/wsgi.py:928
2013-08-07 11:43:03.274 ERROR nova.api.openstack
[req-0dec83be-e22e-4de6-a16d-612df92acfce
ServersNegativeV3TestXML1959565404-user
ServersNegativeV3TestXML1797780207-tenant] Caught error: 'ActionDeserializer'
object has no attribute '_action_change_password'
2013-08-07 11:43:03.274 TRACE nova.api.openstack Traceback (most recent call
last):
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/__init__.py", line 111, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack return
req.get_response(self.application)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-07 11:43:03.274 TRACE nova.api.openstack application,
catch_exc_info=False)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in
call_application
2013-08-07 11:43:03.274 TRACE nova.api.openstack app_iter =
application(self.environ, start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack return resp(environ,
start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py",
line 461, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack return self.app(env,
start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack return resp(environ,
start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack return resp(environ,
start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack response =
self.app(environ, start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack return resp(environ,
start_response)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack resp =
self.call_func(req, *args, **self.kwargs)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-07 11:43:03.274 TRACE nova.api.openstack return self.func(req,
*args, **kwargs)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 904, in __call__
2013-08-07 11:43:03.274 TRACE nova.api.openstack content_type, body,
accept)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 933, in _process_stack
2013-08-07 11:43:03.274 TRACE nova.api.openstack contents =
self.deserialize(meth, content_type, body)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 823, in deserialize
2013-08-07 11:43:03.274 TRACE nova.api.openstack return
deserializer(self.controller).deserialize(body)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 197, in deserialize
2013-08-07 11:43:03.274 TRACE nova.api.openstack return
self.dispatch(datastring, action=action)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 187, in dispatch
2013-08-07 11:43:03.274 TRACE nova.api.openstack return
action_method(*args, **kwargs)
2013-08-07 11:43:03.274 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/compute/plugins/v3/servers.py", line 312,
in default
2013-08-07 11:43:03.274 TRACE nova.api.openstack 'changePassword':
self._action_change_password,
2013-08-07 11:43:03.274 TRACE nova.api.openstack AttributeError:
'ActionDeserializer' object has no attribute '_action_change_password'
2013-08-07 11:43:03.274 TRACE nova.api.openstack
2013-08-07 11:43:03.376 INFO nova.api.openstack
[req-0dec83be-e22e-4de6-a16d-612df92acfce
ServersNegativeV3TestXML1959565404-user
ServersNegativeV3TestXML1797780207-tenant]
http://192.168.1.101:8774/v3/servers/16ec50cf-8e38-487b-b58f-9ad9eade63f4/action
returned with HTTP 500
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1209072/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp