When user restarts or compiles packages in NCM, Cisco ACS fails to compile though there is no custompackage/customization entry.
Error will be thrown on discovery.inc file under $VOYENCE_HOME/package/ddt
and devCiscoACS.dasl located under $VOYENCE_HOME/package/cisco/acs
.
Error seen in autodisc.log and in daslcompile.log:
Sep 22 11:28:51 795179136#1: +++++++ /opt/smarts-ncm/package/cisco/acs/devCiscoACS.dasl ++++++++
Sep 22 11:28:51 795179136#1: ===>Compiling deviceDriver(30014,1): Cisco ACS
Sep 22 11:28:51 795179136#4: Update Error: Compiler::expectError: Invalid value [ddesDiscInDiscovery] specified, unknown function or variable identifier (ExpressionCompiler.cpp#278) :Error in function ddesDiscoverDevice:/opt/smarts-ncm/package/ddt/discovery.inc (DriverCompiler.cpp#706)
Sep 22 11:28:51 795179136#1: Called From:
Sep 22 11:28:51 795179136#1: /opt/smarts-ncm/package/ddt/discovery.inc:44
Sep 22 11:28:51 795179136#1: /opt/smarts-ncm/package/cisco/acs/devCiscoACS.dasl:31
Sep 22 11:28:51 795179136#1: Compiler::expectError: Invalid value [ddesDiscInDiscovery] specified, unknown function or variable identifier (ExpressionCompiler.cpp#278) :Error in function ddesDiscoverDevice:/opt/smarts-ncm/package/ddt/discovery.inc (DriverCompiler.cpp#706)
Sep 22 11:28:51 795179136#4: Update Error: DriverCompiler::bnfDeviceDriver: Compiler::expectError: Invalid value [ddesDiscInDiscovery] specified, unknown function or variable identifier (ExpressionCompiler.cpp#278) :Error in function ddesDiscoverDevice:/opt/smarts-ncm/package/ddt/discovery.inc (DriverCompiler.cpp#706) (DriverCompiler.cpp#316)
Sep 22 11:28:51 795179136#3: /opt/smarts-ncm/package/ddt/discovery.inc#44:
Sep 22 11:28:51 795179136#3: ddesDiscInDiscovery=true;
Sep 22 11:28:51 795179136#3: ^
Sep 22 11:28:51 795179136#3: DriverCompiler::bnfDeviceDriver: Compiler::expectError: Invalid value [ddesDiscInDiscovery] specified, unknown function or variable identifier (ExpressionCompiler.cpp#278) :Error in function ddesDiscoverDevice:/opt/smarts-ncm/package/ddt/discovery.inc (DriverCompiler.cpp#706) (DriverCompiler.cpp#316)
Sep 22 11:28:51 795179136#1: PACKAGE /opt/smarts-ncm/package/cisco/acs/devCiscoACS.dasl FAILED TO COMPILE!
Sep 22 11:28:51 795179136#1: !> Error In : /opt/smarts-ncm/package/ddt/discovery.inc#44:
Sep 22 11:28:51 795179136#1: !> ddesDiscInDiscovery=true;
Sep 22 11:28:51 795179136#1: !> ^
Sep 22 11:28:51 795179136#1: !> DriverCompiler::bnfDeviceDriver: Compiler::expectError: Invalid value [ddesDiscInDiscovery] specified, unknown function or variable identifier (ExpressionCompiler.cpp#278) :Error in function ddesDiscoverDevice:/opt/smarts-ncm/package/ddt/discovery.inc (DriverCompiler.cpp#706) (DriverCompiler.cpp#316)
Impact/Risks:
NCM - 10.1.x
Change included file sequence from :
#include "ddt/discovery.inc"
#include "stdlib/stdlib.inc"
#include "ddt/cli.inc"
#include "ddt/identity.inc"
#include "ddt/systemProperties.inc"
#include "ddt/fileSystem.inc"
#include "ddt/miscunits.inc"
#include "ddt/pull.inc"
#include "ddt/push.inc"
#include "ddt/password.inc"
#include "ddt/hwinv.inc"
#include "ddt/miscentries.inc"
#include "cisco/acs/quickcmds.inc"
To
#include "stdlib/stdlib.inc"
#include "ddt/cli.inc"
#include "ddt/identity.inc"
#include "ddt/systemProperties.inc"
#include "ddt/discovery.inc"
#include "ddt/fileSystem.inc"
#include "ddt/miscunits.inc"
#include "ddt/pull.inc"
#include "ddt/push.inc"
#include "ddt/password.inc"
#include "ddt/hwinv.inc"
#include "ddt/miscentries.inc"
#include "cisco/acs/quickcmds.inc"