Bug 1214817 - Add systemd unit files for sahara-api and sahara-engine
Summary: Add systemd unit files for sahara-api and sahara-engine
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-sahara
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 7.0 (Kilo)
Assignee: Elise Gafford
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-23 15:13 UTC by Javier Peña
Modified: 2015-08-05 13:22 UTC (History)
7 users (show)

Fixed In Version: openstack-sahara-2015.1.0-2.el7ost
Doc Type: Bug Fix
Doc Text:
Prior to this release, Red Hat Enterprise Linux OpenStack Platform did not package or support the sahara-api or sahara-engine processes individually, because Sahara's "distributed" mode was in alpha testing. Now that this feature is stable, RHEL OpenStack Platform provides systemd unit files for the sahara-api and sahara-engine services, and users can use Sahara in distributed mode, with separation of api and engine node clusters.
Clone Of:
Environment:
Last Closed: 2015-08-05 13:22:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description Javier Peña 2015-04-23 15:13:24 UTC
Description of problem: The current openstack-sahara package only includes a systemd unit file for sahara-all. It is also possible to run in a separate process mode, with sahara-api and sahara-db. Binaries are included, so it is just a matter of creating the required systemd files.

Version-Release number of selected component (if applicable):
openstack-sahara-2014.2.2-1.el7ost

How reproducible:
Always

Steps to Reproduce:
1. install openstack-sahara
2. systemctl list-unit-files | grep sahara

Actual results:
openstack-sahara-all.service                disabled

Expected results:
There should also be unit files for openstack-sahara-api and openstack-sahara-db

Additional info:

Comment 3 Elise Gafford 2015-04-23 15:23:42 UTC
Hi Javier,

I believe this may be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1158163 (on which I am actively working now that Sahara's distributed mode is out of alpha as of the Kilo release.) Does that bug address your concern?

Thanks

Comment 4 Javier Peña 2015-04-23 15:37:35 UTC
Hi Ethan,

I guess yes, it could be a duplicate, provided that the new packaging includes the systemd unit files. Feel free to close this bug if that is the case.

Thanks!

Comment 5 Javier Peña 2015-04-23 15:42:45 UTC
Oh, and just for the record: all my references to sahara-db should refer to sahara-engine. Sorry!

Comment 6 Matthew Farrellee 2015-04-23 17:00:20 UTC
(In reply to Ethan Gafford from comment #3)
> Hi Javier,
> 
> I believe this may be a duplicate of
> https://bugzilla.redhat.com/show_bug.cgi?id=1158163 (on which I am actively
> working now that Sahara's distributed mode is out of alpha as of the Kilo
> release.) Does that bug address your concern?
> 
> Thanks

ethan,

while this bz may be resolved as a side-effect of bz1158163, it's best to keep this as a top level activity to be prioritized.

Comment 7 Luigi Toscano 2015-04-23 17:10:14 UTC
(In reply to Matthew Farrellee from comment #6)
> 
> while this bz may be resolved as a side-effect of bz1158163, it's best to
> keep this as a top level activity to be prioritized.

Is there really any difference? The other bug has the same attention level and target as this one.

Comment 8 Elise Gafford 2015-04-23 17:11:02 UTC
mattf: For RHOS 7, as bz1158163 cannot be completed without performing this task, I'm not certain that resolving and adding notes for both to the next release increases clarity (particularly as these files exist in the recently merged master packaging, and in the builds I'm testing now for Kilo RDO and RHOS 7.) 

If this bug is attempting to address the lack of unit files in RHOS 6, of course, as per the potentially duplicate bug, that is a WONTFIX issue, as distributed mode was in alpha as of Juno per the Sahara project team.

Still, it's certainly not a problem to ack and close this simultaneously, if you see tracking this for documentation purposes as specifically useful. Thanks.

Comment 10 Luigi Toscano 2015-06-11 09:14:34 UTC
Sahara services are also packaged separately (see also rhbz#1158163), and install separate systemd units for -api and -engine in addition to the old (deprecated) -all unit, which enables the "all services mode", provided by openstack-sahara.

Moving to VERIFIED.

openstack-sahara-common-2015.1.0-2.el7ost.noarch
openstack-sahara-api-2015.1.0-2.el7ost.noarch
openstack-sahara-engine-2015.1.0-2.el7ost.noarch
openstack-sahara-2015.1.0-2.el7ost.noarch

Comment 12 errata-xmlrpc 2015-08-05 13:22:55 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/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.