Can't create incremental backups when using python3 and newer Ceph versions.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Sofia Enriquez | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Rocky |
Fix Released
|
High
|
Unassigned | ||
Stein |
Fix Released
|
Undecided
|
Unassigned | ||
Train |
Fix Released
|
High
|
Unassigned | ||
cinder (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Disco |
Won't Fix
|
High
|
Unassigned | ||
Eoan |
Fix Released
|
High
|
Unassigned |
Bug Description
During the incremental backups creation, unexpectedly the '_cleanup_
DEBUG cinder.
INFO cinder.service [-] Starting cinder-backup node (version 14.0.1)
DEBUG oslo_concurrenc
INFO cinder.
This happens when using ceph mimic with Python 3.x. The connections with Librbd[1] suddenly abort connections before accessing the data. [2]
How to reproduce:
>>> import rbd
>>> import rados
>>> cluster = rados.Rados(
>>> cluster.connect()
>>> ioctx = cluster.
>>> image = rbd.Image(ioctx, 'volume-
>>> snaps = image.list_snaps()
>>> image.close()
>>> list(snaps)
Aborted (core dumped)
Expected output: snapshots list
>>> list(snaps)
[{'id': 4, 'size': 1073741824, 'name': 'backup.
Actual output: core dumped
[1] https:/
[2] https:/
Changed in cinder: | |
assignee: | nobody → Sofia Enriquez (lsofia-enriquez) |
Changed in cinder (Ubuntu Eoan): | |
status: | New → Fix Released |
importance: | Undecided → High |
Changed in cinder (Ubuntu Disco): | |
status: | New → Triaged |
importance: | Undecided → High |
Fix proposed to branch: master /review. opendev. org/674152
Review: https:/