Skip to content

Bug:[Smartswitch] Data applied through gnmi configuration to the DPU is inacessible from DPU database #23488

@gpunathilell

Description

@gpunathilell

Is it platform specific

generic

Importance or Severity

Critical

Description of the bug

This issue is seen because the orchagent on DPU is subscribed to the APPL_DB dash entries which is transferred to the DPU over ZMQ, and the gnmi server on the switch applies the data to the APPL_DB in the databasedpun docker which is inaccessible on the DPU. All the dash related configuration applied on the DPU is not visible on the DPU, and is stored in the APPL_DB present in the databasedpun docker on the switch, which is not erased on config reload on DPU as well.

Steps to Reproduce

Apply DASH configuration using a gnmi configuration tool
Observe DASH configuration from switch console:

root@sonic:/home/admin# docker exec -it databasedpu0 bash
root@sonic:/# sonic-db-cli APPL_DB keys "*DASH*"
DASH_ROUTE_GROUP_TABLE:RouteGroup2
DASH_ROUTE_TABLE:RouteGroup2:10.0.0.0/16
DASH_TUNNEL_TABLE:exgw_tunnel_1

Confirm configuration is not seen on DPU:
From DPU console:

root@sonic:/home/admin# sonic-db-cli APPL_DB keys "*DASH*"
root@sonic:/home/admin#

DB data is available on switch in the databasedpun dockers, but not in the DPU itself, it is also not available in DPU_APPL_DB

This doesnt affect orchagent code in DPU, since this obtains the configuration over ZMQ

Actual Behavior and Expected Behavior

Actual behaviour:
DASH configuration available only on switch
Expected Behaviour:
DASH configuration available only on DPU on any of the DBs

Relevant log output

Output of show version, show techsupport

Attach files (if any)

No response

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions