Smarts SAM: When Presentation SAM topology syncs with the Aggregation SAM there are errors relating to the UnitaryComputerSystem Model: FDXA-W-DXA_EBADATTR-Bad conf file: Property 'SerialNumber' not found in class 'VirtualMachine'
search cancel

Smarts SAM: When Presentation SAM topology syncs with the Aggregation SAM there are errors relating to the UnitaryComputerSystem Model: FDXA-W-DXA_EBADATTR-Bad conf file: Property 'SerialNumber' not found in class 'VirtualMachine'

book

Article ID: 332046

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:




The customer is using the dynamic model to extend the GA code to add some custom classes and is seeing errors in the top level SAM:

The full error reads:
[March 5, 2015 2:25:33 PM GMT +130ms] t@1836054272 SM_ProtocolEngine-3100 26303 ISIN-SAM-P ASL FDXA-W-DXA_EBADATTR-Bad conf file: Property 'SerialNumber' not found in class 'VirtualMachine'; in file "SAM-9.3.0.0/smarts/sam_common/FastDXA_Impl.c" at line 561  MR-PROPERTY_NOT_FOUND-Specified property 'sitaSerialNumber' not found in class; in file "/DMT-9.3.0.0/smarts/repos/mr/classdef.c" at line 2508

Environment

VMware Smart Assurance - SMARTS

Resolution

They extended the UnitaryComputerSystem Model In SAM and the IP Domains with some new attributes.However the error messages in Aggregation SAM say that they cannont be found in the VirtualMachine object:

The error indicates that the PRES SAM is trying to import value for an attribute which is defined in dxa-sam.conf
The dxa-sam.conf file has an entry for this attribute for UnitaryComputerSystem
server INCHARGE-SA
class   ICIM_UnitaryComputerSystem
attr    Certification
...
...
attr    SerialNumber
...
PRES SAM parses the dxa-sam.conf and then based on the configuration it tries to import all the attributes defined.  As part of importing PRES SAM tries to import the attribute 'SerialNumber' from AGG SAM which is not at all defined in the model itself and hence this error is seen. 

So if these attributes are added to the UnitaryComputerSystem, this issue will be resolved.