Closed lotsahelp closed 1 month ago
@lotsahelp : Thank you for opening the issue. Unfortunately the error message is not useful 😒 . It looks like it fails on the registered-models
endpoint. Could you verify if that endpoint does not work for your workspace? It might be disabled. See docs here: https://docs.databricks.com/api/workspace/registeredmodels/list
My first hunch is that ucx should handle an InternalError
for a listing like we do for NotFound
: https://github.com/databrickslabs/ucx/blob/de701123f4e091e0212f0151934969481b6d30c6/src/databricks/labs/ucx/workspace_access/generic.py#L57C1-L65C62
@JCZuurmond after I called them directly via another method, I was able to repair the Assessment run and it seemed to work.
@lotsahelp : Thank you for reporting back. It is interesting that solved the issue, maybe the service was down exactly at the time that the crawl_permissions
ran. I'll keep this issue open to make our code more robust and handle it with logging a warning instead of failing half way with an error
Is there an existing issue for this?
Current Behavior
crawl_permissions fails while running.
Expected Behavior
crawl_permissions should run to completion
Steps To Reproduce
No response
Cloud
Azure
Operating System
macOS
Version
latest via Databricks CLI
Relevant log output