Page 1 of 1

[Fixed in 1.5.1] HP 5406ZL (J8697A) Backup failure

Posted: Tue Dec 26, 2017 3:02 pm
by Itcoop
Running K.16.02.0021 firmware. The configuration on this switch is 38 pages long (80x24). Discovery works; backups fail:

2017-12-26 07:41:13.273 INFO 5336 --- [io-8085-exec-10] net.unimus.service.Devi
ceService : Attempt to run 1 backup(s)
2017-12-26 07:41:13.295 INFO 5336 --- [io-8085-exec-10] net.unimus.business.cor
e.Core : Performing backup on 1 device(s)
2017-12-26 07:41:35.577 WARN 5336 --- [ backup-99] n.u.c.d.v.hp.HpProcurve
BackupDriver : Unable to download backup - 'Expect operation fails (timeout
: 15000 ms) for matcher: anyOf(TailingRegexp('\QsedComSw7\E> $|\QsedComSw7\E# $'
),TailingRegexp('(?i)<?-+ ?\(? ?(?:.*more.*|.*next.*) ?\)? ?-+>? {0,5}$|more.+\(
?q\)?uit ?:? ?$|continue.+quit ?:? ?$|page.+continue.+quit.*$|page.+line.+quit.+
$|more.+quit.+line.+$|quit.+page.+all.*$|press any key to continue.*$|to quit.+t
o continue.*$|more.+\(?q\)?uit.+abort.*$|press.+continue.+abort.*$|lines? \d+-\d
+:? ?$'))'!
2017-12-26 07:42:05.611 WARN 5336 --- [ backup-95] n.u.c.d.v.hp.HpProcurve
BackupDriver : Unable to download backup - 'Expect operation fails (timeout
: 15000 ms) for matcher: anyOf(TailingRegexp('\QsedComSw7\E> $|\QsedComSw7\E# $'
),TailingRegexp('(?i)<?-+ ?\(? ?(?:.*more.*|.*next.*) ?\)? ?-+>? {0,5}$|more.+\(
?q\)?uit ?:? ?$|continue.+quit ?:? ?$|page.+continue.+quit.*$|page.+line.+quit.+
$|more.+quit.+line.+$|quit.+page.+all.*$|press any key to continue.*$|to quit.+t
o continue.*$|more.+\(?q\)?uit.+abort.*$|press.+continue.+abort.*$|lines? \d+-\d
+:? ?$'))'!

Re: HP 5406ZL (J8697A) Backup failure

Posted: Tue Dec 26, 2017 3:07 pm
by Tomas
Hi,

Could you please run Unimus in debug mode, and PM me the full logs from the backup?

On Linux:

Code: Select all

sudo su
service unimus stop
cd /opt/unimus
java -jar Unimus.jar \
--logging.level.net.unimus.core=TRACE \
--unimus.core.echo-ssh=TRUE \
--unimus.core.echo-telnet=TRUE
On Windows:

Code: Select all

1) Download .jar distribution:
https://unimus.net/download.html
2) Stop Unimus service
If you are running the Portable version, skip this
3) Open an admin command prompt
4) change to folder where Unimus.jar was downloaded
5) Run "java -jar Unimus.jar --logging.level.net.unimus.core=TRACE --unimus.core.echo-ssh=TRUE --unimus.core.echo-telnet=TRUE"
6) Logs should be in the command prompt window
Thanks!

Re: HP 5406ZL (J8697A) Backup failure

Posted: Tue Dec 26, 2017 4:42 pm
by Itcoop
PM'd debug output. Thank you.

Also to note, after backup failure, Unimus is keeping the session active until the switch idle-timeout.

Re: HP 5406ZL (J8697A) Backup failure

Posted: Tue Dec 26, 2017 5:44 pm
by Tomas
Both of these issues should be solved in 1.5.0.

Could you please try to run 1.5.0 Beta and let me know if it works:
viewtopic.php?p=785#p785

Thanks!

Re: [Fixed in 1.6.0] HP 5406ZL (J8697A) Backup failure

Posted: Thu Jan 11, 2018 4:35 pm
by Tomas
After some additional debug and some additional research, the issues are finally solved in 1.5.1.

Big thanks to Itcoop for the help!