-
Notifications
You must be signed in to change notification settings - Fork 101
UCX Assesment Workflow breaks when executing Crawl permissions if Model Serving is not available in the Workspace Region #1228
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I have a series of Workspaces deployed in Switzerland North Azure Region. Due to regulatory compliance requirements it has to be that exact region.
When executing Assessment Workflow, it breaks in the "Crawl Permissions" step. The reason of the failure is because it is trying to access Model serving endpoints features to crawl permissions, but according to Databricks documentation, it is not enabled in Switzerland (https://learn.microsoft.com/en-us/azure/databricks/machine-learning/model-serving/model-serving-limits#--region-availability)
Expected Behavior
Crawl permissions step, should execute regardless if Model Serving is available on the region or not. It should be configurable to crawl permissions for that.
Steps To Reproduce
No response
Cloud
Azure
Operating System
Linux
Version
latest via Databricks CLI
Relevant log output
UCX v0.17.0
Scans the workspace-local groups and all their permissions. The list is stored in the `$inventory.permissions`
Delta table.
This is the first step for the _group migration_ process, which is continued in the `migrate-groups` workflow.
This step includes preparing Legacy Table ACLs for local group migration.
15:19:46 INFO [d.labs.ucx] UCX v0.17.0 After job finishes, see debug logs at /Workspace/Applications/ucx/logs/assessment/run-413746228294294/crawl_permissions.log
15:19:46 INFO [d.l.u.workspace_access.manager] Cleaning up inventory table hive_metastore.ucx.permissions
15:19:46 INFO [d.l.u.workspace_access.manager] Inventory table cleanup complete
15:19:46 INFO [d.l.u.workspace_access.generic] Listed clusters in 0:00:00.047167
15:19:46 INFO [d.l.u.workspace_access.generic] Listed cluster-policies in 0:00:00.038094
15:19:46 INFO [d.l.u.workspace_access.generic] Listed instance-pools in 0:00:00.049407
15:19:46 INFO [d.l.u.workspace_access.generic] Listed sql/warehouses in 0:00:00.037511
15:19:46 INFO [d.l.u.workspace_access.generic] Listed jobs in 0:00:00.162886
15:19:46 INFO [d.l.u.workspace_access.generic] Listed pipelines in 0:00:00.027808
15:19:46 ERROR [d.labs.ucx] Execute `databricks workspace export //Applications/ucx/logs/assessment/run-413746228294294/crawl_permissions.log` locally to troubleshoot with more details. Model serving is not enabled for your shard. Please contact your organization admin or Databricks support.