pmm-admin config --server-insecure-tls --server-url not working

Install PMM2 server

# yum install pmm2-client

config setup

# pmm-admin config --server-insecure-tls --server-url=https://admin:admin@172.17.10.101:443
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: .

# pmm-admin config --server-insecure-tls --server-url=https://admin:admin@172.17.10.101:443 --debug
DEBUG 2020-06-26 07:48:31.139416174Z: Running: pmm-agent --server-address=172.17.10.101:443 --server-username=admin --server-password=admin --server-insecure-tls --debug setup 172.17.11.52 generic me-db003
DEBUG 2020-06-26 07:48:31.202213474Z: Result: &commands.configResult{Warning:"", Output:"Checking local pmm-agent status...\npmm-agent is running.\nRegistering pmm-agent on PMM Server...\nFailed to register pmm-agent on PMM Server: ."}
DEBUG 2020-06-26 07:48:31.202615547Z: Error: &exec.ExitError{ProcessState:(*os.ProcessState)(0xc00037b340), Stderr:[]uint8{0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x34, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x35, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x79, 0x73, 0x71, 0x6c, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x35, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x35, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x35, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x73, 0x71, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x49, 0x4e, 0x46, 0x4f, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x35, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x55, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x72, 0x64, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x36, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x36, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x50, 0x4f, 0x53, 0x54, 0x20, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x48, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30, 0x2e, 0x31, 0x3a, 0x37, 0x37, 0x37, 0x37, 0xd, 0xa, 0x55, 0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x47, 0x6f, 0x2d, 0x68, 0x74, 0x74, 0x70, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x33, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2d, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x67, 0x7a, 0x69, 0x70, 0xd, 0xa, 0xd, 0xa, 0x7b, 0x7d, 0xa, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x37, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4f, 0x4b, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x39, 0x31, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x44, 0x61, 0x74, 0x65, 0x3a, 0x20, 0x46, 0x72, 0x69, 0x2c, 0x20, 0x32, 0x36, 0x20, 0x4a, 0x75, 0x6e, 0x20, 0x32, 0x30, 0x32, 0x30, 0x20, 0x30, 0x37, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x20, 0x47, 0x4d, 0x54, 0xd, 0xa, 0x47, 0x72, 0x70, 0x63, 0x2d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0xd, 0xa, 0xd, 0xa, 0x7b, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x22, 0x2f, 0x75, 0x73, 0x72, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x6f, 0x6e, 0x61, 0x2f, 0x70, 0x6d, 0x6d, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x6d, 0x6d, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x2c, 0x22, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x32, 0x2e, 0x38, 0x2e, 0x30, 0x22, 0x7d, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x37, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x20, 0x3c, 0x6e, 0x69, 0x6c, 0x3e, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x31, 0x37, 0x37, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x50, 0x4f, 0x53, 0x54, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x4e, 0x6f, 0x64, 0x65, 0x2f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x48, 0x6f, 0x73, 0x74, 0x3a, 0x20, 0x31, 0x37, 0x32, 0x2e, 0x31, 0x37, 0x2e, 0x31, 0x30, 0x2e, 0x31, 0x30, 0x31, 0x3a, 0x34, 0x34, 0x33, 0xd, 0xa, 0x55, 0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x20, 0x47, 0x6f, 0x2d, 0x68, 0x74, 0x74, 0x70, 0x2d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x31, 0x2e, 0x31, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x31, 0x35, 0x34, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x42, 0x61, 0x73, 0x69, 0x63, 0x20, 0x59, 0x57, 0x52, 0x74, 0x61, 0x57, 0x34, 0x36, 0x59, 0x57, 0x52, 0x74, 0x61, 0x57, 0x34, 0x3d, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0xd, 0xa, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2d, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x67, 0x7a, 0x69, 0x70, 0xd, 0xa, 0xd, 0xa, 0x7b, 0x22, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49, 0x43, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x22, 0x2c, 0x22, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x6d, 0x65, 0x2d, 0x64, 0x62, 0x30, 0x30, 0x33, 0x22, 0x2c, 0x22, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3a, 0x22, 0x31, 0x37, 0x32, 0x2e, 0x31, 0x37, 0x2e, 0x31, 0x31, 0x2e, 0x35, 0x32, 0x22, 0x2c, 0x22, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x2f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x2f, 0x34, 0x63, 0x34, 0x33, 0x38, 0x65, 0x32, 0x31, 0x39, 0x34, 0x33, 0x39, 0x34, 0x35, 0x37, 0x61, 0x61, 0x30, 0x32, 0x65, 0x35, 0x61, 0x35, 0x61, 0x33, 0x63, 0x64, 0x34, 0x34, 0x61, 0x36, 0x32, 0x22, 0x2c, 0x22, 0x64, 0x69, 0x73, 0x74, 0x72, 0x6f, 0x22, 0x3a, 0x22, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x22, 0x7d, 0xa, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x32, 0x30, 0x30, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, 0x20, 0x34, 0x30, 0x34, 0x20, 0x4e, 0x6f, 0x74, 0x20, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x30, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6b, 0x65, 0x65, 0x70, 0x2d, 0x61, 0x6c, 0x69, 0x76, 0x65, 0xd, 0xa, 0x44, 0x61, 0x74, 0x65, 0x3a, 0x20, 0x46, 0x72, 0x69, 0x2c, 0x20, 0x32, 0x36, 0x20, 0x4a, 0x75, 0x6e, 0x20, 0x32, 0x30, 0x32, 0x30, 0x20, 0x30, 0x37, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x34, 0x20, 0x47, 0x4d, 0x54, 0xd, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x6e, 0x67, 0x69, 0x6e, 0x78, 0xd, 0xa, 0xd, 0xa, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x44, 0x45, 0x42, 0x55, 0x1b, 0x5b, 0x30, 0x6d, 0x5b, 0x32, 0x30, 0x32, 0x30, 0x2d, 0x30, 0x36, 0x2d, 0x32, 0x36, 0x54, 0x31, 0x36, 0x3a, 0x34, 0x38, 0x3a, 0x33, 0x31, 0x2e, 0x32, 0x30, 0x30, 0x2b, 0x30, 0x39, 0x3a, 0x30, 0x30, 0x5d, 0x20, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x20, 0x26, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x7b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x3a, 0x34, 0x30, 0x34, 0x2c, 0x20, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x28, 0x2a, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x29, 0x28, 0x30, 0x78, 0x63, 0x30, 0x30, 0x30, 0x33, 0x64, 0x32, 0x32, 0x30, 0x30, 0x29, 0x7d, 0x20, 0x20, 0x1b, 0x5b, 0x33, 0x37, 0x6d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x1b, 0x5b, 0x30, 0x6d, 0x3d, 0x73, 0x65, 0x74, 0x75, 0x70, 0xa}}
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: .
DEBUG 2020-06-26 07:48:31.202735712Z: exit status 1, stderr:
INFO[2020-06-26T16:48:31.174+09:00] Using /usr/local/percona/pmm2/exporters/node_exporter component=setup
INFO[2020-06-26T16:48:31.175+09:00] Using /usr/local/percona/pmm2/exporters/mysqld_exporter component=setup
INFO[2020-06-26T16:48:31.175+09:00] Using /usr/local/percona/pmm2/exporters/mongodb_exporter component=setup
INFO[2020-06-26T16:48:31.175+09:00] Using /usr/local/percona/pmm2/exporters/postgres_exporter component=setup
INFO[2020-06-26T16:48:31.175+09:00] Using /usr/local/percona/pmm2/exporters/proxysql_exporter component=setup
INFO[2020-06-26T16:48:31.175+09:00] Using /usr/local/percona/pmm2/exporters/rds_exporter component=setup
DEBU[2020-06-26T16:48:31.176+09:00] POST /local/Status HTTP/1.1
Host: 127.0.0.1:7777
User-Agent: Go-http-client/1.1
Content-Length: 3
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip

{}
component=setup
DEBU[2020-06-26T16:48:31.177+09:00] HTTP/1.1 200 OK
Content-Length: 91
Content-Type: application/json
Date: Fri, 26 Jun 2020 07:48:31 GMT
Grpc-Metadata-Content-Type: application/grpc

{"config_filepath":"/usr/local/percona/pmm2/config/pmm-agent.yaml","agent_version":"2.8.0"} component=setup
DEBU[2020-06-26T16:48:31.177+09:00] Status error: component=setup
DEBU[2020-06-26T16:48:31.177+09:00] POST /v1/management/Node/Register HTTP/1.1
Host: 172.17.10.101:443
User-Agent: Go-http-client/1.1
Content-Length: 154
Accept: application/json
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/json
Accept-Encoding: gzip

{"node_type":"GENERIC_NODE","node_name":"me-db003","address":"172.17.11.52","machine_id":"/machine_id/4c438e219439457aa02e5a5a3cd44a62","distro":"linux"}
component=setup
DEBU[2020-06-26T16:48:31.200+09:00] HTTP/1.1 404 Not Found
Content-Length: 0
Connection: keep-alive
Date: Fri, 26 Jun 2020 07:48:34 GMT
Server: nginx

component=setup
DEBU[2020-06-26T16:48:31.200+09:00] Register error: &node.RegisterNodeDefault{_statusCode:404, Payload:(*node.RegisterNodeDefaultBody)(0xc0003d2200)} component=setup

Hi,
Could you make sure that server 172.17.11.52 and pmm server (172.17.10.101) are located in the same subnetwork?

1 Like

yes.
both server’s subnet is 255.255.0.0.

yes. The two servers are on the same subnetwork.
172.17.10.101 (subnet 255.255.0.0) 
172.17.11.52 (subnet 255.255.0.0) 

1 Like

Could you perform the next command on the server 172.17.11.52 ?
curl -k -v -u admin:admin https://172.17.10.101/ping



I tried it.


# curl -k -v -u admin:admin https://172.17.10.101/ping
* About to connect() to 172.17.10.101 port 443 (#0)
* Trying 172.17.10.101...
* Connected to 172.17.10.101 (172.17.10.101) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: O=Main Org.
* start date: 1月 15 13:33:24 2020 GMT
* expire date: 1月 14 13:33:24 2021 GMT
* common name: (nil)
* issuer: O=Main Org.
* Server auth using Basic with user 'admin'
> GET /ping HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.29.0
> Host: 172.17.10.101
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Fri, 26 Jun 2020 16:42:52 GMT
< Content-Type: application/json
< Content-Length: 20
< Connection: keep-alive
< Grpc-Metadata-Content-Type: application/grpc
< Strict-Transport-Security: max-age=63072000; includeSubDomains
< X-Frame-Options: DENY
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-control: no-store
< Pragma: no-cache
<
* Connection #0 to host 172.17.10.101 left intact
{"version":"1.17.3"}

ahhh…you are using pmm2 client with pmm1 server…

I see. I understand.
I thought that I could install pmm2 server by using percona/pmm-server: latest.I’m going to try using percona/pmm-server:2.
Thanks for your support.





No problem!  The reason we haven’t flipped “latest” to pmm2 yet is because there are a few parity items we’d like to get out and several are in flight. 

I’ve got it.


# pmm-admin config --server-insecure-tls --server-url=https://admin:admin@172.17.10.101:443
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Registered.
Configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml updated.
Reloading pmm-agent configuration...
Configuration reloaded.
Checking local pmm-agent status...
pmm-agent is running.

1 Like