Advertisement
Guest User

psmdb connection problems

a guest
Aug 1st, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.70 KB | None | 0 0
  1. backup-agent 2022-08-01T11:53:49.883+0000 I NETWORK [js] Starting new replica set monitor for rs0/localhost:27017
  2. backup-agent 2022-08-01T11:53:49.883+0000 I CONNPOOL [ReplicaSetMonitor-TaskExecutor] Connecting to localhost:27017
  3. mongod {"t":{"$date":"2022-08-01T11:53:49.884+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:35104","connectionId":2533,"connectionCount":2117}}
  4. mongod {"t":{"$date":"2022-08-01T11:53:49.884+00:00"},"s":"I", "c":"NETWORK", "id":23838, "ctx":"conn2533","msg":"SSL mode is set to 'preferred' and connection to remote is not using SSL.","attr":{"connectionId":2533,"remote":"127.0.0.1:35104"}}
  5. mongod {"t":{"$date":"2022-08-01T11:53:49.885+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2533","msg":"client metadata","attr":{"remote":"127.0.0.1:35104","client":"conn2533","doc":{"driver":{"name":"NetworkInterfaceTL","version":"4.2.15-16"},"os":{"type":"Linux","name":"Red Hat Enterprise Linux Server release 7.9 (Maipo)","architecture":"x86_64","version":"Kernel 5.4.0-110-generic"}}}}
  6. backup-agent 2022-08-01T11:53:49.885+0000 I CONNPOOL [ReplicaSetMonitor-TaskExecutor] Connecting to vermittler-app-psmdb-db-rs0-2.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017
  7. backup-agent 2022-08-01T11:53:49.889+0000 I NETWORK [ReplicaSetMonitor-TaskExecutor] Confirmed replica set for rs0 is rs0/vermittler-app-psmdb-db-rs0-0.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017,vermittler-app-psmdb-db-rs0-1.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017,vermittler-app-psmdb-db-rs0-2.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017
  8. backup-agent 2022-08-01T11:53:49.890+0000 I CONNPOOL [ReplicaSetMonitor-TaskExecutor] Connecting to vermittler-app-psmdb-db-rs0-1.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017
  9. backup-agent 2022-08-01T11:53:49.890+0000 I CONNPOOL [ReplicaSetMonitor-TaskExecutor] Connecting to vermittler-app-psmdb-db-rs0-0.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017
  10. mongod {"t":{"$date":"2022-08-01T11:53:49.892+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.25.3.75:56390","connectionId":2534,"connectionCount":2118}}
  11. mongod {"t":{"$date":"2022-08-01T11:53:49.892+00:00"},"s":"I", "c":"NETWORK", "id":23838, "ctx":"conn2534","msg":"SSL mode is set to 'preferred' and connection to remote is not using SSL.","attr":{"connectionId":2534,"remote":"172.25.3.75:56390"}}
  12. mongod {"t":{"$date":"2022-08-01T11:53:49.892+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2534","msg":"client metadata","attr":{"remote":"172.25.3.75:56390","client":"conn2534","doc":{"driver":{"name":"NetworkInterfaceTL","version":"4.2.15-16"},"os":{"type":"Linux","name":"Red Hat Enterprise Linux Server release 7.9 (Maipo)","architecture":"x86_64","version":"Kernel 5.4.0-110-generic"}}}}
  13. backup-agent 2022-08-01T11:53:49.912+0000 I NETWORK [js] Marking host vermittler-app-psmdb-db-rs0-2.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017 as failed :: caused by :: Location40659: can't connect to new replica set master [vermittler-app-psmdb-db-rs0-2.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017], err: AuthenticationFailed: Authentication failed.
  14. backup-agent 2022-08-01T11:53:49.913+0000 E QUERY [js] Error: can't connect to new replica set master [vermittler-app-psmdb-db-rs0-2.vermittler-app-psmdb-db-rs0.development.svc.cluster.local:27017], err: AuthenticationFailed: Authentication failed. :
  15. backup-agent connect@src/mongo/shell/mongo.js:353:17
  16. backup-agent @(connect):3:6
  17. backup-agent 2022-08-01T11:53:49.915+0000 F - [main] exception: connect failed
  18. backup-agent 2022-08-01T11:53:49.915+0000 E - [main] exiting with code 1
  19. mongod {"t":{"$date":"2022-08-01T11:53:49.918+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2534","msg":"Connection ended","attr":{"remote":"172.25.3.75:56390","connectionId":2534,"connectionCount":2117}}
  20. mongod {"t":{"$date":"2022-08-01T11:53:49.918+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2533","msg":"Connection ended","attr":{"remote":"127.0.0.1:35104","connectionId":2533,"connectionCount":2116}}
  21. backup-agent + exit_status=0
  22. backup-agent ++ grep -E '^([0-9]+)$' /tmp/tmp.En2LKI3tLi
  23. backup-agent + rs_size=
  24. backup-agent + [[ 0 == 0 ]]
  25. backup-agent + [[ '' -ge 1 ]]
  26. backup-agent + sleep 25
  27. mongod {"t":{"$date":"2022-08-01T11:53:51.186+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"192.168.1.6:15902","connectionId":2535,"connectionCount":2117}}
  28. mongod {"t":{"$date":"2022-08-01T11:53:51.186+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn2535","msg":"Connection ended","attr":{"remote":"192.168.1.6:15902","connectionId":2535,"connectionCount":2116}}
  29. ----
  30. {"t":{"$date":"2022-08-01T12:11:08.318+00:00"},"s":"I", "c":"NETWORK", "id":22944, "ctx":"conn692","msg":"Connection ended","attr":{"remote":"172.25.4.30:41878","connectionId":692,"connectionCount":1050}}
  31. {"t":{"$date":"2022-08-01T12:11:08.328+00:00"},"s":"I", "c":"STORAGE", "id":22279, "ctx":"SignalHandler","msg":"shutdown: removing fs lock..."}
  32. {"t":{"$date":"2022-08-01T12:11:08.328+00:00"},"s":"I", "c":"-", "id":4784931, "ctx":"SignalHandler","msg":"Dropping the scope cache for shutdown"}
  33. {"t":{"$date":"2022-08-01T12:11:08.328+00:00"},"s":"I", "c":"FTDC", "id":4784926, "ctx":"SignalHandler","msg":"Shutting down full-time data capture"}
  34. {"t":{"$date":"2022-08-01T12:11:08.328+00:00"},"s":"I", "c":"FTDC", "id":20626, "ctx":"SignalHandler","msg":"Shutting down full-time diagnostic data capture"}
  35. {"t":{"$date":"2022-08-01T12:11:08.329+00:00"},"s":"I", "c":"CONTROL", "id":20565, "ctx":"SignalHandler","msg":"Now exiting"}
  36. {"t":{"$date":"2022-08-01T12:11:08.329+00:00"},"s":"I", "c":"CONTROL", "id":23138, "ctx":"SignalHandler","msg":"Shutting down","attr":{"exitCode":0}}
  37. Stream closed EOF for development/vermittler-app-psmdb-db-rs0-0 (mongod)
  38. ----
  39. 2022-08-01T12:13:40.012+0000 I CONNPOOL [ReplicaSetMonitor-TaskExecutor] Connecting to localhost:27017
  40. 2022-08-01T12:13:40.013+0000 W NETWORK [ReplicaSetMonitor-TaskExecutor] Unable to reach primary for set rs0
  41. 2022-08-01T12:13:40.013+0000 I NETWORK [ReplicaSetMonitor-TaskExecutor] Cannot reach any nodes for set rs0. Please check network connectivity and the status of the set. This has happened for 31 checks in a row.
  42. 2022-08-01T12:13:40.013+0000 E QUERY [js] Error: connect failed to replica set rs0/localhost:27017 :
  43. connect@src/mongo/shell/mongo.js:353:17
  44. @(connect):3:6
  45. 2022-08-01T12:13:40.015+0000 F - [main] exception: connect failed
  46. 2022-08-01T12:13:40.015+0000 E - [main] exiting with code 1
  47. + exit_status=0
  48. ++ grep -E '^([0-9]+)$' /tmp/tmp.YRIhmxXoKs
  49. + rs_size=
  50. + [[ 0 == 0 ]]
  51. + [[ '' -ge 1 ]]
  52. + sleep 50
  53. + rm /tmp/tmp.YRIhmxXoKs
  54. + exec pbm-agent
  55. 2022/08/01 12:15:00 connect to PBM: create mongo connection: mongo ping: server selection error: server selection timeout, current topology: { Type: ReplicaSetNoPrimary, Servers: [{ Addr: localhost:27017, Type: Unknown, Last error: connection() error occured during connection handshake: dial tcp [::1]:27017: connect: connection refused }, ] }
  56. Stream closed EOF for development/vermittler-app-psmdb-db-rs0-0 (backup-agent)
  57.  
  58. {"t":{"$date":"2022-08-01T12:17:17.452+00:00"},"s":"I", "c":"ACCESS", "id":20249, "ctx":"conn2520","msg":"Authentication failed","attr":{"mechanism":"SCRAM-SHA-256","speculative":true,"principalName":"clusterAdmin","authenticationDatabase":"admin","remote":"172.25.0.14:38156","extraInfo":{},"error":"AuthenticationFailed: SCRAM authentication failed, storedKey mismatch"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement