Notifications

34 views

Description

Solaris Server Discovery Pattern fails with below error.

Identification CI Errors:

In payload missing minimum set of input values for criterion (matching) attributes from identify rule for table [cmdb_ci_solaris_instance].Add these input values in payload item '{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"am-irisp-d001","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}}',Too many other errors,In payload missing minimum set of input values for criterion
(matching) attributes from identify rule for table [cmdb_ci_solaris_instance]. Add these input values in payload item '{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"am-iclimsp-d001","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}}
',Too many other errors,In payload missing minimum set of input values for criterion (matching) attributes from identify rule for table [cmdb_ci_solaris_instance].

Syslogs

{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"eagletest","correlation_id":"1ddcf9ae-7b42-c08b-a4d7-a9b2e29332e3","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}},lookup:[],related:[]
{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"am-irisp-d001","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}},lookup:[],related:[]
{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"am-iclimsp-d001","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}},lookup:[],related:[]
{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"am-slimsp-d001","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}},lookup:[],related:[]
{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"icolimpacs","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}},lookup:[],related:[]
{"className":"cmdb_ci_solaris_instance","values":{"discovery_source":"ServiceNow","name":"pacs-dev","state":"off","sys_class_name":"cmdb_ci_solaris_instance"}},lookup:[],related:[]

Release or Environment

Observed post upgrading to Newyork

Cause

The issue observed because the Solaris Server pattern was unable to populate correlation -id for Solaris instance CI's. Since the Solaris instances are identified by correlation id, the IRE engine threw the error.

Quick verification why the pattern was unable to populate the correlation id for Solaris instances: 

  1. The correlation id is retrieved in step 20.3. get UUID in Solaris - Zones shared the library of the Solaris Server Pattern
  2. The step executes the following command "#zoneadm list -cip"
  3. Manually execute "#zoneadm list -cip" on the Solaris host, should give output as below

    0:global:running:/::native:shared
    1:xxxx:running:/global/zones/xxxx:xxxx-xxxx-xx-ab94-d39101a89ca0:solaris8:shared
    2:xxxx:running:/global/zones/xxxx-xxxx:xxxx-xx-65d9-9xc8664b309fcc:native:shared


  4. The Step configured as it should include the string "global" 
  5. Looking at the above output, each line contains the string "global", the whole data is excluded and therefore we are not able to parse the UUID (Correlation id ) from the result.

Resolution

  1. Log in to the instance 
  2. Navigator >> Pattern Designer >> Discovery Patterns 

    https://<Instancename>.service-now.com/sn_discovery_patterns_list.do


  3. In the Name field, search for the pattern "Solaris Server" and open the record 

    https://<Instancename>.service-now.com/$sn_pattern_designer.do?authoring_mode=modify&sys_id=1826ee364f47e200c7e881c18110c7aa&sysparm_view=&sysparm_record_target=sa_pattern&sysparm_record_row=1&sysparm_record_list=nameCONTAINSSolaris+Se%5EORDERBYname&sysparm_record_rows=1In the Identification section >> Click on "Discovery" to go into Debug mode.
  4. Left side >> Go to Step No 20.3 "get uuid"
  5. In the "Exclude Lines" section modify the default value from "global" to ":global:" 

           

  6. Save the Pattern 
  7. Publish the Pattern  
  8. Execute a Quick Discovery 

 

Article Information

Last Updated:2019-11-28 11:48:59
Published:2019-11-28
Pasted image.png