Project

General

Profile

Bug #12181

"katello-service restart" is not restarting services in the right order

Added by Adam Ruzicka over 3 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Doing a `katello-service restart` merely walks that list of
services and issues a restart on each one in turn.

I think with a product as complex as Satellite, this is the
wrong behaviour and can in fact cause issues that take a while
to resolve.

The behaviour of "restart" should be as follows
- Issue stop on each service from highest to lowest prio (30 > 5)
Issue start on each service from lowest to high

That way we cleanly shutdown each service so that none of the
dependent services are still running, and them up again in the
correct order.

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1269352

Associated revisions

Revision 72484517 (diff)
Added by Adam Ruzicka over 3 years ago

Fixes #12181 - Restart katello services in right order

Revision 2a7c6e8a
Added by Stephen Benjamin over 3 years ago

Merge pull request #86 from adamruzicka/bz/1269352

Fixes #12181 - Restart katello services in right order

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/86 added
  • Pull request deleted ()

#2 Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed
  • Triaged changed from No to Yes

#3 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) set to 70

#4 Updated by Greg Sutcliffe 6 months ago

  • Target version deleted (Katello 2.4.0)

Also available in: Atom PDF