Discussion:
CLI start with multiple VCL on Varnish 6 Failed.
BIGOT Adrien
2018-09-18 09:35:11 UTC
Permalink
Hello,

Based on this blog article :
https://info.varnish-software.com/blog/one-vcl-per-domain   I've been
using multiple VCL with Varnish 5.2 without any problem.
However, I don't manage to get it working with Varnish 6.

I tried with the latest stable version on packagecloud.io and even with
the latest weekly-build.
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.


[***@ip-172-31-137-19 varnish]# varnishd -I start.cli -F -a :80 -f ''
Debug: Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
Debug: Platform:
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
BEGIN of -I file processing
200 326
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c

Type 'help' for command list.
Type 'quit' to close CLI session.
Type 'start' to launch worker process.
vcl.load vcl-api-orig /etc/varnish/api.vcl
200 14
VCL compiled.
vcl.load vcl-catz-orig /etc/varnish/catz.vcl
200 14
VCL compiled.
vcl.label label-api vcl-api-orig
200 0
vcl.label label-catz vcl-catz-orig
200 0
vcl.load vcl-root-orig /etc/varnish/root.vcl
200 14
VCL compiled.
vcl.use vcl-root-orig
200 30
VCL 'vcl-root-orig' now active
END of -I file processing
CLI result = 400



In the logs :

On Centos
sept. 18 08:35:37 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx su[11820]:
pam_unix(su:session): session opened for user root by ec2-user(uid=0)
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Version: varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Platform:
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.label label-api vcl-api-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.label label-catz vcl-catz-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.use vcl-root-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm varnishd[11846]:
CLI -I file Wr 200 VCL 'vcl-root-orig' now active
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child (11870) Started
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child (11870) not responding to CLI, killed it.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child (11870) Pushing vcls failed:
CLI communication error
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Stopping Child
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm varnishd[11846]:
Child (11870) died signal=3
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child cleanup complete

On Debian :
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809) said Child
starts
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup complete
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Version: varnish-6.0.1
revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Platform:
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-api-orig /etc/varnish/api.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-catz-orig /etc/varnish/catz.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-api vcl-api-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-catz vcl-catz-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-root-orig /etc/varnish/root.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.use
vcl-root-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
'vcl-root-orig' now active
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Started
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) not
responding to CLI, killed it.
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Pushing
vcls failed:
                                                 CLI communication
error (hdr)
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping Child
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842) died signal=3


Did anyone manage to get it working with varnish 6 ?

Thank you.

Best regards,
--
Bigot Adrien
BIGOT Adrien
2018-09-20 20:03:55 UTC
Permalink
Hello,

Based on this blog article :
https://info.varnish-software.com/blog/one-vcl-per-domain   I've been
using multiple VCL with Varnish 5.2 without any problem.
However, I don't manage to get it working with Varnish 6.

I tried with the latest stable version on packagecloud.io and even with
the latest weekly-build.
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.


[***@ip-172-31-137-19 varnish]# varnishd -I start.cli -F -a :80 -f ''
Debug: Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
Debug: Platform:
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
BEGIN of -I file processing
200 326
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c

Type 'help' for command list.
Type 'quit' to close CLI session.
Type 'start' to launch worker process.
vcl.load vcl-api-orig /etc/varnish/api.vcl
200 14
VCL compiled.
vcl.load vcl-catz-orig /etc/varnish/catz.vcl
200 14
VCL compiled.
vcl.label label-api vcl-api-orig
200 0
vcl.label label-catz vcl-catz-orig
200 0
vcl.load vcl-root-orig /etc/varnish/root.vcl
200 14
VCL compiled.
vcl.use vcl-root-orig
200 30
VCL 'vcl-root-orig' now active
END of -I file processing
CLI result = 400



In the logs :

On Centos
sept. 18 08:35:37 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx su[11820]:
pam_unix(su:session): session opened for user root by ec2-user(uid=0)
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Version: varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Platform:
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.label label-api vcl-api-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.label label-catz vcl-catz-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
CLI -I file Rd vcl.use vcl-root-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm varnishd[11846]:
CLI -I file Wr 200 VCL 'vcl-root-orig' now active
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child (11870) Started
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child (11870) not responding to CLI, killed it.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child (11870) Pushing vcls failed:
CLI communication error
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Stopping Child
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm varnishd[11846]:
Child (11870) died signal=3
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx varnishd[11846]:
Child cleanup complete

On Debian :
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809) said Child
starts
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup complete
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Version: varnish-6.0.1
revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Platform:
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-api-orig /etc/varnish/api.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-catz-orig /etc/varnish/catz.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-api vcl-api-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-catz vcl-catz-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-root-orig /etc/varnish/root.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.use
vcl-root-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
'vcl-root-orig' now active
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Started
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) not
responding to CLI, killed it.
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Pushing
vcls failed:
                                                 CLI communication
error (hdr)
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping Child
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842) died signal=3


Did anyone manage to get it working with varnish 6 ?

Thank you.

Best regards,
--
Bigot Adrien
Guillaume Quintard
2018-09-24 16:58:23 UTC
Permalink
Confirmed using a Dockerfile (weirdly it worked the first time when I did
it manually), looks like we have a bug. I'll look into it
--
Guillaume Quintard
Post by BIGOT Adrien
Hello,
https://info.varnish-software.com/blog/one-vcl-per-domain I've been
using multiple VCL with Varnish 5.2 without any problem.
However, I don't manage to get it working with Varnish 6.
I tried with the latest stable version on packagecloud.io and even with
the latest weekly-build.
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.
Debug: Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
BEGIN of -I file processing
200 326
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Type 'help' for command list.
Type 'quit' to close CLI session.
Type 'start' to launch worker process.
vcl.load vcl-api-orig /etc/varnish/api.vcl
200 14
VCL compiled.
vcl.load vcl-catz-orig /etc/varnish/catz.vcl
200 14
VCL compiled.
vcl.label label-api vcl-api-orig
200 0
vcl.label label-catz vcl-catz-orig
200 0
vcl.load vcl-root-orig /etc/varnish/root.vcl
200 14
VCL compiled.
vcl.use vcl-root-orig
200 30
VCL 'vcl-root-orig' now active
END of -I file processing
CLI result = 400
On Centos
pam_unix(su:session): session opened for user root by ec2-user(uid=0)
Version: varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl
CLI -I file Wr 200 VCL compiled.
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl
CLI -I file Wr 200 VCL compiled.
CLI -I file Rd vcl.label label-api vcl-api-orig
CLI -I file Wr 200
CLI -I file Rd vcl.label label-catz vcl-catz-orig
CLI -I file Wr 200
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl
CLI -I file Wr 200 VCL compiled.
CLI -I file Rd vcl.use vcl-root-orig
CLI -I file Wr 200 VCL 'vcl-root-orig' now active
Child (11870) Started
Child (11870) not responding to CLI, killed it.
CLI communication error
Stopping Child
Child (11870) died signal=3
Child cleanup complete
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809) said Child
starts
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup complete
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Version: varnish-6.0.1
revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-api-orig /etc/varnish/api.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-catz-orig /etc/varnish/catz.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-api vcl-api-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-catz vcl-catz-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-root-orig /etc/varnish/root.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.use
vcl-root-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
'vcl-root-orig' now active
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Started
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) not
responding to CLI, killed it.
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Pushing
CLI communication
error (hdr)
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping Child
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842) died signal=3
Did anyone manage to get it working with varnish 6 ?
Thank you.
Best regards,
--
Bigot Adrien
_______________________________________________
varnish-misc mailing list
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
BIGOT Adrien
2018-09-24 17:37:28 UTC
Permalink
Hi,

Yesterday, I also tried manualy with varnish 6.1 and the first time I
believed it was working. But after 1 or 2 minute (I think to a timeout)
I had the same error : "Child not responding to CLI, killed it."

Thanks Guillaume for your help !

Regards,

--

Adrien Bigot
Post by Guillaume Quintard
Confirmed using a Dockerfile (weirdly it worked the first time when I
did it manually), looks like we have a bug. I'll look into it
--
Guillaume Quintard
Hello,
https://info.varnish-software.com/blog/one-vcl-per-domain I've been
using multiple VCL with Varnish 5.2 without any problem.
However, I don't manage to get it working with Varnish 6.
I tried with the latest stable version on packagecloud.io
<http://packagecloud.io> and even with
the latest weekly-build.
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.
Debug: Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
BEGIN of -I file processing
200 326
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Type 'help' for command list.
Type 'quit' to close CLI session.
Type 'start' to launch worker process.
 > vcl.load vcl-api-orig /etc/varnish/api.vcl
200 14
VCL compiled.
 > vcl.load vcl-catz-orig /etc/varnish/catz.vcl
200 14
VCL compiled.
 > vcl.label label-api vcl-api-orig
200 0
 > vcl.label label-catz vcl-catz-orig
200 0
 > vcl.load vcl-root-orig /etc/varnish/root.vcl
200 14
VCL compiled.
 > vcl.use vcl-root-orig
200 30
VCL 'vcl-root-orig' now active
END of -I file processing
CLI result = 400
On Centos
pam_unix(su:session): session opened for user root by ec2-user(uid=0)
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.label label-api vcl-api-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.label label-catz vcl-catz-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.use vcl-root-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm
CLI -I file Wr 200 VCL 'vcl-root-orig' now active
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Child (11870) Started
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Child (11870) not responding to CLI, killed it.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI communication error
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Stopping Child
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm
Child (11870) died signal=3
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Child cleanup complete
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809) said Child
starts
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup complete
varnish-6.0.1
revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-api-orig /etc/varnish/api.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-catz-orig /etc/varnish/catz.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-api vcl-api-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-catz vcl-catz-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-root-orig /etc/varnish/root.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.use
vcl-root-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
'vcl-root-orig' now active
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Started
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) not
responding to CLI, killed it.
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Pushing
                                                  CLI communication
error (hdr)
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping Child
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842) died signal=3
Did anyone manage to get it working with varnish 6 ?
Thank you.
Best regards,
--
Bigot Adrien
_______________________________________________
varnish-misc mailing list
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Guillaume Quintard
2018-09-24 20:57:18 UTC
Permalink
test streamlined, commit bisected, issue created:
https://github.com/varnishcache/varnish-cache/issues/2782

I'll try to see what I can find once I have more time, unless someone looks
into it first
--
Guillaume Quintard
Post by BIGOT Adrien
Hi,
Yesterday, I also tried manualy with varnish 6.1 and the first time I
believed it was working. But after 1 or 2 minute (I think to a timeout) I
had the same error : "Child not responding to CLI, killed it."
Thanks Guillaume for your help !
Regards,
--
Adrien Bigot
Confirmed using a Dockerfile (weirdly it worked the first time when I did
it manually), looks like we have a bug. I'll look into it
--
Guillaume Quintard
Post by BIGOT Adrien
Hello,
https://info.varnish-software.com/blog/one-vcl-per-domain I've been
using multiple VCL with Varnish 5.2 without any problem.
However, I don't manage to get it working with Varnish 6.
I tried with the latest stable version on packagecloud.io and even with
the latest weekly-build.
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.
Debug: Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
BEGIN of -I file processing
200 326
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Type 'help' for command list.
Type 'quit' to close CLI session.
Type 'start' to launch worker process.
vcl.load vcl-api-orig /etc/varnish/api.vcl
200 14
VCL compiled.
vcl.load vcl-catz-orig /etc/varnish/catz.vcl
200 14
VCL compiled.
vcl.label label-api vcl-api-orig
200 0
vcl.label label-catz vcl-catz-orig
200 0
vcl.load vcl-root-orig /etc/varnish/root.vcl
200 14
VCL compiled.
vcl.use vcl-root-orig
200 30
VCL 'vcl-root-orig' now active
END of -I file processing
CLI result = 400
On Centos
pam_unix(su:session): session opened for user root by ec2-user(uid=0)
Version: varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl
CLI -I file Wr 200 VCL compiled.
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl
CLI -I file Wr 200 VCL compiled.
CLI -I file Rd vcl.label label-api vcl-api-orig
CLI -I file Wr 200
CLI -I file Rd vcl.label label-catz vcl-catz-orig
CLI -I file Wr 200
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl
CLI -I file Wr 200 VCL compiled.
CLI -I file Rd vcl.use vcl-root-orig
CLI -I file Wr 200 VCL 'vcl-root-orig' now active
Child (11870) Started
Child (11870) not responding to CLI, killed it.
CLI communication error
Stopping Child
Child (11870) died signal=3
Child cleanup complete
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809) said Child
starts
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup complete
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Version: varnish-6.0.1
revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-api-orig /etc/varnish/api.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-catz-orig /etc/varnish/catz.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-api vcl-api-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-catz vcl-catz-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-root-orig /etc/varnish/root.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.use
vcl-root-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
'vcl-root-orig' now active
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Started
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) not
responding to CLI, killed it.
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Pushing
CLI communication
error (hdr)
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping Child
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842) died signal=3
Did anyone manage to get it working with varnish 6 ?
Thank you.
Best regards,
--
Bigot Adrien
_______________________________________________
varnish-misc mailing list
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
BIGOT Adrien
2018-09-24 21:33:09 UTC
Permalink
Thank you very much Guillaume. For now, I'll postpone our migration to
Varnish 6.

--

Adrien Bigot
Post by Guillaume Quintard
https://github.com/varnishcache/varnish-cache/issues/2782
I'll try to see what I can find once I have more time, unless someone
looks into it first
--
Guillaume Quintard
Hi,
Yesterday, I also tried manualy with varnish 6.1 and the first
time I believed it was working. But after 1 or 2 minute (I think
to a timeout) I had the same error : "Child not responding to CLI,
killed it."
Thanks Guillaume for your help !
Regards,
--
Adrien Bigot
Post by Guillaume Quintard
Confirmed using a Dockerfile (weirdly it worked the first time
when I did it manually), looks like we have a bug. I'll look into it
--
Guillaume Quintard
On Tue, Sep 18, 2018 at 11:36 AM BIGOT Adrien
Hello,
https://info.varnish-software.com/blog/one-vcl-per-domain I've been
using multiple VCL with Varnish 5.2 without any problem.
However, I don't manage to get it working with Varnish 6.
I tried with the latest stable version on packagecloud.io
<http://packagecloud.io> and even with
the latest weekly-build.
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.
Debug: Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
BEGIN of -I file processing
200 326
-----------------------------
Varnish Cache CLI 1.0
-----------------------------
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
varnish-6.0.1 revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Type 'help' for command list.
Type 'quit' to close CLI session.
Type 'start' to launch worker process.
 > vcl.load vcl-api-orig /etc/varnish/api.vcl
200 14
VCL compiled.
 > vcl.load vcl-catz-orig /etc/varnish/catz.vcl
200 14
VCL compiled.
 > vcl.label label-api vcl-api-orig
200 0
 > vcl.label label-catz vcl-catz-orig
200 0
 > vcl.load vcl-root-orig /etc/varnish/root.vcl
200 14
VCL compiled.
 > vcl.use vcl-root-orig
200 30
VCL 'vcl-root-orig' now active
END of -I file processing
CLI result = 400
On Centos
pam_unix(su:session): session opened for user root by
ec2-user(uid=0)
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.label label-api vcl-api-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.label label-catz vcl-catz-orig
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Wr 200 VCL compiled.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI -I file Rd vcl.use vcl-root-orig
CLI -I file Wr 200 VCL 'vcl-root-orig' now active
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Child (11870) Started
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Child (11870) not responding to CLI, killed it.
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
CLI communication error
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Stopping Child
Child (11870) died signal=3
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
Child cleanup complete
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809) said Child
starts
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup complete
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Version: varnish-6.0.1
revision 8d54bec5330c29304979ebf2c425ae14ab80493c
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-api-orig /etc/varnish/api.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-catz-orig /etc/varnish/catz.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-api vcl-api-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd
vcl.label label-catz vcl-catz-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.load
vcl-root-orig /etc/varnish/root.vcl
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
compiled.
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Rd vcl.use
vcl-root-orig
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file Wr 200 VCL
'vcl-root-orig' now active
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Started
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) not
responding to CLI, killed it.
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842) Pushing
                                                  CLI
communication
error (hdr)
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping Child
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842)
died signal=3
Did anyone manage to get it working with varnish 6 ?
Thank you.
Best regards,
--
Bigot Adrien
_______________________________________________
varnish-misc mailing list
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Loading...