microsoft / azdo-databricks

A set of Build and Release tasks for Building, Deploying and Testing Databricks notebooks
MIT License
25 stars 30 forks source link

Error on task to deploy the notebooks to workspace #8

Open joychep opened 4 years ago

joychep commented 4 years ago

I'm getting an error deploying the notebooks to workspace, Python version: 3.7.4. Agent job 1: "The Notebooks import process failed." error

Python version that worked 3.7.2

noerror

riserrad commented 4 years ago

Hi @joychep, thanks for the feedback.

As we discussed, this issue was related to the ADB access token being expired. Although we do not have a very good error message to help you fix the problem.

We will concentrate the efforts on improving the error message to give proper information to the user (e.g., validating the token and telling if it is valid or not).

Let me know if you want to share more information.

lffdesantana commented 1 year ago

Hi everyone,

I'm getting a error deploying the notebooks to workspace, Python version: 3.7.

image

AdityaVT commented 1 year ago

Facing the same issue as @lffdesantana since yesterday. All our release pipelines are failing on 'Deploy Notebooks to Workspace' stage. Tried a couple different python versions with the same results. Switching out PAT tokens also did not help.

image

elias-gabriel commented 1 year ago

Hi guys, same error here:

Screenshot 2023-05-05 150921

elias-gabriel commented 1 year ago

Solution i got: Create a new Release with a ubuntu machine on Agent Job.

image

AdityaVT commented 1 year ago

Tried out @elias-gabriel's solution. Getting the same error as before.

elias-gabriel commented 1 year ago

@AdityaVT, Another approach you can try is add a Python Script:

pip3 install urllib3==1.26.15

RajeshKashyap2 commented 1 year ago

Hi Everyone,

Please select Agent Specifications as "ubuntu latest" Under Agent job. It will work.

gopinaralasetty commented 11 months ago

Hi All,

Tried @joychep @AdityaVT @elias-gabriel Solution , Still the same error

DataOpsDon commented 10 months ago

So I managed to get this working use on a self-hosted windows box, I made sure I was using python version 3.7.2 as this seemed to work for someone else, make sure I used the actual link to the Databricks Workspace (not just the region code) and it worked. (see yaml below)