UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21. Read more.
UPDATE! The community will be go into read-only on April 19, 8am Pacific in preparation for migration on April 21.Read more.
Fleet Admiral
Fleet Admiral
165 views

uCMDB to Atrium Integration (atrium:query.py)

Hello,

I try to integrate Atrium 9.x to ucmdb 2019.11

When attrium_query.py is invoked, I receive this error:

jvm 1 | <2021-01-12 16:18:47,776> 6188506 [WARN ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (NativeMethodAccessorImpl.java:?) - [atrium_query.py:getMapping] Exception: <Traceback (most recent call last):
jvm 1 | File "atrium_query", line 349, in getMapping
jvm 1 | TypeError: 'NoneType' object is not callable
jvm 1 | >

Below a portion of the code

def getMapping(mappingFileName, bmcNamespace):
try:
objectTypeList = []
relationshipList = []

#Ip = CollectorsParameters.getValue(CollectorsParameters.KEY_PROBE_GW_IP)
Ip = CollectorsParameters.getValue(CollectorsParameters.KEY_SERVER_NAME)

#integrationAPI = IntegrationAPI("16.89.27.69", SCRIPT_NAME)
integrationAPI = IntegrationAPI(probeGateWayIp, SCRIPT_NAME)
integrationObjectList = integrationAPI.getMapping(mappingFileName)

I tried to use both the probe and ucmdb server addresses, but I always get the same error.

Kind regards.

Fat

0 Likes
2 Replies
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Hi team,

 

Many thanks for your question, can you please let us know the Content Pack version that you are using?

Thank you.

0 Likes
Fleet Admiral
Fleet Admiral

Hi Joshua,

the integration is between Atrium and RTSM (OBM 2020.10).

I'm trying to import data from Atrium, but when the script invokes the IntegrationAPI, I always receive the same error. I tried to invoke the API with a wrong IP, same error. I suppose that the API is buged.

jvm 1 | <2021-02-02 15:55:12,847> 692332959 [INFO ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (?:?) - Start to invoke IntegrationAPI with the paramenters ucmdbServerIp: 100.100.100.100 and SCRIPT_NAME: atrium_query.py
jvm 1 | <2021-02-02 15:55:12,848> 692332960 [WARN ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (?:?) - [atrium_query.py:getMapping] Exception: <Traceback (most recent call last):
jvm 1 | File "atrium_query", line 348, in getMapping
jvm 1 | TypeError: 'NoneType' object is not callable
jvm 1 | >
jvm 1 | <2021-02-02 15:55:12,848> 692332960 [ERROR] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (ExecutionEngineImpl.java:398) - Discovery Error: Traceback (most recent call last):
jvm 1 | File "<string>", line 2, in <module>
jvm 1 | File "atrium_query", line 554, in DiscoveryMain
jvm 1 | TypeError: 'NoneType' object is not iterable
jvm 1 |
jvm 1 | <2021-02-02 15:55:12,849> 692332961 [INFO ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (ObjectsRedundantSta

below the line 348 of atrium_query.py script

integrationAPI = IntegrationAPI(server, SCRIPT_NAME)

Any experience regarding this error?

Regards,

Fat
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.