Linux AzureMonitorAgent uses non-existent "os.makedir()" API (should be makedirs)
MattGal opened this issue · 3 comments
MattGal commented
At least two instances of this, found trawling through Linux AMA logs looking for other failures:
https://github.com/Azure/azure-linux-extensions/blob/master/AzureMonitorAgent/agent.py#L1263
https://github.com/Azure/azure-linux-extensions/blob/master/AzureMonitorAgent/agent.py#L1301
Looks like the code in question was introduced last month by https://github.com/Azure/azure-linux-extensions/pull/1688/files
simathih commented
originally introduced here https://github.com/Azure/azure-linux-extensions/pull/1688/files
NarineM commented
Fix will be released with AMA versions >= 1.27.2.