Advertisement
fkeles

tail-run-command-log.sh

May 10th, 2023
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.23 KB | Source Code | 0 0
  1. [opc@inst-v3aqc-instance-pool4ml3doz8p2wlcqekw2 ~]$ tail -f /var/log/oracle-cloud-agent/plugins/runcommand/runcommand.log
  2. 2023/05/10 09:12:06.432053 cmdscheduler.go:57: received signal for checking work
  3. 2023/05/10 09:12:06.432076 cmdscheduler.go:69: checking work
  4. 2023/05/10 09:12:06.432086 cmdscheduler.go:76: count of waiting headers size 0
  5. 2023/05/10 09:12:06.432090 cmdscheduler.go:83: command state size is 0
  6. 2023/05/10 09:12:06.442510 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/instance/ , status 200 OK
  7. 2023/05/10 09:12:06.453475 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/identity/ , status 200 OK
  8. 2023/05/10 09:12:06.492252 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/identity/ , status 200 OK
  9. 2023/05/10 09:12:06.775253 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/identity/ , status 200 OK
  10. 2023/05/10 09:12:06.775751 clients.go:237: command service endpoint: https://instance-agent.<region>.oci.oraclecloud.com
  11. 2023/05/10 09:12:06.775786 jitter.go:24: jittering for 9.797528943s
  12. 2023/05/10 09:12:16.681462 poll.go:402: poll command status: 200; size: 1 took: 107ms; with opc-request-id:<id>;
  13. 2023/05/10 09:12:16.684320 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/identity/ , status 200 OK
  14. 2023/05/10 09:12:16.721573 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/identity/ , status 200 OK
  15. 2023/05/10 09:12:16.862879 base_client.go:87: fetched metadata from http://169.254.169.254/opc/v2/identity/ , status 200 OK
  16. 2023/05/10 09:12:16.863189 clients.go:237: command service endpoint: https://instance-agent.<region>.oci.oraclecloud.com
  17. 2023/05/10 09:12:16.864704 jitter.go:30: jittering for 4s
  18. 2023/05/10 09:12:21.081744 pollack.go:111: acked info: ocid1.instanceagentcommand.oc1.uk-london-1.<command-id>, forCancel: false status: 204; took: 217ms; with opc-request-id:<id>;
  19. 2023/05/10 09:12:21.084379 pollsubmit.go:40: Submitted command ocid1.instanceagentcommand.oc1.uk-london-1.<command-id> in waiting bucket sequence:1
  20. 2023/05/10 09:12:21.084411 scheduler.go:131: SimpleScheduler scheduling to run PollCommand after 3m45.345841973s
  21. 2023/05/10 09:12:21.084426 cmdscheduler.go:57: received signal for checking work
  22. 2023/05/10 09:12:21.084433 cmdscheduler.go:69: checking work
  23. 2023/05/10 09:12:21.084548 cmdscheduler.go:76: count of waiting headers size 1
  24. 2023/05/10 09:12:21.084590 cmdscheduler.go:83: command state size is 1
  25. 2023/05/10 09:12:21.189272 cmdfetch.go:45: got command from ias: ocid1.instanceagentcommand.oc1.uk-london-1.<command-id> status: 200; took: 103ms; with opc-request-id:<id>;
  26. 2023/05/10 09:12:21.189608 exec.go:100: executing command:ocid1.instanceagentcommand.oc1.uk-london-1.<command-id>
  27. 2023/05/10 09:12:21.195092 cmdstatus.go:215: command state : SUCCEEDED , lifecycle: SUCCEEDED
  28. 2023/05/10 09:12:21.195166 cmdstatus.go:67: updating execution result: { InstanceAgentCommandId=ocid1.instanceagentcommand.oc1.uk-london-1.<command-id> UpdateInstanceAgentCommandExecutionDetails={ LifecycleState=SUCCEEDED OutputContent={ ExitCode=0 Message={"execExitCode":0,"runtime":"5ms"} Text=total 8
  29. drwxr-x---.  6 oracle-cloud-agent         oracle-cloud-agent   61 Mar 16 05:31 .
  30. drwxr-xr-x. 47 root                       root               4096 Apr 13 08:47 ..
  31. drwxr-xr-x.  9 root                       root                156 Mar 16 05:31 plugins
  32. drwxr-sr-x.  2 oracle-cloud-agent-updater oracle-cloud-agent    6 Mar 16 05:31 pool2
  33. drwxr-sr-x.  2 oracle-cloud-agent         oracle-cloud-agent   18 Apr 13 08:32 reattach
  34. drwxrwsr-x.  2 oracle-cloud-agent         oracle-cloud-agent 4096 May 10 09:12 tmp
  35.  TextSha256=<nil> } InstanceId=ocid1.instance.oc1.uk-london-1.<instance-id> } OpcRequestId=<nil> IfMatch=<nil> OpcRetryToken=<nil> RequestMetadata={0xc0003f37d0} }
  36. 2023/05/10 09:12:21.197429 jitter.go:30: jittering for 1s
  37. 2023/05/10 09:12:22.318003 cmdstatus.go:90: update command execution: ocid1.instanceagentcommand.oc1.uk-london-1.<command-id> status: 204; took: 120ms; with opc-request-id:<id>;
  38. 2023/05/10 09:12:22.319421 exec.go:156: marking command: ocid1.instanceagentcommand.oc1.uk-london-1.<command-id>, state: SUCCEEDED as done
  39. 2023/05/10 09:12:22.320618 exec.go:162: command state size is 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement