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

Add "Permission denied" error handling for Extreme Exos #571

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

Thorbijoern
Copy link
Contributor

SUMMARY

I stumbled over an error with the scp2 command on a 5320 model switch with EXOS Version 31.x

Couldn't open local file \"/scratch/summit_arm-32.4.1.10.xos\" for writing: Permission denied

Ansible/the exos modules don't recognize it as error and pretend it's fine. So i just want to add it in case somebody else has a similar problem and it might help.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

exos

ADDITIONAL INFORMATION

It only happens on a switch that is freshly unconfigured. It's probably a bug, but i use download image for now. I don't know the exact Exos version anymore, i would have to downgrade the switch and test a bit.


@Andersson007
Copy link
Contributor

@Thorbijoern hello, thanks for the fix!
Could you please add a changelog fragment?

@Andersson007
Copy link
Contributor

@Thorbijoern ^ ?

@Thorbijoern
Copy link
Contributor Author

Thorbijoern commented Feb 21, 2024

Sorry for forgetting to follow up with this PR. I added the changelog fragment, is it ok like this?

@Andersson007 Andersson007 added backport-4 backport-5 Automatically create a backport for the stable-5 branch labels Feb 21, 2024
@Andersson007 Andersson007 merged commit 4dffff1 into ansible-collections:main Feb 21, 2024
51 checks passed
Copy link

patchback bot commented Feb 21, 2024

Backport to stable-4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4/4dffff1f9453fa93d5835f0f18c870328116e89e/pr-571

Backported as #595

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Feb 21, 2024
* Add "Permission denied" error handling for Extreme Exos

* Add changelog fragment

(cherry picked from commit 4dffff1)
Copy link

patchback bot commented Feb 21, 2024

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/4dffff1f9453fa93d5835f0f18c870328116e89e/pr-571

Backported as #596

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Feb 21, 2024
* Add "Permission denied" error handling for Extreme Exos

* Add changelog fragment

(cherry picked from commit 4dffff1)
@Andersson007
Copy link
Contributor

@Thorbijoern that's OK, thanks for adding the fragment and for the bugfix!
Just a fyi, this is the only merged PR since the previous release, so I wouldn't expect the fix to be available in the package soon: I would wait for a bit more fixes/new features to release them at once.

@Thorbijoern Thorbijoern deleted the patch-2 branch February 21, 2024 10:38
Andersson007 pushed a commit that referenced this pull request Feb 21, 2024
* Add "Permission denied" error handling for Extreme Exos

* Add changelog fragment

(cherry picked from commit 4dffff1)

Co-authored-by: Thorbijoern <[email protected]>
Andersson007 pushed a commit that referenced this pull request Feb 21, 2024
* Add "Permission denied" error handling for Extreme Exos

* Add changelog fragment

(cherry picked from commit 4dffff1)

Co-authored-by: Thorbijoern <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-5 Automatically create a backport for the stable-5 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants