sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
718 stars 1.38k forks source link

Multi-DB must use with Multi-Asic? #6625

Open guking3 opened 3 years ago

guking3 commented 3 years ago

Description

Steps to reproduce the issue: 1.Now, SONiC has support multi-db wtih namespaces 2.But, namespaces has related to Multi-ASIC

  1. The following description was wrote in docker_image_ctl.j2 file

    For Multi-ASIC platform we have to mount the redis paths for database instances running in different

    # namespaces, into the single instance dockers like snmp, pmon on linux host. These global dockers
    # will need to get/set tables from databases in different namespaces.
    # /var/run/redis0 ---> mounted as --> /var/run/redis0
    # /var/run/redis1 ---> mounted as --> /var/run/redis1 .. etc
    # The below logic extracts the base DIR's where database_config.json's for various namespaces exist.
    # redis_dir_list is a string of form "/var/run/redis0/ /var/run/redis1/ /var/run/redis2/"

    4.So,how can the Multi-DB use without Multi-ASIC, if just has only 1 asic? Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
anshuv-mfst commented 3 years ago

@judyjoseph - could you please take a look. Thanks!