Project

General

Profile

Actions

Bug #34181

closed

Add 'service restart' step in purge-puppet command

Added by Amit Upadhye over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-

Description

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

Description of problem:
After disabling the puppet plugin via `foreman-maintain plugin purge-puppet`, all /foreman_puppet/api enpoints remain active as well as related menu items in the UI (leading to the 'Oops' page). We need to restart the system to get into the desired state.

Version-Release number of selected component (if applicable):
7.0.0 snap 2

How reproducible:
always

Steps to Reproduce:
1. Have a SAT with enabled puppet plugin
2. Run `foreman-maintain plugin purge-puppet`
(with this patch https://github.com/theforeman/foreman_puppet/pull/240 it succeeds)
3. Check the UI > Configure or the api and apidoc

Actual results:
Puppet related items are still present.

Expected results:
They should be missing.

Additional info:
System restart removes the items from API and UI. Please add a step to restart services in the `purge-puppet` command.

Actions #1

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/574 added
Actions #2

Updated by Evgeni Golov about 2 years ago

  • Assignee set to Amit Upadhye
Actions #3

Updated by Amit Upadhye about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/621 added
Actions #5

Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/622 added
Actions

Also available in: Atom PDF