Skip to content

Import fails at cluster-policies stage #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Raf-Ben opened this issue Jan 25, 2023 · 0 comments
Open

Import fails at cluster-policies stage #241

Raf-Ben opened this issue Jan 25, 2023 · 0 comments

Comments

@Raf-Ben
Copy link

Raf-Ben commented Jan 25, 2023

Import of databricks workspace fails at cluster-policies phase: the error blocking the import is:
(the only error displyed using debeg mode )
++++++++++++++++++++
2023-01-24,16:09:41;DEBUG;[https://adb-xxxx.azuredatabricks.net:443] "GET /api/2.0/policies/clusters/list HTTP/1.1" 200 None
2023-01-24,16:09:41;DEBUG;[https://adb-xxxxxxxx.azuredatabricks.net:443] "PUT /api/2.0/permissions/cluster-policies/30629062710004EC HTTP/1.1" 500 None
Traceback (most recent call last):
File "migration_pipeline.py", line 349, in
main()
File "migration_pipeline.py", line 345, in main
pipeline.run()
File "/home/coolsoft/IaC/tst/dbxbackuptests/10jan2023/migrate/pipeline/pipeline.py", line 64, in run
future.result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/coolsoft/IaC/tst/dbxbackuptests/10jan2023/migrate/pipeline/pipeline.py", line 73, in _run_task
task.run()
File "/home/coolsoft/IaC/tst/dbxbackuptests/10jan2023/migrate/tasks/tasks.py", line 227, in run
cl_c.import_cluster_policies()
File "/home/coolsoft/IaC/tst/dbxbackuptests/10jan2023/migrate/dbclient/ClustersClient.py", line 430, in import_cluster_policies
resp = self.put(api, acl_create_args)
File "/home/coolsoft/IaC/tst/dbxbackuptests/10jan2023/migrate/dbclient/dbclient.py", line 287, in put
return self.http_req('put', endpoint, json_params, version, print_json)
File "/home/coolsoft/IaC/tst/dbxbackuptests/10jan2023/migrate/dbclient/dbclient.py", line 268, in http_req
raise Exception("Error: {0} request failed with code {1}\n{2}".format(http_type,
Exception: Error: put request failed with code 500
{"error_code":"INTERNAL_ERROR","message":"Principal name not defined"}
++++++++++++++++++++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant