-
Notifications
You must be signed in to change notification settings - Fork 23
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
aoscx_upload_firmware Error processing the command Code 502 #94
Comments
Hi, Do you have pycurl python module ? |
@jimdavis66 Please ensure you have the required libraries installed - you may have to install pycurl Debian based distros: then install pycurl What firmware is existing on the switch? I know you're attempting to upload ArubaOS-CX_6200_10_13_0005.swi but what is the version on the switch at the time of execution? |
Thanks guys. I have the requirements and pycurl installed but am still getting the same 502 error.
The firmware on this particular switch is 10.15.0005. I updated it manually as I keep hoping a firmware update will fix my problem. I've tried this on older versions of firmware too and get the same error. I haven't come across any issues with other modules from the collection, it is only this aoscx_upload_firmware that isn't working for me. Thanks |
@jimdavis66 the IP address you're using to connect to the switch - is this on a non-mgmt vrf? |
@tchiapuziowong yes, it is on the default vrf
|
@jimdavis66 can you re-test using the latest version of the collection and pyaoscx and see if the issue is still present? |
Hi @tchiapuziowong , thanks so much for working on this. I've updated the collection and pyaoscx and am now getting the following error:
Playbook verbose output:
Logs from the switch:
|
@jimdavis66 can you add |
I already have that set to 'true'. You can see it in the verbose output of the playbook:
|
Hi, Thank you and Best Regards. |
Hi @Thaddeli , Do you mind sharing your workaround with me? How have you configured your playbook tasks to do a copy via SCP? Thanks, |
Hi James, yes it's just a simple SCP command which copies the Firmware onto the switch. Additionally you need to cover the prompts and answers inside the playbook for it to execute everything automatically.
Best Regards. |
I've never managed to get the aoscx_upload_firmware module to work in my environment, despite trying on various AOS-CX firmware versions.
Switch: 6200F
Firmware: ML.10.13.0005
This is the error I receive after watching the network :
GENERIC OPERATION ERROR: Error processing the command.\n: Code: 502
playbook:
playbook output
collection versions
ansible version
switch logs:
The text was updated successfully, but these errors were encountered: