Set owner after restoring counters folder during warmboot#13507
Merged
yxieca merged 1 commit intosonic-net:masterfrom Mar 27, 2023
Merged
Set owner after restoring counters folder during warmboot#13507yxieca merged 1 commit intosonic-net:masterfrom
yxieca merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Oleksandr Kolomeiets <[email protected]>
Author
|
@lguohan, |
akokhan
approved these changes
Jan 26, 2023
Collaborator
|
@yxieca , can you check this one? |
1 similar comment
Collaborator
|
@yxieca , can you check this one? |
yxieca
approved these changes
Mar 27, 2023
mssonicbld
pushed a commit
to mssonicbld/sonic-buildimage
that referenced
this pull request
Mar 27, 2023
…13507) Why I did it After warm reboot, show environment prints the following error: failed to import plugin show.plugins.macsec: [Errno 13] Permission denied: '/tmp/cache/macsec' How I did it Set owner back to admin after restoring counters folder. How to verify it sudo warm-reboot, then ensure show environement does not print errors. Signed-off-by: Oleksandr Kolomeiets <[email protected]>
Collaborator
|
Cherry-pick PR to 202205: #14435 |
yxieca
pushed a commit
that referenced
this pull request
Mar 27, 2023
…14435) Why I did it After warm reboot, show environment prints the following error: failed to import plugin show.plugins.macsec: [Errno 13] Permission denied: '/tmp/cache/macsec' How I did it Set owner back to admin after restoring counters folder. How to verify it sudo warm-reboot, then ensure show environement does not print errors. Signed-off-by: Oleksandr Kolomeiets <[email protected]> Co-authored-by: oleksandrx-kolomeiets <[email protected]>
lixiaoyuner
pushed a commit
to lixiaoyuner/sonic-buildimage
that referenced
this pull request
Feb 6, 2024
https://msazure.visualstudio.com/One/_workitems/edit/17813211 Related work items: sonic-net#9216, sonic-net#11437, sonic-net#13507, sonic-net#13512, sonic-net#13567, sonic-net#13972, sonic-net#14351, sonic-net#14371, sonic-net#14375, sonic-net#14401, sonic-net#14407, sonic-net#14408, sonic-net#14427, sonic-net#14428, sonic-net#14439
lixiaoyuner
pushed a commit
to lixiaoyuner/sonic-buildimage
that referenced
this pull request
Feb 6, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Oleksandr Kolomeiets [email protected]
Why I did it
After warm reboot,
show environmentprints the following error:failed to import plugin show.plugins.macsec: [Errno 13] Permission denied: '/tmp/cache/macsec'How I did it
Set owner back to admin after restoring counters folder.
How to verify it
sudo warm-reboot, then ensureshow environementdoes not print errors.Which release branch to backport (provide reason below if selected)
Description for the changelog
Set owner after restoring counters folder during warmboot.
Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)