creating share from a snapshot is broken for glusterfs_native_driver, it fails with - AttributeError: 'ShareSnapshotInstance' object has no attribute 'share'
snippet of logs:
31mShare instance 3d065e67-b71a-4567-be31-4279b9134d89 failed on creation.^[[00m
2015-09-11 09:51:54.782 ^[[01;33mWARNING manila.share.manager [^[[01;36mreq-81732921-488d-465f-b4c1-d593a35307d0 ^[[00;36m096d7e8ecef647cebcb4ed6f612528b8 fb8fa8ea06294a45976b7887c930c412^[[01;33m] ^[[01;35m^[[01;33mShare instance information in exception can not be written to db because it contains {} and it is not a dictionary.^[[00m
2015-09-11 09:51:54.807 ^[[01;31mERROR oslo_messaging.rpc.dispatcher [^[[01;36mreq-81732921-488d-465f-b4c1-d593a35307d0 ^[[00;36m096d7e8ecef647cebcb4ed6f612528b8 fb8fa8ea06294a45976b7887c930c412^[[01;31m] ^[[01;35m^[[01;31mException during message handling: 'ShareSnapshotInstance' object has no attribute 'share'^[[00m
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mTraceback (most recent call last):
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback))
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m executor_callback)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 129, in _do_dispatch
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m result = func(ctxt, **new_args)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/manila/manila/share/manager.py", line 108, in wrapped
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m return f(self, *args, **kwargs)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/manila/manila/share/manager.py", line 765, in create_share_instance
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m {'status': constants.STATUS_ERROR}
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m six.reraise(self.type_, self.value, self.tb)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/manila/manila/share/manager.py", line 733, in create_share_instance
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m share_server=share_server)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/manila/manila/share/drivers/glusterfs/layout.py", line 128, in create_share_from_snapshot
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m return self.layout.create_share_from_snapshot(context, share, *a, **kw)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/opt/stack/manila/manila/share/drivers/glusterfs/layout_volume.py", line 448, in create_share_from_snapshot
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m old_gmgr = self._share_manager(snapshot['share'])
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/models.py", line 54, in __getitem__
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00m return getattr(self, key)
^[[01;31m2015-09-11 09:51:54.807 TRACE oslo_messaging.rpc.dispatcher ^[[01;35m^[[00mAttributeError: 'ShareSnapshotInstance' object has no attribute 'share'
Karthick, can you please provide logs that are clear from the ANSI terminal escape sequences (cf. http:// en.wikipedia. org/wiki/ ANSI_escape_ code). If you open the log files with "less -R" then they will render properly and you can copy & paste from that.