Project

General

Profile

Bug #14592

Error about invalid variable in httpd at Rudder install on centos 7

Added by Nicolas CHARLES 8 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

avril 05 08:05:56 server cf-agent[11309]: CFEngine(agent) rudder R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check allowed networks configuration@@None@@2019
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.356907 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.357023 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.358464 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.358947 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.359036 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.359143 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.359449 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: [Fri Apr 05 08:05:56.359491 2019] [core:warn] [pid 12088] AH00111: Config variable ${nodes_generate_24} is not defined
avril 05 08:05:56 server httpd[12088]: AH00526: Syntax error on line 1 of /opt/rudder/etc/rudder-networks-24.conf:
avril 05 08:05:56 server httpd[12088]: Invalid command '${nodes_generate_24}', perhaps misspelled or defined by a module not included in the server configuration

this is after the install is finished
Fri Apr 5 08:03:07 UTC 2019 - Starting rudder-server-root post installation script


Related issues

Related to Rudder - Bug #14581: Error at rudder-agent installation about missing policy_server.datReleasedActions

Associated revisions

Revision 90475a9c (diff)
Added by Nicolas CHARLES 8 months ago

Fixes #14592: Error about invalid variable in httpd at Rudder install on centos 7

History

#1

Updated by Nicolas CHARLES 8 months ago

indeed, the file keeps this value

#2

Updated by Nicolas CHARLES 8 months ago

addind def in the bundlesequence solves the issue (i have otherwise def.acl il not existent)

#3

Updated by Nicolas CHARLES 8 months ago

root cause is ${server_info.policy_server} is not yet defined when in bundle def ...

#4

Updated by Nicolas CHARLES 8 months ago

  • Related to Bug #14581: Error at rudder-agent installation about missing policy_server.dat added
#5

Updated by Nicolas CHARLES 8 months ago

this is caused by #14581

#6

Updated by Nicolas CHARLES 8 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
#7

Updated by Nicolas CHARLES 8 months ago

we cannot have passX in a bundle common, it breaks massively
we cannot have variable defined in second pass in bundle comomn if it's not called before everything else

#8

Updated by Nicolas CHARLES 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1427
#9

Updated by Nicolas CHARLES 8 months ago

  • Status changed from Pending technical review to Pending release
#10

Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.9 which was released today.

Also available in: Atom PDF