Comments (5)
Hi there,
seeing same issues with bionic stemcell 0.24,
so it basically looks like Grafana is not starting up:
tail -f post-start.stdout.log
[Mon Apr 19 14:05:48 UTC 2021] Resetting grafana admin password ...
Waiting for grafana to listen on port 3000 (0/60)
from prometheus-boshrelease.
Seems the nc command checking the open grafana port is the culprit:
broker/801ac959-c4b5-4251-a4be-fd823f32355e:/var/vcap/sys/log/grafana# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 5880 704 0 Apr19 ? 00:00:00 bash /var/vcap/jobs/grafana/bin/post-start
root 5887 5880 0 Apr19 ? 00:00:00 bash /var/vcap/jobs/grafana/bin/grafana-admin-password
root 5891 5887 0 Apr19 ? 00:00:00 nc 127.0.0.1 3000
broker/801ac959-c4b5-4251-a4be-fd823f32355e:/var/vcap/sys/log/grafana# nc -vz 127.0.0.1 3000
Connection to 127.0.0.1 3000 port [tcp/*] succeeded!
broker/801ac959-c4b5-4251-a4be-fd823f32355e:/var/vcap/sys/log/grafana# nc 127.0.0.1 3000
=> freeze
from prometheus-boshrelease.
Yes, that is was I also just found out... currently trying to figure out why this is happening because a curl on http://localhost:3000 is working fine
from prometheus-boshrelease.
So it seems like
nc 127.0.0.1 3000 < /dev/null
is behaving differently on Xenial and Bionic. For Xenial it immediately returns, for Bionic it does not. This approach was apparently applied to fix issues with cent os.
from prometheus-boshrelease.
We could adjust the following line
to look like the following
if nc -w 5 127.0.0.1 <%= p('grafana.server.http_port') %> < /dev/null; then
from prometheus-boshrelease.
Related Issues (20)
- mongodb exporter crash HOT 1
- Bump to GA bionic stemcell HOT 1
- Error calling humanizeDuration: can't convert int to float HOT 4
- Configuring prometheus to use a different alertmanager HOT 8
- Update grafana to 7.5.15 HOT 2
- release 27.0.0 job checksum error HOT 4
- Any plans for upgrading to Grafana 9? HOT 8
- Any plans for upgrading 7.5.17? We are having issues with Chrome browsers HOT 3
- Grafana cannot deploy with custom home dashboard HOT 2
- Nginx not updating upstream ip addresses when bosh changes them HOT 5
- plugin grafana-piechart-panel no longer available (should be replaced with piechart plugin?) HOT 4
- New App Latency and Requests Dashboards have no data HOT 4
- bosh_exporter 3.6.0 compilation failing due to naming change HOT 3
- Release for v29.5.0 missing HOT 2
- Unable to disable retro compatibily on firehose exporter HOT 8
- wrongly renamed label applicationID HOT 2
- Grafana security patch HOT 2
- Moving bosh-prometheus repos to cloudfoundry-org
- Latest release binary doesn't appear to exist in githubusercontent.com HOT 2
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 prometheus-boshrelease.