upload-to-image doesn't work with the NetApp NFS backend

Bug #1177315 reported by Sébastien Han
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned

Bug Description

Hi all,

The command:

$ cinder upload-to-image --container-format ovf --disk-format raw 18f61404-e985-4ca9-8b95-425a73c60440 "Ubuntu-upload-to-image-cinder-to-glance-raw"

The log:

2013-05-03 17:06:25 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'

Thanks!

Tags: drivers netapp
Rushi Agrawal (rushiagr)
tags: added: drivers netapp
Rushi Agrawal (rushiagr)
Changed in cinder:
status: New → Confirmed
Revision history for this message
Navneet (singn) wrote :

The feature was not supported for general NFS related drivers untill grizzly. This has been supported in Havana-1 and most probably be backported to grizzly and should be available for all NFS related drivers.

Navneet (singn)
Changed in cinder:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Revision history for this message
Ben Swartzlander (bswartz) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.