Comment 3 for bug 1196666

Revision history for this message
weiguo sun (wsun2) wrote : RE: [Bug 1196666] Re: upload-to-image doesn't work with the Ceph RBD backend

Hi Haomai,
I updated the bug with some of our configuration information. Not sure if there is anything you would like to see. I am on IRC now. Did see you pop in and out quickly earlier. If you are still availabe to chat on IRC for our problem, that will be great.
Thanks. --weiguo

> Date: Wed, 3 Jul 2013 02:27:21 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1196666] Re: upload-to-image doesn't work with the Ceph RBD backend
>
> run command:
> cinder upload-to-image --force True --container-format bare --disk-format raw 349cbcdf-070d-443c-8084-a3daaff562c5 new-test-image
>
> It seems no error when running command.
>
> Can you provide more info?
>
>
> ** Changed in: cinder
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1196666
>
> Title:
> upload-to-image doesn't work with the Ceph RBD backend
>
> Status in Cinder:
> Incomplete
>
> Bug description:
> Hi all,
>
> The command (on grizzly):
>
> $ cinder upload-to-image --force True --container-format bare --disk-format raw 60595635-b4a6-42de-a2d0-488c2ac75115 new-test-image
> ERROR: The server has either erred or is incapable of performing the requested operation.
>
> The cinder-api.log:
>
> 2013-07-01 12:06:12 ERROR [cinder.api.middleware.fault] Caught error: 'Controller' object has no attribute 'create'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/cinder/api/middleware/fault.py", line 73, in __call__
> return req.get_response(self.application)
> File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
> application, catch_exc_info=False)
> File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
> app_iter = application(self.environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
> return self.app(env, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
> response = self.app(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
> resp = self.call_func(req, *args, **self.kwargs)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
> return self.func(req, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py", line 803, in __call__
> content_type, body, accept)
> File "/usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py", line 851, in _process_stack
> action_result = self.dispatch(meth, request, action_args)
> File "/usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py", line 927, in dispatch
> return method(req=request, **action_args)
> File "/usr/lib/python2.7/dist-packages/cinder/api/contrib/volume_actions.py", line 180, in _volume_upload_image
> force)
> File "/usr/lib/python2.7/dist-packages/cinder/volume/api.py", line 63, in wrapped
> return func(self, context, target_obj, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/cinder/volume/api.py", line 717, in copy_volume_to_image
> recv_metadata = self.image_service.create(context, metadata)
> File "/usr/lib/python2.7/dist-packages/cinder/image/glance.py", line 245, in create
> **sent_service_image_meta)
> File "/usr/lib/python2.7/dist-packages/cinder/image/glance.py", line 146, in call
> return getattr(client.images, method)(*args, **kwargs)
> AttributeError: 'Controller' object has no attribute 'create'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cinder/+bug/1196666/+subscriptions