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

Bug 859124

Summary: The pulp-rpm-server init script does not start a Pulp service, and assumes that the system only runs Pulp
Product: [Retired] Pulp Reporter: Randy Barlow <rbarlow>
Component: z_otherAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: MasterKeywords: Triaged
Target Milestone: ---   
Target Release: Sprint 40   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 17:05:10 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 Randy Barlow 2012-09-20 15:34:00 UTC
In configuring my development environment, I came to inspect the Pulp init script and noticed some unusual practices. For one, the init script doesn't actually start a Pulp server (since the API is run with a web server). I found this to be confusing as init scripts are typically used to manage daemons (with some exceptions).

Secondly, and perhaps more concerning, the stop target will stop Apache, Mongo, and Qpid. If a customer were to install Pulp on a host that also had other functions for which any of these three services were critical, it would be sad for them if they were to ever stop pulp-server.

My recommendation would be to remove the init script and to simply tell the user in the installation instructions that they will need to start these three services in order to have a working Pulp server. This is not unlike the process of running other web services like Wordpress, so it will be a familiar workflow for the user.

If we decide for some reason not to remove this init script, I would then recommend that we convert the stop target to a noop. We really don't want people stopping Apache or Mongo or Qpid unless they explicitly wanted to.

Comment 1 Jeff Ortel 2012-10-03 13:59:23 UTC
100% agreed.
This script has always been an abomination to sysv (and systemd) and needed to go.  It's a dirty trick to bounce shared services like httpd, qpidd & mongod in the name of pulp.  Thanks for pushing this issue.

Fixed: 3ae0a8106aeeb65c86fe7365b840a10821c05f6e

Comment 2 Jeff Ortel 2012-10-05 21:43:12 UTC
build: 0.331

Comment 3 Preethi Thomas 2012-11-06 14:26:53 UTC
verified

Comment 4 Preethi Thomas 2013-01-09 17:05:10 UTC
Pulp v2.0 released