Subscribe

OnTAPI lun-get-iter fails with error 13001 on 8.3.1

When iterating through the LUNs using lun-get-iter() we are getting

 

Error 13001 during lun-get-iter() :
Parsing error in results: Start tag expect, '<' not found  

 

 

Looking at TCP dumps reveal that the XML is malformed

 

4f5                        <---------------------------------------------------------------------------------
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE netapp SYSTEM 'file:/etc/netapp_gx.dtd'>
<netapp version='1.31' xmlns='http://www.netapp.com/filer/admin'>
<results status="passed">
  <attributes-list>
     <lun-info>
       <alignment>aligned</alignment>
       <block-size>512</block-size>
       <class>regular</class>
       <comment></comment>
       <creation-timestamp>1394119547</creation-timestamp>
       <is-clone>false</is-clone>
       <is-clone-autodelete-enabled>false</is-clone-autodelete-enabled>
       <is-inconsistent-import>false</is-inconsistent-import>
       <is-restore-inaccessible>false</is-restore-inaccessible>
       <is-space-alloc-enabled>false</is-space-alloc-enabled>
       <is-space-reservation-enabled>false</is-space-reservation-enabled>
       <mapped>true</mapped>
       <multiprotocol-type>vmware</multiprotocol-type>
       <node>ausstore6c</node>
       <online>true</online>
       <path>/vol/ausgc_data/vmdrfile001-data.lun</path>
       <prefix-size>0</prefix-size>
       <qtree></qtree>
       <read-only>false</read-only>
       <serial-7-mode></serial-7-mode>
       <serial-number>AvA1g?Dxdd2T</serial-number>
       <share-state>none</share-state>
       <size>1649392222208</size>
       <size-used>1631513231360</size-used>
       <staging>false</staging>
       <state>online</state>
       <suffix-size>0</suffix-size>
       <uuid>91d86f67-b8c4-4993-9a06-b6b1ed053128</uuid>
       <volume>ausgc_data</volume>
       <vserver>ausstore6_san</vserver>
      </lun-info>
41                   <---------------------------------------------------------------------
</attributes-list>
   <num-records>1</num-records>
 </results>
</netapp>
0                    <---------------------------------------------------------------------


This is happening on both sumulator and appliance. We've tested it several times and garbage appears at same place with same or different characters.
Has anyone seen this?

 

Thanks,

Piyush

Re: OnTAPI lun-get-iter fails with error 13001 on 8.3.1

Re: OnTAPI lun-get-iter fails with error 13001 on 8.3.1

Hi Leo,

 

Could you tell me how you switched this off using the NMSDK5.4P1 as in the commands?

 

Cheers