ansible-collections / community.network

Ansible Community Network Collection
http://galaxy.ansible.com/community/network
Other
124 stars 90 forks source link

[PR #571/4dffff1f backport][stable-4] Add "Permission denied" error handling for Extreme Exos #595

Closed patchback[bot] closed 6 months ago

patchback[bot] commented 6 months ago

This is a backport of PR #571 as merged into main (4dffff1f9453fa93d5835f0f18c870328116e89e).

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
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.