Project

General

Profile

Actions

Bug #15531

closed

Katello 3.0.1 - Deleting a Content View version takes a long time (to start)

Added by John Beranek almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If I attempt to delete a content view version, either from the CLI or GUI, it takes a long time to start, and typically times out in the CLI, and leads to the delete confirmation screen in the GUI to sit with an hourglass forever.

When this happens, the dynflow task shows as planning/pending, and there is a single 'ruby' process running, using 100% of one CPU core. If this is left, it eventually stops doing this, and the task starts and does eventually complete.

There was a suggestion that there was a problem with lack of entropy on the system - I installed and run haveged, and while initially it seemed like it could have helped, it seems that patience was what really helped - it just takes a long time to delete a content view version.


Files

katello-content-view-delete-tasks.png View katello-content-view-delete-tasks.png 12.6 KB Strange duplicated tasks on completion of deletion John Beranek, 06/28/2016 04:31 AM
Actions #1

Updated by John Beranek almost 8 years ago

$ hammer -u admin -p foremanpassword task list --search "state=planning" 
-------------------------------------|------|-------|---------------------|----------|----------|---------|-------------|------------
ID                                   | NAME | OWNER | STARTED AT          | ENDED AT | STATE    | RESULT  | TASK ACTION | TASK ERRORS
-------------------------------------|------|-------|---------------------|----------|----------|---------|-------------|------------
12faa2e6-6744-4562-8ed1-d52978f09d70 |      | admin | 2016/06/28 07:50:20 |          | planning | pending | Destroy     |
276b8b3d-66ac-415b-a0e9-dc03cf771962 |      | admin | 2016/06/28 07:49:20 |          | planning | pending | Destroy     |
-------------------------------------|------|-------|---------------------|----------|----------|---------|-------------|------------
Actions #3

Updated by Justin Sherrill almost 8 years ago

  • Category set to Performance
Actions #4

Updated by Justin Sherrill almost 8 years ago

Another in IRC complained about this too (lfisher)

Actions #5

Updated by Justin Sherrill almost 8 years ago

  • Assignee set to Justin Sherrill
Actions #6

Updated by Brad Buckingham over 7 years ago

  • Assignee changed from Justin Sherrill to Brad Buckingham
Actions #7

Updated by Brad Buckingham over 7 years ago

  • Category changed from Performance to Content Views
Actions #8

Updated by Brad Buckingham over 7 years ago

  • Bugzilla link set to 1369234
Actions #9

Updated by Brad Buckingham over 7 years ago

  • Target version set to 123
Actions #10

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6263 added
Actions #11

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 143
Actions #12

Updated by Brad Buckingham over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF