Actions
Bug #22058
openIterator reports are interdependent
Status:
Pending technical review
Priority:
N/A
Assignee:
Category:
Generic methods
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
When using an iterator the report status from a value is inherited to the next one and only overridden if the next report is worst.
Meaning that when the first item produces an error, the whole iterator reporting will be in error for each individual values, even if they succeeded.
Files
Updated by Félix DALLIDET about 2 years ago
- File unix_tools.json unix_tools.json added
Tested in 7.2.2-nightly. To reproduce, import the exported technique, define a property like such on your node:
{ "apt": [ "vim", "sed", "grep", "curl" ] }
Use it in the directive param with "${node.properties[<name>][apt]}" and run your agent.
Now, add an element in the array that does not match with an existing package, like "lkjgkjhgkjhgkjh". Try to place it first, then in the middle or at the end and observe how
the reporting status is propagated to values in the array.
Updated by Vincent MEMBRÉ about 2 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ about 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4562
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.2.2 to 7.2.3
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.2.3 to 7.3.0~beta1
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 7.3.0~beta1 to 7.3.0~rc1
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 7.3.0~rc1 to 7.3.0
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.0 to 7.3.1
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.1 to 7.3.2
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.2 to 7.3.3
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.3 to 7.3.4
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.4 to 7.3.5
Updated by Alexis Mousset over 1 year ago
- Target version changed from 7.3.5 to 7.3.6
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.6 to 7.3.7
Updated by Vincent MEMBRÉ over 1 year ago
- Target version changed from 7.3.7 to 7.3.8
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.8 to 7.3.9
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.9 to 7.3.10
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.10 to 7.3.11
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.3.11 to 7.3.12
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.12 to 7.3.13
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.13 to 7.3.14
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 7.3.14 to 7.3.15
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 7.3.15 to 7.3.16
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 7.3.16 to 7.3.17
Updated by Alexis Mousset about 2 months ago
- Related to Bug #25776: Create a global method call counter to help provide more unicity added
Actions