Project

General

Profile

Bug #24203

glideFactory.py fails with import error for v3_7_rc1

Added by Dennis Box 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/19/2020
Due date:
% Done:

0%

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

Description

v3_7 glideFactory.py imports jwt but it is not included in glideinwms.spec.

[root@fermicloud368 server]# systemctl start gwms-factory
Job for gwms-factory.service failed because the control process exited with error code. See "systemctl status gwms-factory.service" and "journalctl -xe" for details.
You have new mail in /var/spool/mail/root
[root@fermicloud368 server]# systemctl status gwms-factory
‚óŹ gwms-factory.service - GWMS Factory Service
Loaded: loaded (/usr/lib/systemd/system/gwms-factory.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-03-19 13:47:49 CDT; 18s ago
Docs: http://glideinwms.fnal.gov/doc.prd/factory/index.html
Process: 2126359 ExecStart=/usr/sbin/gwms-factory start --check_35_ready (code=exited, status=1/FAILURE)
Main PID: 2070551 (code=exited, status=0/SUCCESS)

Mar 19 13:47:33 fermicloud368.fnal.gov systemd1: Starting GWMS Factory Service...
Mar 19 13:47:33 fermicloud368.fnal.gov runuser2126374: pam_unix(runuser:session): session opened for user gfactory by (uid=0)
Mar 19 13:47:34 fermicloud368.fnal.gov runuser2126386: pam_unix(runuser:session): session opened for user gfactory by (uid=0)
Mar 19 13:47:34 fermicloud368.fnal.gov python2126388: detected unhandled Python exception in '/usr/sbin/glideFactory.py'
Mar 19 13:47:49 fermicloud368.fnal.gov systemd1: gwms-factory.service: control process exited, code=exited status=1
Mar 19 13:47:49 fermicloud368.fnal.gov gwms-factory2126359: [81B blob data]
Mar 19 13:47:49 fermicloud368.fnal.gov systemd1: Failed to start GWMS Factory Service.
Mar 19 13:47:49 fermicloud368.fnal.gov systemd1: Unit gwms-factory.service entered failed state.
Mar 19 13:47:49 fermicloud368.fnal.gov systemd1: gwms-factory.service failed.

From Fri Feb 28 17:41:03 2020
:$
time: Thu 19 Mar 2020 01:39:27 PM CDT
type: Python
uid: 43680
username: gfactory
uuid: 3ecc24742d42d32500870c3c2511844fe45b2618

backtrace:
:glideFactory.py:33:<module>:ImportError: No module named jwt
:

History

#1 Updated by Dennis Box 7 months ago

  • Assignee changed from Dennis Box to Marco Mambelli
  • Status changed from New to Feedback

Please see branch v37/24023. I recommend this go into rc2

#2 Updated by Dennis Box 7 months ago

I have made another change to glideinwms.spec and decided to push it to this v37/24203 instead of creating a new one.

It turns out that the rpm needs to create /var/lib/gwms-factory/server-credentials or the factory will not start.

#3 Updated by Marco Mambelli 7 months ago

  • Assignee changed from Marco Mambelli to Dennis Box
  • Status changed from Feedback to Resolved

LGTM. merged to branch_v3_7

#4 Updated by Marco Mambelli 7 months ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF