I've encountered a significant issue while using the VSCode extension for Databricks, particularly when working with a cluster configured with a Docker image. Here's a detailed description of the problem:
Problem Description
When attempting to upload and execute a Python file with VSCode to a Databricks cluster that utilizes a custom Docker image, the connection fails, and the extension does not function as expected.
==============================
Errors in 00-databricks-init-3331c3ed293013bfec5837e683d00cfe.py:
WARNING - All log messages before absl: :InitializeLog() is called are written to STDERR
I0000 00 - 00: 1721481367.546267 105941 config.cc:230] gRPC experiments enabled: call_status_override_on_cancellation, event_engine_dns, event_engine_listener, http2_stats_fix, monitoring_experiment, pick_first_new, trace_record_callops, work_serializer_clears_time_cache
Error: CommandExecution.createAndWait: failed to reach Running state, got Error: [object Object]
7/20/2024, 8:34:11 AM - Creating execution context on cluster 0719 ...
Error: CommandExecution.createAndWait: failed to reach Running state, got Error: [object Object]
Execution terminated
Potential Workarounds
Note
It is important to mention that when I run the same Python file with a standard cluster with no docker on it, the VSCode extension works as expected.