Patrick_Chang_7
Apr 04, 2008Historic F5 Account
HTTP::retry help
rule reselect.irule {
when HTTP_REQUEST {
set req [HTTP::request]
}
when LB_FAILED {
log local0. "LB Failed for client [IP::client_addr] [LB::server addr] when requested http://[HTTP::host][HTTP::uri]"
LB::reselect pool a_pool
HTTP::retry $req
log local0. "Log retried http://[HTTP::host][HTTP::uri] "
}
}
results in
Apr 3 21:11:15 tmm3 tmm3[2274]: Rule reselect.irule : LB Failed for client x.x.x.x when requested http://some.host//some/uri
Apr 3 21:11:15 tmm3 tmm3[2274]: 01220001:3: TCL error: reselect.irule - while executing "HTTP::retry $req"
What would cause this rule to fail. I don't see anything wrong.