[Varnish] #1360: Director cannot have another director as backend

Varnish varnish-bugs at varnish-cache.org
Tue Oct 22 02:42:42 CEST 2013


#1360: Director cannot have another director as backend
-----------------------------+----------------------
 Reporter:  kchiu            |       Type:  defect
   Status:  new              |   Priority:  normal
Milestone:  Varnish 3.0 dev  |  Component:  varnishd
  Version:  3.0.4            |   Severity:  normal
 Keywords:                   |
-----------------------------+----------------------
 Config:

 backend varnish2 {
   .host = "varnish2.elance.com";
   .port = "80";
   .connect_timeout = 0.5s;
 }

 backend server1 {
   .host = "server1.elance.com";
   .port = "80";
   .connect_timeout = 0.5s;
 }

 director servers round-robin {
   { .backend = server1; }
 }

 director peer fallback {
   # peer takes precedence
   { .backend = varnish2; }
   { .backend = servers; }
 }


 Error message:

 Message from VCC-compiler:
 Reference to unknown backend 'servers' at
 ('input' Line 51 Pos 16)
   { .backend = servers; }
 ---------------#######---


 In director specification starting at:
 ('input' Line 48 Pos 1)
 director peer fallback {
 ########----------------

 Running VCC-compiler failed, exit 1

 VCL compilation failed

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1360>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list