Running bundle deploy
with containerized cli results in python3 not found
#2121
Labels
DABs
DABs related issues
Describe the issue
Trying to get a minimal working example of Dockerized bundle deployment working. I've had this issue in November already, now tried again with the latest version and still have it. Eventually I solved it by creating my own container with the databricks cli and correct terraform & terraform provider versions, but I'm not planning on using that in my eventual deployment pipeline.
It's either something really stupid I'm missing, or the dockerized CLI always gives this error (I tried on a Linux machine as well), and then it'd be very odd that I can't find any other open topics on this issue.
Configuration
Default
my_project
template. Steps listed here explicitly for reproducabiltyRun
databricks configure
, insert host & token when askedRun
databricks bundle init default-python
Run
cd my_project
(default name)First, replace
/Workspace/${workspace.file_path}/src
with${workspace.file_path}/src
inmy_project/resources/my_project_pipeline.yml
Steps to reproduce the behavior
Now running
databricks bundle deploy
ordocker run -v C:\Users\user\my_project:/my_project -e DATABRICKS_HOST="host" -e DATABRICKS_TOKEN="token" --workdir /my_project ghcr.io/databricks/cli:latest bundle deploy
both failed, see logs below.Expected Behavior
Deployment of my bundle, either with
databricks bundle deploy
in PowerShell or with the dockerized Databricks CLI (latter is preferred).Actual Behavior
Both options result in the errors below.
OS and CLI version
Windows & Databricks CLI v0.212.2 (apparently this is the newest version through
winget
)Docker container & Databricks CLI v0.238.0 in it
Is this a regression?
No
Debug Logs
1 Containerized CLI (v0.238.0)
2 windows CLI (v0.212.2)
The text was updated successfully, but these errors were encountered: