{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/2922","repository_url":"https://api.github.com/repos/Azure/acs-engine","labels_url":"https://api.github.com/repos/Azure/acs-engine/issues/2922/labels{/name}","comments_url":"https://api.github.com/repos/Azure/acs-engine/issues/2922/comments","events_url":"https://api.github.com/repos/Azure/acs-engine/issues/2922/events","html_url":"https://github.com/Azure/acs-engine/issues/2922","id":322134817,"node_id":"MDU6SXNzdWUzMjIxMzQ4MTc=","number":2922,"title":"Error provisioning Masters: extensions CSEx always failing","user":{"login":"hensilva","id":23301459,"node_id":"MDQ6VXNlcjIzMzAxNDU5","avatar_url":"https://avatars2.githubusercontent.com/u/23301459?v=4","gravatar_id":"","url":"https://api.github.com/users/hensilva","html_url":"https://github.com/hensilva","followers_url":"https://api.github.com/users/hensilva/followers","following_url":"https://api.github.com/users/hensilva/following{/other_user}","gists_url":"https://api.github.com/users/hensilva/gists{/gist_id}","starred_url":"https://api.github.com/users/hensilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hensilva/subscriptions","organizations_url":"https://api.github.com/users/hensilva/orgs","repos_url":"https://api.github.com/users/hensilva/repos","events_url":"https://api.github.com/users/hensilva/events{/privacy}","received_events_url":"https://api.github.com/users/hensilva/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-11T01:06:19Z","updated_at":"2018-07-10T16:38:22Z","closed_at":"2018-07-03T23:19:52Z","author_association":"NONE","body":"## **ISSUE**\r\nACS-ENGINE version: 0.16.1\r\nKubernetes version: 1.9\r\nAzure Region: Brazil South\r\nNumber of Masters: **1 or 3**\r\n\r\nDescription: when deploying I'm invariably getting CSE extension errors on Master nodes and cluster is failing to deploy. Tested with 3 Masters and 1 Masters, similar problem.\r\n\r\nLast message from /var/log/azure/cluster-provision.log:\r\n\r\n**k8s cluster is not healthy after 600 seconds\r\n exit 30**\r\n\r\nError from Azure Portal (applies to all Masters, extensions CSE0, CSE1, etc.)\r\n**{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"VMExtensionProvisioningError\",\r\n        \"message\": \"VM has reported a failure when processing extension 'cse2'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=30\\n[stdout]\\n\\n[stderr]\\n\\\".\"\r\n      }\r\n    ]\r\n  }\r\n}**\r\n\r\nMy JSON (removing sensitive data) is below:\r\n_{\r\n    \"apiVersion\": \"vlabs\",\r\n    \"properties\": {\r\n      \"orchestratorProfile\": {\r\n        \"orchestratorType\": \"Kubernetes\",\r\n        \"orchestratorRelease\": \"1.9\",\r\n        \"kubernetesConfig\": {\r\n          \"networkPolicy\": \"azure\",\r\n          \"useInstanceMetadata\": false,\r\n          \"privateCluster\": {\r\n            \"enabled\": false\r\n          }\r\n        }\r\n      },\r\n      \"masterProfile\": {\r\n        \"count\": 3,\r\n        \"dnsPrefix\": \"hensilvae7819cd00a89\",\r\n        \"vmSize\": \"Standard_B2ms\",\r\n        \"storageProfile\": \"ManagedDisks\",\r\n        \"vnetSubnetId\": \"/subscriptions//resourceGroups/PRD-Network/providers/Microsoft.Network/virtualNetworks//subnets/\",\r\n        \"firstConsecutiveStaticIP\": \"172.16.7.200\",\r\n        \"vnetCidr\": \"172.16.0.0/16\"\r\n      },\r\n      \"agentPoolProfiles\": [\r\n        {\r\n          \"name\": \"agentpool1\",\r\n          \"count\": 5,\r\n          \"vmSize\": \"Standard_B2ms\",\r\n          \"vnetSubnetId\": \"/subscriptions//resourceGroups/PRD-Network/providers/Microsoft.Network/virtualNetworks//subnets/\",\r\n          \"availabilityProfile\": \"AvailabilitySet\",\r\n          \"storageProfile\" : \"ManagedDisks\"\r\n        }\r\n      ],\r\n      \"linuxProfile\": {\r\n        \"adminUsername\": \"hensilva\",\r\n        \"ssh\": {\r\n          \"publicKeys\": [\r\n            {\r\n              \"keyData\": \"\"\r\n            }\r\n          ]\r\n        }\r\n      },\r\n      \"servicePrincipalProfile\": {\r\n        \"clientId\": \"\",\r\n        \"secret\": \"\"\r\n      }\r\n    }\r\n}_"},"comment":{"url":"https://api.github.com/repos/Azure/acs-engine/issues/comments/403887952","html_url":"https://github.com/Azure/acs-engine/issues/2922#issuecomment-403887952","issue_url":"https://api.github.com/repos/Azure/acs-engine/issues/2922","id":403887952,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzg4Nzk1Mg==","user":{"login":"CecileRobertMichon","id":8650424,"node_id":"MDQ6VXNlcjg2NTA0MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8650424?v=4","gravatar_id":"","url":"https://api.github.com/users/CecileRobertMichon","html_url":"https://github.com/CecileRobertMichon","followers_url":"https://api.github.com/users/CecileRobertMichon/followers","following_url":"https://api.github.com/users/CecileRobertMichon/following{/other_user}","gists_url":"https://api.github.com/users/CecileRobertMichon/gists{/gist_id}","starred_url":"https://api.github.com/users/CecileRobertMichon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CecileRobertMichon/subscriptions","organizations_url":"https://api.github.com/users/CecileRobertMichon/orgs","repos_url":"https://api.github.com/users/CecileRobertMichon/repos","events_url":"https://api.github.com/users/CecileRobertMichon/events{/privacy}","received_events_url":"https://api.github.com/users/CecileRobertMichon/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T16:38:22Z","updated_at":"2018-07-10T16:38:22Z","author_association":"COLLABORATOR","body":"@Navlesh what's the exit code you are seeing? Please take a look at https://github.com/Azure/acs-engine/blob/master/docs/kubernetes/troubleshooting.md#vmextensionprovisioningerror-or-vmextensionprovisioningtimeout. \r\n\r\n> What service acs engine use in Azure to deploy cluster, is it Kubernetes services (AKS) or Azure container Service (ACS)?  \r\n\r\nAnswer: Neither, acs-engine generates Azure Resource Manager templates (ARM) and uses those to create Azure resources. In fact, ACS and AKS use acs-engine for some tasks (an not the other way around)."}}
{"actor":{"display_login":"CecileRobertMichon"}}