Discussion:
[rancid] procurve 3500 series
Richard Golier
2008-06-02 11:16:01 UTC
Permalink
Hello all,
we have a problem getting configs from HP procurve 3500 series switches
with the K.13.09 version firmware. There wasn't problem like this with
an older K.12.x series. Rancid version is 2.3.2~a7-3 from debian
packages. Below is the error output from the logs. Is there any solution
available?
Richard.


write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re {^[^
*]*r01#} { send_user -- "$expect_out(buffer)"
} -re {^[^
]*r01#.} { send_user -- "$expect_out(buffer)"
exp_c..."
invoked from within
"expect {
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send_user --
"$expect_out(buffer)"
..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 15)
invoked from within
"run_commands $prompt $command"
("foreach" body line 139)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"

# Figure out prompt.
# Since autoena..."
(file "/var/lib/rancid/bin/hlogin" line 583)
Richard Golier
2008-06-02 11:58:38 UTC
Permalink
It seems like I found the cause of the problem. In K.12 series of the
firmware there was a command 'show system-information'. In K.13 series
it has been changed to 'show system information'. After modifying the
hrancid script appropriately, configs from the switches with new
firmware can be fetched again. Could this be fixed somehow, so that both
old and new version would work?
Richard
Post by Richard Golier
Hello all,
we have a problem getting configs from HP procurve 3500 series switches
with the K.13.09 version firmware. There wasn't problem like this with
an older K.12.x series. Rancid version is 2.3.2~a7-3 from debian
packages. Below is the error output from the logs. Is there any solution
available?
Richard.
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re {^[^
*]*r01#} { send_user -- "$expect_out(buffer)"
} -re {^[^
]*r01#.} { send_user -- "$expect_out(buffer)"
exp_c..."
invoked from within
"expect {
-re "^\[^\n\r *]*$reprompt" { send_user --
"$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprompt." { send_user --
"$expect_out(buffer)"
..."
invoked from within
"if [ string match "*\;*" "$command" ] {
set commands [split $command \;]
set num_commands [llength $commands]
# the pager can not be turned off on ..."
(procedure "run_commands" line 15)
invoked from within
"run_commands $prompt $command"
("foreach" body line 139)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
send_user "$router\n"
# Figure out prompt.
# Since autoena..."
(file "/var/lib/rancid/bin/hlogin" line 583)
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...