-
Notifications
You must be signed in to change notification settings - Fork 101
[BUG]: Upgrade not working from 0.8.0: ModuleNotFoundError: No module named 'databricks.labs.blueprint' #1276
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Receive error while upgrading from v0.8.0 via databricks labs command.
Attempted method to upgrade:
databricks labs upgrade ucx --debug
Error received:
(venv310) xyzxyz@xxxxxxxxx ucx % databricks labs upgrade ucx --debug
22:05:54 INFO start pid=97387 version=0.217.0 args="databricks, labs, upgrade, ucx, --debug"
22:05:54 DEBUG Latest ucx version is: v0.21.0 pid=97387
22:05:54 DEBUG Reading [email protected] from databrickslabs/ucx pid=97387
⣾ Cleaning up previous installation if necessary22:05:54 DEBUG Downloading zipball for v0.21.0 from databrickslabs/ucx pid=97387
⣷ Downloading and unpacking zipball for v0.21.022:05:57 DEBUG Unpacking zipball to: /Users/xyzxyz/.databricks/labs/ucx/lib pid=97387
⣾ Downloading and unpacking zipball for v0.21.022:05:57 DEBUG Writing installed version info to: /Users/xyzxyz/.databricks/labs/ucx/state/version.json pid=97387
22:05:57 DEBUG Launching installer script src/databricks/labs/ucx/install.py in /Users/xyzxyz/.databricks/labs/ucx/lib pid=97387
22:05:57 DEBUG Loading login configuration from: /Users/xyzxyz/.databricks/labs/ucx/config/login.json pid=97387
22:05:57 DEBUG Using workspace-level login profile: DEFAULT pid=97387
22:05:57 DEBUG Loading DEFAULT profile from /Users/xyzxyz/.databrickscfg pid=97387 sdk=true
22:05:57 DEBUG Resolved login: Config: host=https://xxxxxxxx-staging.cloud.databricks.com/, token=***, profile=DEFAULT, config_file=/Users/xyzxyz/.databrickscfg pid=97387 sdk=true
22:05:57 DEBUG Passing down environment variables: DATABRICKS_HOST, DATABRICKS_TOKEN pid=97387
22:05:57 DEBUG starting: /Users/xyzxyz/.databricks/labs/ucx/state/venv/bin/python3 src/databricks/labs/ucx/install.py pid=97387
Traceback (most recent call last):
File "/Users/xyzxyz/.databricks/labs/ucx/lib/src/databricks/labs/ucx/install.py", line 12, in
from databricks.labs.blueprint.entrypoint import get_logger
ModuleNotFoundError: No module named 'databricks.labs.blueprint'
Error: installer: exit status 1
22:05:58 ERROR failed execution pid=97387 exit_code=1 error="installer: exit status 1"
Also a bit weird that when I run:
databricks labs installed --debug, I see:
Name Description Version
ucx Unity Catalog Migration Toolkit (UCX) *
(i.e. no version displayed).
Is 0.8.0 "too old" a version to run upgrade? Is my only option to manually delete and re-install?
Expected Behavior
Running upgrade command should enable me to upgrade to 0.21.0, or most recent ucx version.
Steps To Reproduce
No response
Cloud
AWS
Operating System
macOS
Version
latest via Databricks CLI
Relevant log output
No response