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

[multi-asic] Enhanced the getMount() API and docker mount point check #5848

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Nov 6, 2020

Why I did:
API getMount() API was not updated to handle multi-asic platforms
because of which mount point comparison always return FALSE
and we were always creating new container image when doing config load_minigraph/reload/reboot.

How I did:
Updated API getMount() to return abspath() for Docker Mount Point
and use that one for mount point comparison

How I Verify:

  • Verify on Single ASIC platforms behavior is same as present

  • Verify on Multi-asic platforms we do not create new container when doing config load_minigraph/reload/reboot.

  • Also sonic-mgmt copp test were failing on Multi-asic platform
    since test case update copp.json in swss docker and restart docker but that
    change did not took impact since we were creating new container.
    After this changes test case is working fine

@abdosi
Copy link
Contributor Author

abdosi commented Nov 7, 2020

retest broadcom please

1 similar comment
@abdosi
Copy link
Contributor Author

abdosi commented Nov 9, 2020

retest broadcom please

Copy link
Contributor

@judyjoseph judyjoseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abdosi
Copy link
Contributor Author

abdosi commented Nov 9, 2020

@SuvarnaMeenakshi Please review this.

@abdosi abdosi merged commit 4f82463 into sonic-net:master Nov 9, 2020
@abdosi abdosi deleted the docker_mountpoint branch November 9, 2020 21:03
abdosi added a commit that referenced this pull request Nov 9, 2020
API getMount() API was not updated to handle multi-asic platforms
Updated API getMount() to return abspath() for Docker Mount Point
and use that one for mount point comparison

Signed-off-by: Abhishek Dosi <[email protected]>
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
…-net#5848)

API getMount() API was not updated to handle multi-asic platforms
Updated API getMount() to return abspath() for Docker Mount Point
and use that one for mount point comparison

Signed-off-by: Abhishek Dosi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants