#3979 restart-hosts fails with new scheduler
Closed: Fixed 3 months ago by tkopecek. Opened 3 months ago by mikem.

The restart-hosts mechanism relies on making fixed host assignments at task creation. The new scheduler uses the assigned state differently. It does not honor these assignments, and this causes the restart tasks to fail with errors like:

  File "/usr/lib/python3.11/site-packages/koji/tasks.py", line 719, in handler
    raise koji.GenericError("Host mismatch")
koji.GenericError: Host mismatch

or

  File "/usr/lib/python3.11/site-packages/koji/tasks.py", line 736, in handler
    raise koji.GenericError("Stage one restart task is %s" % state)
koji.GenericError: Stage one restart task is ASSIGNED

Metadata Update from @mikem:
- Custom field Size adjusted to None

3 months ago

Metadata Update from @mikem:
- Issue set to the milestone: 1.34

3 months ago

Possible fix in #3980. It's not ideal, but anything better is going to require further schema changes.

Metadata Update from @relias-redhat:
- Issue tagged with: testing-done, testing-ready

3 months ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3980 Merged 3 months ago