Highlighted
Honored Contributor.
Honored Contributor.
496 views

HMC JOB error

Hi ,

 I am running a job IBM BY HMC in that for few CIs i am gettiing an error in the UI as:

<< Progress message, Severity: Error>>
Error processing results of discovery adapter, details Job IBM HMC by SHELL: received object of class 'ibm_lpar_profile' has an attribute 'lpar_state' that has an invalid enum value. The value is:Migrating - Running
at com.hp.ucmdb.discovery.library.results.resultprocess.ResultProcessDataValidator.checkAttributes(ResultProcessDataValidator.java:213)
at com.hp.ucmdb.discovery.library.results.resultprocess.ResultProcessDataValidator.filterInvalidObjects(ResultProcessDataValidator.java:112)
at com.hp.ucmdb.discovery.library.results.resultprocess.ResultProcessDataValidator.doProcess(ResultProcessDataValidator.java:83)
at com.hp.ucmdb.discovery.library.results.resultprocess.ResultProcess.process(ResultProcess.java:23)
at com.hp.ucmdb.discovery.library.results.resultprocess.ResultProcessChain.doProcess(ResultProcessChain.java:53)
at com.hp.ucmdb.discovery.probe.agents.probemgr.discoveryscheduler.ResultSenderImpl.processResult(ResultSenderImpl.java:191)
at com.hp.ucmdb.discovery.probe.agents.probemgr.discoveryscheduler.ResultSenderImpl.processResults(ResultSenderImpl.java:141)
at com.hp.ucmdb.discovery.probe.agents.probemgr.discoveryscheduler.ResultSenderImpl.processResults(ResultSenderImpl.java:119)
at com.hp.ucmdb.discovery.probe.services.dynamic.core.DynamicService.discover(DynamicService.java:83)
at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter.launchTask(JobExecuter.java:1206)
at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.launchAndIsProbeRestarting(JobExecuter.java:953)
at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.executeTask(JobExecuter.java:869)
at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter$JobExecuterWorker.run(JobExecuter.java:729)


<< Progress message, Severity: Warning>>
Job was running more than 900000 msec

 Do anyone has any idea what does the bold ones means

Regards

Ayush 

0 Likes
13 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: HMC JOB error

Hello Ayush,

 

OOTB on CP25, the enumeration list for lpar_state doesn't include the value Migrating - Running as you have in your stacktrace.

Either you add it to the enum-list lpar_state either you alter your discovery scripts to use the known values.

The error is expected as we check the possible attribute values during the processing results steps.

 

Kind regards,

Bogdan

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: HMC JOB error

Hi Bogdan,

Thanks for the response. Could you please help me in making the correct settings.

Moreover i had seen that it is merging the CI (HOsts) and creating a new CI like IP Address Defaultdomain and if the CI is already present by some other job then a single IP is responding to both the CI.

I think the merging is failing in working. Please look for that too.

Regards

Ayush 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: HMC JOB error

Access System Type Manager following the dox from https://docs.microfocus.com/UCMDB/10.33/ucmdb-docs/docs/eng/doc_lib/Content/modeling/CitMan_ui_system_type_mgr.htm?Highlight=system%20type%20manager

You will need to edit lpar_state in order to add the missing enum-list.

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: HMC JOB error

HI Bogdan,

I have added the value migration -running in the enum list and got the success to create the relationship with the HMC but in the error log i can see the below error and in the UI i can see 

<< Progress message, Severity: Warning>>
Warning processing results: Results contain ignored CIs. For details please check cmdb.reconciliation.log. There were ignored CIs: From Class [containment] 200 CIs were ignored due to Link with ignored end; From Class [vlan] 19 CIs were ignored due to Connected CI Ignored; From Class [ibm_lpar_profile] 50 CIs were ignored due to Connected CI Ignored; From Class [usage] 50 CIs were ignored due to Link with ignored end; From Class [physical_port] 150 CIs were ignored due to Connected CI Ignored; From Class [execution_environment] 50 CIs were ignored due to Link with ignored end; From Class [ioslot] 150 CIs were ignored due to Connected CI Ignored; From Class [membership] 150 CIs were ignored due to Link with ignored end; From Class [interface] 150 CIs were ignored due to Connected CI Ignored; From Class [unix] 50 CIs were ignored due to Multiple Match; From Class [realization] 150 CIs were ignored due to Link with ignored end;

 Error from the log.

2018-02-13 13:40:18,810 ERROR [Process Results Thread-IBM HMC by SHELL] (ModelGraphImpl.java:240) - Attempt to remove inline [link=ID:4b39832adcecd30e855c4710f05cfa2c,End1:4e0287dcafc0400492808185f0f3f4d8,End2:487e2a6b4e7127ed82ec243d4d3e94c3,Type:composition] that doesn't exist in the inline composition links collection
2018-02-13 13:40:18,810 ERROR [Process Results Thread-IBM HMC by SHELL] (ModelGraphImpl.java:240) - Attempt to remove inline.

Tags (1)
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: HMC JOB error

This is somehow expected. You have data coming in from discovery that doesn't validate with your classModel.
You can try to run newDbTool.bat consistency --preview --showresults --showsql --showsqlresults to see what's failing.

What is your server version?

This will be tricky so a Support case should be raised.

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: HMC JOB error

HI Bogdan,

Server version is 10.32 with CP 25.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: HMC JOB error

This should be fixed in 10.32.
Curious about the consistency check, what rebuildModelDBSchemaAndViews (on preview) will show.

 

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: HMC JOB error

HI Bogdan,

 

Please find the below result of the query.

2018-02-14 12:22:13,649 INFO [main] - Analyzing CIs that exist in the root ta
ble and don't exist in any concrete CDM table
2018-02-14 12:22:27,275 INFO [main] - Finished - found records [ 0 ]
2018-02-14 12:22:27,290 INFO [main] - Analyzing relations that exist in root
table and don't exist in concrete CDM tables
2018-02-14 12:22:27,978 INFO [main] - Finished - found records [ 0 ]
2018-02-14 12:22:27,978 INFO [main] - Analyzing data that exist in concrete C
DM tables but don't exist in ROOT table
2018-02-14 12:22:34,353 INFO [main] - Analyzing CIs:
2018-02-14 12:22:44,681 INFO [main] - Analyzing Relations:
2018-02-14 12:22:45,853 INFO [main] - Finished - found totally [ 0 ] objects
2018-02-14 12:22:45,853 INFO [main] - Analyzing data that exist in list attri
butes table and doesn't exist in root
2018-02-14 12:22:46,119 INFO [main] - Finished. Found ids : [ 0 ]
2018-02-14 12:22:46,119 INFO [main] - Analyzing broken relations whose end1/e
nd2 doesn't exist in the root table
2018-02-14 12:22:47,244 INFO [main] - Count By Type:
2018-02-14 12:22:47,244 INFO [main] - composition
1
2018-02-14 12:22:47,244 INFO [main] - Finished - found records [ 1 ]
2018-02-14 12:22:47,244 INFO [main] - Analyzing broken relations whose end1/e
nd2 doesn't exist in any of concrete CDM tables
2018-02-14 12:29:21,484 INFO [main] - Count By Type:
2018-02-14 12:29:53,766 INFO [main] - composition
1
2018-02-14 12:29:53,766 INFO [main] - Finished - found records [ 1 ]
2018-02-14 12:29:53,766 INFO [main] - Analyzing Data whose class doesn't exis
t in the class model:
2018-02-14 12:29:54,094 INFO [main] - Finished - found records [ 0 ]
2018-02-14 12:29:54,48 

Tags (1)
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: HMC JOB error

Looks good.

 

And the output from rebuildModelDBSchemaAndViews  in JMX?

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: HMC JOB error

The output of that is 

Jmx Console. Mbean: UCMDB:service=DAL services. Method: rebuildModelDBSchemaAndViews

All tables in DB are aligned with the class model

 

Regards

Ayush 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: HMC JOB error

Then we're back at square one, the recon engine ignores some CIs due to insufficient or improper attribute values.

What is the CP version?
We have 2 change requests which could fit the profile.

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.