GPFS driver does not return 'Not Implemented' error for API create_from_src

Bug #1691526 reported by MonicaJoshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Gaurang Tapase

Bug Description

The GPFS driver should throw an error stating the API create_from_src is non implementaion, returns following error instead.

Create group from source group-1d567319-1f38-46eb-a657-04639ab25e29 failed.
Exception during message handling
oslo_messaging.rpc.server Traceback (most recent call last):
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
oslo_messaging.rpc.server result = func(ctxt, **new_args)
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 2876, in create_group_from_src
oslo_messaging.rpc.server vol.save()
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
oslo_messaging.rpc.server self.force_reraise()
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 2847, in create_group_from_src
oslo_messaging.rpc.server self.driver.create_consistencygroup_from_src(
oslo_messaging.rpc.server AttributeError: 'GPFSProductDriver' object has no attribute 'create_consistencygroup_from_src'

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/466889

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

Reviewed: https://review.openstack.org/466889
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=77d17a1f8b462749ee6116df264a35b95f55d6b8
Submitter: Jenkins
Branch: master

commit 77d17a1f8b462749ee6116df264a35b95f55d6b8
Author: Gaurang Tapase <email address hidden>
Date: Mon May 22 15:35:16 2017 -0400

    GPFS: Handle unsupported operations with an exception

    This patch adds a support to fail the unsupported CG operations
    for GPFS driver with GPFSDriverUnsupportedOperation exception.

    Change-Id: Icd5a693ac75eca0f55cc3ecb014feb192e9e84d7
    Closes-bug: #1691526

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/467913

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/ocata)

Reviewed: https://review.openstack.org/467913
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=bccd77a6002c04c9b7629a6eadd897ad4c33135d
Submitter: Jenkins
Branch: stable/ocata

commit bccd77a6002c04c9b7629a6eadd897ad4c33135d
Author: Gaurang Tapase <email address hidden>
Date: Mon May 22 15:35:16 2017 -0400

    GPFS: Handle unsupported operations with an exception

    This patch adds a support to fail the unsupported CG operations
    for GPFS driver with GPFSDriverUnsupportedOperation exception.

    Change-Id: Icd5a693ac75eca0f55cc3ecb014feb192e9e84d7
    Closes-bug: #1691526
    (cherry picked from commit 77d17a1f8b462749ee6116df264a35b95f55d6b8)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.0.0.0b2

This issue was fixed in the openstack/cinder 11.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 10.0.3

This issue was fixed in the openstack/cinder 10.0.3 release.

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.