ZertoPublic / ZertoApiWrapper

PowerShell wrapper for Zerto Virtual Manager API
GNU General Public License v3.0
16 stars 12 forks source link

Save-ZertoVpgSetting -vpgSettingsIdentifier $vsetid #115

Open robmc32 opened 3 years ago

robmc32 commented 3 years ago

Zerto error (displayed in gui) when attempting to change the urn value in [vpgsettings.vms.recovery.vcd.storageProfile] via Save-ZertoVpgSetting.

Expected Behavior

Execution of the Save-ZertoVPG Setting returns a value e.g. "d1ff1e2c-2e84-41e8-9f93-e56e1dcfde4f.6791dec1-9e73-4d6f-bf87-121e624390b2" and a new task appears in ZVM gui.

Expected result is to see updated storage profile name when I open the vpg for edit in ZVM gui.

Current Behavior

The following Task error is displayed in the ZVM gui.

"The following properties are irrelevant when replicating from vCD to vCD. Remove these accordingly: Name: JournalDatastore; Location: ProtectionGroupManagementSettings.VMsManagementSettings.0.VMSettings"

Steps to Reproduce (for bugs)

Steps: 1.getZertoVpg identifier for specific VPG with get-zertovpg (filter) 2.Create vpgsettings identifier with new-zertovpgsettingsidentifer ($vsetid = ...) 3.get-vpgsettings for the above vpgsettingsid ($vpgsettings = ...) 4.change storageprofile urn value in $vpgsettings.vms.recovery.vcd.storageProfile

  1. Save-Save-ZertoVpgSetting -vpgSettingsIdentifier $vsetid

Context

Cloud provider migrating to a new storage platform with a unique storage profile. Adding the new storage profile to each Zerto customer's VDC.

Your Environment

Environment Notes: VCD to VCD (10.1.2) ZertoApiwrapper Ver: 1.5.3 Zerto 8.0U4 to Zerto 8.0U4 Powershell: 5.1.18362.145