IndexError when creating Backups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Low
|
Juan Pablo Suazo |
Bug Description
When creating buckups, the following error is raised:
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
2019-08-22 13:42:08.870 8 ERROR oslo_messaging.
The error stems from the following block of code inside cinder/
for idx, sha in enumerate(shalist):
if sha != parent_
if extent_off == -1:
# Start of new extent.
else:
if extent_off != -1:
# We've reached the end of extent.
shaindex += 1
The error is raised as it may happen that len(parent_
Changed in cinder: | |
assignee: | nobody → Juan Pablo Suazo (jsuazo) |
status: | New → In Progress |
summary: |
- Index error when creating Backups + IndexError when creating Backups |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/831439
Review: https:/