{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3532","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3532/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3532/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3532/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/3532","id":213578861,"number":3532,"title":"an unkown error report when capture VM belong to resourcegroup which named by chinese","user":{"login":"dafoyiming","id":8878271,"avatar_url":"https://avatars0.githubusercontent.com/u/8878271?v=3","gravatar_id":"","url":"https://api.github.com/users/dafoyiming","html_url":"https://github.com/dafoyiming","followers_url":"https://api.github.com/users/dafoyiming/followers","following_url":"https://api.github.com/users/dafoyiming/following{/other_user}","gists_url":"https://api.github.com/users/dafoyiming/gists{/gist_id}","starred_url":"https://api.github.com/users/dafoyiming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafoyiming/subscriptions","organizations_url":"https://api.github.com/users/dafoyiming/orgs","repos_url":"https://api.github.com/users/dafoyiming/repos","events_url":"https://api.github.com/users/dafoyiming/events{/privacy}","received_events_url":"https://api.github.com/users/dafoyiming/received_events","type":"User","site_admin":false},"labels":[{"id":211705682,"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/ARM","name":"ARM","color":"006b75","default":false},{"id":21126807,"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/IAAS","name":"IAAS","color":"c5def5","default":false},{"id":348993865,"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/ServiceIssue","name":"ServiceIssue","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-12T03:36:36Z","updated_at":"2017-03-16T22:51:19Z","closed_at":"2017-03-16T22:51:19Z","body":"CLI Version: **0.10.7**\r\nOS Type: Win \r\nInstallation via:   win installer \r\n\r\nMode: **ARM **\r\n\r\nEnvironment: **Azure China Cloud**\r\n\r\nDescription:\r\n“An Internal error occurrred in the operation”  report when capture VM belong to resourcegroup which named by chinese\r\n\r\nSteps to reproduce:\r\n1) Run ` azure vm deallocate -g 张一鸣资源组 -n zymcapture` -> successfully\r\n2) Run ` azure vm generalize -g 张一鸣资源组 -n zymcapture` -> successfully\r\n3) Run ` azure vm capture -g 张一鸣资源组 -n zymcapture -p zymcapturePrefix -t zymcaptureTemplatechinses.json ` -> failed with error Long running operation failed with error 'An internal error occurrred in the operation.'\r\n\r\nError stack trace:\r\n\r\n2017-03-10T14:39:05.117Z:\r\n{ [Error: Long running operation failed with error: 'An internal error occurrred in the operation.'.]\r\n  stack: [Getter/Setter],\r\n  request: \r\n   { rawResponse: false,\r\n     queryString: {},\r\n     method: 'GET',\r\n     headers: { 'user-agent': 'WindowsAzureXplatCLI/0.10.7' },\r\n     url: 'https://management.chinacloudapi.cn/subscriptions/4c1f7e7c-e47c-4688-8de0-19b1f8b58636/providers/Microsoft.Compute/locations/chinanorth/operations/b60f7e36-81ef-44ae-964f-a6085f0753dd?api-version=2016-03-30' },\r\n  response: \r\n   { body: '{\\r\\n  \"startTime\": \"2017-03-10T14:38:33.5360181+00:00\",\\r\\n  \"endTime\": \"2017-03-10T14:38:33.5672366+00:00\",\\r\\n  \"status\": \"Failed\",\\r\\n  \"error\": {\\r\\n    \"code\": \"InternalOperationError\",\\r\\n    \"message\": \"An internal error occurrred in the operation.\"\\r\\n  },\\r\\n  \"name\": \"b60f7e36-81ef-44ae-964f-a6085f0753dd\"\\r\\n}',\r\n     headers: \r\n      { 'cache-control': 'no-cache',\r\n        pragma: 'no-cache',\r\n        'content-length': '304',\r\n        'content-type': 'application/json; charset=utf-8',\r\n        expires: '-1',\r\n        'retry-after': '480',\r\n        'strict-transport-security': 'max-age=31536000; includeSubDomains',\r\n        'x-ms-served-by': '5c4c37f6-9a76-4959-ad7e-e3729b01a8c0_131048938056648052',\r\n        'x-ms-request-id': 'b0ca6b9f-e13c-4da5-8053-a04cccc362ee',\r\n        server: 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0',\r\n        'x-ms-ratelimit-remaining-subscription-reads': '11551',\r\n        'x-ms-correlation-request-id': '35d9c650-bf63-449b-9ae6-1b0972fb3ce3',\r\n        'x-ms-routing-request-id': 'CHINAEAST:20170310T143904Z:35d9c650-bf63-449b-9ae6-1b0972fb3ce3',\r\n        date: 'Fri, 10 Mar 2017 14:39:03 GMT',\r\n        connection: 'close' },\r\n     statusCode: 200 },\r\n  message: 'Long running operation failed with error: \\'An internal error occurrred in the operation.\\'.',\r\n  code: 'InternalOperationError',\r\n  body: \r\n   { startTime: '2017-03-10T14:38:33.5360181+00:00',\r\n     endTime: '2017-03-10T14:38:33.5672366+00:00',\r\n     status: 'Failed',\r\n     error: \r\n      { code: 'InternalOperationError',\r\n        message: 'An internal error occurrred in the operation.' },\r\n     name: 'b60f7e36-81ef-44ae-964f-a6085f0753dd' },\r\n  __frame: \r\n   { name: 'captureVM__11',\r\n     line: 152,\r\n     file: 'C:\\\\Program Files (x86)\\\\Microsoft SDKs\\\\Azure\\\\CLI\\\\lib\\\\commands\\\\arm\\\\vm\\\\virtualMachine.js',\r\n     prev: \r\n      { name: 'captureVM__13',\r\n        line: 507,\r\n        file: 'C:\\\\Program Files (x86)\\\\Microsoft SDKs\\\\Azure\\\\CLI\\\\lib\\\\commands\\\\arm\\\\vm\\\\vmClient.js',\r\n        prev: [Object],\r\n        calls: 2,\r\n        active: false,\r\n        offset: 16,\r\n        col: 32 },\r\n     calls: 0,\r\n     active: false,\r\n     offset: 3,\r\n     col: 79 },\r\n  rawStack: [Getter] }\r\nError: Long running operation failed with error: 'An internal error occurrred in the operation.'.\r\n  <<< async stack >>>\r\n  at captureVM__11 (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\vm\\virtualMachine.js:155:80)\r\n  at captureVM__13 (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\vm\\vmClient.js:523:33)\r\n  at __12 (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\vm\\vm.js:312:16)\r\n  <<< raw stack >>>\r\n    at PollingState.getCloudError (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\lib\\pollingState.js:126:15)\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\lib\\azureServiceClient.js:168:38\r\n    at Object.async.whilst (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\node_modules\\async\\lib\\async.js:621:13)\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\node_modules\\async\\lib\\async.js:617:23\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\lib\\azureServiceClient.js:141:20\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\lib\\azureServiceClient.js:207:5\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest-azure\\lib\\azureServiceClient.js:341:12\r\n    at retryCallback (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest\\lib\\filters\\exponentialRetryPolicyFilter.js:140:9)\r\n    at handleRedirect (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\ms-rest\\lib\\filters\\redirectFilter.js:36:9)\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\util\\utils.js:587:7\r\n\r\n\r\n\r\n**Please paste the content of ~/.azure/azure.err or C:\\Users\\username\\\\.azure\\azure.err over here**\r\n\r\nIf the issue is w.r.t `authentication` then please set `AZURE_ADAL_LOGGING_ENABLED=1` and then run the `azure login` command again. \r\nPlease paste the verbose logs over here. (Make sure to delete the password before pasting the contents).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/287215744","html_url":"https://github.com/Azure/azure-xplat-cli/issues/3532#issuecomment-287215744","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3532","id":287215744,"user":{"login":"balajikris","id":4213867,"avatar_url":"https://avatars1.githubusercontent.com/u/4213867?v=3","gravatar_id":"","url":"https://api.github.com/users/balajikris","html_url":"https://github.com/balajikris","followers_url":"https://api.github.com/users/balajikris/followers","following_url":"https://api.github.com/users/balajikris/following{/other_user}","gists_url":"https://api.github.com/users/balajikris/gists{/gist_id}","starred_url":"https://api.github.com/users/balajikris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balajikris/subscriptions","organizations_url":"https://api.github.com/users/balajikris/orgs","repos_url":"https://api.github.com/users/balajikris/repos","events_url":"https://api.github.com/users/balajikris/events{/privacy}","received_events_url":"https://api.github.com/users/balajikris/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T22:51:19Z","updated_at":"2017-03-16T22:51:19Z","body":"Closing, given the above resolution."}}
{"actor":{"display_login":"balajikris"}}