Skip to content
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

New platform.json file cause Mellanox ACS-2700 failed to get port information #5464

Closed
Junchao-Mellanox opened this issue Sep 25, 2020 · 0 comments · Fixed by #5538
Closed
Assignees

Comments

@Junchao-Mellanox
Copy link
Collaborator

Description

After platform.json being added to device/mellanox/x86_64-mlnx_msn2700-r0, mellanox ACS-2700 cannot load minigraph due to failed to get port information. The reason could be that device_info.get_path_to_port_config_file() returns platform.json instead of port_config.ini when platform.json exists. And in the current platform.json, there is no interfaces defined. See commit f219401, section "interfaces" is empty.

Steps to reproduce the issue:

  1. issue "config load_minigraph -y" on a Mellanox ACS-2700 platform.

Describe the results you received:

Warning: failed to retrieve PORT table from ConfigDB!

Describe the results you expected:

It should be able to get all port information.

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)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants