UCMDB and UD Practitioners Forum (Previously CMS)
Showing results for 
Search instead for 
Do you mean 

Urgent! Inventory by Scanner not working

SOLVED
Go to Solution
Valued Contributor

Urgent! Inventory by Scanner not working

Hi experts,

 

I am getting the below error while discovering the Inventory by scanner job:

 

ERRORCODE:0]</RESULT>
</EXEC>
<log start="16:59:06" severity="debug">Found existing lock on remote machine, lock scanner node failed.</log>
<log start="16:59:06" severity="debug">Step [Lock Scanner Node] finished.</log>
<log start="16:59:06" severity="debug">Step [Lock Scanner Node] failed, going to release connection</log>
<DISCONNECT start="16:59:06" duration="6" CMD="client_disconnect" RESULT="" IS_NULL="Y" type="ssh" credentialsId="44_1_CMS" />
<log start="16:59:06" severity="workflow-debug">step Lock Scanner Node finished execution with status: FAILURE. triggerCI: 3200a40638d3e7bea3bbb396417d4027</log>
<log start="16:59:06" severity="workflow-debug">step Lock Scanner Node execution failed. triggerCI: 3200a40638d3e7bea3bbb396417d4027</log>
<log start="16:59:06" severity="workflow-debug">Calculated timeout for retry number 3 is 300000</log>
<log start="16:59:06" severity="workflow-debug">step Lock Scanner Node execution failed - go to TIMEOUT parking to:300000 millis, on retry:4. triggerCI: 3200a40638d3e7bea3bbb396417d4027, state properties:{STATE_PROPERTY_CONNECTED_MAC=NA, STATE_PROPERTY_PLATFORM_CONFIGFILE=ScannersConfigurationByPlatform.xml, STATE_PROPERTY_ORIGINAL_BASEDIR=~/.discagnt/, STATE_PROPERTY_RESOLVED_CONFIGURED_BASEDIR=/home/hpudisc/.discagnt/, STATE_PROPERTY_CONNECTED_SHELL_CODEPAGE=Cp1252, STATE_PROPERTY_CONNECTED_SHELL_PROTOCOL_NAME=ssh, STATE_PROPERTY_CONNECTED_SHELL_CREDENTIAL=44_1_CMS, STATE_PROPERTY_CONNECTED_SHELL_IP=10.240.185.31, PLATFORM=aix, STATE_PROPERTY_RESOLVED_BASEDIR=/home/hpudisc/.discagnt/, ARCHITECTURE=, STATE_PROPERTY_ERROR_LEVEL=Lock Scanner Node_STATUS_FAILURE, STATE_PROPERTY_CONNECTED_SHELL_PROTOCOL=ssh}</log>
<log start="16:59:06" severity="workflow-debug">step Lock Scanner Node execution failed. triggerCI: 3200a40638d3e7bea3bbb396417d4027, state properties:{STATE_PROPERTY_CONNECTED_MAC=NA, STATE_PROPERTY_PLATFORM_CONFIGFILE=ScannersConfigurationByPlatform.xml, STATE_PROPERTY_ORIGINAL_BASEDIR=~/.discagnt/, STATE_PROPERTY_RESOLVED_CONFIGURED_BASEDIR=/home/hpudisc/.discagnt/, STATE_PROPERTY_CONNECTED_SHELL_CODEPAGE=Cp1252, STATE_PROPERTY_CONNECTED_SHELL_PROTOCOL_NAME=ssh, STATE_PROPERTY_CONNECTED_SHELL_CREDENTIAL=44_1_CMS, STATE_PROPERTY_CONNECTED_SHELL_IP=10.240.185.31, PLATFORM=aix, STATE_PROPERTY_RESOLVED_BASEDIR=/home/hpudisc/.discagnt/, ARCHITECTURE=, STATE_PROPERTY_ERROR_LEVEL=Lock Scanner Node_STATUS_FAILURE, STATE_PROPERTY_CONNECTED_SHELL_PROTOCOL=ssh}</log>
<log start="16:59:06" severity="workflow-debug">onStepFinish -&gt; triggerCi:3200a40638d3e7bea3bbb396417d4027 next step:[Lock Scanner Node] with step status:FAILURE set workflow status to: PARKING</log>
<log start="16:59:06" severity="workflow-debug">workflow execution finish running with status:PARKING. triggerCI: 3200a40638d3e7bea3bbb396417d4027</log>
<log start="16:59:06" severity="info">Execution current time:2015/06/24 16:59:06</log>
</execution>

 

kindly sugest.

 

Regards,

headstrong

1 REPLY
Valued Contributor

Re: Urgent! Inventory by Scanner not working

I have found the solution to this problem:

Solution:

you need to add the "MV" cmd to the sudo list of the user.

 

//Add this to "OnDomLoad" event