{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3503","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3503/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3503/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3503/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/3503","id":207979766,"number":3503,"title":"vm enable-disk-encryption command fails for managed disk on Linux","user":{"login":"ejarvi","id":2894636,"avatar_url":"https://avatars.githubusercontent.com/u/2894636?v=3","gravatar_id":"","url":"https://api.github.com/users/ejarvi","html_url":"https://github.com/ejarvi","followers_url":"https://api.github.com/users/ejarvi/followers","following_url":"https://api.github.com/users/ejarvi/following{/other_user}","gists_url":"https://api.github.com/users/ejarvi/gists{/gist_id}","starred_url":"https://api.github.com/users/ejarvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejarvi/subscriptions","organizations_url":"https://api.github.com/users/ejarvi/orgs","repos_url":"https://api.github.com/users/ejarvi/repos","events_url":"https://api.github.com/users/ejarvi/events{/privacy}","received_events_url":"https://api.github.com/users/ejarvi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-16T00:56:49Z","updated_at":"2017-02-16T02:32:26Z","closed_at":null,"body":"CLI Version: **0.10.8**\r\nOS Type: Mac / Win / Linux (Ubuntu, RedHat, etc.)\r\nInstallation via:  npm / brew / win-or-mac installer / docker / github repo\r\n\r\nMode: **ARM**\r\n\r\nEnvironment: **AzureCloud**\r\n\r\nDescription:\r\n`azure vm enable-disk-encryption ...` command fails for managed disks on Linux. \r\n\r\nThe enable encryption command typically adds to extensions to the target VM.  A VMBackup extension and the encryption extension.  The VMBackup extension is a recovery safeguard in case encryption fails.  Unfortunately the VMBackup extension is not compatible with managed disks.  This causes the enable encryption command to fail at the point it attempts to make a backup of the managed disk, prior to performing encryption.   \r\n\r\nExpected:\r\nProvide an option that allows advanced users who have performed their own backup prior to enabling encryption to skip the VM backup step.  \r\n\r\nSteps to reproduce:\r\n1) Create a managed disk \r\n2) Run `azure vm azure vm enable-disk-encryption ...` against that disk\r\n\r\nError stack trace:\r\nVMBackup fails, causing the enable encryption command to fail as well. "},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/280212061","html_url":"https://github.com/Azure/azure-xplat-cli/issues/3503#issuecomment-280212061","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/3503","id":280212061,"user":{"login":"ejarvi","id":2894636,"avatar_url":"https://avatars.githubusercontent.com/u/2894636?v=3","gravatar_id":"","url":"https://api.github.com/users/ejarvi","html_url":"https://github.com/ejarvi","followers_url":"https://api.github.com/users/ejarvi/followers","following_url":"https://api.github.com/users/ejarvi/following{/other_user}","gists_url":"https://api.github.com/users/ejarvi/gists{/gist_id}","starred_url":"https://api.github.com/users/ejarvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejarvi/subscriptions","organizations_url":"https://api.github.com/users/ejarvi/orgs","repos_url":"https://api.github.com/users/ejarvi/repos","events_url":"https://api.github.com/users/ejarvi/events{/privacy}","received_events_url":"https://api.github.com/users/ejarvi/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T02:32:26Z","updated_at":"2017-02-16T02:32:26Z","body":"Pull request [3504](https://github.com/Azure/azure-xplat-cli/pull/3504) submitted. "}}
{"actor":{"display_login":"ejarvi"}}