backup restore fail

Bug #1914161 reported by FengJiankui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
New
Undecided
Unassigned

Bug Description

When the backup is rolled back to the volume, incompleteRead offen happens, the exception is as follows:

21-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver [-] ('Connection broken: IncompleteRead(49910400 bytes read, 421248 more expected)', IncompleteRead(49910400 bytes read, 421248 more expected)): ProtocolError: ('Connection broken: IncompleteRead(49910400 bytes read, 421248 more expected)', IncompleteRead(49910400 bytes read, 421248 more expected))
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver Traceback (most recent call last):
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/cinder/backup/chunkeddriver.py", line 734, in _restore_object
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver body = reader.read()
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/cinder/backup/drivers/swift.py", line 328, in read
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver self.object_name)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/swiftclient/client.py", line 1842, in get_object
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver headers=headers)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/swiftclient/client.py", line 1729, in _retry
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver service_token=self.service_token, **kwargs)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/swiftclient/client.py", line 1212, in get_object
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver object_body = resp.read()
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/swiftclient/client.py", line 481, in releasing_read
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver chunk = self.resp.raw.read(*args, **kwargs)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/urllib3/response.py", line 430, in read
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver self.gen.throw(type, value, traceback)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver File "/var/lib/openstack/lib/python2.7/site-packages/urllib3/response.py", line 349, in _error_catcher
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver raise ProtocolError('Connection broken: %r' % e, e)
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver ProtocolError: ('Connection broken: IncompleteRead(49910400 bytes read, 421248 more expected)', IncompleteRead(49910400 bytes read, 421248 more expected))
2021-02-01 08:35:46.515 15 ERROR cinder.backup.chunkeddriver

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.