Comments (6)
Which OS was this occurring on, and with what version of Varnish? Usually this indicates a problem with the service's init script, and in Varnish's case, that init script is installed as part of the package. If the init script always returns a 0
(success), then there might not be much Ansible or this role can do...
from ansible-role-varnish.
I just spent 3 hours debugging this same issue using Amazon AMI Linux. The issue was the deprecated -w flag in DAEMON_OPTS under templates/varnish.j2, as soon as that flag was changed from
-w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
to
-p thread_pool_min=${VARNISH_MIN_THREADS} \
-p thread_pool_max=${VARNISH_MAX_THREADS} \
-p thread_pool_timeout=${VARNISH_THREAD_TIMEOUT} \
it was working.
Also FYI the Ansible Galaxy role has not been updated with the fixes from this GitHub repo. That would have saved me the 3 hours if the fixes were sync'd back to Ansible Galaxy.
from ansible-role-varnish.
@swoodford - The latest tag in Galaxy is 1.3.0, which corresponds with the same tag here (commit 0a0a5a9). There's no newer code I can send to Galaxy at this point...
See also: #17 — were you installing 4.1, or 4.0?
from ansible-role-varnish.
@geerlingguy Sorry, you are correct sir. After some research I discovered a colleague inserted that -w flag after copying an old Varnish 3 config.
But hopefully @CashWilliams has a similar problem which is causing the service to fail to start without a helpful error message or log output.
from ansible-role-varnish.
@swoodford - Thanks for the update!
from ansible-role-varnish.
So it's likely a config/VCL issue outside this role's purview—I'm going to mark this as closed, but feel free to follow up if any other issues are found!
from ansible-role-varnish.
Related Issues (20)
- Use 'latest' as package state HOT 2
- Systemd configuration overwritten on update HOT 2
- Use variables for all templated files HOT 3
- Complete listening support (-a) HOT 2
- Varnish 6.6 has a package for Ubuntu 20.04 Focal Fossa HOT 1
- Debian 10/11: varnish.service file defaults used instead of /etc/defaults/varnish HOT 3
- Ubuntu: install from the default repo instead of packagecloud
- systemd unit file in wrong location leads to problems after package updates
- Role doesn't support installation of additional Varnish packages
- Rocky Linux CI currently failing with 'All matches were filtered out by modular filtering' HOT 4
- Ubuntu 22 Jammy; packagecloud does not have release file HOT 1
- /usr/sbin/varnishreload: No such file or directory HOT 2
- "Ensure Varnish VMODs are installed" emits deprecation notice HOT 3
- "Master" released as a version HOT 1
- VMOD installation with packagecloud.io HOT 1
- Decide whether to continue this role's development for V7 and beyond... HOT 1
- Varnish doesn't have package for Ubuntu 20.04 Focal Fossa HOT 16
- Add support for Debian 10 Buster
- Fix role installing Varnish 6.0.x from AppStream on CentOS 8 HOT 4
- Listen protocol not configurable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-varnish.