RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1067025 - The init script actions reload and force-reload are not implemented correctly
Summary: The init script actions reload and force-reload are not implemented correctly
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RDO
Classification: Community
Component: distribution
Version: Juno
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Alan Pevec
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-19 14:23 UTC by Jaroslav Henner
Modified: 2016-04-26 19:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-16 18:32:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1041155 0 unspecified CLOSED [RFE][nova]: Reload Configuration without service restart 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1122569 0 high CLOSED Fix some OpenStack init scripts to return non-zero if service cannot start 2021-02-22 00:41:40 UTC

Internal Links: 1041155 1122569

Description Jaroslav Henner 2014-02-19 14:23:36 UTC
Description of problem:
By the LSB, issuing
 * service something reload  
   should reload
   or exit with exit status 3 -- reload not supported
 * service something force-reload
   should do equivalent of try-restart if reload is not supported

This is not the case of current init scripts implementation.


Version-Release number of selected component (if applicable):
openstack-nova-api-2013.2.1-1.el6ost.noarch


How reproducible:
always


Steps to Reproduce:

# Ensure service is stopped
service openstack-nova-api stop

# Following should not (re)start if the service is stopped
service openstack-nova-api force-reload
Stopping openstack-nova-api:                               [FAILED]
Starting openstack-nova-api:                               [  OK  ]

# As nova should be able to reload (by SIGHUP), reload should 
# * rather send that signal
# * or it should exit with error 3, but it does:
[root@jhenner-node ~]# service openstack-nova-api start
[root@jhenner-node ~]# service openstack-nova-api reload; echo $?
Stopping openstack-nova-api:                               [  OK  ]
Starting openstack-nova-api:                               [  OK  ]
0


Actual results:
LSB incompliance


Expected results:
LSB compliance 


Additional info:
Incorrect behaviour may be causing problems with puppet and other conf-enforcement tools.

http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

Comment 2 Jaroslav Henner 2014-02-19 14:34:14 UTC
at least cinder, heat, keystone suffers from the same problems. I am going to be lazy and switch the component to distribution instead of cloning this bug more times.

Comment 3 Jaroslav Henner 2014-02-19 19:09:11 UTC
I have also discovered that openstack-swift doesn't support force-reload nor reload, which it should, according to LSB.

Comment 6 hguemar 2015-12-16 18:32:49 UTC
RDO Juno is EOL + we don't support other init system except systemd


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