Skip to content

[swssconfig]: Unable to apply large number of config entries in one JSON file #3849

Open
@volodymyrsamotiy

Description

@volodymyrsamotiy

Description
Unable to apply large number of config entries in one JSON file using swssconfig tool inside ```swss`` docker container.

Steps to reproduce the issue:

  1. Prepare JSON file with the 40960 config entries (e.g. VNET route entries were used, but it could any other configuration)
  2. Go to swss container and try to apply prepared config: # swssconfig <file>.json
  3. Observe that only about 28000 entries were applied and swssconfig thrown an exeption

Describe the results you received:
Only about 28000 entries were applied and swssconfig thrown the following exception:

ERR swss#swssconfig: :- main: Exception caught: Unable to connect to redis: Cannot assign requested address

Apply procedure was just interrupted by the above exception but all were continue working, nothing crashed and even more config can be applied after the exception.

Describe the results you expected:
Expected behavior is to be able to successfully apply large number of config entries (e.g. 40K) using one JSON.

Additional information you deem important (e.g. issue happens only occasionally):
Just use any master based image.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions