[BUG]: create-uber-principal
command failed when updating the SQL warehouse config
#2405
Closed
1 task done
Labels
Is there an existing issue for this?
Current Behavior
create-uber-principal
will fail withERROR [d.l.ucx.create-uber-principal] InvalidParameterValue: Endpoint security policy is required and must be one of NONE, DATA_ACCESS_CONTROL, PASSTHROUGH.
when updating the SQL warehouse config to add the uber principal to data_access_config.This can be fixed by adding
security_policy
to the set_workspace_warehouse_config api callFurthermore, the same api call is still failing, after above is fixed, with this error:
databricks.sdk.errors.platform.InvalidParameterValue: enable_serverless_compute is required.
.For a workspace with serverless enabled, the undocumented
enable_serverless_compute
field must be provided in the api request body, but python SDK does not support this field.UCX may have to call the REST API directly instead of using python SDK, if the SDK cannot support this field in the near future.
Expected Behavior
No response
Steps To Reproduce
No response
Cloud
Azure
Operating System
macOS
Version
latest via Databricks CLI
Relevant log output
No response
The text was updated successfully, but these errors were encountered: