-
Notifications
You must be signed in to change notification settings - Fork 132
dsc_host keeps crashing #764
Comments
We also opened a support case with Microsoft |
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. @Klaas- could you try on your VMs and confirm ? |
Hi, Red Hat does not recommend to set an unversioned python link ( see man unversioned-python ) on a recent rhel. |
@Klass- right, I changed "solution" for "workaround", at least it will prevent the program from crashing and generating core files until the developers release a new version that fix the issue. I hope this will help other ppl having this issue. |
Do you know if I somehow can disable this feature on Ubuntu 20.04 running on Azure. It fills up the entire dmesg log system. I could try the python thing mentioned above, but why not remove the entire thing? |
@robfordww You need to disconnect the VMs within your OMS workplace and all the OMS components will get uninstalled. Please cut a support ticket if you need help with that. |
This directly relates to MS case 121012721003494. I'll use the workaround for now, but will also be eagerly awaiting a RHEL8-compatible solution. (Honestly, though, why did RedHat need to break "#!/usr/bin/env python"? That's the method that's supposed to always work!) |
Note that the advice to use python3 as the alternative seems to work best on RHEL8 and is the closest to the RHEL8 general guidelines to extremely preferentially use python3. However, this advice contradicts the advice given in this Microsoft document: https://docs.microsoft.com/en-us/azure/azure-monitor/agents/agent-linux#python-requirement That advice is given in the context of "if you must use an older agent" and I'll suggest an improvement to make that clearer. |
As part of an internal conversation around microsoft/PowerShell-DSC-for-Linux#764 it was suggested that we use python2 on RHEL8 since it was "recommended by Microsoft" in this document. This seems to be a misunderstanding of the context of this fix and goes against the strong preference for python3 in RHEL8. Help clarify that with this trivial improvement.
@sbonds I think this is a more general recommendation by python developers -- see "man unversioned-python" on an EL8 system or https://www.python.org/dev/peps/pep-0394/ |
This seems to be fixed by omsconfig-1.1.1-930.x86_64, you should no longer recommend the python workarounds in docs :) |
dsc_host keeps crashing.
The text was updated successfully, but these errors were encountered: