Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Generating tags...
- - accounts-db -> accounts-db:v0.5.1-240-ga7f275a
- - ledger-db -> ledger-db:v0.5.1-240-ga7f275a
- - ledgerwriter -> ledgerwriter:v0.5.1-240-ga7f275a
- - balancereader -> balancereader:v0.5.1-240-ga7f275a
- - transactionhistory -> transactionhistory:v0.5.1-240-ga7f275a
- - contacts -> contacts:v0.5.1-240-ga7f275a
- - userservice -> userservice:v0.5.1-240-ga7f275a
- - frontend -> frontend:v0.5.1-240-ga7f275a
- - loadgenerator -> loadgenerator:v0.5.1-240-ga7f275a
- Checking cache...
- - accounts-db: Found Locally
- - ledger-db: Found Locally
- - ledgerwriter: Found Locally
- - balancereader: Found Locally
- - transactionhistory: Found Locally
- - contacts: Found Locally
- - userservice: Found Locally
- - frontend: Found Locally
- - loadgenerator: Found Locally
- Starting test...
- Tags used in deployment:
- - accounts-db -> accounts-db:67d1314aeeeebfee7300cfc40603c68b2948feb4a177208e7723d8b9e13ffd4d
- - ledger-db -> ledger-db:367186ad54af3b8293c21396f4568fae4961a5a00ff2cc0e97283330985ebc26
- - ledgerwriter -> ledgerwriter:74217545fd951243bb4291e51caca73f8e8998226a7e6916b2c9d2664ebcb648
- - balancereader -> balancereader:731be35212765e720da2ab689e1b0bd99b6d88808058869a86a5333e4425a9be
- - transactionhistory -> transactionhistory:ad2c6c34cc35666366c52474c0faacd881246561ae88a6606348391c4758373d
- - contacts -> contacts:c58d09c060c5e6d37e2690523bdea73a0629fd59a1b0693663b66fa189f0371b
- - userservice -> userservice:e714745f62f4588018beeb451b0eeddbf9a4722ca39d0a2d4be286c79310cb91
- - frontend -> frontend:0dfe822bb39777a9af8eb82f929510a94a560cdf7f39d40be0918fbaece8649a
- - loadgenerator -> loadgenerator:6733a8a5811769c8915ce4ff8969aafa26e01a5af862795fa2c359e2fcaf0653
- Starting deploy...
- - secret/jwt-key unchanged
- - configmap/environment-config unchanged
- - configmap/service-api-config unchanged
- - configmap/demo-data-config unchanged
- - statefulset.apps/accounts-db created
- - service/accounts-db created
- - configmap/accounts-db-config unchanged
- - statefulset.apps/ledger-db created
- - configmap/ledger-db-config unchanged
- - service/ledger-db created
- - deployment.apps/balancereader created
- - service/balancereader created
- - deployment.apps/contacts created
- - service/contacts created
- - deployment.apps/ledgerwriter created
- - service/ledgerwriter created
- - deployment.apps/transactionhistory created
- - service/transactionhistory created
- - deployment.apps/userservice created
- - service/userservice created
- - deployment.apps/frontend created
- - service/frontend created
- - deployment.apps/loadgenerator created
- Waiting for deployments to stabilize...
- - statefulset/accounts-db is ready. [8/9 deployment(s) still pending]
- - deployment/balancereader: creating container balancereader
- - pod/balancereader-684664dd89-xzq4d: creating container balancereader
- - deployment/contacts: waiting for rollout to finish: 0 of 1 updated replicas are available...
- - deployment/frontend: waiting for rollout to finish: 0 of 1 updated replicas are available...
- - deployment/ledgerwriter: waiting for rollout to finish: 0 of 1 updated replicas are available...
- - deployment/loadgenerator: waiting for rollout to finish: 0 of 1 updated replicas are available...
- - deployment/transactionhistory: creating container transactionhistory
- - pod/transactionhistory-bc59989fb-5krfl: creating container transactionhistory
- - deployment/userservice: waiting for rollout to finish: 0 of 1 updated replicas are available...
- - statefulset/ledger-db: creating container postgres
- - pod/ledger-db-0: creating container postgres
- - statefulset/ledger-db is ready. [7/9 deployment(s) still pending]
- - deployment/loadgenerator is ready. [6/9 deployment(s) still pending]
- - deployment/userservice: container userservice is backing off waiting to restart
- - pod/userservice-b7d76d877-sxbkb: container userservice is backing off waiting to restart
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Starting gunicorn 20.1.0", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Listening at: http://0.0.0.0:8080 (7)", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Using worker: gthread", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Booting worker with pid: 8", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "create_app | Starting userservice.", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "create_app | ✅ Tracing enabled.", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "ping | Compute Engine Metadata server unavailable on attempt 1 of 3. Reason: [Errno 111] Connection refused", "severity": "WARNING"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "ping | Compute Engine Metadata server unavailable on attempt 2 of 3. Reason: [Errno 111] Connection refused", "severity": "WARNING"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "ping | Compute Engine Metadata server unavailable on attempt 3 of 3. Reason: [Errno 111] Connection refused", "severity": "WARNING"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "_get_gce_credentials | Authentication failed using Compute Engine authentication due to unavailable metadata server.", "severity": "WARNING"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "exception | Exception in worker process", "severity": "ERROR"}
- > [userservice-b7d76d877-sxbkb userservice] Traceback (most recent call last):
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
- > [userservice-b7d76d877-sxbkb userservice] worker.init_process()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
- > [userservice-b7d76d877-sxbkb userservice] super().init_process()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
- > [userservice-b7d76d877-sxbkb userservice] self.load_wsgi()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
- > [userservice-b7d76d877-sxbkb userservice] self.wsgi = self.app.wsgi()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
- > [userservice-b7d76d877-sxbkb userservice] self.callable = self.load()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
- > [userservice-b7d76d877-sxbkb userservice] return self.load_wsgiapp()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
- > [userservice-b7d76d877-sxbkb userservice] return util.import_app(self.app_uri)
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 412, in import_app
- > [userservice-b7d76d877-sxbkb userservice] app = app(*args, **kwargs)
- > [userservice-b7d76d877-sxbkb userservice] File "/app/userservice.py", line 229, in create_app
- > [userservice-b7d76d877-sxbkb userservice] cloud_trace_exporter = CloudTraceSpanExporter()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/opentelemetry/exporter/cloud_trace/__init__.py", line 144, in __init__
- > [userservice-b7d76d877-sxbkb userservice] self.client: TraceServiceClient = client or TraceServiceClient()
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/google/cloud/trace_v2/services/trace_service/client.py", line 425, in __init__
- > [userservice-b7d76d877-sxbkb userservice] self._transport = Transport(
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/google/cloud/trace_v2/services/trace_service/transports/grpc.py", line 155, in __init__
- > [userservice-b7d76d877-sxbkb userservice] super().__init__(
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/google/cloud/trace_v2/services/trace_service/transports/base.py", line 111, in __init__
- > [userservice-b7d76d877-sxbkb userservice] credentials, _ = google.auth.default(
- > [userservice-b7d76d877-sxbkb userservice] File "/usr/local/lib/python3.10/site-packages/google/auth/_default.py", line 616, in default
- > [userservice-b7d76d877-sxbkb userservice] raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
- > [userservice-b7d76d877-sxbkb userservice] google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please see https://cloud.google.com/docs/authentication/getting-started
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "info | Worker exiting (pid: 8)", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "_shutdown | Stopping userservice.", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:53", "message": "info | Shutting down: Master", "severity": "INFO"}
- > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:53", "message": "info | Reason: Worker failed to boot.", "severity": "INFO"}
- - deployment/userservice failed. Error: container userservice is backing off waiting to restart.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement