{"action":"created","issue":{"url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/issues/179","repository_url":"https://api.github.com/repos/rubrikinc/PowerShell-Module","labels_url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/issues/179/comments","events_url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/issues/179/events","html_url":"https://github.com/rubrikinc/PowerShell-Module/issues/179","id":313123409,"node_id":"MDU6SXNzdWUzMTMxMjM0MDk=","number":179,"title":"Set-RubrikVM and Protect-RubrikVM Failing","user":{"login":"JeffHassig","id":30668995,"node_id":"MDQ6VXNlcjMwNjY4OTk1","avatar_url":"https://avatars3.githubusercontent.com/u/30668995?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffHassig","html_url":"https://github.com/JeffHassig","followers_url":"https://api.github.com/users/JeffHassig/followers","following_url":"https://api.github.com/users/JeffHassig/following{/other_user}","gists_url":"https://api.github.com/users/JeffHassig/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffHassig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffHassig/subscriptions","organizations_url":"https://api.github.com/users/JeffHassig/orgs","repos_url":"https://api.github.com/users/JeffHassig/repos","events_url":"https://api.github.com/users/JeffHassig/events{/privacy}","received_events_url":"https://api.github.com/users/JeffHassig/received_events","type":"User","site_admin":false},"labels":[{"id":238971553,"node_id":"MDU6TGFiZWwyMzg5NzE1NTM=","url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"jaapbrasser","id":12744735,"node_id":"MDQ6VXNlcjEyNzQ0NzM1","avatar_url":"https://avatars1.githubusercontent.com/u/12744735?v=4","gravatar_id":"","url":"https://api.github.com/users/jaapbrasser","html_url":"https://github.com/jaapbrasser","followers_url":"https://api.github.com/users/jaapbrasser/followers","following_url":"https://api.github.com/users/jaapbrasser/following{/other_user}","gists_url":"https://api.github.com/users/jaapbrasser/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapbrasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapbrasser/subscriptions","organizations_url":"https://api.github.com/users/jaapbrasser/orgs","repos_url":"https://api.github.com/users/jaapbrasser/repos","events_url":"https://api.github.com/users/jaapbrasser/events{/privacy}","received_events_url":"https://api.github.com/users/jaapbrasser/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaapbrasser","id":12744735,"node_id":"MDQ6VXNlcjEyNzQ0NzM1","avatar_url":"https://avatars1.githubusercontent.com/u/12744735?v=4","gravatar_id":"","url":"https://api.github.com/users/jaapbrasser","html_url":"https://github.com/jaapbrasser","followers_url":"https://api.github.com/users/jaapbrasser/followers","following_url":"https://api.github.com/users/jaapbrasser/following{/other_user}","gists_url":"https://api.github.com/users/jaapbrasser/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapbrasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapbrasser/subscriptions","organizations_url":"https://api.github.com/users/jaapbrasser/orgs","repos_url":"https://api.github.com/users/jaapbrasser/repos","events_url":"https://api.github.com/users/jaapbrasser/events{/privacy}","received_events_url":"https://api.github.com/users/jaapbrasser/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-04-10T23:28:23Z","updated_at":"2018-08-06T17:15:29Z","closed_at":"2018-08-06T17:15:29Z","author_association":"NONE","body":"# Expected Behavior\r\n\r\nget-rubrikvm <VMNAME> piped to either set-rubrikVM -snapconsistency or protect-rubrikVM to do what the CMDLETS are supposed to do.\r\n\r\n# Current Behavior\r\n\r\nBoth CMDLETS Fail with a metadata error.\r\n\r\n# Failure Information (for bugs)\r\n\r\nC:\\> get-rubrikvm VMNAME | Set-RubrikVM -SnapConsistency CRASH_CONSISTENT -COnfirm:$False -Verbose\r\nVERBOSE: Validate the Rubrik token exists\r\nVERBOSE: Found a Rubrik token for authentication\r\nVERBOSE: Gather API Data for Set-RubrikVM\r\nVERBOSE: Load API data for \r\nVERBOSE: Description: Update VM with specified properties\r\nVERBOSE: Build the URI\r\nVERBOSE: URI = https://DRRUBRIK/api/v1/vmware/vm/VirtualMachine:::dbb9afea-c9a3-418a-a7c9-6eede9f8645a-vm-1072\r\nVERBOSE: Build the query parameters\r\nVERBOSE: Query = Found limit flag\r\nVERBOSE: URI = https://DRRUBRIK/api/v1/vmware/vm/VirtualMachine:::dbb9afea-c9a3-418a-a7c9-6eede9f8645a-vm-1072?limit=9999\r\nVERBOSE: Build the body parameters\r\nVERBOSE: Adding postBackupScript...\r\nVERBOSE: Adding snapshotConsistencyMandate...\r\nVERBOSE: Adding maxNestedVsphereSnapshots...\r\nVERBOSE: Adding preBackupScript...\r\nVERBOSE: Adding isArrayIntegrationEnabled...\r\nVERBOSE: Adding isVmPaused...\r\nVERBOSE: Adding postSnapScript...\r\nVERBOSE: Body = {\r\n    \"snapshotConsistencyMandate\":  \"CRASH_CONSISTENT\"\r\n}\r\nVERBOSE: Performing the operation \"Update VM with specified properties\" on target \"VirtualMachine:::dbb9afea-c9a3-418a-a7c9-6eede9f8645a-vm-1072\".\r\nVERBOSE: Submitting the request\r\nVERBOSE: PATCH https://DRRUBRIK/api/v1/vmware/vm/VirtualMachine:::dbb9afea-c9a3-418a-a7c9-6eede9f8645a-vm-1072?limit=9999 with -1-byte payload\r\nInvoke-WebRequest : Remote metadata object: dbb9afea-c9a3-418a-a7c9-6eede9f8645a-vm-1072\r\nAt C:\\Users\\!jeff.hassig\\Documents\\WindowsPowerShell\\Modules\\Rubrik\\Private\\Submit-Request.ps1:15 char:42\r\n+       $result = ExpandPayload -response (Invoke-WebRequest -Uri $uri -Headers $h ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException\r\n    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand\r\n\r\n## Context\r\n\r\nPlease provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.\r\n\r\n* **Rubrik PowerShell Module Version**: 4.0.0.5`\r\n* **PowerShell Version**: \r\nMajor  Minor  Build  Revision\r\n-----  -----  -----  --------\r\n4      0      -1     -1      \r\n* **Operating System**: 2012r2\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/issues/comments/410782221","html_url":"https://github.com/rubrikinc/PowerShell-Module/issues/179#issuecomment-410782221","issue_url":"https://api.github.com/repos/rubrikinc/PowerShell-Module/issues/179","id":410782221,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDc4MjIyMQ==","user":{"login":"MikeFal","id":7831747,"node_id":"MDQ6VXNlcjc4MzE3NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7831747?v=4","gravatar_id":"","url":"https://api.github.com/users/MikeFal","html_url":"https://github.com/MikeFal","followers_url":"https://api.github.com/users/MikeFal/followers","following_url":"https://api.github.com/users/MikeFal/following{/other_user}","gists_url":"https://api.github.com/users/MikeFal/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeFal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeFal/subscriptions","organizations_url":"https://api.github.com/users/MikeFal/orgs","repos_url":"https://api.github.com/users/MikeFal/repos","events_url":"https://api.github.com/users/MikeFal/events{/privacy}","received_events_url":"https://api.github.com/users/MikeFal/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T17:15:29Z","updated_at":"2018-08-06T17:15:29Z","author_association":"CONTRIBUTOR","body":"@JeffHassig and @biaxid3nt317, apologies for the delay. Currently working on this. As the Move-RubrikMountVMDK is a separate issue from the originally reported one, I'm going to close this and move this to #202. I plan to have a fix out for this later this week.\r\n\r\nThanks for your patience."}}
{"actor":{"display_login":"MikeFal"}}