-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnavailableDataError for Key "COUNTERS_PORT_NAME_MAP" in COUNTERS_DB #84
Comments
Hi, the above unavailableDataError is always seen in the syslog when swss is restarted. But, when I connect to the redis-cli and I could able to dump the COUNTERS_PORT_NAME_MAP as follows: 127.0.0.1:6379[2]> hgetall COUNTERS_PORT_NAME_MAP
|
We have similar error log as previous, it seems that SNMP tries to get queue_stat_map before it's created. Since SNMP would retry to get it again, it should not be a problem, so we low down the log level from error to warning.
|
The root cause should be the difference in time between containers. |
Aug 31 20:27:22.308214 switch75 ALERT pmon/sensord: Sensor alarm: Chip max1617a-i2c-40-2a: ASIC: -5.0 C (min = -5.0 C, max = -5.0 C) [ALARM]
Aug 31 20:27:44.565279 switch75 ERR snmp/snmp-subagent [ax_interface] ERROR: MIBUpdater.start() caught an unexpected exception during update_data()#012Traceback (most recent call last):#12 File "/usr/local/lib/python3.6/dist-packages/ax_interface/mib.py", line 40, in start#012 self.reinit_data()#12 File "/usr/local/lib/python3.6/dist-packages/sonic_ax_impl/mibs/vendor/cisco/ciscoPfcExtMIB.py", line 38, in reinit_data#012 self.oid_name_map = mibs.init_sync_d_interface_tables(self.db_conn)#12 File "/usr/local/lib/python3.6/dist-packages/sonic_ax_impl/mibs/init.py", line 88, in init_sync_d_interface_tables#012 if_name_map, if_id_map = port_util.get_interface_oid_map(db_conn)#12 File "/usr/local/lib/python3.6/dist-packages/swsssdk/port_util.py", line 40, in get_interface_oid_map#012 if_name_map = db.get_all('COUNTERS_DB', 'COUNTERS_PORT_NAME_MAP', blocking=True)#12 File "/usr/local/lib/python3.6/dist-packages/swsssdk/interface.py", line 38, in wrapped#012 ret_data = f(inst, db_name, *args, **kwargs)#12 File "/usr/local/lib/python3.6/dist-packages/swsssdk/interface.py", line 310, in get_all#012 raise UnavailableDataError(message, _hash)#012swsssdk.exceptions.UnavailableDataError: Key 'COUNTERS_PORT_NAME_MAP' unavailable in database 'COUNTERS_DB'
The text was updated successfully, but these errors were encountered: