Guest

Preview Tool

Cisco Bug: CSCvs29387 - Prime Network 5.1 not supporting sha2-256 security algorithm for NX-OSvUCS 6248UP ,5.0(3)N2(4.0(4b)

Last Modified

Dec 05, 2019

Products (1)

  • Cisco Prime Network

Known Affected Releases

5.1(0.0)PP2

Description (partial)

Symptom:
In the AVM logs there is an error:  Unknown enumeration name [sha2-256] in com.sheer.net.protocols.ssh.algorithms.SshMacAlgEnum

Conditions:
AVM logs showing that the security algorithms sha2-256 are not recognized by the Prime NEtwork even after using the VCB as a workaround. Following are the errors seen: 


RegistryPropertiesLoader$EnumValueOfUtil.convertStringsToEnums - Failed to convert entry to concrete Enum.  entry :avm999/agents/da/nn-fi-1-5/ips/x.x.x.x/protocols/telnet/connection/algorithms/mac-alg value was: sha2-256

To correct this , please check the allowed values for com.sheer.net.protocols.ssh.algorithms.SshMacAlgEnum

To correct this , please check the allowed values for com.sheer.net.protocols.ssh.algorithms.SshMacAlgEnum

ERROR [] - ConnectionProperties.loadSshProperties - Could not read all SSh v2 properties. The SSH connection will fail.

      com.sheer.net.protocols.common.PropertyNotFoundException: failed to convertStringToEnums.see related exception:

        at com.sheer.net.protocols.common.RegistryPropertiesLoader$EnumValueOfUtil.convertStringsToEnums(RegistryPropertiesLoader.java:469)

        at com.sheer.net.protocols.common.RegistryPropertiesLoader.loadListPropertyOfEnumsNoDefault(RegistryPropertiesLoader.java:250)

        at com.sheer.net.protocols.ssh.algorithms.SshAlgorithmPropsTracker.internalReadAndRegister(SshAlgorithmPropsTracker.java:55)

        at com.sheer.net.protocols.common.AbstractPropertiesTracker.readAndRegister(AbstractPropertiesTracker.java:127)

        at com.sheer.net.protocols.common.AbstractPropertiesTracker.readAndRegister(AbstractPropertiesTracker.java:57)

        at com.sheer.net.protocols.ssh.properties.SshPropertiesTracker.internalReadAndRegister(SshPropertiesTracker.java:99)

        at com.sheer.net.protocols.common.AbstractPropertiesTracker.readAndRegister(AbstractPropertiesTracker.java:127)

        at com.sheer.net.protocols.common.AbstractPropertiesTracker.readAndRegister(AbstractPropertiesTracker.java:51)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ConnectionProperties.loadSshProperties(ConnectionProperties.java:154)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ConnectionProperties.load(ConnectionProperties.java:72)

        at com.sheer.metrocentral.coretech.instrumentation.protocol.telnet.TelnetCollector.init(TelnetCollector.java:234)

        at com.sheer.metrocentral.coretech.instrumentation.protocol.telnet.nio.NIOTelnetCollector.init(NIOTelnetCollector.java:145)

        at com.sheer.metrocentral.coretech.instrumentation.protocol.telnet.TelnetCollector.init(TelnetCollector.java:234)

        at com.sheer.metrocentral.coretech.instrumentation.protocol.telnet.nio.NIOTelnetCollector.init(NIOTelnetCollector.java:145)

        at com.sheer.system.agentshell.AgentBase.boot(AgentBase.java:96)

        at com.sheer.system.os.services.scheduler.SchedulerImpl.addAgent0(SchedulerImpl.java:315)

        at com.sheer.system.os.services.scheduler.SchedulerImpl.addAgent0(SchedulerImpl.java:315)

        at com.sheer.system.os.services.scheduler.SchedulerImpl.addAgent(SchedulerImpl.java:260)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ProtocolHandler.createCollector(ProtocolHandler.java:1046)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ProtocolHandler.createCollector(ProtocolHandler.java:1046)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ProtocolHandler.addJob(ProtocolHandler.java:387)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorIpManager.addCommand(InstrumentorIpManager.java:309)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorNetworkManager.launchCommand(InstrumentorNetworkManager.java:488)

        at com.sheer.metrocentral.framework.instrumentation.layer.CommandExecuter.onSend(CommandExecuter.java:53)

        at com.sheer.metrocentral.framework.instrumentation.layer.AbstractInstrumentationLayer.send(AbstractInstrumentationLayer.java:159)

        at com.sheer.metrocentral.framework.instrumentation.layer.AbstractInstrumentationLayer.send(AbstractInstrumentationLayer.java:160)

        at com.sheer.metrocentral.framework.instrumentation.layer.InstrumentationLayerContainer.send(InstrumentationLayerContainer.java:101)

        at com.sheer.metrocentral.framework.instrumentation.layer.InstrumentationLayerContainer.send(InstrumentationLayerContainer.java:101)

        at com.sheer.m          at com.sheer.metrocentral.framework.instrumentation.service.RepetitiveExecutionService.executeNow(RepetitiveExecutionService.java:256)

        at com.sheer.metrocentral.framework.instrumentation.service.RepetitiveExecutionService.executeNow(RepetitiveExecutionService.java:209)

        at com.sheer.metrocentral.framework.instrumentation.service.RepetitiveExecutionService.start(RepetitiveExecutionService.java:176)

        at com.sheer.metrocentral.framework.instrumentation.service.RepetitiveExecutionService.start(RepetitiveExecutionService.java:176)

        at com.sheer.metrocentral.framework.instrumentation.service.BaseService.init(BaseService.java:193)

        at com.sheer.metrocentral.framework.instrumentation.service.TimeDrivenService.init(TimeDrivenService.java:127)

        at com.sheer.metrocentral.framework.instrumentation.service.RepetitiveExecutionService.init(RepetitiveExecutionService.java:159)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorServicesContainer.registerService(InstrumentorServicesContainer.java:336)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorServicesContainer.registerService(InstrumentorServicesContainer.java:336)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ProtocolHandler.registerReachabilityCommand(ProtocolHandler.java:451)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ProtocolHandler.registerReachabilityCommand(ProtocolHandler.java:451)

        at com.sheer.metrocentral.framework.instrumentation.protocol.ProtocolHandler.start(ProtocolHandler.java:438)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorIpManager.start(InstrumentorIpManager.java:95)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorNetworkManager.start(InstrumentorNetworkManager.java:410)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorAgent.start(InstrumentorAgent.java:782)

        at com.sheer.system.agentshell.AgentBase.processMessage(AgentBase.java:448)

        at com.sheer.system.agentshell.Agent.processMessage(Agent.java:183)

        at com.sheer.metrocentral.framework.instrumentation.InstrumentorAgent.processMessage(InstrumentorAgent.java:628)

        at com.sheer.system.agentshell.AgentBase.run(AgentBase.java:306)

        at com.sheer.system.os.services.scheduler.OSAgent.run(OSAgent.java:168)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

      Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.sheer.net.protocols.common.RegistryPropertiesLoader$EnumValueOfUtil.convertStringsToEnums(RegistryPropertiesLoader.java:463)

        ... 42 more

      Caused by: java.lang.IllegalArgumentException: Unknown enumeration name [sha2-256] in com.sheer.net.protocols.ssh.algorithms.SshMacAlgEnum

        at com.sheer.types.enums.EnumerationBase.valueOf(EnumerationBase.java:92)

        at com.sheer.net.protocols.ssh.algorithms.SshMacAlgEnum.valueOf(SshMacAlgEnum.java:42)

        ... 47 more
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.