Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mikemowgli/42c32bd11e21d926cadc7b05788d49d7 to your computer and use it in GitHub Desktop.
Save mikemowgli/42c32bd11e21d926cadc7b05788d49d7 to your computer and use it in GitHub Desktop.
Terraform databricks debug log
2020-05-13T12:46:21.695+0200 [DEBUG] plugin: starting plugin: path=/home/mvdborne/.terraform.d/plugins/linux_amd64/terraform-provider-databricks_v0.1.0 args=[/home/mvdborne/.terraform.d/plugins/linux_amd64/terraform-provider-databricks_v0.1.0]
2020-05-13T12:46:21.998+0200 [DEBUG] plugin: plugin started: path=/home/mvdborne/.terraform.d/plugins/linux_amd64/terraform-provider-databricks_v0.1.0 pid=7909
2020-05-13T12:46:21.998+0200 [DEBUG] plugin: waiting for RPC address: path=/home/mvdborne/.terraform.d/plugins/linux_amd64/terraform-provider-databricks_v0.1.0
2020-05-13T12:46:22.012+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 0.1.0, commit 20d14d61cf0347eba500f3b799f4236b15b40568, built at 2020-04-29T15:45:11Z
2020-05-13T12:46:22.015+0200 [INFO] plugin.terraform-provider-databricks_v0.1.0: configuring server automatic mTLS: timestamp=2020-05-13T12:46:22.015+0200
2020-05-13T12:46:22.042+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: plugin address: address=/tmp/plugin666926888 network=unix timestamp=2020-05-13T12:46:22.042+0200
2020-05-13T12:46:22.042+0200 [DEBUG] plugin: using plugin: version=5
2020-05-13T12:46:22.097+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 Creating db client via azure auth!
2020-05-13T12:46:22.097+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 Running Azure Auth
2020-05-13T12:46:22.097+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 [DEBUG] Creating Azure Databricks management OAuth token.
2020-05-13T12:46:22.097+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 {"Method":"POST","URI":"https://login.microsoftonline.com/<REDACTED_FOR_GITHUB>/oauth2/token","Payload":"grant_type=client_credentials\u0026client_id=<REDACTED_FOR_GITHUB>\u0026client_secret=<REDACTED_FOR_GITHUB>\u0026resource=https://management.core.windows.net/"}
2020-05-13T12:46:22.545+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 [DEBUG] Getting Workspace ID via management token.
2020-05-13T12:46:22.545+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:22 {"Method":"PUT","URI":"https://management.azure.com/subscriptions/<REDACTED_FOR_GITHUB>/resourceGroups/datatamers/providers/Microsoft.Databricks/workspaces/datatamersbricks?api-version=2018-04-01","Payload":{"properties":{"managedResourceGroupId":"/subscriptions/<REDACTED_FOR_GITHUB>/resourceGroups/datatamers-databricks-managed"},"name":"datatamersbricks","location":"westeurope"}}
2020-05-13T12:46:23.984+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:23 map[id:/subscriptions/<REDACTED_FOR_GITHUB>/resourceGroups/datatamers/providers/Microsoft.Databricks/workspaces/datatamersbricks location:westeurope name:datatamersbricks properties:map[authorizations:[map[principalId:<REDACTED_FOR_GITHUB> roleDefinitionId:8e3af657-a8ff-443c-a75c-2fe8c4bcb635]] createdBy:map[applicationId:<REDACTED_FOR_GITHUB> oid:<REDACTED_FOR_GITHUB>] createdDateTime:2020-05-12T09:06:45.1574374Z managedResourceGroupId:/subscriptions/<REDACTED_FOR_GITHUB>/resourceGroups/datatamers-databricks-managed parameters:map[amlWorkspaceId:map[type:String value:] customPrivateSubnetName:map[type:String value:] customPublicSubnetName:map[type:String value:] customVirtualNetworkId:map[type:String value:] enableFedRampCertification:map[type:Bool value:false] enableNoPublicIp:map[type:Bool value:false] loadBalancerBackendPoolName:map[type:String value:] loadBalancerId:map[type:String value:] relayNamespaceName:map[type:String value:dbrelayr6rj2uph4vato] resourceTags:map[type:Object value:map[Environment:Sandbox application:databricks databricks-environment:true project:data-analytics terraform_workspace:default]] storageAccountName:map[type:String value:dbstorager6rj2uph4vato] storageAccountSkuName:map[type:String value:Standard_GRS] vnetAddressPrefix:map[type:String value:10.139]] provisioningState:Succeeded updatedBy:map[applicationId:<REDACTED_FOR_GITHUB> oid:<REDACTED_FOR_GITHUB>] workspaceId:5104968070062004 workspaceUrl:adb-5104968070062004.4.azuredatabricks.net] sku:map[name:premium] type:Microsoft.Databricks/workspaces]
2020-05-13T12:46:23.984+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:23 [DEBUG] Creating Azure Databricks platform OAuth token.
https://login.microsoftonline.com/[REDACTED]/oauth2/token","Payload":"grant_type=client_credentials\u0026client_id=[REDACTED]\u0026client_secret=[REDACTED]\u0026resource=2ff814a6-3304-4ab8-85cb-cd0e6f879c1d"}
2020-05-13T12:46:24.262+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:24 [DEBUG] Creating workspace token
2020-05-13T12:46:24.262+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:24 {"Method":"POST","URI":"https://westeurope.azuredatabricks.net/api/2.0/token/create","Payload":{"lifetime_seconds":600,"comment":"Secret made via SP"}}
2020-05-13T12:46:25.565+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:25 {"Method":"GET","URI":"https://westeurope.azuredatabricks.net/api/2.0/clusters/list-node-types?"}
2020/05/13 12:46:26 [DEBUG] databricks_notebook.tamers-databricks-nb-handson-unsupervised-02: applying the planned Delete change
databricks_notebook.tamers-databricks-nb-handson-unsupervised-02: Destroying... [id=/Shared/xxxx/handson-unsupervised-02-end-to-end-machine-learning-project.py]
2020-05-13T12:46:26.303+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:26 {"Method":"POST","URI":"https://westeurope.azuredatabricks.net/api/2.0/workspace/delete","Payload":{"path":"/Shared/xxxx/handson-unsupervised-02-end-to-end-machine-learning-project.py","recursive":true}}
databricks_notebook.tamers-databricks-nb-handson-unsupervised-02: Destruction complete after 1s
2020/05/13 12:46:26 [WARN] Provider "registry.terraform.io/-/databricks" produced an invalid plan for databricks_notebook.tamers-databricks-nb-handson-unsupervised-02, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
databricks_notebook.tamers-databricks-nb-handson-unsupervised-02: Creating...
<REDACTED_FOR_GITHUB>=")
2020/05/13 12:46:26 [DEBUG] databricks_notebook.tamers-databricks-nb-handson-unsupervised-02: applying the planned Create change
2020-05-13T12:46:26.860+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:26 {"Method":"POST","URI":"https://westeurope.azuredatabricks.net/api/2.0/workspace/mkdirs","Payload":{"path":"/Shared/xxxx"}}
2020-05-13T12:46:26.981+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:26 {"Method":"POST","URI":"https://westeurope.azuredatabricks.net/api/2.0/workspace/import","Payload":{"content":"[REDACTED]","path":"/Shared/xxxx/handson-unsupervised-02-end-to-end-machine-learning-project.py","language":"PYTHON","format":"SOURCE"}}
2020-05-13T12:46:28.517+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:28 {"Method":"GET","URI":"https://westeurope.azuredatabricks.net/api/2.0/workspace/export?format=SOURCE\u0026path=%2FShared%2Fxxxx%2Fhandson-unsupervised-02-end-to-end-machine-learning-project.py"}
2020-05-13T12:46:28.656+0200 [DEBUG] plugin.terraform-provider-databricks_v0.1.0: 2020/05/13 12:46:28 {"Method":"GET","URI":"https://westeurope.azuredatabricks.net/api/2.0/workspace/get-status?path=%2FShared%2Fxxxx%2Fhandson-unsupervised-02-end-to-end-machine-learning-project.py"}
2020/05/13 12:46:28 [WARN] Provider "registry.terraform.io/-/databricks" produced an unexpected new value for databricks_notebook.tamers-databricks-nb-handson-unsupervised-02, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .content: was cty.StringVal("475859955"), but now cty.StringVal("1040245117")
databricks_notebook.tamers-databricks-nb-handson-unsupervised-02: Creation complete after 2s [id=/Shared/xxxx/handson-unsupervised-02-end-to-end-machine-learning-project.py]
2020-05-13T12:46:28.747+0200 [DEBUG] plugin: plugin process exited: path=/home/mvdborne/.terraform.d/plugins/linux_amd64/terraform-provider-databricks_v0.1.0 pid=7909
2020-05-13T12:46:28.747+0200 [DEBUG] plugin: plugin exited
Warning: Applied changes may be incomplete
The plan was created with the -target option in effect, so some changes
requested in the configuration may have been ignored and the output values may
not be fully updated. Run the following command to verify that no other
changes are pending:
terraform plan
Note that the -target option is not suitable for routine use, and is provided
only for exceptional situations such as recovering from errors or mistakes, or
when Terraform specifically suggests to use it as part of an error message.
Apply complete! Resources: 1 added, 1 changed, 1 destroyed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment