Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Won't Fix
-
1.7.0
-
None
-
None
Description
Trying to test Upgrade for OVA image.
Started CentOS 7 VM and connected it to OVA instance:
[[email protected] log]$ sudo pmm-admin check-network PMM Network Status Server Address | 192.168.0.149 Client Address | 192.168.0.109 * System Time NTP Server (0.pool.ntp.org) | 2018-02-21 15:19:35 +0400 +04 PMM Server | 2018-02-21 11:19:35 +0000 GMT PMM Client | 2018-02-21 15:19:35 +0400 +04 PMM Server Time Drift | OK PMM Client Time Drift | OK PMM Client to PMM Server Time Drift | OK * Connection: Client --> Server -------------------- ------- SERVER SERVICE STATUS -------------------- ------- Consul API OK Prometheus API OK Query Analytics API OK Connection duration | 904.99µs Request duration | 1.69017ms Full round trip | 2.59516ms * Connection: Client <-- Server No metric endpoints registered.
[[email protected] log]$ sudo pmm-admin list pmm-admin 1.7.0 PMM Server | 192.168.0.149 (password-protected) Client Name | pmp Client Address | 192.168.0.109 Service Manager | linux-systemd No services under monitoring.
And now trying to add mysql instance:
$ sudo pmm-admin add mysql --socket=/tmp/mysql_sandbox20996.sock --port=20996 --user msandbox --password msandbox [linux:metrics] Error adding linux metrics: "systemctl" failed: exit status 1, Failed to execute operation: Access denied [[email protected] log]$ sudo pmm-admin list pmm-admin 1.7.0 PMM Server | 192.168.0.149 (password-protected) Client Name | pmp Client Address | 192.168.0.109 Service Manager | linux-systemd -------------- ----- ----------- -------- ------------ -------- SERVICE TYPE NAME LOCAL PORT RUNNING DATA SOURCE OPTIONS -------------- ----- ----------- -------- ------------ -------- linux:metrics pmp 42000 NO - [[email protected] log]$ sudo pmm-admin rm --all Error removing one of the services: "systemctl" failed: exit status 1, Failed to execute operation: Access denied