-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: bbsim
-
Labels:
-
Story Points:5
voltha version 1.6 and BBSim lastest (Mar 7 commit)
ONU activation report error at tech-profile download state with error tech-profile-config-failure-retrying. below error message reported in voltha
20190415T074326.861 ERROR MainThread brcm_tp_service_specific_task.perform_service_specific_steps
{'exception': 'Traceback (most recent call last):\n File "/voltha/voltha/adapters/brcm_openomci_onu/omci/brcm_tp_service_specific_task.py", line 310, in *perform_service_specific_steps\n *self.tcont_me_to_queue_map[tcont.entity_id].sort()\nKeyError:* 32768', 'e': KeyError(32768,),* 'vcore_id': '0001', 'uni_id': 0, 'instance_id': 'vcore-594c99c447-78dkc_1555308978', *'event': 'omci-setup-2',* 'device_id': '0001f09d83a6944b'}20190415T074326.862 DEBUG MainThread task_runner._on_task_failure
{'task_id': 'Task: Broadcom *Tech-Profile Download Task, ID:17, Priority: 138, Exclusive: True, Watchdog: 10',* 'vcore_id': '0001', 'instance_id': 'vcore-594c99c447-78dkc_1555308978', 'running': 1, 'event': 'task-failure', 'pending': 0, 'device_id': '0001f09d83a6944b'}20190415T074326.862 WARNING MainThread brcm_openomci_onu_handler.failure
{'instance_id': 'vcore-594c99c447-78dkc_1555308978', 'vcore_id': '0001', '_reason': <twisted.python.failure.Failure exceptions.KeyError: 32768>, *'event': 'tech-profile-config-failure-retrying',* 'device_id': '0001f09d83a6944b'}20190415T074326.863 DEBUG MainThread device_agent.update_device {'device': '0001f09d83a6944b', 'instance_id': 'vcore-594c99c447-78dkc_1555308978', 'vcore_id': '0001', 'event': 'updating-device', 'device_id': '0001f09d83a6944b'}
20190415T074326.863 DEBUG MainThread device_agent._validate_update {'device': id: "0001f09d83a6944b"
type: "brcm_openomci_onu"
parent_id: "0001444b3f12f7d1"
vendor: "Broadcom"
serial_number: "BBSM00010100"
adapter: "brcm_openomci_onu"
admin_state: ENABLED
oper_status: ACTIVE
connect_status: REACHABLE
proxy_address
parent_port_no: 536870913
reason: "tech-profile-config-download-failure-retrying"
vendor_id: "BBSM"
, 'instance_id': 'vcore-594c99c447-78dkc_1555308978', 'vcore_id': '0001', 'event': 'device-pre-update', 'device_id': '0001f09d83a6944b'}
The possible reason for the failure could be, empty priority queue/no tcount information. During initial MIB upload, BBSim may not be sending the 'Priority Queue (ME #277)' MIB