-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not run Get-DSCConfiguration when using xRegistry module #304
Comments
I previously had some commentary in my initial post about how I thought this may be causing additional problems with applying configurations where they seem to hang. I've removed those comments since I can not solidly reproduce the issue 100%, however I will continue to investigate. I am able to reproduce the error on Get-Configuration when using xRegistry 100%. UPDATE: The slowness when applying configurations seems to be related to this: The initial posting is still an outstanding issue. I've updated the initial post to include the resource configuration which I see now I forgot to include. |
I've recreated this in a second lab environment with out all stack software installed in my enterprise environment. I used the Microsoft Windows 2012 R2 AMIs on EC2. @kwirkykat Has anybody from DSC team looked at this yet to validate if it is a bug? I'm new to the community and still learning DSC. Seems like xRegistry is slated to become HQRM next week. If Get-DSCConfiguration is not functioning when setting binary registry keys with xRegistry, that seems like a pretty large bug for a HQRM. |
@TheRealBenForce I'm looking at it |
Awesome, you rock @kwirkykat! |
xRegistry: Fix Get-DSCConfiguration (Fixes #304)
I'm using xRegistry 5.1.0.0 to allow binary data 00 due to issue #276. This is the only experimental module I'm using in my configurations, however I have many others from the PSDesiredStateConfiguration 1.1.
Get-DSCConfiguration fails with the following output in powershell:
Event Log results after running Get-DSCConfiguration:
The referenced instance from the job ID mof file is this:
My resource configuration:
This is the only instance of an experimental resource I'm using in my partial configuration. As a tested, I attempted to use xUser and xService while commenting out my xRegistry. I was able to Get-DSCConfiguration fine and also confirmed my new config was pulled. When I switched back to User, Service and uncommenting xRegistry, the problem resurfaced on my first attempt to Get-DSCConfiguration.
The text was updated successfully, but these errors were encountered: