RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1094755 - openstack-sahara-api: systemd unit file instead of sysv script
Summary: openstack-sahara-api: systemd unit file instead of sysv script
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-sahara
Version: unspecified
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Michael McCune
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-06 12:20 UTC by Luigi Toscano
Modified: 2014-09-25 14:07 UTC (History)
2 users (show)

Fixed In Version: openstack-sahara-2014.1.0-13.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-25 14:07:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Luigi Toscano 2014-05-06 12:20:21 UTC
Description of problem:
On CentOS 6.5, the init script contains a systemd unit files:

service openstack-sahara-api start
/etc/init.d/openstack-sahara-api: line 1: [Unit]: command not found
/etc/init.d/openstack-sahara-api: line 2: API: command not found
/etc/init.d/openstack-sahara-api: line 3: network.target: command not found
/etc/init.d/openstack-sahara-api: line 5: [Service]: command not found
/etc/init.d/openstack-sahara-api: line 8: --config-file: command not found
/etc/init.d/openstack-sahara-api: line 10: [Install]: command not found
[root@lenovo-rd230-02 ~]# service openstack-sahara-api status
/etc/init.d/openstack-sahara-api: line 1: [Unit]: command not found
/etc/init.d/openstack-sahara-api: line 2: API: command not found
/etc/init.d/openstack-sahara-api: line 3: network.target: command not found
/etc/init.d/openstack-sahara-api: line 5: [Service]: command not found
/etc/init.d/openstack-sahara-api: line 8: --config-file: command not found
/etc/init.d/openstack-sahara-api: line 10: [Install]: command not found

Version-Release number of selected component (if applicable):
openstack-sahara-2014.1.0-3.el6.noarch.rpm

Comment 1 Luigi Toscano 2014-05-06 12:20:59 UTC
CentOS and RHEL 6.5 for the record.

Comment 2 Luigi Toscano 2014-09-24 15:22:16 UTC
The package contains a proper sysvinit init file in addition to the systemd unit; tested with openstack-sahara-2014.1.0-13, CentOS 6.5.


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