Actions
Bug #16820
closedTechnical logs display error when almost identical reports are reported
Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Web - Compliance & node report
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
With a broken agent I had some almost identical reports. They only differ from their message part and were displayed as "ERROR|ERROR" in the UI.
This double report could happen in some cases and should not be displayed this way on the interface.
Here are the responsible reports:
6 14:05:09+01:00##e637370d-a9be-42ac-9fef-cd42e66d7110@#Checking dsc resource User with parameters: { $name = 'bobouioui' $secpasswd = ConvertTo-SecureString 'PlainTextPassword' -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ($Name, $secpasswd) $Ensure = 'Present' $UserName = $name $Password = $mycreds $table = @{} $table.Add("Ensure", $Ensure) $table.Add("UserName", $UserName) $table.Add("Password", $Password) $table } Feb 26 14:05:26 WIN-6REVNN94M8O Rudder[0]: @@DSC@@result_error@@afdc2b5a-0780-45da-a5ab-eb36d5e2a5b8@@7a363ed3-1418-4b17-873f-b9a26b0bc94c@@0@@DSC resource@@Creating user bobouioui@@2020-02-26 14:05:09+01:00##e637370d-a9be-42ac-9fef-cd42e66d7110@#Checking dsc resource User with parameters: { $name = 'bobouioui' $secpasswd = ConvertTo-SecureString 'PlainTextPassword' -AsPlainText -Force $mycreds = New-Object System.Management.Automation.PSCredential ($Name, $secpasswd) $Ensure = 'Present' $UserName = $name $Password = $mycreds $table = @{} $table.Add("Ensure", $Ensure) $table.Add("UserName", $UserName) $table.Add("Password", $Password) $table } Log level informations:\nThere could be a possible multiple matches exception while trying to use the System.DirectoryServices API's.Exception calling "Save" with "0" argument(s): "The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. "
See the screenshot attached for the UX part.
Files
Actions