You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API replication.failover_storage_group_srdf(storage_group_id=self.group_name, srdf_group_number=self.rdf_number, failover_options=opt, _async=False) is failing for failover_options
Here opt is passed to the API:
opt['establish'] = 'true'
it's failing with following exception:
SG_TASKV0570190_4GB_SecException:Bad or unexpected response from the storage volume backend API: Error PUT symmetrix resource. The status code received is 400 and the message is {'message': 'Cannot construct instance of com.emc.em.restapi.replication.dto92.SgEstablishParam (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('true')\n at [Source: (com.emc.em.deployer.sharding.ReusableRequest$ReusableInputStream); line: 3, column: 18] (through reference chain: com.emc.em.restapi.replication.dto92.StorageGroupRdfUpdate["establish"])'}
My Env detail:
PyU4V = 9.2.1.7
Unisphere = 9.2.1.6
Python = 3.9
OS = RHEL 8
Thanks.
The text was updated successfully, but these errors were encountered:
This is a problem with your code not the module. per documentation :param failover_options: failover parameters -- dict, you are not passing a dictionary.. correct syntax would be to put in curly brackets failover_options={"establish": "true"}
Hi,
API replication.failover_storage_group_srdf(storage_group_id=self.group_name, srdf_group_number=self.rdf_number, failover_options=opt, _async=False) is failing for failover_options
Here opt is passed to the API:
opt['establish'] = 'true'
it's failing with following exception:
SG_TASKV0570190_4GB_SecException:Bad or unexpected response from the storage volume backend API: Error PUT symmetrix resource. The status code received is 400 and the message is {'message': 'Cannot construct instance of
com.emc.em.restapi.replication.dto92.SgEstablishParam
(although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('true')\n at [Source: (com.emc.em.deployer.sharding.ReusableRequest$ReusableInputStream); line: 3, column: 18] (through reference chain: com.emc.em.restapi.replication.dto92.StorageGroupRdfUpdate["establish"])'}My Env detail:
PyU4V = 9.2.1.7
Unisphere = 9.2.1.6
Python = 3.9
OS = RHEL 8
Thanks.
The text was updated successfully, but these errors were encountered: