Skip to content

Fix the issue of handling telemetry keys&certs during deploy-mg#1737

Merged
lguohan merged 1 commit intosonic-net:masterfrom
wangxin:fix-deploy-mg-pr
Jun 5, 2020
Merged

Fix the issue of handling telemetry keys&certs during deploy-mg#1737
lguohan merged 1 commit intosonic-net:masterfrom
wangxin:fix-deploy-mg-pr

Conversation

@wangxin
Copy link
Collaborator

@wangxin wangxin commented Jun 5, 2020

Description of PR

Summary:
Fixes # (issue)
The telemetry keys and certs are directly generated on SONiC switch, not
on localhost. There is no need to copy the files from local to
remote. Even worse, trying to copy the keys and certs from
localhost to SONiC will fail with source file not found issue.

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

The change introduced in #1716 broke the deploy-mg function.

How did you do it?

Remove the unnecessary steps for copying keys and certs from local to remote.

How did you verify/test it?

Test run the testbed-cli.sh deploy-mg on vs setup. Check on SONiC, the keys and certs can be found under /etc/sonic/telemetry.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

The keys and certs are directly generated on SONiC switch, not
on localhost. There is no need to copy the files from local to
remote. Even worse, trying to copy the keys and certs from
localhost to SONiC will fail with source file not found issue.

Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@wangxin wangxin requested review from daall, hui-ma, jleveque and pra-moh June 5, 2020 09:53
@nazariig nazariig mentioned this pull request Jun 5, 2020
3 tasks
@lguohan lguohan merged commit 3f6c42d into sonic-net:master Jun 5, 2020
@lguohan lguohan linked an issue Jun 5, 2020 that may be closed by this pull request
@wangxin wangxin deleted the fix-deploy-mg-pr branch June 28, 2020 10:28
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
a631f04 Add check_db_integrity script to setup.py (sonic-net#1828)
ddf6793 Implement script null_route_helper (sonic-net#1737)
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…tically (#25244)

#### Why I did it
src/sonic-sairedis
```
* 2457bb8d - (HEAD -> 202511, origin/202511) [Mellanox] Add phcsync activation for mellanox platforms. (sonic-net#1752) (2 days ago) [mssonicbld]
* bcbf7158 - [202511] Upgrade SAI to v1.17.4 (sonic-net#1749) (3 days ago) [Vivek]
* 5eec8434 - [syncd] Remove syncd redis objects if using ZMQ notifications (sonic-net#1738) (6 days ago) [mssonicbld]
* 7770f146 - [vslib] MACsec interface creation command fails on VM/VS with send_sci=false and SCI combination. (sonic-net#1737) (6 days ago) [mssonicbld]
* 4a62e3d2 - [202511][ci] use correct slave container for each branch (sonic-net#1746) (6 days ago) [yijingyan2]
* cff5ae14 - Fix sonic-vpp build issue in master (sonic-net#1745) (7 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Why I did it
include changes from sairedis submodule
102d20b | [202211][submodule][SAI]Advance header include 0031470 | improve enum values integration check (sonic-net#1727) (sonic-net#1737)
04d3c41 | [Submodule][upgrade]Upgrade SAI submodule (sonic-net#1204)

updates from SAI
7710e24 | [cherry-pick][202211]Enhance the check enum lock script (sonic-net#1741) (sonic-net#1742)
0031470 | improve enum values integration check (sonic-net#1727) (sonic-net#1737)
4f11c7e | Enable github code scanning to replace LGTM. (sonic-net#1709)

How I did it
How to verify it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Minigraph generator is broken

2 participants