C-bak configure more than one worker issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Medium
|
Unassigned |
Bug Description
C-bak service with multiple workers(e.g. backup_workers=5).
when multiple backups are created concurrently, one of the workers exited abnormally and the child process was respawned. Because the process_number was not 1, _cleanup_
As a result, the backup status on this worker could not be changed from creating to error. In the same way, restore has the same problem.
```
# backup/manager.py
@utils.
def _cleanup_
# Only the first launched process should do the cleanup, the others
# have waited on the lock for the first one to finish the cleanup and
# can now continue with the start process.
if self._process_
return
......
```
Changed in cinder: | |
importance: | Undecided → High |
importance: | High → Medium |
tags: | added: worker |
Greetings,
Do you mind adding more details so we can reproduce:
- cinder version
- backup driver
Thanks in advance,
Sofia