Project

General

Profile

Bug #24257

glideFactory.py should not create keys and url lists if remote logging not enabled

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
04/01/2020
Due date:
% Done:

0%

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

Description

The implementation of #24140 requires an encoding key 'jwt_secret.key' in /var/lib/gwms-factory/server-credentials.

The way glideFactory.py was originally coded for this feature, if this key is not present, the factory logs an error and exits.
An emergency fix to glideFactory.py was added with #24256, if the key is not present, create it and log that this was done.

The correct behavior is:

  • check the configuration
    • if the feature is enabled check for the key and die if not present.
    • if the feature is not enabled, skip checking for the key.

History

#1 Updated by Dennis Box 7 months ago

  • Target version set to v3_7_1


Also available in: Atom PDF