Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4441

Open Olt Agent and Dev Management Deamon error on delete

    XMLWordPrintable

    Details

    • Story Points:
      3

      Description

      An error is shown on DT when deleting the OLT, putting it in an inconsistent state:

      https://jenkins.opencord.org/view/Community-PODs/job/build_dt-berlin-pod-gpon_1T8GEM_voltha_DT_2.8_test/97/

      Dev_mgmnt
      [312111: I SW_UTIL ] bal_switch_tm_queue.c 484| Got a tm_queue clear request - tm_queue 0:0
      [312111: E SW_UTIL ] bal_dpp_tm_queue.c 1721| Can NOT clear TM_QUEUE 0:0 when reference count is 8
      #5[312111: I SW_UTIL ] bal_switch_tm_queue.c 575| Return tm_queue clear request with Internal error
      [312111: E TM_QUEUE ] tm_queue_fsm.c 386| queue could not be cleared from the switch
      #5[312112: E TM_SCHED ] tm_sched_fsm.c 2033| Cannot destroy tm_sched 0 with existing object refs (queues_list or sub_scheds_list not empty)

      #5[312483: I SW_UTIL ] bal_switch_tm_queue.c 484| Got a tm_queue clear request - tm_queue 1:0
      [312483: E SW_UTIL ] bal_dpp_tm_queue.c 1721| Can NOT clear TM_QUEUE 1:0 when reference count is 8
      #5[312483: I SW_UTIL ] bal_switch_tm_queue.c 575| Return tm_queue clear request with Internal error
      [312483: E TM_QUEUE ] tm_queue_fsm.c 386| queue could not be cleared from the switch
      #5[312484: E TM_SCHED ] tm_sched_fsm.c 2033| Cannot destroy tm_sched 1 with existing object refs (queues_list or sub_scheds_list not empty)

      #5[312818: I SW_UTIL ] bal_switch_tm_queue.c 484| Got a tm_queue clear request - tm_queue 2:0
      [312818: E SW_UTIL ] bal_dpp_tm_queue.c 1721| Can NOT clear TM_QUEUE 2:0 when reference count is 8
      #5[312818: I SW_UTIL ] bal_switch_tm_queue.c 575| Return tm_queue clear request with Internal error
      [312818: E TM_QUEUE ] tm_queue_fsm.c 386| queue could not be cleared from the switch
      #5[312819: E TM_SCHED ] tm_sched_fsm.c 2033| Cannot destroy tm_sched 2 with existing object refs (queues_list or sub_scheds_list not empty)

      #5[313335: I SW_UTIL ] bal_switch_tm_queue.c 484| Got a tm_queue clear request - tm_queue 3:0
      [313335: E SW_UTIL ] bal_dpp_tm_queue.c 1721| Can NOT clear TM_QUEUE 3:0 when reference count is 8
      #5[313335: I SW_UTIL ] bal_switch_tm_queue.c 575| Return tm_queue clear request with Internal error
      [313335: E TM_QUEUE ] tm_queue_fsm.c 386| queue could not be cleared from the switch
      #5[313336: E TM_SCHED ] tm_sched_fsm.c 2033| Cannot destroy tm_sched 3 with existing object refs (queues_list or sub_scheds_list not empty)

      openolt

      [312819: E OPENOLT ] core_api_handler.cc 2963| Failed to remove queue, direction = downstream, queue_id 0, sched_id 2, tm_q_set_id 0, intf_id 0, onu_id 2, uni_id 0, err = Internal error
      [312819: E OPENOLT ] core_api_handler.cc 2993| Failed to remove queue, err = Internal error
      [312819: E OPENOLT ] core_api_handler.cc 2654| Failed to remove scheduler, direction = downstream, sched_id 2, intf_id 0, onu_id 2, tech_profile_id 64, err = Object is in bad state
      [312819: E OPENOLT ] core_api_handler.cc 2684| Error-removing-traffic-scheduler, err = Object is in bad state

      [43022: I API_KA_0 ] bcmolt_api_conn_mgr.c 256| Connected with OLT 0. Software version: 0.0.0. Model revision: 0. Build time:
      [43022: W API_KA_0 ] bcmolt_api_conn_mgr.c 264| OLT 0: Software version mismatch: application software version: 3.4.9. Model revision: 13
      #5[47851: I OPENOLT ] core_utils.cc 1522| waiting for BAL ready ...
      [52852: I OPENOLT ] core_utils.cc 1522| waiting for BAL ready ...
      [57852: I OPENOLT ] core_utils.cc 1522| waiting for BAL ready ...
      [62852: I OPENOLT ] core_utils.cc 1522| waiting for BAL ready ...
      [62852: I OPENOLT ] core_utils.cc 1525| BAL is ready
      [62852: I OPENOLT ] core_api_handler.cc 398| Enabling PON 4 Devices ...
      [62853: I OPENOLT ] core_api_handler.cc 309| Reset PON device: 0
      [63000: I OPENOLT ] core_api_handler.cc 318| Reset PON device(0) success
      [63200: E api ] bcmolt_api_translation.c 198| Can't translate device id 1 on OLT 0
      [63200: W OPENOLT ] core_api_handler.cc 460| PON device 1 already connected
      #5[63200: E api ] bcmolt_api_translation.c 198| Can't translate device id 2 on OLT 0
      [63200: W OPENOLT ] core_api_handler.cc 460| PON device 2 already connected
      #5[63200: E api ] bcmolt_api_translation.c 198| Can't translate device id 3 on OLT 0
      [63200: W OPENOLT ] core_api_handler.cc 460| PON device 3 already connected
      #5[63200: I default ] core_api_handler.cc 469| Starting CLI
      [63201: I OPENOLT ] core_api_handler.cc 1000| OLT capabilitites, oper_state: up
      [63201: I OPENOLT ] core_api_handler.cc 1005| topology nni: 10 pon: 64 dev: 4
      [63201: E OPENOLT ] core_utils.cc 925| bcmolt_cfg_get tried (1) times with retry time(1000000 usecs) err = No connection with the target system
      [63201: W OPENOLT ] core_api_handler.cc 1017| Failed to query PON MAC Device 0 (errno = No connection with the target system). Skipping the device.
      #5[63201: E api ] bcmolt_api_translation.c 198| Can't translate device id 1 on OLT 0
      [63201: E OPENOLT ] core_utils.cc 925| bcmolt_cfg_get tried (1) times with retry time(1000000 usecs) err = Entry doesn't exist
      [63201: W OPENOLT ] core_api_handler.cc 1017| Failed to query PON MAC Device 1 (errno = Entry doesn't exist). Skipping the device.
      #5[63201: E api ] bcmolt_api_translation.c 198| Can't translate device id 2 on OLT 0
      [63201: E OPENOLT ] core_utils.cc 925| bcmolt_cfg_get tried (1) times with retry time(1000000 usecs) err = Entry doesn't exist
      [63201: W OPENOLT ] core_api_handler.cc 1017| Failed to query PON MAC Device 2 (errno = Entry doesn't exist). Skipping the device.
      #5[63201: E api ] bcmolt_api_translation.c 198| Can't translate device id 3 on OLT 0
      [63201: E OPENOLT ] core_utils.cc 925| bcmolt_cfg_get tried (1) times with retry time(1000000 usecs) err = Entry doesn't exist
      [63201: W OPENOLT ] core_api_handler.cc 1017| Failed to query PON MAC Device 3 (errno = Entry doesn't exist). Skipping the device.
      #5[63201: E OPENOLT ] core_api_handler.cc 1055| device: Query of all the devices failed

        Attachments

        1. dev_mgmt_daemon-10.34.90.50.log
          876 kB
          Andrea Campanella
        2. openolt-10.34.90.50.log
          1.17 MB
          Andrea Campanella
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ggowdra Girish Gowdra
            Reporter:
            andrea Andrea Campanella
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes