Comments (3)
do you get this every time ? this is very wired, what configuration do yoy have there, is this with 2 syncds ? is there only one orchagent or 2? also 2 syncds should run in 2 differnt global contexts
from sonic-sairedis.
I get this every time with basic bgp config. PikeZ device has external PHY (Gearbox), then it runs syncd (global context 0) and gbsyncd (global context 1). There is only one orchagent.
Each context creates a redisSai object of RedisRemoteSaiInterface
. The redisSai creates a redisChannel object of RedisChannel
, which runs a thread RedisChannel::notificationThreadFunction and acts as a consumer of channel "NOTIFICATIONS". Whatever syncd/gbsyncd produces notification event in channel "NOTIFICATIONS", each consumer will be notified. This causes conflict.
From the above, looks it is fdb event from syncd, only the consumer in context 0 should handle it, however another consumer in context 1, having only gearbox switch info, also handles it and causes the above messages. PR #1129 will fix this issue.
from sonic-sairedis.
RedisRemoteSaiInterface is prepared to use multiple syncds so you dont have to instantiate 2 vestions of if, you can do that byusing sairedis SAI global apis, by specyfying SAI_REDIS_SWITCH_ATTR_CONTEXT attribute on create switch operation https://github.com/sonic-net/sonic-sairedis/blob/master/lib/sairedis.h#L227 and by using SAI_REDIS_KEY_CONTEXT_CONFIG in sai_api_initialize, you will also need context_config.json file which will be consumed by 2 syncds running, where it could specify ASIC_DB and GBASCI_DB
from sonic-sairedis.
Related Issues (20)
- [question] Build "libsairedis" locally failed HOT 2
- Duplicate zero buffer profiles in 'temp' view after Warmboot while storm is ongoing. HOT 2
- This repo is missing important files HOT 1
- syncd build failure on broadcom. HOT 1
- Error message `ERR swss#orchagent: :- recordingFileReopen: failed to open recording file : No such file or directory` is observed since PR 1058 is merged
- Switch ID question for VOQ systems
- Zmq function failed with EINTR errno when log rotation happened HOT 2
- syncd 202012 branch on SAI bulk API enabling is un-syncd to syncd master branch on processBulkOidRemove HOT 1
- Missing the branch recursive_search_file in repo Spacetown/gcovr HOT 1
- Question regarding adding extra param on sonic acl- orchagent exported API to SAI layer
- [chassis]: Found SAI_SWITCH_ATTR_REGISTER_READ and SAI_SWITCH_ATTR_REGISTER_READ Error messages via LogAnalyzer HOT 3
- [202205] FDB learning caused orchagent exited when reboot HOT 7
- [build]sonic-sairedis build fails sometimes while building metadata HOT 19
- Flooding of setApiLogLevel() traces during boot up HOT 3
- gearsyncd log level is set to NOTICE irrespective of user set log level post config reload/docker restart HOT 4
- Fix default fdb flush attribute to be obtained from metadata HOT 2
- Sonic-vs : Syncd not getting netlink messages and oper status not updated HOT 5
- Warmboot: It will remain warm removeswitch when first reboot after warm-reboot HOT 19
- Compile issues on gcc-10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonic-sairedis.