Skip to content

Instantly share code, notes, and snippets.

@phivid
Created November 16, 2020 09:19
Show Gist options
  • Save phivid/a810aead039c9205d4aec13ebf33ee0b to your computer and use it in GitHub Desktop.
Save phivid/a810aead039c9205d4aec13ebf33ee0b to your computer and use it in GitHub Desktop.
oms_agent_error
terraform apply
random_id.log_analytics_workspace_name_suffix: Refreshing state... [id=kU80vOkuaOM]
random_password.sp_pwd: Refreshing state... [id=none]
azuread_application.app: Refreshing state... [id=813e0397-6ae6-4405-8959-47210285a032]
azuread_service_principal.cluster_sp: Refreshing state... [id=02f222bf-5235-45d0-a554-3e0a415e8124]
azuread_service_principal_password.sp_pwd: Refreshing state... [id=02f222bf-5235-45d0-a554-3e0a415e8124/password/dafeb077-5d88-6e81-4143-9852ab8d6e4b]
data.azurerm_subscription.current: Refreshing state... [id=/subscriptions/[MASKED]]
data.azurerm_public_ip.public_ip_in: Refreshing state... [id=/subscriptions/[MASKED]/resourceGroups/rg-aks-dev/providers/Microsoft.Network/publicIPAddresses/public-ip-in-dev]
data.azurerm_resource_group.aks_cluster_rg: Refreshing state... [id=/subscriptions/[MASKED]/resourceGroups/rg-aks-dev]
data.azurerm_public_ip.public_ip_out: Refreshing state... [id=/subscriptions/[MASKED]/resourceGroups/rg-aks-dev/providers/Microsoft.Network/publicIPAddresses/public-ip-out-dev]
azurerm_log_analytics_workspace.aks: Refreshing state... [id=/subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/microsoft.operationalinsights/workspaces/log-aks-dev-10470645644630321379]
azurerm_log_analytics_solution.aks: Refreshing state... [id=/subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/Microsoft.OperationsManagement/solutions/ContainerInsights(log-aks-dev-10470645644630321379)]
azurerm_role_assignment.sp_role_assignment_contributor: Refreshing state... [id=/subscriptions/[MASKED]/providers/Microsoft.Authorization/roleAssignments/ebdbb124-2713-17cf-9fd8-bfd5e35a6f1b]
azurerm_role_assignment.sp_role_assignment: Refreshing state... [id=/subscriptions/[MASKED]/providers/Microsoft.Authorization/roleAssignments/83dfa6db-e538-6eee-ed30-b8c20f935d62]
azurerm_kubernetes_cluster.aks_cluster: Refreshing state... [id=/subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/Microsoft.ContainerService/managedClusters/aks-dev]
local_file.kubeconfig: Refreshing state... [id=cc93de3b2b32ac0733ab87b6fde9ba8bcb0abed8]
kubernetes_namespace.cert_manager: Refreshing state... [id=cert-manager]
kubernetes_namespace.ingress_basic: Refreshing state... [id=ingress-basic]
kubernetes_namespace.velero: Refreshing state... [id=velero]
helm_release.nginx_ingress: Refreshing state... [id=nginx-ingress]
kubernetes_secret.velero: Refreshing state... [id=velero/credentials-velero]
helm_release.velero: Refreshing state... [id=velero]
helm_release.cert_manager: Refreshing state... [id=cert-manager]
null_resource.cluster_issuer: Refreshing state... [id=6918287769958105452]
azurerm_log_analytics_solution.aks: Destroying... [id=/subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/Microsoft.OperationsManagement/solutions/ContainerInsights(log-aks-dev-10470645644630321379)]
azurerm_log_analytics_solution.aks: Destruction complete after 4s
azurerm_log_analytics_workspace.aks: Destroying... [id=/subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/microsoft.operationalinsights/workspaces/log-aks-dev-10470645644630321379]
azurerm_log_analytics_workspace.aks: Destruction complete after 9s
random_id.log_analytics_workspace_name_suffix: Destroying... [id=kU80vOkuaOM]
random_id.log_analytics_workspace_name_suffix: Destruction complete after 0s
azurerm_kubernetes_cluster.aks_cluster: Modifying... [id=/subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/Microsoft.ContainerService/managedClusters/aks-dev]
Error: waiting for update of Managed Kubernetes Cluster "aks-dev" (Resource Group "rg-aks-dev"): Code="GetLogAnalyticsWorkspaceError" Message="Unable to get log analytics workspace info. Resource ID: /subscriptions/[MASKED]/resourcegroups/rg-aks-dev/providers/microsoft.operationalinsights/workspaces/log-aks-dev-10470645644630321379. Details: autorest/azure: Service returned an error. Status=404 Code=\"ResourceNotFound\" Message=\"The Resource 'Microsoft.OperationalInsights/workspaces/log-aks-dev-10470645644630321379' under resource group 'rg-aks-dev' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\". For more details about how to create and use log analytics workspace, please refer to: https://aka.ms/new-log-analytics"
on k8s.tf line 13, in resource "azurerm_kubernetes_cluster" "aks_cluster":
13: resource "azurerm_kubernetes_cluster" "aks_cluster" {
Releasing state lock. This may take a few moments...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment