Project

General

Profile

Actions

Bug #32447

closed

Katello agent tasks that error prevent re-running due to locked tasks

Added by Eric Helms over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I think katello-agent tasks should always either succeed or fail and never lock.

[root@pipe-katello-server-nightly-centos8-stream bats]# hammer host package install --host $HOSTNAME --packages gorilla
[.............................................................................................................................................................................................................                                                                     ] [75%]
Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

[root@pipe-katello-server-nightly-centos8-stream bats]# hammer host package install --host $HOSTNAME --packages gorilla
Could not install packages:
  Required lock is already taken by other running tasks.
  Please inspect their state, fix their errors and resume them.

  Conflicts with tasks:
  - https://pipe-katello-server-nightly-centos8-stream.wareagle.example.com/foreman_tasks/tasks/96992095-296e-42a3-b008-e86697feb68a

Actions

Also available in: Atom PDF