question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] AzureML on Azure Functions Consumption Plan Linux

See original GitHub issue

Investigative information

Please provide the following:
  • Function App name: happy to provide privately
  • Core Tools version: V4

Repro steps

Using the azureml package in Python in an Azure Function on a consumption plan (linux) breaks for basic operations such as

Dataset.to_pandas_dataframe()

with the following error message:

Exception: NotImplementedError: Linux distribution debian 11. does not have automatic support.
Missing packages: {'liblttng-ust.so.0'}
.NET Core 3.1 can still be used via `dotnetcore2` if the required dependencies are installed.
Visit https://aka.ms/dotnet-install-linux for Linux distro specific .NET Core install instructions.
Follow your distro specific instructions to install `dotnet-runtime-*` and replace `*` with `3.1.23`.

Expected behavior

I expect a Microsoft stack such as Azure Functions + azureml + .NET to be fully integrated and to “just work”.

My requirements as they relate to Azure packages:

azure-functions==1.9.0
azure-functions-durable==1.1.3
azure-storage-blob==12.9.0
azureml-core==1.43.0
azureml-dataset-runtime==1.43.0

The same bug has already been raised and unfortunately closed (#1007) but the solution proposed therein doesn’t seem helpful: I’m trying to use a tech stack that is fully MS / Azure (Azure Functions + azureml) so I don’t expect the solution here is to build my own Docker image. I would expect that the base Docker image underlying Azure Functions consumption plan includes the MS technology .NET if it’s necessary.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ramya894commented, Oct 26, 2022

@waltherg We will discuss this issue with our next level team and update you.

0reactions
pdthummarcommented, Oct 28, 2022

hi @waltherg, we are trying to reproduce the issue and investing it. Unfortunately, at this time, we cannot provide any timelines without completely investing the issue. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incompatibility between linux python azure function ... - GitHub
I am experiencing some issues trying to call Azure machine learning functions from a function. Functions apps appear to be incompatible with ...
Read more >
AZURE Functions not able to be created on Linux ...
Any idea why I can't create the function under Linux Consumption plan? Updates. I am still confused, I was able to deploy to...
Read more >
Lifting your serverless app to on-premises with KEDA and K8s ...
The cloud architecture: 1. Message producer app - Azure Functions Consumption plan with HTTP trigger and output Storage Queue trigger. 2. Message bus...
Read more >
Azure Functions Live – April 2020 | Serverless360 Blog
Azure ML integration is now available only in the Premium plan and you ... with App Service Authentication; Easy Auth for Linux Consumption...
Read more >
Azure Function (Consumption Linux Plan) is not working with ...
The below works on my side(Linux consumption plan): trigger: - none variables: # Azure Resource Manager connection created during pipeline ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found