Describe the issue
When defining (all purpose) clusters in asset bundles, the clusters will be restarted after each deployment, even if nothing has changed in the spec.
In the cluster event logs i can see a "Compute edited by " after each deployment. That log entry has a json payload that is probably supposed to show the changes, but oh well, there aren't any in my case...
Configuration
Cluster definition:
my_cluster:
data_security_mode: DATA_SECURITY_MODE_DEDICATEDcluster_name: 'All Purpose for me'single_user_name: ${workspace.current_user.userName}kind: CLASSIC_PREVIEWruntime_engine: STANDARDspark_version: 16.2.x-scala2.12node_type_id: Standard_D4ads_v5driver_node_type_id: Standard_D4ads_v5autotermination_minutes: 60is_single_node: trueenable_local_disk_encryption: falsenum_workers: 1Steps to reproduce the behavior
- Create a cluster definition (see example above)
- Run
databricks bundle deploy ... - Wait for the cluster to be created and spun up
- Run
databricks bundle deploy ... again - Watch the cluster being restarted or check event log (Compute edited by...)
Expected Behavior
The expected behavior is, that in case of no changes to the cluster configuration, the cluster should be untouched and available all the time (no restarts).
Actual Behavior
Cluster is restarting on each deployment, regardless of changes or not.
OS and CLI version
OS: Windows 11
CLI version: v0.260.0
Is this a regression?
Never used the feature before.
Debug Logs
cluster_eventlog.json
Describe the issue
When defining (all purpose) clusters in asset bundles, the clusters will be restarted after each deployment, even if nothing has changed in the spec.
In the cluster event logs i can see a "Compute edited by " after each deployment. That log entry has a json payload that is probably supposed to show the changes, but oh well, there aren't any in my case...
Configuration
Cluster definition:
Steps to reproduce the behavior
databricks bundle deploy ...databricks bundle deploy ...againExpected Behavior
The expected behavior is, that in case of no changes to the cluster configuration, the cluster should be untouched and available all the time (no restarts).
Actual Behavior
Cluster is restarting on each deployment, regardless of changes or not.
OS and CLI version
OS: Windows 11
CLI version: v0.260.0
Is this a regression?
Never used the feature before.
Debug Logs
cluster_eventlog.json