Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1539105

Summary: Missing script which would restart all the rhui related services on RHUA and CDS [regression]
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Michal Dekan <mdekan>
Component: RHUAAssignee: Martin Minar <mminar>
Status: CLOSED ERRATA QA Contact: Radek Bíba <rbiba>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.0.0CC: ktordeur, mkubik, mminar
Target Milestone: 3.0.5   
Target Release: 3.0.x   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-05 17:04:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Dekan 2018-01-26 16:39:48 UTC
Description of problem:

In RHUI2, there were init scripts to restart all the relevant services:

RHUA: service pulp-server restart
CDS:  pulp-cds restart
Missing  them in RHUI3.

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

RHUI 3.0

How reproducible:

100%

Actual results:

No easy way to restart services like we were used to do in RHUI 2.

Expected results:

It should be possible to restart services with the script like in RHUI 2.

Comment 3 Irina Gulina 2018-01-30 09:15:44 UTC
Hello Michal, 

Since pulp X.Y. there is no such service as pulp-server. I'm sorry I don't remember those X.Y. exactly, I think it was 1 something. RHUI3 uses pulp 2.8.

Therefore to restart pulp services on RHUA run: 
$ for s in {pulp_workers,pulp_resource_manager,pulp_celerybeat,httpd,goferd}; do sudo systemctl stop $s; done;

or simply

$ systemctl restart pulp*

It's not RHUI, it' pulp. I recommend to close this issue, if there is no any objections.

Comment 4 Irina Gulina 2018-01-30 09:25:05 UTC
s/stop/restart

Comment 5 Michal Dekan 2018-02-09 15:59:07 UTC
(In reply to Irina Gulina from comment #3)
> Hello Michal, 
> 
> Since pulp X.Y. there is no such service as pulp-server. I'm sorry I don't
> remember those X.Y. exactly, I think it was 1 something. RHUI3 uses pulp 2.8.
> 
> Therefore to restart pulp services on RHUA run: 
> $ for s in
> {pulp_workers,pulp_resource_manager,pulp_celerybeat,httpd,goferd}; do sudo
> systemctl stop $s; done;
> 
> or simply
> 
> $ systemctl restart pulp*
> 
> It's not RHUI, it' pulp. I recommend to close this issue, if there is no any
> objections.

Hello Irina,

Would be nice to have it, since RHUI 2 had it before (regardless if it was pulp or rhui feature, it doesn't really matter from end user perspective) and Satellite 5 and Satellite 6 which are also System Management products do have a script which restarts all the services related to the product.

Comment 10 errata-xmlrpc 2018-09-05 17:04:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2649