Project

General

Profile

Actions

Bug #18705

closed

calling file_key_value_present_in_ini_section on a yum repo definition loops

Added by Nicolas CHARLES about 4 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Calling

set_variable_values_ini( {"/etc/yum.repos.d
/rudder-test.repo","test","baseurl","http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&re
po=BaseOS&infra=$infra"})

results after many run in

baseurl=http://mirrorlist.centos.org/?release=$releasever&arch
=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$
basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$ba
search&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$base
arch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basear
ch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch
&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&r
epo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&rep
o=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=
BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=Ba
seOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=Base
OS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS
&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&i
nfra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&inf
ra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra
=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$
infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$base
(snip)

verbose output says

ESC[0mESC[34mrudder  verbose: P: BEGIN promise 'promise_files_cf_488' of type "field_edits" (pass 1)
ESC[0mESC[34mrudder  verbose: P:    Promiser/affected object: 'baseurl\s:=.:'
ESC[0mESC[34mrudder  verbose: P:    From parameterized bundle: set_variable_values_ini( {"/etc/yum.repos.d
/rudder-test.repo","test","baseurl","http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&re
po=BaseOS&infra=$infra"})
ESC[0mESC[34mrudder  verbose: P:    Base context class: any
ESC[0mESC[34mrudder  verbose: P:    "if" class condition: edit_baseurl
ESC[0mESC[34mrudder  verbose: P:    Stack path: /default/rudder_directives/methods/'Global configuration f
or all nodes/Package sources (Yum)'/default/run_eeb79970_d0da_4362_9096_e43d1c14ef79/methods/'Global confi
guration for all nodes/Package sources (Yum)'/default/yum_repositories_management_1_0_eeb79970_d0da_4362_9
096_e43d1c14ef79/methods/'set repo url 1'/default/file_key_value_present_in_ini_section/files/'/etc/yum.re
pos.d/rudder-bobby.repo'/default/set_variable_values_ini/field_edits/'baseurl\s:=.:'[1]
ESC[0mESC[34mrudder  verbose: Matched line 'baseurl=http://mirrorlist.centos.org/?release=$releasever&arch
=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$
basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$ba
search&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$base
arch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basear
ch&repo=BaseOS&infra=$infra=$
(snip)
ver&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra=$releasever&arch=$basearch&repo=BaseOS&infra=$infra'
ESC[0mESC[34mrudder  verbose: Stopped at field 2
ESC[0mESC[32mrudder     info: Setting field sub-value 'http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra' in '/etc/yum.repos.d/rudder-test.repo'
ESC[0mESC[32mrudder     info: Edited field inside file object /etc/yum.repos.d/rudder-test.repo
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'set_variable_values_ini_not_baseurl_reached'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'set_variable_values_ini_not_baseurl_repaired'


Subtasks 1 (0 open1 closed)

Bug #18709: Typos in parent ticketReleasedFélix DALLIDETActions
Actions

Also available in: Atom PDF