Project

General

Profile

Scénario #31862

nginx plante si => activer_nginx_web="non"

Added by Ludwig Seys 9 months ago. Updated about 2 months ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
03/31/2021
Due date:
10/15/2021
% Done:

100%

Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
0 days
Release:
Release relationship:
Auto

Description

Sur une eolebase en 2.7.2, instance faite, passage de la variable activer_nginx_web à non.

root@eolebase:~# CreoleGet --list | grep nginx
activer_nginx_web="non" 
test_activer_genconfig_nginx="oui" 
test_activer_minimal_nginx="oui" 
test_activer_nginx_web="oui" 
test_hide_nginx_family="oui" 

après le reconfigure nginx plante :

*systemclt status nginx*
nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/nginx.service.d
           └─override.conf
   Active: failed (Result: exit-code) since Tue 2021-03-09 16:49:52 CET; 45s ago
     Docs: man:nginx(8)
  Process: 992 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
mars 09 16:49:52 eolebase systemd[1]: Starting A high performance web server and a reverse proxy server...
mars 09 16:49:52 eolebase nginx[992]: nginx: [emerg] "client_body_buffer_size" directive is duplicate in /etc/nginx/sites-enabled/minimal-standalone-genconfig.co
mars 09 16:49:52 eolebase nginx[992]: nginx: configuration file /etc/nginx/nginx.conf test failed
mars 09 16:49:52 eolebase systemd[1]: nginx.service: Control process exited, code=exited status=1
mars 09 16:49:52 eolebase systemd[1]: nginx.service: Failed with result 'exit-code'.
mars 09 16:49:52 eolebase systemd[1]: Failed to start A high performance web server and a reverse proxy server.

duplication de la variable client_body_buffer_size

root@eolebase:/etc/nginx/sites-enabled# grep -RI client_body_buffer_size
minimal-standalone-genconfig.conf:client_body_buffer_size 128k;
default:client_body_buffer_size 128k;

À faire

  • EOLE >= 2.7.2
  • corriger ce cas de figure (éventuellement le rendre inaccessible en imposant certaines valeurs si ce n'est pas un cas d'utilisation volontaire)
  • éviter surtout les régressions car le sujet est épineux et le nombre de combinaisons possibles important !

Subtasks

Tâche #32017: Eolebase et nginxFerméMatthieu Lamalle

Tâche #33233: corriger la config nginx de genconfigFerméMatthieu Lamalle

Tâche #33234: TesterFerméLudwig Seys


Related issues

Related to Distribution EOLE - Tâche #33237: Valider le scénario nginx plante si => activer_nginx_web="non" Fermé 10/04/2021

History

#1 Updated by Daniel Dehennin 8 months ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat 3 months ago

  • Tracker changed from Demande to Scénario
  • Description updated (diff)
  • Start date deleted (03/09/2021)
  • Release set to EOLE 2.7.2
  • Story points set to 2.0

#3 Updated by Joël Cuissinat 3 months ago

  • Due date set to 10/22/2021
  • Target version set to Prestation Cadoles MEN 2021 39-41
  • Start date set to 09/27/2021
  • Story points changed from 2.0 to 1.0

#4 Updated by Joël Cuissinat 3 months ago

  • Description updated (diff)

#5 Updated by Matthieu Lamalle 2 months ago

  • Assigned To set to Matthieu Lamalle

#6 Updated by Joël Cuissinat about 2 months ago

  • Related to Tâche #33237: Valider le scénario nginx plante si => activer_nginx_web="non" added

#7 Updated by Joël Cuissinat about 2 months ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF