{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2385","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2385/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2385/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2385/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2385","id":122431525,"number":2385,"title":"azure vm image list doesn't work","user":{"login":"colemickens","id":327028,"avatar_url":"https://avatars.githubusercontent.com/u/327028?v=3","gravatar_id":"","url":"https://api.github.com/users/colemickens","html_url":"https://github.com/colemickens","followers_url":"https://api.github.com/users/colemickens/followers","following_url":"https://api.github.com/users/colemickens/following{/other_user}","gists_url":"https://api.github.com/users/colemickens/gists{/gist_id}","starred_url":"https://api.github.com/users/colemickens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemickens/subscriptions","organizations_url":"https://api.github.com/users/colemickens/orgs","repos_url":"https://api.github.com/users/colemickens/repos","events_url":"https://api.github.com/users/colemickens/events{/privacy}","received_events_url":"https://api.github.com/users/colemickens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/ARM","name":"ARM","color":"006b75"},{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/IAAS","name":"IAAS","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":{"login":"huangpf","id":3858524,"avatar_url":"https://avatars.githubusercontent.com/u/3858524?v=3","gravatar_id":"","url":"https://api.github.com/users/huangpf","html_url":"https://github.com/huangpf","followers_url":"https://api.github.com/users/huangpf/followers","following_url":"https://api.github.com/users/huangpf/following{/other_user}","gists_url":"https://api.github.com/users/huangpf/gists{/gist_id}","starred_url":"https://api.github.com/users/huangpf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangpf/subscriptions","organizations_url":"https://api.github.com/users/huangpf/orgs","repos_url":"https://api.github.com/users/huangpf/repos","events_url":"https://api.github.com/users/huangpf/events{/privacy}","received_events_url":"https://api.github.com/users/huangpf/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2015-12-16T05:27:55Z","updated_at":"2016-01-22T19:57:30Z","closed_at":"2016-01-09T01:32:51Z","body":"```\r\n$ azure vm image list westus canonical\r\n\r\ninfo:    Executing command vm image list\r\ninfo:    The parameters --offer and --sku if specified will be ignored\r\n+ Getting virtual machine image offers (Publisher: \"canonical\" Location:\"westus\")\r\nerror:   The value of parameter 'version' is invalid.\r\ninfo:    Error information has been recorded to /home/cole/.azure/azure.err\r\nerror:   vm image list command failed\r\n```\n<!---@tfsbridge:{\"tfsId\":5418945}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/174028120","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2385#issuecomment-174028120","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2385","id":174028120,"user":{"login":"lmazuel","id":1050156,"avatar_url":"https://avatars.githubusercontent.com/u/1050156?v=3","gravatar_id":"","url":"https://api.github.com/users/lmazuel","html_url":"https://github.com/lmazuel","followers_url":"https://api.github.com/users/lmazuel/followers","following_url":"https://api.github.com/users/lmazuel/following{/other_user}","gists_url":"https://api.github.com/users/lmazuel/gists{/gist_id}","starred_url":"https://api.github.com/users/lmazuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmazuel/subscriptions","organizations_url":"https://api.github.com/users/lmazuel/orgs","repos_url":"https://api.github.com/users/lmazuel/repos","events_url":"https://api.github.com/users/lmazuel/events{/privacy}","received_events_url":"https://api.github.com/users/lmazuel/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T19:57:30Z","updated_at":"2016-01-22T19:57:30Z","body":"Hello,\r\n\r\nI was having the same issue. The `list` now works\r\n```\r\n# azure --version\r\n0.9.14 (node: 0.10.25)\r\n# azure vm image list westus canonical ubuntu15.04snappy 15.04-Snappy 15.04.201508290653\r\ninfo:    Executing command vm image list\r\n+ Getting virtual machine images (Publisher:\"canonical\" Offer:\"ubuntu15.04snappy\" Sku: \"15.04-Snappy\" Location:\"westus\")\r\ndata:    Publisher  Offer              Sku           OS         Version             Location  Urn\r\ndata:    ---------  -----------------  ------------  ---------  ------------------  --------  -----------------------------------------------------------\r\ndata:    canonical  ubuntu15.04snappy  15.04-Snappy  undefined  15.04.201508290653  westus    canonical:ubuntu15.04snappy:15.04-Snappy:15.04.201508290653\r\ndata:    canonical  ubuntu15.04snappy  15.04-Snappy  undefined  15.04.201509241855  westus    canonical:ubuntu15.04snappy:15.04-Snappy:15.04.201509241855\r\ninfo:    vm image list command OK\r\n```\r\n\r\nBut not the `show`\r\n\r\n```\r\n# azure vm image show westus canonical ubuntu15.04snappy 15.04-Snappy 15.04.201508290653\r\ninfo:    Executing command vm image show\r\nerror:   The value of parameter 'version' is invalid.\r\ninfo:    Error information has been recorded to /root/.azure/azure.err\r\nerror:   vm image show command failed\r\n```\r\n\r\nBy adding the `-vv` we still see the REST API error to the details request.\r\n\r\nActually, I was working with REST API directly, got an error, and Google brought me here. Do you know if there is a bug report somewhere regarding the REST API directly? It's maybe the best way to fix this.\r\n\r\nThank you!"}}