# Cisco 3850 upgrade error

**URL:** <https://forum.ansible.com/t/cisco-3850-upgrade-error/30809>\
**Category:** Ansible Project\
**Created:** [July 18, 2019, 2:47pm UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809 "2019-07-18T14:47:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [July 18, 2019, 2:47pm UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809/1 "2019-07-18T14:47:39Z")

</div>

Hi team

getting below error . Please help . this is happening when upgrading cisco 3850

12 - name: expand the IOS file and copy to 2 switches  
13 ios\_command:  
14 commands:  
15 - ‘software install file flash:{{ new\_system\_image }} on-reboot’  
16 timeout: 10000

Error message:

The full traceback is:  
WARNING: The below traceback may _not_ be related to the actual failure.  
File “/tmp/ansible\_ios\_command\_payload\_KqsA0e/ansible\_ios\_command\_payload.zip/ansible/module\_utils/network/ios/ios.py”, line 145, in run\_commands  
return connection.run\_commands(commands=commands, check\_rc=check\_rc)  
File “/tmp/ansible\_ios\_command\_payload\_KqsA0e/ansible\_ios\_command\_payload.zip/ansible/module\_utils/connection.py”, line 173, in **rpc**  
raise ConnectionError(to\_text(msg, errors=‘surrogate\_then\_replace’), code=code)

[DEPRECATION WARNING]: Param ‘timeout’ is deprecated. See the module docs for more information. This feature will be removed in version 2.9. Deprecation warnings  
can be disabled by setting deprecation\_warnings=False in ansible.cfg.  
fatal: [10.177.131.110]: FAILED! =\> {  
“changed”: false,  
“invocation”: {  
“module\_args”: {  
“auth\_pass”: null,  
“authorize”: null,  
“commands”: [  
“software install file flash:cat3k\_caa-universalk9.16.06.05.SPA.bin on-reboot”  
],  
“host”: null,  
“interval”: 1,  
“match”: “all”,  
“password”: null,  
“port”: null,  
“provider”: null,  
“retries”: 10,  
“ssh\_keyfile”: null,  
“timeout”: 10000,  
“username”: null,  
“wait\_for”: null  
}  
},  
“msg”: “software install file flash:cat3k\_caa-universalk9.16.06.05.SPA.bin on-reboot\r\n ^\r\n% Invalid input detected at ‘^’ marker.\r\n\r\nSwitch#”  
}

---

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [July 22, 2019, 5:31pm UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809/2 "2019-07-22T17:31:50Z")

</div>

It has been fixed. thanks .

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [July 22, 2019, 8:28pm UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809/3 "2019-07-22T20:28:20Z")

</div>

Do you mind telling how?

---

<div class="post-metadata">

**Author:** ![Pushparaj\_Gothandam](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/pushparaj_gothandam/32/5538_2.png) [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Post date:** [July 23, 2019, 12:03pm UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809/4 "2019-07-23T12:03:15Z")

</div>

“software install file flash” cmdlet is not supported for specific model of switch.

“request platform software package install” works!!!

thanks

---

<div class="post-metadata">

**Author:** ![Pramod\_Thombare](https://avatars.discourse-cdn.com/v4/letter/p/58956e/32.png) [@Pramod\_Thombare](https://forum.ansible.com/u/Pramod_Thombare)\
**Post date:** [August 8, 2019, 8:24am UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809/5 "2019-08-08T08:24:46Z")

</div>

hello ,  
I want to perform task on brocade and arista switch . Will you guide how ansible will connect with switches to perform tasks …
