Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

VMware SRM unable to fetch error description and fixhint through error code provided by SRA

$
0
0

We are developing Storage Replication Adapter for a VMware storage partner and supporting SRM 6.5

 

As per Workflows, SRA provides an appropriate response to queryErrorDefinition and queryStrings as per specs :

 

QueryErrorDefinition response :

 

<Response xmlns="http://www.vmware.com/srm/sra/v2" xmlns:Test="http://www.vmware.com/srm/sra/test">

     <ErrorDefinitions>

         <ErrorDefinition code="1003">

  <Description stringId="ERROR_DESCRIPTION_RPROTECT_FAILED">SRA failed to reprotect one or more device</Description>

             <FixHint stringId="ERROR_FIXHINT_RPROTECT_FAILED">Chack connectivity and try over again</FixHint>

         </ErrorDefinition>

     </ErrorDefinitions>

</Response>

 

QueryStrings response :

 

For locale = EN --------------------

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Response xmlns="http://www.vmware.com/srm/sra/v2" xmlns:Test="http://www.vmware.com/srm/sra/test">

     <Strings locale="EN">

         <String id="ERROR_DESCRIPTION_RPROTECT_FAILED">SRA failed to reprotect one or more device</String>

         <String id="ERROR_FIXHINT_TEST_RPROTECT_FAILED">Chack connectivity and try over again</String>

     </Strings>

</Response>

 

For locale = DE ----------------------

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Response xmlns="http://www.vmware.com/srm/sra/v2" xmlns:Test="http://www.vmware.com/srm/sra/test">

     <Strings locale="DE">

         <String id="ERROR_DESCRIPTION_RPROTECT_FAILED">SRA failed to reprotect one or more device [German]</String>

         <String id="ERROR_FIXHINT_TEST_RPROTECT_FAILED">Chack connectivity and try over again[German]</String>

     </Strings>

</Response>

 

 

When error occurs,SRA appends the "error" element with error code to the workflow response as shown below -

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Response xmlns="http://www.vmware.com/srm/sra/v2" xmlns:Test="http://www.vmware.com/srm/sra/test">

     <ReverseReplicationResults>

         <Devices>

             <Device id="00000000966ba6d4:0000000000014722">

                 <Error code="1003"/>

             </Device>

         </Devices>

     </ReverseReplicationResults>

</Response>

 

For all the responses VMware SRM logs show XML response validation as successful. So all the responses seems as per the SRM mandated schema.

However when SRM displays this error (1003) in the recovery plan - monitor tab, it does not display the expected error description and fixhint statements, instead displays placeholder IDs like -

 

Cause:

sraError.XYZ-SRA-1.0.1003.desc

sraError.XYZ-HX-SRA-1.0.1003.fixHint

Please find the attached screenshot for reference.

Observation - "XYZ-SRA-1.0" in the above placeholder string ID is the SRA UUID provided with QueryInfo response.

 

Has anyone encountered such issue. Would appreciate if I can have some suggestions.

 

Thanking in advance,

Ajinkya


Viewing all articles
Browse latest Browse all 3691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>