holland-coredev team mailing list archive
-
holland-coredev team
-
Mailing list archive
-
Message #00276
[Bug 1184145] Re: holland advisory lock failures
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/aeeff5ad92246c1f33a6496c278cbcd37792a89b
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.
** Changed in: holland-backup
Status: New => Triaged
** Changed in: holland-backup
Importance: Undecided => High
** Changed in: holland-backup
Assignee: (unassigned) => Andrew Garner (muzazzi)
** Changed in: holland-backup
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/1184145
Title:
holland advisory lock failures
Status in Holland Backup Framework:
Fix Committed
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.AttributeError instance at 0x1d898998>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/holland/core/command/command.py", line 209, in dispatch
return self.run(self.optparser.prog, opts, *args)
File "/usr/lib/python2.4/site-packages/holland/commands/backup.py", line 95, in run
lock.path, lock.lock.name)
AttributeError: 'NoneType' object has no attribute 'name'
To manage notifications about this bug go to:
https://bugs.launchpad.net/holland-backup/+bug/1184145/+subscriptions
References