Cinder Restore Volume Snapshot

asked 2020-01-17 17:43:43 -0500

Rodrigo gravatar image

Hello there !

I have a problem to restore volume snapshot backups:

    2020-01-17 20:20:29.210 41 INFO cinder.volume.flows.manager.create_volume [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Volume 0ef354b6-f3da-45f1-8322-fde666fde903: being created as raw with specification: {'status': u'creating', 'volume_size': 1, 'volume_name': u'volume-0ef354b6-f3da-45f1-8322-fde666fde903'}
2020-01-17 20:20:29.382 41 INFO cinder.volume.flows.manager.create_volume [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Volume volume-0ef354b6-f3da-45f1-8322-fde666fde903 (0ef354b6-f3da-45f1-8322-fde666fde903): created successfully
2020-01-17 20:20:29.400 41 INFO cinder.volume.manager [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Created volume successfully.

==> /var/log/kolla/cinder/cinder-backup.log <==
2020-01-17 20:20:30.094 29 INFO cinder.backup.manager [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Restore backup started, backup: 8f6f5ac8-e687-429d-b28a-8dba8ee13d1a volume: 0ef354b6-f3da-45f1-8322-fde666fde903.

==> /var/log/kolla/cinder/cinder-volume.log <==
2020-01-17 20:20:31.560 41 INFO cinder.volume.manager [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Initialize volume connection completed successfully.

==> /var/log/kolla/cinder/cinder-backup.log <==
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Restoring backup 8f6f5ac8-e687-429d-b28a-8dba8ee13d1a to volume 0ef354b6-f3da-45f1-8322-fde666fde903 failed.: ImageNotFound: [errno 2] error opening image volume-e0b78e20-c037-4fef-9dd9-1c7e955c55a4.backup.base at snapshot None
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager Traceback (most recent call last):
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/manager.py", line 659, in _run_restore
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager     tpool.Proxy(device_path))
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 1264, in restore
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager     self._restore_volume(backup, target_volume, volume_file)
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 1231, in _restore_volume
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager     length, src_snap=restore_point)
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager   File "/var/lib/kolla/venv/lib/python2.7/site-packages/cinder/backup/drivers/ceph.py", line 1026, in _full_restore
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager     read_only=True))
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager   File "rbd.pyx", line 2753, in rbd.Image.__init__ (/builddir/build/BUILD/ceph-14.2.1/build/src/pybind/rbd/pyrex/rbd.c:24354)
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager ImageNotFound: [errno 2] error opening image volume-e0b78e20-c037-4fef-9dd9-1c7e955c55a4.backup.base at snapshot None
2020-01-17 20:20:31.844 29 ERROR cinder.backup.manager
2020-01-17 20:20:31.969 29 ERROR oslo_messaging.rpc.server [req-b176b248-02e5-4e49-b085-47055d2db3eb 0af9f5deabf74f4e8efea750cb3c7cf0 1baa170cb3a742e59db2e7e5948d6e7f - default default] Exception during message handling: ImageNotFound: [errno 2] error opening image volume-e0b78e20-c037-4fef-9dd9-1c7e955c55a4.backup.base at snapshot None
2020-01-17 20:20:31.969 29 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2020-01-17 20:20:31.969 29 ERROR oslo_messaging.rpc.server   File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
2020-01-17 20:20:31.969 ...
(more)
edit retag flag offensive close merge delete