{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7550","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7550/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7550/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7550/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/7550","id":334994622,"node_id":"MDU6SXNzdWUzMzQ5OTQ2MjI=","number":7550,"title":"ARM subtask \"Configure with Deployment Group agent\" does not work for VMSS","user":{"login":"inverted360","id":7230928,"node_id":"MDQ6VXNlcjcyMzA5Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/7230928?v=4","gravatar_id":"","url":"https://api.github.com/users/inverted360","html_url":"https://github.com/inverted360","followers_url":"https://api.github.com/users/inverted360/followers","following_url":"https://api.github.com/users/inverted360/following{/other_user}","gists_url":"https://api.github.com/users/inverted360/gists{/gist_id}","starred_url":"https://api.github.com/users/inverted360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inverted360/subscriptions","organizations_url":"https://api.github.com/users/inverted360/orgs","repos_url":"https://api.github.com/users/inverted360/repos","events_url":"https://api.github.com/users/inverted360/events{/privacy}","received_events_url":"https://api.github.com/users/inverted360/received_events","type":"User","site_admin":false},"labels":[{"id":391088230,"node_id":"MDU6TGFiZWwzOTEwODgyMzA=","url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Release","name":"Area: Release","color":"5319e7","default":false},{"id":154814013,"node_id":"MDU6TGFiZWwxNTQ4MTQwMTM=","url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"bishal-pdMSFT","id":7830141,"node_id":"MDQ6VXNlcjc4MzAxNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/7830141?v=4","gravatar_id":"","url":"https://api.github.com/users/bishal-pdMSFT","html_url":"https://github.com/bishal-pdMSFT","followers_url":"https://api.github.com/users/bishal-pdMSFT/followers","following_url":"https://api.github.com/users/bishal-pdMSFT/following{/other_user}","gists_url":"https://api.github.com/users/bishal-pdMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/bishal-pdMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bishal-pdMSFT/subscriptions","organizations_url":"https://api.github.com/users/bishal-pdMSFT/orgs","repos_url":"https://api.github.com/users/bishal-pdMSFT/repos","events_url":"https://api.github.com/users/bishal-pdMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/bishal-pdMSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"bishal-pdMSFT","id":7830141,"node_id":"MDQ6VXNlcjc4MzAxNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/7830141?v=4","gravatar_id":"","url":"https://api.github.com/users/bishal-pdMSFT","html_url":"https://github.com/bishal-pdMSFT","followers_url":"https://api.github.com/users/bishal-pdMSFT/followers","following_url":"https://api.github.com/users/bishal-pdMSFT/following{/other_user}","gists_url":"https://api.github.com/users/bishal-pdMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/bishal-pdMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bishal-pdMSFT/subscriptions","organizations_url":"https://api.github.com/users/bishal-pdMSFT/orgs","repos_url":"https://api.github.com/users/bishal-pdMSFT/repos","events_url":"https://api.github.com/users/bishal-pdMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/bishal-pdMSFT/received_events","type":"User","site_admin":false},{"login":"sachinma","id":17923727,"node_id":"MDQ6VXNlcjE3OTIzNzI3","avatar_url":"https://avatars2.githubusercontent.com/u/17923727?v=4","gravatar_id":"","url":"https://api.github.com/users/sachinma","html_url":"https://github.com/sachinma","followers_url":"https://api.github.com/users/sachinma/followers","following_url":"https://api.github.com/users/sachinma/following{/other_user}","gists_url":"https://api.github.com/users/sachinma/gists{/gist_id}","starred_url":"https://api.github.com/users/sachinma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachinma/subscriptions","organizations_url":"https://api.github.com/users/sachinma/orgs","repos_url":"https://api.github.com/users/sachinma/repos","events_url":"https://api.github.com/users/sachinma/events{/privacy}","received_events_url":"https://api.github.com/users/sachinma/received_events","type":"User","site_admin":false},{"login":"tejasd1990","id":21192350,"node_id":"MDQ6VXNlcjIxMTkyMzUw","avatar_url":"https://avatars1.githubusercontent.com/u/21192350?v=4","gravatar_id":"","url":"https://api.github.com/users/tejasd1990","html_url":"https://github.com/tejasd1990","followers_url":"https://api.github.com/users/tejasd1990/followers","following_url":"https://api.github.com/users/tejasd1990/following{/other_user}","gists_url":"https://api.github.com/users/tejasd1990/gists{/gist_id}","starred_url":"https://api.github.com/users/tejasd1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejasd1990/subscriptions","organizations_url":"https://api.github.com/users/tejasd1990/orgs","repos_url":"https://api.github.com/users/tejasd1990/repos","events_url":"https://api.github.com/users/tejasd1990/events{/privacy}","received_events_url":"https://api.github.com/users/tejasd1990/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-22T19:33:50Z","updated_at":"2018-09-27T06:32:04Z","closed_at":null,"author_association":"NONE","body":"## Troubleshooting\r\n2018-06-22T19:22:12.0768678Z Successfully deployed the template.\r\n2018-06-22T19:22:12.0774287Z Adding deployment group agent on the resource group virtual machines.\r\n2018-06-22T19:22:12.0784039Z ##[debug][GET]https://management.azure.com/subscriptions/62bf6575-7e8e-46d3-8e8c-2b815cb26b39/resourceGroups/ppe-inspire/providers/Microsoft.Compute/virtualMachines?api-version=2016-03-30\r\n2018-06-22T19:22:12.3152873Z ##[debug]Virtual Machines details: []\r\n2018-06-22T19:22:12.3159485Z ##[debug]task result: Succeeded\r\n2018-06-22T19:22:12.3160262Z ##[debug]Processed: ##vso[task.complete result=Succeeded;]\r\n\r\n## Environment\r\n- Server - VSTS\r\n    \r\n    - If using VSTS, provide the account name, team project name, build definition name/build number: \r\nhttps://mpneng.visualstudio.com/MPN%20Engineering/team%20jericho/_apps/hub/ms.vss-releaseManagement-web.cd-workflow-hub?definitionId=54&_a=definition-pipeline\r\n\r\n\r\n- Agent - Hosted: \r\n    \r\n    - If using Hosted agent, provide agent queue name: Agent queue: Hosted VS2017 | Agent: Hosted Agent\r\n\r\n## Issue Description\r\n\r\nUsing ARM, i can successfully enroll VMSS members into deployment group using\r\n\"extensionProfile\": {\r\n            \"extensions\": [\r\n              {\r\n                \"type\": \"Microsoft.Compute/virtualMachines/extensions\",\r\n                \"name\": \"[concat(parameters('vmSSName'),'TeamServicesAgent')]\",\r\n                \"location\": \"[parameters('location')]\",\r\n                \"properties\": {\r\n                  \"publisher\": \"Microsoft.VisualStudio.Services\",\r\n                  \"type\": \"TeamServicesAgent\",\r\n                  \"typeHandlerVersion\": \"1.0\",\r\n                  \"autoUpgradeMinorVersion\": true,\r\n                  \"settings\": {\r\n                    \"VstsAccountName\": \"[parameters('accountUrl')]\",\r\n                    \"TeamProject\": \"[parameters('projectName')]\",\r\n                    \"DeploymentGroup\": \"[parameters('deploymentGroupName')]\"\r\n                  },\r\n                  \"protectedSettings\": {\r\n                    \"PATToken\": \"[parameters('personalAccessToken')]\"\r\n                  }\r\n                }\r\n              }\r\n            ]\r\n          }\r\n\r\nUsing VSTS post ARM function, it looks for type Microsoft.Compute/virtualMachines and not Microsoft.Compute/virtualMachineScaleSets so it finds 0 virtualMachines and reports status \"complete\"\r\n\r\nDesired behavior: add on capability also queries for Microsoft.Compute/virtualMachineScaleSets and adds deployment group agent to members of VMSS.\r\n\r\n### Error logs\r\n\r\nNo errors - see debug pasted in \"troubleshooting\" section."},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/424974441","html_url":"https://github.com/Microsoft/vsts-tasks/issues/7550#issuecomment-424974441","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/7550","id":424974441,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDk3NDQ0MQ==","user":{"login":"aranm","id":179692,"node_id":"MDQ6VXNlcjE3OTY5Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/179692?v=4","gravatar_id":"","url":"https://api.github.com/users/aranm","html_url":"https://github.com/aranm","followers_url":"https://api.github.com/users/aranm/followers","following_url":"https://api.github.com/users/aranm/following{/other_user}","gists_url":"https://api.github.com/users/aranm/gists{/gist_id}","starred_url":"https://api.github.com/users/aranm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aranm/subscriptions","organizations_url":"https://api.github.com/users/aranm/orgs","repos_url":"https://api.github.com/users/aranm/repos","events_url":"https://api.github.com/users/aranm/events{/privacy}","received_events_url":"https://api.github.com/users/aranm/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T06:32:04Z","updated_at":"2018-09-27T06:32:04Z","author_association":"NONE","body":"This is a necessary ability for VMSS's to have, otherwise it falls to having to build a machine image everytime we want to deploy. So, for example, everytime my scalable web site gets updated I can't just do an IIS install, I have to build a new image. Surely the faster scenario would be to update an IIS web site running on the machine.\r\n\r\n@bishal-pdMSFT how much work is involved in getting this working?\r\n"}}
{"actor":{"display_login":"aranm"}}