Skip to content

Instantly share code, notes, and snippets.

@chaporgin
Created January 18, 2022 13:03
Show Gist options
  • Select an option

  • Save chaporgin/518f9634232fced8cb736f5c1d97bead to your computer and use it in GitHub Desktop.

Select an option

Save chaporgin/518f9634232fced8cb736f5c1d97bead to your computer and use it in GitHub Desktop.
chapson quick paste
2022/01/18 15:50:40 password reset was successful for role "@zenith" 47
{"level":"INFO","ts":"2022-01-18T15:50:40.026+0300","message":"/api/v1/clusters/gentle-wave-654294/roles/47/reset_password","status":200,"method":"POST","path":"/api/v1/clusters/gentle-wave-654294/roles/47/reset_password","query":"","ip":"::1","user-agent":"python-httpx/0.18.2","latency":0.037714917,"time":"2022-01-18T12:50:40Z"}
{"level":"DEBUG","ts":"2022-01-18T15:50:40.041+0300","message":"sql: query/select.users","middleware":"authorize","duration":0.001331,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}],"duration":0.001331,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}]}
{"level":"DEBUG","ts":"2022-01-18T15:50:40.041+0300","message":"authorized user id=40(zpdtjnhytx@example.com)","middleware":"authorize"}
{"level":"INFO","ts":"2022-01-18T15:50:40.053+0300","message":"/api/v1/clusters/gentle-wave-654294","status":200,"method":"GET","path":"/api/v1/clusters/gentle-wave-654294","query":"","ip":"::1","user-agent":"python-httpx/0.18.2","latency":0.013067,"time":"2022-01-18T12:50:40Z"}
operation #138 "apply_config" started
Stopping Docker container 6a230693afbf9cd13f8f5a4546206b2dc0c9680bd2e8482dddb4fc9f9571f323
{"level":"DEBUG","ts":"2022-01-18T15:50:40.064+0300","message":"sql: query/select.users","middleware":"authorize","duration":0.001346,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}],"duration":0.001346,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}]}
{"level":"DEBUG","ts":"2022-01-18T15:50:40.064+0300","message":"authorized user id=40(zpdtjnhytx@example.com)","middleware":"authorize"}
Removing Docker container 6a230693afbf9cd13f8f5a4546206b2dc0c9680bd2e8482dddb4fc9f9571f323
{"status":"Pulling from zenithdb/compute-node","id":"latest"}
{"status":"Digest: sha256:cb740ed12865cbb81abbb0d79a97e2801aaab5a069effd4591d76f082ea7dedf"}
{"status":"Status: Image is up to date for zenithdb/compute-node:latest"}
Starting Docker container 4970c9018ab769af64126817b071fa2924ae13ad748b17fe699e850a6ecaf885
Waiting for Docker container 4970c9018ab769af64126817b071fa2924ae13ad748b17fe699e850a6ecaf885 to become ready on 127.0.0.1:52552
Cannot start operation #138 "apply_config" on cluster #gentle-wave-654294, someone is holding the lock. We will try later if needed
{"level":"DEBUG","ts":"2022-01-18T15:50:45.184+0300","message":"sql: query/select.users","middleware":"authorize","duration":0.003498,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}],"duration":0.003498,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}]}
{"level":"DEBUG","ts":"2022-01-18T15:50:45.184+0300","message":"authorized user id=40(zpdtjnhytx@example.com)","middleware":"authorize"}
{"level":"INFO","ts":"2022-01-18T15:50:45.200+0300","message":"/api/v1/clusters","status":200,"method":"GET","path":"/api/v1/clusters","query":"","ip":"::1","user-agent":"python-httpx/0.18.2","latency":0.019559167,"time":"2022-01-18T12:50:45Z"}
{"level":"DEBUG","ts":"2022-01-18T15:50:45.218+0300","message":"sql: query/select.users","middleware":"authorize","duration":0.00624,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}],"duration":0.00624,"db.host":"localhost:5432","db.database":"postgres","sql.action":"query","sql.statement":"SELECT * FROM users WHERE id = $1","sql.args":[{"Name":"","Ordinal":1,"Value":40}]}
{"level":"DEBUG","ts":"2022-01-18T15:50:45.218+0300","message":"authorized user id=40(zpdtjnhytx@example.com)","middleware":"authorize"}
Cannot start operation #139 "delete_compute" on cluster #gentle-wave-654294, someone is holding the lock. We will try later if needed
{"level":"INFO","ts":"2022-01-18T15:50:45.250+0300","message":"/api/v1/clusters/gentle-wave-654294/delete","status":200,"method":"POST","path":"/api/v1/clusters/gentle-wave-654294/delete","query":"","ip":"::1","user-agent":"python-httpx/0.18.2","latency":0.037915583,"time":"2022-01-18T12:50:45Z"}
{"level":"INFO","ts":"2022-01-18T15:51:30.612+0300","message":"/api/v1/clusters/gentle-wave-654294/query","status":400,"method":"POST","path":"/api/v1/clusters/gentle-wave-654294/query","query":"","ip":"::1","user-agent":"python-httpx/0.18.2","latency":50.549623583,"time":"2022-01-18T12:51:30Z"}
Cluster.FinalizeState: active -> active
operation #138 "apply_config" succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment