Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-7717

Consistent map timeout in host store after killing controller

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.14.0
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
    • Story Points:
      3
    • Epic Link:

      Description

      Can be reproduced by killing/recovering a single controller several times in a 3-node cluster:

      2018-06-15 14:41:06,969 | ERROR | ssh for user sdn | ShellUtil                        | 27 | Exception caught while executing command
      org.onosproject.store.service.ConsistentMapException$Timeout: onos-hosts
              at org.onosproject.store.primitives.DefaultConsistentMap.complete(DefaultConsistentMap.java:233)
              at org.onosproject.store.primitives.DefaultConsistentMap.values(DefaultConsistentMap.java:148)
              at org.onosproject.store.primitives.ConsistentMapBackedJavaMap.values(ConsistentMapBackedJavaMap.java:141)
              at org.onosproject.store.host.impl.DistributedHostStore.getHosts(DistributedHostStore.java:321)
              at org.onosproject.net.host.impl.HostManager.getHosts(HostManager.java:257)
              at org.onosproject.cli.net.HostsListCommand.getSortedHosts(HostsListCommand.java:79)
              at org.onosproject.cli.net.HostsListCommand.execute(HostsListCommand.java:57)
              at org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:155)
              at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[27:org.apache.karaf.shell.console:3.0.8]
              at Proxy69bac86e_5a5d_4292_8960_45d97ea099da.execute(Unknown Source)[:]
              at Proxy69bac86e_5a5d_4292_8960_45d97ea099da.execute(Unknown Source)[:]
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[27:org.apache.karaf.shell.console:3.0.8]
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
              at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:211)
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:158)[47:org.apache.karaf.shell.ssh:3.0.8]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:133)
              at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_161]
              at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[28:org.apache.karaf.jaas.modules:3.0.8]
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            You You Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: