Comments (11)
@jpeach any idea why this is not working?
from kuma-demo.
vagrant@metrics:~$ sudo journalctl -u kuma-prometheus-sd -f
-- Logs begin at Tue 2021-09-07 04:49:01 UTC. --
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.772Z INFO kuma-prometheus-sd.run.xds_sd.discoverer creating a gRPC client for Monitoring Assignment Discovery Service (MADS) server ... {"streamID": 22674}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.773Z INFO kuma-prometheus-sd.run.xds_sd.discoverer starting an xDS stream ... {"streamID": 22674}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.773Z INFO kuma-prometheus-sd.run.xds_sd.discoverer closing a connection ... {"streamID": 22674}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.773Z ERROR kuma-prometheus-sd.run.xds_sd.discoverer xDS stream terminated with an error {"streamID": 22674, "error": "failed to start an xDS stream: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"", "errorVerbose": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"\nfailed to start an xDS stream\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds/v1.(*streamDiscoverer).Run\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/v1/stream.go:55\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds.(*discoverer).Run.func1\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/xds.go:57\nruntime.goexit\n\t/home/circleci/go/src/runtime/asm_amd64.s:1371"}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.774Z INFO kuma-prometheus-sd.run.xds_sd.discoverer creating a gRPC client for Monitoring Assignment Discovery Service (MADS) server ... {"streamID": 22675}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.774Z INFO kuma-prometheus-sd.run.xds_sd.discoverer starting an xDS stream ... {"streamID": 22675}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z INFO kuma-prometheus-sd.run.xds_sd.discoverer closing a connection ... {"streamID": 22675}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z ERROR kuma-prometheus-sd.run.xds_sd.discoverer xDS stream terminated with an error {"streamID": 22675, "error": "failed to start an xDS stream: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"", "errorVerbose": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"\nfailed to start an xDS stream\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds/v1.(*streamDiscoverer).Run\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/v1/stream.go:55\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds.(*discoverer).Run.func1\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/xds.go:57\nruntime.goexit\n\t/home/circleci/go/src/runtime/asm_amd64.s:1371"}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z INFO kuma-prometheus-sd.run.xds_sd.discoverer creating a gRPC client for Monitoring Assignment Discovery Service (MADS) server ... {"streamID": 22676}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z INFO kuma-prometheus-sd.run.xds_sd.discoverer starting an xDS stream ... {"streamID": 22676}
from kuma-demo.
looks like we are not able to generate /var/run/kuma-prometheus-sd/kuma.file_sd.json this file in vagrant provisioning script
from kuma-demo.
@jpeach can you take look at this
from kuma-demo.
IIUC this service should produce the kuma.file_sd.json
from kuma-demo.
@jpeach its showing this logs
-- Logs begin at Tue 2021-09-07 04:49:01 UTC. --
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.772Z INFO kuma-prometheus-sd.run.xds_sd.discoverer creating a gRPC client for Monitoring Assignment Discovery Service (MADS) server ... {"streamID": 22674}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.773Z INFO kuma-prometheus-sd.run.xds_sd.discoverer starting an xDS stream ... {"streamID": 22674}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.773Z INFO kuma-prometheus-sd.run.xds_sd.discoverer closing a connection ... {"streamID": 22674}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.773Z ERROR kuma-prometheus-sd.run.xds_sd.discoverer xDS stream terminated with an error {"streamID": 22674, "error": "failed to start an xDS stream: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"", "errorVerbose": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"\nfailed to start an xDS stream\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds/v1.(*streamDiscoverer).Run\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/v1/stream.go:55\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds.(*discoverer).Run.func1\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/xds.go:57\nruntime.goexit\n\t/home/circleci/go/src/runtime/asm_amd64.s:1371"}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.774Z INFO kuma-prometheus-sd.run.xds_sd.discoverer creating a gRPC client for Monitoring Assignment Discovery Service (MADS) server ... {"streamID": 22675}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.774Z INFO kuma-prometheus-sd.run.xds_sd.discoverer starting an xDS stream ... {"streamID": 22675}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z INFO kuma-prometheus-sd.run.xds_sd.discoverer closing a connection ... {"streamID": 22675}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z ERROR kuma-prometheus-sd.run.xds_sd.discoverer xDS stream terminated with an error {"streamID": 22675, "error": "failed to start an xDS stream: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"", "errorVerbose": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:5676: connect: connection refused\"\nfailed to start an xDS stream\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds/v1.(*streamDiscoverer).Run\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/v1/stream.go:55\ngithub.com/kumahq/kuma/app/kuma-prometheus-sd/pkg/discovery/xds.(*discoverer).Run.func1\n\t/home/circleci/project/app/kuma-prometheus-sd/pkg/discovery/xds/xds.go:57\nruntime.goexit\n\t/home/circleci/go/src/runtime/asm_amd64.s:1371"}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z INFO kuma-prometheus-sd.run.xds_sd.discoverer creating a gRPC client for Monitoring Assignment Discovery Service (MADS) server ... {"streamID": 22676}
Sep 07 05:02:12 metrics kuma-prometheus-sd[3408]: 2021-09-07T05:02:12.775Z INFO kuma-prometheus-sd.run.xds_sd.discoverer starting an xDS stream ... {"streamID": 22676}```
from kuma-demo.
somehow this is not discovering
https://github.com/kumahq/kuma-demo/blob/master/vagrant/metrics/kuma/kuma-prometheus-sd.service#L8
thats why it's not producing a file
from kuma-demo.
Oh that makes sense. I guess it's configures for the wrong host/port :-(
from kuma-demo.
from kuma-demo.
This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed.
If you think this issue is still relevant please comment on it promptly or attend the next triage meeting.
from kuma-demo.
Closing in favour of the more generic #145
from kuma-demo.
Related Issues (20)
- what if some Deployment PODS do not want to inject kum-init sidecar,how to set? HOT 5
- how to set a global traffic permission so that k8s namespace pods cannot access k8s namespace pods HOT 2
- need to update vagrant demo to 1.3.0 HOT 6
- grafana vagrant does not showing any metrics as its not imported. HOT 3
- kind cluster need to be upgraded to latest kuma and kind. HOT 3
- Not Getting 2/2 PODS for Services or Deployment HOT 8
- Improving Quick-Start guide for Vagrant based setup HOT 5
- When running vagrant up deployment errors out HOT 2
- Refresh Vagrant demo HOT 7
- Discuss moving kuma-demo images under official kuma account HOT 1
- Demo Refresh Requirements HOT 2
- Can not connect to the backend. HOT 3
- Include `LimitNOFILE` setting into all `systemd` unit files in this repo
- Missing explanation of what demo does HOT 2
- redis can not start success- HOT 3
- vagrant install npm syscall symlink errors for backend and backend-v1 HOT 1
- vagrant up fails with "file not found" error
- How do I use kuma on the intranet that Can't connect to the internet . Because DP (data-plane) dynamically inject into my services pod, I cannot set up to pull DP (data-plane) docker images from my private mirror warehouse harbor. HOT 8
- Backend times out when connecting to the db: e.g. /items endpoint 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 kuma-demo.