Stat summary requesting wrong node ID

Description

User Impact:

Affects user for first time usage.

Steps to Reproduce:
1. Run pmm-server inside docker

2. Run agent.

 

3. In grafana select newly created node (not pmm-server) 

 

Actual Result:
In system summary is:
No pmm-agent running on this node

Expected Result:
Summary info about system

Additional information

Request URL:
http://localhost/v1/management/Actions/StartPTSummary returns 404.
Because in request payload is empty node_id. Also happens to me that it wasn't empty but invalid.

If i list nodes, I can see assigned node id.

After a while on page (~10min), correct request is made and then it's working. After refresh it's not working again.

I couldn't remove old logs.zip. Use the newer one.

pmm-admin status

pmm-agent --version

pmm-admin inventory list agents

How to test

None

How to document

None

Attachments

9

Activity

Show:

Nailya Kutlubaeva 
December 10, 2020 at 12:09 PM

I asked about this behaviour and as I understand we can't fixed it, so there are 3 ways:
1) Wait a minute until all metrics will be displayed
2) Select Node
3) Refresh the dashboard

should we try to find a way how to fix it?

Nailya Kutlubaeva 
December 9, 2020 at 8:54 PM
(edited)

Probably used default pmm-agent.yaml file because I was able to reproduce the problem with default options.
If user opens Home dashboard immediately after installation he can't see metrics from client's instance:


and if user clicks on any these "N/A" values Dasboard will be opened for Node_name pmm_server and client's node


The problem can be fixed with page refresh's or waiting for a couple of minutes.

Nailya Kutlubaeva 
December 9, 2020 at 12:55 PM

How did you install pmm2-client? With ./install script and then run pmm-agent setup.., right?

Dávid Mikuš 
December 9, 2020 at 9:06 AM
(edited)

I added video (little buggy-tearing). Not sure what else I could try to reproduce it. 
Also pmm-admin inventory list agents.
And no, I didn't updated config manually.

Nurlan Moldomurov 
December 9, 2020 at 8:36 AM

Have you updated pmm-agent config manually? And if you did, why?

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

Needs Doc

Affects versions

Environment

Browser version:  Google Chrome 87.0.4280.88 
Linux distribution and version: Manjaro 20.2
How PMM Client was installed: via tar.gz archive,
How PMM Server was installed: Docker image

Created December 8, 2020 at 1:35 PM
Updated March 6, 2024 at 3:31 AM