nova volumes does not exist anymre ** Changed in: nova Status: Confirmed => Won't Fix
-- 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/929771 Title: No content-type in create volume type request returns 500 Status in OpenStack Compute (Nova): Won't Fix Bug description: A 500 is returned on a POST request to create a new volume_type if you don't include a content-type header. curl -H "x-auth-token: <auth token>" http:/<server mangement url>/v1.1/7<account>/os-volume-types -XPOST -T SATA.json | python -m json.tool { "computeFault": { "code": 500, "message": "The server has either erred or is incapable of performing\r\nthe requested operation.\r\n" } } 2012-02-09 11:46:27,337 DEBUG routes.middleware [req-91b89854-65dc-4d84-afcd-ae557977b928 a15a08c27d3b42499ef5972ce6c61a40 7e6c1592093d4ffabae29c886bcf741d] Matched POST /7e6c1592093d4ffabae29c886bcf741d/os-volume-types from (pid=30322) debug /usr/lib/python2.6/dist-packages/nova/log.py:175 2012-02-09 11:46:27,338 DEBUG routes.middleware [req-91b89854-65dc-4d84-afcd-ae557977b928 a15a08c27d3b42499ef5972ce6c61a40 7e6c1592093d4ffabae29c886bcf741d] Route path: '/{project_id}/os-volume-types', defaults: {'action': u'create', 'controller': <nova.api.openstack.wsgi.Resource object at 0x29c1390>} from (pid=30322) debug /usr/lib/python2.6/dist-packages/nova/log.py:175 2012-02-09 11:46:27,338 DEBUG routes.middleware [req-91b89854-65dc-4d84-afcd-ae557977b928 a15a08c27d3b42499ef5972ce6c61a40 7e6c1592093d4ffabae29c886bcf741d] Match dict: {'action': u'create', 'controller': <nova.api.openstack.wsgi.Resource object at 0x29c1390>, 'project_id': u'7e6c1592093d4ffabae29c886bcf741d'} from (pid=30322) debug /usr/lib/python2.6/dist-packages/nova/log.py:175 2012-02-09 11:46:27,339 INFO nova.api.openstack.wsgi [req-91b89854-65dc-4d84-afcd-ae557977b928 a15a08c27d3b42499ef5972ce6c61a40 7e6c1592093d4ffabae29c886bcf741d] POST http://z2-api1.ohthree.com:8774/v1.1/7e6c1592093d4ffabae29c886bcf741d/os-volume-types 2012-02-09 11:46:27,339 DEBUG nova.api.openstack.wsgi [req-91b89854-65dc-4d84-afcd-ae557977b928 a15a08c27d3b42499ef5972ce6c61a40 7e6c1592093d4ffabae29c886bcf741d] Unrecognized Content-Type provided in request from (pid=30322) debug /usr/lib/python2.6/dist-packages/nova/log.py:175 2012-02-09 11:46:27,340 ERROR nova.api.openstack [req-91b89854-65dc-4d84-afcd-ae557977b928 a15a08c27d3b42499ef5972ce6c61a40 7e6c1592093d4ffabae29c886bcf741d] Caught error: create() takes exactly 3 non-keyword arguments (2 given) (nova.api.openstack): TRACE: Traceback (most recent call last): (nova.api.openstack): TRACE: File "/usr/lib/python2.6/dist-packages/nova/api/openstack/__init__.py", line 41, in __call__ (nova.api.openstack): TRACE: return req.get_response(self.application) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/request.py", line 919, in get_response (nova.api.openstack): TRACE: application, catch_exc_info=False) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/request.py", line 887, in call_application (nova.api.openstack): TRACE: app_iter = application(self.environ, start_response) (nova.api.openstack): TRACE: File "/usr/lib/python2.6/dist-packages/keystone/middleware/auth_token.py", line 343, in __call__ (nova.api.openstack): TRACE: return self._forward_request(env, start_response, proxy_headers) (nova.api.openstack): TRACE: File "/usr/lib/python2.6/dist-packages/keystone/middleware/auth_token.py", line 576, in _forward_request (nova.api.openstack): TRACE: return self.app(env, start_response) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__ (nova.api.openstack): TRACE: return resp(environ, start_response) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__ (nova.api.openstack): TRACE: return resp(environ, start_response) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__ (nova.api.openstack): TRACE: return resp(environ, start_response) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/routes/middleware.py", line 131, in __call__ (nova.api.openstack): TRACE: response = self.app(environ, start_response) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__ (nova.api.openstack): TRACE: return resp(environ, start_response) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 147, in __call__ (nova.api.openstack): TRACE: resp = self.call_func(req, *args, **self.kwargs) (nova.api.openstack): TRACE: File "/usr/lib/pymodules/python2.6/webob/dec.py", line 208, in call_func (nova.api.openstack): TRACE: return self.func(req, *args, **kwargs) (nova.api.openstack): TRACE: File "/usr/lib/python2.6/dist-packages/nova/api/openstack/wsgi.py", line 834, in __call__ (nova.api.openstack): TRACE: action_result = self.dispatch(meth, request, action_args) (nova.api.openstack): TRACE: File "/usr/lib/python2.6/dist-packages/nova/api/openstack/wsgi.py", line 908, in dispatch (nova.api.openstack): TRACE: return method(req=request, **action_args) (nova.api.openstack): TRACE: TypeError: create() takes exactly 3 non-keyword arguments (2 given) (nova.api.openstack): TRACE: To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/929771/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp