Bug #34181
closedAdd 'service restart' step in purge-puppet command
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.
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
Updated by Amit Upadhye about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|f228b3f114c1965f9124505e4b42a3ede63ba11f.
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/621 added
Updated by The Foreman Bot almost 2 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/622 added