{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/5560","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/5560/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/5560/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/5560/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/5560","id":262875000,"number":5560,"title":"Azure File Copy fails with \"Failed to enable copy prerequisites\"","user":{"login":"CarteriTrellis","id":8884069,"avatar_url":"https://avatars0.githubusercontent.com/u/8884069?v=4","gravatar_id":"","url":"https://api.github.com/users/CarteriTrellis","html_url":"https://github.com/CarteriTrellis","followers_url":"https://api.github.com/users/CarteriTrellis/followers","following_url":"https://api.github.com/users/CarteriTrellis/following{/other_user}","gists_url":"https://api.github.com/users/CarteriTrellis/gists{/gist_id}","starred_url":"https://api.github.com/users/CarteriTrellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarteriTrellis/subscriptions","organizations_url":"https://api.github.com/users/CarteriTrellis/orgs","repos_url":"https://api.github.com/users/CarteriTrellis/repos","events_url":"https://api.github.com/users/CarteriTrellis/events{/privacy}","received_events_url":"https://api.github.com/users/CarteriTrellis/received_events","type":"User","site_admin":false},"labels":[{"id":391088230,"url":"https://api.github.com/repos/Microsoft/vsts-tasks/labels/Area:%20Release","name":"Area: Release","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"Ajay-MS","id":16772764,"avatar_url":"https://avatars2.githubusercontent.com/u/16772764?v=4","gravatar_id":"","url":"https://api.github.com/users/Ajay-MS","html_url":"https://github.com/Ajay-MS","followers_url":"https://api.github.com/users/Ajay-MS/followers","following_url":"https://api.github.com/users/Ajay-MS/following{/other_user}","gists_url":"https://api.github.com/users/Ajay-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajay-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajay-MS/subscriptions","organizations_url":"https://api.github.com/users/Ajay-MS/orgs","repos_url":"https://api.github.com/users/Ajay-MS/repos","events_url":"https://api.github.com/users/Ajay-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Ajay-MS/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ajay-MS","id":16772764,"avatar_url":"https://avatars2.githubusercontent.com/u/16772764?v=4","gravatar_id":"","url":"https://api.github.com/users/Ajay-MS","html_url":"https://github.com/Ajay-MS","followers_url":"https://api.github.com/users/Ajay-MS/followers","following_url":"https://api.github.com/users/Ajay-MS/following{/other_user}","gists_url":"https://api.github.com/users/Ajay-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajay-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajay-MS/subscriptions","organizations_url":"https://api.github.com/users/Ajay-MS/orgs","repos_url":"https://api.github.com/users/Ajay-MS/repos","events_url":"https://api.github.com/users/Ajay-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Ajay-MS/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2017-10-04T17:51:44Z","updated_at":"2017-10-11T23:02:55Z","closed_at":"2017-10-09T14:46:48Z","author_association":"NONE","body":"This started in our builds immediately after this Win RM-related change to Azure File Copy:\r\nhttps://github.com/Microsoft/vsts-tasks/pull/5491\r\n\r\nFrom our logs:\r\n```\r\n2017-09-26T22:21:35.6781329Z ##[warning]'##vso[task.logissue type=error;code={\"Task_Internal_Error\":Failed to enable copy prerequisites. Operation 'PUT' is not allowed on VM extension 'WinRMCustomScriptExtension' since it is marked for deletion. You can only retry the Delete operation (or wait for an ongoing one to complete).' contains logging command keyword '##vso', but it's not a legal command. Please reference documentation to fix any potentially syntax error (http://go.microsoft.com/fwlink/?LinkId=817296)\r\n2017-09-26T22:21:35.6781329Z ##vso[task.logissue type=error;code={\"Task_Internal_Error\":Failed to enable copy prerequisites. Operation 'PUT' is not allowed on VM extension 'WinRMCustomScriptExtension' since it is marked for deletion. You can only retry the Delete operation (or wait for an ongoing one to complete).\r\n2017-09-26T22:21:35.6781329Z ErrorCode: OperationNotAllowed\r\n2017-09-26T22:21:35.6781329Z ErrorMessage: Operation 'PUT' is not allowed on VM extension 'WinRMCustomScriptExtension' since it is marked for deletion. You can only retry the Delete operation (or wait for an ongoing one to complete).\r\n2017-09-26T22:21:35.6781329Z StatusCode: 409\r\n2017-09-26T22:21:35.6781329Z ReasonPhrase: Conflict\r\n2017-09-26T22:21:35.6781329Z OperationID : 9724357c-42e6-4503-9c03-8eb5251c10ba};]\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/335973091","html_url":"https://github.com/Microsoft/vsts-tasks/issues/5560#issuecomment-335973091","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/5560","id":335973091,"user":{"login":"CarteriTrellis","id":8884069,"avatar_url":"https://avatars0.githubusercontent.com/u/8884069?v=4","gravatar_id":"","url":"https://api.github.com/users/CarteriTrellis","html_url":"https://github.com/CarteriTrellis","followers_url":"https://api.github.com/users/CarteriTrellis/followers","following_url":"https://api.github.com/users/CarteriTrellis/following{/other_user}","gists_url":"https://api.github.com/users/CarteriTrellis/gists{/gist_id}","starred_url":"https://api.github.com/users/CarteriTrellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarteriTrellis/subscriptions","organizations_url":"https://api.github.com/users/CarteriTrellis/orgs","repos_url":"https://api.github.com/users/CarteriTrellis/repos","events_url":"https://api.github.com/users/CarteriTrellis/events{/privacy}","received_events_url":"https://api.github.com/users/CarteriTrellis/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T23:02:55Z","updated_at":"2017-10-11T23:02:55Z","author_association":"NONE","body":"@Ajay-MS That would also be consistent with what we were seeing, where on a fresh VM it would run successfully once, and fail in subsequent runs. I have not tried deleting the custom extension manually, but from the portal the custom script has been deleted."}}
{"actor":{"display_login":"CarteriTrellis"}}