Instance Snapshot does not work
Issue
- When trying to snapshot an instance which has a boot volume attached, the command accepts the request but will cinder will fail with the following log entry in
/var/log/cinder.log
:
2015-10-06 08:21:02.963 22121 ERROR oslo.messaging._drivers.common [req-9431cc41-7201-478b-b6a5-a14f8a1b0953 e998e2dabe8e4d1eb2a6b778b4422c01 cefdba2390f442af803706b9e79e9d88 - - -] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n incoming.message))\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', ' File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch\n result = getattr(endpoint, method)(ctxt, **new_args)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 484, in create_snapshot\n {\'status\': \'error\'})\n', ' File "/usr/lib/python2.7/site-packages/cinder/openstack/common/excutils.py", line 68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 475, in create_snapshot\n model_update = self.driver.create_snapshot(snapshot_ref)\n', ' File "/usr/lib/python2.7/site-packages/cinder/volume/driver.py", line 223, in create_snapshot\n raise NotImplementedError()\n', 'NotImplementedError\n']
Environment
- Red Hat OpenStack 7.0 (RHOS)
- Red Hat OpenStack 6.0 (RHOS)
- Red Hat OpenStack 5.0 (RHOS)
- Red Hat Enterprise Linux 7.x (RHEL)
- Red Hat Enterprise Linux 6.x (RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.