Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-739

PCC-Mock reconnection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Oxygen
    • None
    • PCEP
    • None

      I start pcc mock with:

      java -jar pcep-pcc-mock-*-executable.jar --reconnect 1 --local-address 10.30.170.30 --remote-address 10.30.170.66:4189,10.30.170.39:4189,10.30.170.61:4189 --log-level INFO 2>&1 | tee pccmock.log
      

      It seems like it just keeps trying to connect to first owner but even when I post first get

      restconf/operational/network-topology:network-topology/topology/pcep-topology
      

      I get empty topology, after restarting or isolating it's still empty, in the whole pccmocklog aren't any other ips besides first owner and jenkins

      Isolating with:

      sudo /sbin/iptables -I OUTPUT -p all --source "KARAF_WHICH_WE_ISOLATE" --destination "KARAF2" -j DROP
      sudo /sbin/iptables -I OUTPUT -p all --source "KARAF_WHICH_WE_ISOLATE" --destination "KARAF3" -j DROP
      

      Killing command on node where we want to kill the karaf

      ps axf | grep org.apache.karaf | grep -v grep | awk '{print "kill -9 " $1}' | sh
      

      https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/bgpcep-csit-3node-periodic-pcepclustering-ha-only-oxygen/10/

        1. log.html.gz
          153 kB
        2. odl1_karaf.log.gz
          43 kB
        3. odl2_karaf.log.gz
          208 kB
        4. odl3_karaf.log.gz
          49 kB
        5. pccmock.log.gz
          58 kB

            cdgasparini Claudio David Gasparini
            tomas.markovic Tomas Markovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: