mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
fix(jobs): a busy message names what the job in the way works on
A verification of a chain's base refused a verification of its incremental with "Verify backup is running on this resource": which backup held it was not said. The job's resource label now follows its name for who may see the job, as on the Jobs page; not in an audit row or a bulk migration's error, which others read.
This commit is contained in:
parent
7b23c75bf5
commit
57e90e0d27
6 changed files with 24 additions and 5 deletions
|
|
@ -110,7 +110,7 @@ class Migrations(Kind):
|
|||
except claims.Busy as busy:
|
||||
if busy.blocker is not None and busy.blocker.state == Operation.UNCERTAIN:
|
||||
# it holds its claims until someone resolves it
|
||||
refused.append(f"{names[vm]}: {utils.busy_message(busy, op.user)}")
|
||||
refused.append(f"{names[vm]}: {utils.busy_message(busy, op.user, named=False)}")
|
||||
else:
|
||||
waiting.append(move) # another job holds the VM or a host: asked again on the next round
|
||||
except Exception as err:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue