NetApp: can't create a snapshot

Bug #1090168 reported by Sam Morrison
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Ben Swartzlander

Bug Description

Get the following error when trying to create a snapshot:

2012-12-14 09:02:27 DEBUG cinder.volume.manager [req-2e80ed8a-2c81-49e6-ad61-0ca5b4c34307 d9646718471b46aeb5fd94c702336ca9 0bdf024c921848c4b74d9e69af9edf08] snapshot snapshot-3576a7cb-8673-4cdd-897a-6d506ebf38d9: creating create_snapshot /usr/lib/python2.7/dist-packages/cinder/volume/manager.py:234
2012-12-14 09:02:28 9455 ERROR cinder.openstack.common.rpc.amqp [-] Exception during message handling
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp Traceback (most recent call last):
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/amqp.py", line 276, in _process_data
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/dispatcher.py", line 145, in dispatch
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 244, in create_snapshot
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp {'status': 'error'})
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp self.gen.next()
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 235, in create_snapshot
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp model_update = self.driver.create_snapshot(snapshot_ref)
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/volume/netapp.py", line 942, in create_snapshot
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp self._clone_lun(lun.HostId, src_path, dest_path, True)
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/volume/netapp.py", line 867, in _clone_lun
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp while not self._is_clone_done(host_id, clone_op_id, volume_uuid):
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/cinder/volume/netapp.py", line 837, in _is_clone_done
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp status = response.Results['status']
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp TypeError: string indices must be integers
2012-12-14 09:02:28 9455 TRACE cinder.openstack.common.rpc.amqp

We're using ontap 8.1.1 and oncommand 5.1

Revision history for this message
Sam Morrison (sorrison) wrote :

Note: I'm working with the NetApp people on this, hope to have a solution soon.

Changed in cinder:
assignee: nobody → Ben Swartzlander (bswartz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/18528

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/18528
Committed: http://github.com/openstack/cinder/commit/035cd28ed36c4ec34c20e7cedf0815af72e3f2c0
Submitter: Jenkins
Branch: master

commit 035cd28ed36c4ec34c20e7cedf0815af72e3f2c0
Author: Ben Swartzlander <email address hidden>
Date: Fri Dec 21 00:24:46 2012 -0500

    Make the NetAppISCSIDriver._is_clone_done() method able to handle
    empty responses. Add unit tests to exercise this case.

    bug 1090168

    Change-Id: Ia51a73b8ebead7a0f3be9202794ca8549bdf3e5b

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-2 → 2013.1
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.