-
Notifications
You must be signed in to change notification settings - Fork 306
dsc_host crashing on CentOS 8 #1282
Comments
I'm seeing the same error on Centos 8.1, Centos 8.2, RHEL 8.1 and RHEL 8.2:
@brianloss did you open a support request for this ? |
@johanburati I thought this was the place to report issues. If there's somewhere else I should report, I'm happy to do so if you can point me in the right direction. |
It does not appear that the developers are actively monitoring issues on this project. If you are having this issue with a specific VM, I would suggest you create a support request by clicking New support request at the bottom left menu on that VM blade in the Azure Portal: If you do please let me know the number or tell the case owner to create a collab with joburati, I will follow up to fix this issue. |
it seems dsc_host is part of https://github.com/microsoft/PowerShell-DSC-for-Linux, linking author @zjalali |
I cut an issue in the other repo: microsoft/PowerShell-DSC-for-Linux#764 |
Putting the workaround here as well so it is easier to find. It's kind of the same thing as for RHEL 8 and other extensions: Azure/WALinuxAgent#1719 WORKAROUNDThis should prevent
Or if you are seeing issue with
Tried it on a couple of VMs and did not see any crash after using either option. |
I think Microsoft needs to have a real look at all their python-dependent linux software. there is another issue #1292 that seems to have a similar issue :) Anyway I'll repeat here what I said in the other issue: This should be addressed by properly recognizing python and not by aliasing the python command. Red Hat does not recommend to set an unversioned python link ( see man unversioned-python ) on a recent rhel. |
@johanburati thanks for the follow-up. I kind of lost track of this while on break over the holidays, and didn't get around to filing a support case in Azure. Did you end up doing that, or should I still file it?
The release notes for 1.13.33 explicitly state that there is no longer a requirement to install python 2 or alias the python command to it (see here). It would appear those notes are incorrect due to the "broken" dependency PowerShell-DSC-for-Linux. |
@brianloss as a customer myself, I would suggest to file an issue with microsoft. That way microsoft can properly qualify the impact of an issue. EDIT: I see in your profile you're with Microsoft :D so maybe you can escalate the existing issue internally. 121011325001609 |
@brianloss there are already a couple of support cases open for this, the issue has been escalated, and from what I've heard the devs are working on a new version that will works with python3. It is true what I have submitted is more of a workaround but at least it will prevent the program from crashing and generating core files until the devs release a new version that fix the issue. I put the instructions to install python2 just in case because when I first reported the issue with the Centos/RHEL 8 images and python (Azure/WALinuxAgent#1719) some extensions had other issues with python3, it was in 2019 so maybe they all works fine with python3 now. I've see notes that indicate some components still do not work with python3, but did not see any issue after using the workaround in my lab. I hope this will help other ppl having this issue. |
@Klass- thanks for sharing the case number, I've sent you an update by email. |
Thanks for the solution @johanburati !
|
This seems to be fixed by omsconfig-1.1.1-930.x86_64, you should no longer recommend the python workarounds in docs :) |
Thank you for your submission. As previously announced, the Log Analytics agent has been deprecated and has no support as of August 31, 2024. If you use the Log Analytics agent to ingest data to Azure Monitor, migrate now to the new Azure Monitor agent. As part of repo archival, open issues and pull requests will be closed. |
I have installed OMS Agent 1.13.33 on CentOS 8.2. The documentation indicates CentOS 8 is supported. However looking at the output for
dmesg
, I see segfault errors from dsc_host approximately every 15 minutes (there are several every 15 minutes). The messages look like the following:The text was updated successfully, but these errors were encountered: