search cancel

Valid class/family must be provided for a new CI

book

Article ID: 42072

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Problem: 

When trying to run the GRloader command to import an xml file the following error appear:

<ci>
<!--ERROR: Valid class/family must be provided for a new CI. class(CONTROLLER) family(null) is invalid.-->
<name>nsCORP1cmz</name>
<system_name>name</system_name>
<mac_address>00:00:dd:ff:ee:00</mac_address>
<mdr_name>OneClick</mdr_name>
<mdr_class>XXXXX</mdr_class>
<federated_asset_id>0x111111</federated_asset_id>
<class>CONTROLLER</class>
<alarm_id>10.255.255.255</alarm_id>
<ip_mgmt_addr>10.255.255.255</ip_mgmt_addr>
<network_address>10.255.255.255</network_address>
</ci>

<!--ERROR: Valid class/family must be provided for a new CI. class(Controller) family(null) is invalid.-->

Environment:  

SDM 12.7/9 and SDM 14.1.X

Cause: 

Class is not present in the application and when the import is trying to find this value and doesn't exist then message error appear.

Resolution/Workaround:

1- Login in SDM with an administrator account.

2- To to Administration tab

3- Expand CA CMDB >> CI Class > search the missing class from the message. If doesn't exist then click on Create NEW button to create it.

4- Associate this new Class to a Family.

5- Run again the GRLoader command and verify.

 

Additional Information:

When using Class or Family these parameters must exist in SDM , xml , cvs or other extension file won't create them in if they are not present and this type of error will appear.

Environment

Release: SDMU0M99000-14.1-Service Desk Manager-Full License
Component: