{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1565","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1565/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1565/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1565/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/1565","id":56675616,"number":1565,"title":"Can not copy a image blob between storage accounts","user":{"login":"fbejarano","id":1564389,"avatar_url":"https://avatars.githubusercontent.com/u/1564389?v=3","gravatar_id":"","url":"https://api.github.com/users/fbejarano","html_url":"https://github.com/fbejarano","followers_url":"https://api.github.com/users/fbejarano/followers","following_url":"https://api.github.com/users/fbejarano/following{/other_user}","gists_url":"https://api.github.com/users/fbejarano/gists{/gist_id}","starred_url":"https://api.github.com/users/fbejarano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbejarano/subscriptions","organizations_url":"https://api.github.com/users/fbejarano/orgs","repos_url":"https://api.github.com/users/fbejarano/repos","events_url":"https://api.github.com/users/fbejarano/events{/privacy}","received_events_url":"https://api.github.com/users/fbejarano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/IAAS","name":"IAAS","color":"DDDDDD"},{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/P2","name":"P2","color":"d7e102"},{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/Ready%20For%20Test","name":"Ready For Test","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"anuchandy","id":1471612,"avatar_url":"https://avatars.githubusercontent.com/u/1471612?v=3","gravatar_id":"","url":"https://api.github.com/users/anuchandy","html_url":"https://github.com/anuchandy","followers_url":"https://api.github.com/users/anuchandy/followers","following_url":"https://api.github.com/users/anuchandy/following{/other_user}","gists_url":"https://api.github.com/users/anuchandy/gists{/gist_id}","starred_url":"https://api.github.com/users/anuchandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuchandy/subscriptions","organizations_url":"https://api.github.com/users/anuchandy/orgs","repos_url":"https://api.github.com/users/anuchandy/repos","events_url":"https://api.github.com/users/anuchandy/events{/privacy}","received_events_url":"https://api.github.com/users/anuchandy/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-05T14:19:02Z","updated_at":"2015-05-15T18:03:53Z","closed_at":"2015-05-15T18:03:53Z","body":"I need copy an image to a new storage account created before. In azure 0.8.11 this is possible\r\n\r\nbut in 0.8.12/13/14 this is not possible.\r\n\r\nWith 0.8.11\r\n\r\ninfo:    Executing command vm image create\r\nwarn:    --affinity-group option will be ignored\r\nwarn:    Any existing blob will be overwritten at https://oknstgdest.blob.core.windows.net/vhd-store/okn-base14.vhd\r\n Copying image: 44% ...\r\n\r\nWith 0.8.14/13/12\r\n\r\n/usr/bin/azure vm image create -e okn-base14 -o linux -u https://oknstgokn.blob.core.windows.net/vhd-store/okn-base14.vhd okn-base14 https://oknstgokndest.blob.core.windows.net/vhd-store/tk1f4pin.1x3201202250900320629.vhd -k 6G2pylNMsChzk8c1GgtGVJziKLASKDLvfT0xbdkzMzp8UaqZ/5M5dCWicvloVFDmXjBelxuRJ0QVtkiRGnI1ZQ==\r\ninfo:    Executing command vm image create\r\nwarn:    Any existing blob will be overwritten at https://oknstgdest.blob.core.windows.net/vhd-store/okn-base14.vhd\r\n+                                                                              \r\nerror:   undefined is not a function\r\ninfo:    Error information has been recorded to .azure/azure.err\r\n\r\nThe content of azure.err is\r\n\r\ncat azure.err \r\nThu Feb 05 2015 15:04:24 GMT+0100 (CET):\r\n[TypeError: undefined is not a function]\r\nTypeError: undefined is not a function\r\n    at signBlobUri (/usr/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/pageBlob.js:187:23)\r\n    at Object.copyBlob (/usr/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/pageBlob.js:122:17)\r\n    at /usr/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/uploadVMImage.js:125:16\r\n    at /usr/lib/node_modules/azure-cli/lib/commands/asm/iaas/upload/uploadVMImage.js:65:5\r\n    at callbacks.(anonymous function) (/usr/lib/node_modules/azure-cli/lib/util/callbackAggregator.js:81:30)\r\n    at /usr/lib/node_modules/azure-cli/node_modules/azure/node_modules/azure-mgmt-storage/lib/storageManagementClient.js:915:16\r\n    at Parser.<anonymous> (/usr/lib/node_modules/azure-cli/node_modules/azure-common/node_modules/xml2js/lib/xml2js.js:246:20)\r\n    at Parser.emit (events.js:95:17)\r\n    at Object.saxParser.onclosetag (/usr/lib/node_modules/azure-cli/node_modules/azure-common/node_modules/xml2js/lib/xml2js.js:225:24)\r\n    at emit (/usr/lib/node_modules/azure-cli/node_modules/azure-common/node_modules/xml2js/node_modules/sax/lib/sax.js:589:33)\r\n\r\n\r\n<!---@tfsbridge:{\"tfsId\":3341021}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/102473612","html_url":"https://github.com/Azure/azure-xplat-cli/issues/1565#issuecomment-102473612","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1565","id":102473612,"user":{"login":"anuchandy","id":1471612,"avatar_url":"https://avatars.githubusercontent.com/u/1471612?v=3","gravatar_id":"","url":"https://api.github.com/users/anuchandy","html_url":"https://github.com/anuchandy","followers_url":"https://api.github.com/users/anuchandy/followers","following_url":"https://api.github.com/users/anuchandy/following{/other_user}","gists_url":"https://api.github.com/users/anuchandy/gists{/gist_id}","starred_url":"https://api.github.com/users/anuchandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuchandy/subscriptions","organizations_url":"https://api.github.com/users/anuchandy/orgs","repos_url":"https://api.github.com/users/anuchandy/repos","events_url":"https://api.github.com/users/anuchandy/events{/privacy}","received_events_url":"https://api.github.com/users/anuchandy/received_events","type":"User","site_admin":false},"created_at":"2015-05-15T18:03:53Z","updated_at":"2015-05-15T18:03:53Z","body":"Closing this as fix is merged to upstream"}}