You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
While executing the connector, I am able to connect to SQL Server and it appears that it is able to do the initial auth/connection to the DataCatalog API, but once it starts performing actions, it fails.
I have confirmed that the service account that I am using has DataCatalog owner permissions and that the environment is configured properly.
With DataCatalog being rolled into DataPlex, I wasn't sure if there were additional changes required as part of that?
Error received:
INFO:root:
162 tables ready to be ingested...
INFO:root:
==============Ingest metadata===============
DEBUG:google.auth._default:Checking /home/user/code/keys/exp-metadata-dev-20221010-7ab62fda6fc4.json for explicit credentials as part of auth process...
INFO:root:
INFO:root:Starting to clean up the catalog...
Traceback (most recent call last):
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/api_core/grpc_helpers.py", line 72, in error_remapped_callable
return callable_(*args, **kwargs)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B2607:f8b0:4009:806::200a%5D:443: Failed to connect to remote host: Connection refused"
debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B2607:f8b0:4009:806::200a%5D:443: Failed to connect to remote host: Connection refused {created_time:"2022-10-26T12:55:37.9562088-04:00", grpc_status:14}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/code/datacatalog_sqlserver/datacatalog/bin/google-datacatalog-sqlserver-connector", line 8, in <module>
sys.exit(main())
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/sqlserver/datacatalog_cli.py", line 105, in main
SQLServer2DatacatalogCli().run(argv[1:] if len(argv) > 0 else argv)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/rdbms/datacatalog_cli.py", line 46, in run
self._get_datacatalog_synchronizer()(
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/rdbms/sync/datacatalog_synchronizer.py", line 105, in run
self.__delete_obsolete_metadata(prepared_entries)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/rdbms/sync/datacatalog_synchronizer.py", line 161, in __delete_obsolete_metadata
cleaner.delete_obsolete_metadata(
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/commons/cleanup/datacatalog_metadata_cleaner.py", line 55, in delete_obsolete_metadata
self.__datacatalog_facade.search_catalog_relative_resource_name(
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/commons/datacatalog_facade.py", line 499, in search_catalog_relative_resource_name
for result in self.search_catalog(query)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/datacatalog_connectors/commons/datacatalog_facade.py", line 487, in search_catalog
result for result in self.__datacatalog.search_catalog(request)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/cloud/datacatalog_v1beta1/services/data_catalog/client.py", line 459, in search_catalog
response = rpc(
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/api_core/gapic_v1/method.py", line 154, in __call__
return wrapped_func(*args, **kwargs)
File "/home/user/code/datacatalog_sqlserver/datacatalog/lib/python3.9/site-packages/google/api_core/grpc_helpers.py", line 74, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.ServiceUnavailable: 503 failed to connect to all addresses; last error: UNKNOWN: ipv6:%5B2607:f8b0:4009:806::200a%5D:443: Failed to connect to remote host: Connection refused
While executing the connector, I am able to connect to SQL Server and it appears that it is able to do the initial auth/connection to the DataCatalog API, but once it starts performing actions, it fails.
I have confirmed that the service account that I am using has DataCatalog owner permissions and that the environment is configured properly.
With DataCatalog being rolled into DataPlex, I wasn't sure if there were additional changes required as part of that?
Error received:
Current installed packages:
Thanks in advance for any help that you can provide.
The text was updated successfully, but these errors were encountered: