Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-219

karaf shell stops working after feature:install from shell

    XMLWordPrintable

Details

    • Bug
    • Status: Verified
    • Medium
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      reported by a user in this email thread

      It's reproducible with Sodium and Neon, but does not happen with Fluorine.

      to reproduce:

      • bin/start
      • bin/client
      • feature:install odl-netconf-connector

      at that point, the karaf shell will be dropped and you can no longer connect
      to it from the bin/client tool.

      relevant karaf.log snippet

      2019-11-29T22:18:37,605 | ERROR | Karaf ssh console user karaf | ShellUtil                        | 50 - org.apache.karaf.shell.core - 4.2.2 | Exception caught while executing command
      java.io.IOError: java.io.IOException: Pipe closed after 1 cycles
              at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:143) ~[57:org.jline.reader:3.9.0]
              at org.jline.keymap.BindingReader.readBinding(BindingReader.java:110) ~[57:org.jline.reader:3.9.0]
              at org.jline.keymap.BindingReader.readBinding(BindingReader.java:61) ~[57:org.jline.reader:3.9.0]
              at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:786) ~[57:org.jline.reader:3.9.0]
              at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:558) ~[57:org.jline.reader:3.9.0]
              at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.readCommand(ConsoleSessionImpl.java:445) [50:org.apache.karaf.shell.core:4.2.2]
              at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:403) [50:org.apache.karaf.shell.core:4.2.2]
              at java.lang.Thread.run(Thread.java:748) [?:?]
      Caused by: java.io.IOException: Pipe closed after 1 cycles
              at org.apache.sshd.common.channel.ChannelPipedInputStream.read(ChannelPipedInputStream.java:121) ~[?:?]
              at java.io.InputStream.read(InputStream.java:101) ~[?:?]
              at org.jline.terminal.impl.ExternalTerminal.pump(ExternalTerminal.java:122) ~[?:?]
              ... 1 more
      

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              jluhrsen Jamo Luhrsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: