Project

General

Profile

Bug #23062

Frontend and Factory reload failing

Added by Marco Mambelli 3 months ago. Updated 2 days ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
08/05/2019
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

Service reload is not working any more.
It is documentedin here:
https://opensciencegrid.org/docs/other/install-gwms-frontend/
Here when trying now:

# systemctl reload gwms-frontend
Job for gwms-frontend.service invalid.

It used to work.
Here some tickets about it:
[#15371, #14194, #17343, #17570]

History

#1 Updated by Marco Mambelli about 1 month ago

  • Target version changed from v3_4_7 to v3_6_1
  • Assignee set to Lorena Lobato Pardavila

#2 Updated by Lorena Lobato Pardavila about 1 month ago

  • Subject changed from frontend reload failing to Frontend and Factory reload failing

#3 Updated by Lorena Lobato Pardavila 14 days ago

  • Target version changed from v3_6_1 to v3_6_2

#4 Updated by Lorena Lobato Pardavila 2 days ago

  • Status changed from New to Resolved

After researching and a lot of testing, the problem only happens if you start the process directly (i.e. not calling systemctl) and then try to call reload with systemctl. An example of a faulty workflow would be:

[root@fermicloud364 ~]# /usr/sbin/gwms-frontend start
Starting glideinWMS frontend fermicloud364:                [  OK  ]
[root@fermicloud364 ~]# systemctl reload gwms-frontend
Job for gwms-frontend.service invalid.

The problem doesn’t happen however if you start the process with systemctl. The following sequence should work:

[root@fermicloud364 ~]# systemctl start gwms-frontend
[root@fermicloud364 ~]# systemctl reload gwms-frontend

Then, I can confirm `systemctl reload gwms-frontend` will work only if:

- gwms-frontend service is running
- gwms-frontend service was started with systemctl

After a discussion with Marco Mambelli, we have decided to add a small clarification about it in the OSG documentation. Pending the PR, but we can resolve the ticket

Frontend: https://github.com/opensciencegrid/docs/pull/632
Factory: https://github.com/opensciencegrid/operations/pull/189



Also available in: Atom PDF