Interaction Error after file copy - Huawei switch

Unimus support forum
Post Reply
anvinfra
Posts: 2
Joined: Fri Apr 26, 2024 1:34 pm

Fri Apr 26, 2024 1:46 pm

Greetings to everyone.

First of all, i must say that Unimus is a really good tool, and probably it will be my go-to after my testing is done. Where i work we are lacking a central management tool, and so far im liking Unimus very much.

Im having a issue with my Huawei switches (VRP type). Im using a Mass Config push to download patch files from a central SFTP server in order to update the switches. Im receiving "Interaction_Error" errors even though the file does copy to the switch. Since the copy takes about 90 to 120 seconds to complete i modified the "Dunimus.core.max-backup-timeout" value so the Unimus SSH session dont timeout. After the file copies, Unimus does not send the last command (quit) and only stays waiting on the prompt, which then causes the mass config push to timeout. It is like the Unimus does not recognize that the file copy finished, and waits indefinetly.

Thank you in advance!
User avatar
Tomas
Posts: 1225
Joined: Sat Jun 25, 2016 12:33 pm

Mon Apr 29, 2024 8:47 pm

Hi, a few notes here:

1) You don't need to modify global timeout options, in the Config Push "Advanced Settings" there is an "Override timeouts" option, where you can override timeouts just for this push preset. It's much better to use this. You can set it to 120000 (it is in ms).

2) If you enabled Output Logging under Debug Mode (in the Zones menu), what's the last few lines of the device communication look like?

3) You can also look at behavior modifiers, these are often useful in cases like firmware downloads: https://wiki.unimus.net/display/UNPUB/M ... ush-Macros
anvinfra
Posts: 2
Joined: Fri Apr 26, 2024 1:34 pm

Tue Apr 30, 2024 3:04 pm

Hello Tomas.

The output log shows this on the last lines:

S5735-L1_V200R022SPH1b0.pat 93% 11665408Bytes 176KByte(s)/sec
S5735-L1_V200R022SPH1b0.pat 94% 11796480Bytes 178KByte(s)/sec
TIMESTAMP: 2024-04-30 11:56:36.844

S5735-L1_V200R022SPH1b0.pat 95% 11927552Bytes 177KByte(s)/sec
S5735-L1_V200R022SPH1b0.pat 96% 12058624Bytes 176KByte(s)/sec
TIMESTAMP: 2024-04-30 11:56:38.141

S5735-L1_V200R022SPH1b0.pat 97% 12189696Bytes 176KByte(s)/sec
S5735-L1_V200R022SPH1b0.pat 98% 12320768Bytes 177KByte(s)/sec
TIMESTAMP: 2024-04-30 11:56:39.969

S5735-L1_V200R022SPH1b0.pat 99% 12451840Bytes 177KByte(s)/sec
S5735-L1_V200R022SPH1b0.pat 100% 12538912Bytes 175KByte(s)/sec
TIMESTAMP: 2024-04-30 11:56:41.407

[Huawei-CE1]
TIMESTAMP: 2024-04-30 11:57:28.859
<<SSH disconnect - channel & session>>
DEVICE OUTPUT END:

So, if you do this on directly on the console or over ssh, the output you would recieve is {firmwarefilename}.pat ##% XXXXXXBytes xxxKBytes(s)/sec, and then you will recieve back the prompt (the [] on the prompt is the equivalent of cisco enabled prompt).

For some reason, the Unimus is unable to understand the ending of the file transfer, and i receive the interaction error error.

What i did so far was trying to set up a delay right after the password input. After i input the password, the transfer starts. I did this but with no luck.
Post Reply