holland advisory lock failures
Bug #1184145 reported by
Andrew Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
holland-backup |
Fix Released
|
High
|
Andrew Garner |
Bug Description
holland 1.0.8 introduced a bug when two holland process try to run the same backupset simultaneously. This results in an ugly stacktrace along the lines of:
2013-05-22 21:27:59,380 [ERROR] Uncaught exception while running command 'backup': <exceptions.
Traceback (most recent call last):
File "/usr/lib/
return self.run(
File "/usr/lib/
lock.path, lock.lock.name)
AttributeError: 'NoneType' object has no attribute 'name'
Changed in holland-backup: | |
milestone: | none → 1.0.10 |
Changed in holland-backup: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This was introduced when the lock messages were made a little more user friendly - but obviously there isn't a test for this.
Fixed here:
https:/ /github. com/holland- backup/ holland/ commit/ aeeff5ad92246c1 f33a6496c278cbc d37792a89b
The proper output here should be:
Holland 1.0.8 started with pid 26836
--- Starting backup run ---
Another holland backup process is already running backupset 'default'. Aborting.
--- Ending backup run ---
This needs to be added to the test suite.