Closed eehret closed 1 year ago
Additional information:
I found a process that has attempted to execute the command: apt-get install --quiet --yes aide-common
It seems to have been hung for a long time and isn't finishing. Still investigating.
I suspect this may have been a mistake I made on my end. Made a change and am retesting. I'll close this if I confirm it was an issue on my end.
Details of the scenario you tried and the problem that is occurring
I have a system running Ubuntu 20.04 on which I expect the 'aide-common' package to be present. Rather than installing the package that is missing, I'm getting a low level error and the entire configuration (all resources in it) fail to evaluate to report individual compliance results on each resource.
Verbose logs showing the problem
At a high level, when I click on the report under Guest Assignments in Azure Portal, I see a high level reason for non-compliance as "GuestConfig agent failed to deploy assignment." There are no details about each resource.
I don't know how to force Guest Configuration agent to do verbose logging on the target system, but here's what I am seeing so far:
Suggested solution to the issue
I'm not sure what the fix is but it would be great if it would simply report compliance on each resource, which it is currently not doing, it's just crashing and failing to report compliance of any of the resources, just showing the entire configuration as a whole as non-compliant. And of course it would be good if it would install the package that we need it to install :)
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The first item below is the one I get the error on but I wanted to point out that I'm intentionally setting up a dependency chain here using
DependsOn
. I'm not sure if that's maybe the reason this is breaking.The operating system the target node is running
Ubuntu 20.04 LTS
Version and build of PowerShell the target node is running
7.3.6
Version of the DSC module that was used
1.2.0