kbhattac / coolretailer Goto Github PK
View Code? Open in Web Editor NEWMicroservices with Istio, gRPC, Redis, BigQuery, Spring Boot, Spring Cloud and Stackdriver
License: Apache License 2.0
Microservices with Istio, gRPC, Redis, BigQuery, Spring Boot, Spring Cloud and Stackdriver
License: Apache License 2.0
STEPS TO REPRODUCE
--2019-03-07 11:35:12-- https://raw.githubusercontent.com/BestBuyAPIs/open-data-set/master/products.json
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39685207 (38M) [text/plain]
Saving to: ‘products.json.1’
products.json.1 100%[=====================================================================================>] 37.85M 210MB/s in 0.2s
2019-03-07 11:35:13 (210 MB/s) - ‘products.json.1’ saved [39685207/39685207]
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< com.coolretailer:queryservice >--------------------
[INFO] Building queryservice 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:2.1.1.RELEASE:run (default-cli) > test-compile @ queryservice >>>
[WARNING] The POM for com.coolretailer:protobuf:jar:1.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.559 s
[INFO] Finished at: 2019-03-07T11:35:22+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project queryservice: Could not resolve dependencies for project com.coolretailer:queryservice:jar:1.0.0: Failure to find com.coolretailer:protobuf:jar:1.0.0 in https://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Creating gs://coolretailer-gcs-bucket-kxysj3jrh327pliqnbe4-1551953559/...
ServiceException: 409 Bucket coolretailer-gcs-bucket-kxysj3jrh327pliqnbe4-1551953559 already exists.
CommandException: No URLs matched: products.nd.json
Dataset 'cool-retailer-plb02:coolretailer' successfully created.
BigQuery error in load operation: Error processing job 'cool-retailer-plb02:bqjob_r396448bec35229f3_0000016957b8f485_1': An internal error occurred and the request
could not be completed. Error: 9724253
Failure details:
--[no-]issue-client-certificate
flag.clusters create
with the flag --metadata disable-legacy-endpoints=true
.Installation script breaks with error: ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=400, message=Master version "1.10.9-gke.7" is unsupported.
Starting deploy.sh
Terminal shows:
. Starting the setup process in project coolretailer-2...
. Creating a service account coolretailer-app-1553854075...
Created service account [coolretailer-app-1553854075].
Service Account email is empty. Exiting.
Running the deploy.sh again results in error that service accounts already exists, but does continue afterwards.
Perhaps insert short delay after service account is created?
Running ./deply.sh produces errors:
WARNING: Starting in 1.12, new clusters will not have a client certificate issued. You can manually enable (or disable) the issuance of the client certificate using the `--[no-]issue-client-certificate` flag.
WARNING: Starting in 1.12, default node pools in new clusters will have their legacy Compute Engine instance metadata endpoints disabled by default. To create a cluster with legacy instance metadata endpoints disabled in the default node pool, run `clusters create` with the flag `--metadata disable-legacy-endpoints=true`.
This will enable the autorepair feature for nodes. Please see https://cloud.google.com/kubernetes-engine/docs/node-auto-repair for more information on node autorepairs.
ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=400, message=Master version "1.11.7-gke.4" is unsupported.
Fetching cluster endpoint and auth data.
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=404, message=Not found: projects/coolretailer-3/zones/europe-west4-a/clusters/coolretailer.
No cluster named 'coolretailer' in coolretailer-3.
Script continues and repeatedly fails at connecting:
Unable to connect to the server: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "https://storage.googleapis.com/gke-release/istio/release/1.0.3-gke.0/stackdriver/stackdriver-tracing.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "https://storage.googleapis.com/gke-release/istio/release/1.0.3-gke.0/stackdriver/stackdriver-tracing.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "https://storage.googleapis.com/gke-release/istio/release/1.0.3-gke.0/stackdriver/stackdriver-tracing.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
and
019-03-29 11:39:08 (59.6 MB/s) - ‘./helm/helm-v2.11.0-linux-amd64.tar.gz’ saved [19149273/19149273]
unable to recognize "kiali.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "kiali.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "kiali.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "kiali.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
and
. Starting deployments...
unable to recognize "kubernetes-manifests/redis/redis-master.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "kubernetes-manifests/redis/redis-master.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "kubernetes-manifests/redis/redis-slave.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "kubernetes-manifests/redis/redis-slave.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "./kubernetes-manifests/dataservice.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
unable to recognize "./kubernetes-manifests/dataservice.yaml": Get https://35.204.255.219/api?timeout=32s: dial tcp 35.204.255.219:443: i/o timeout
and
The actions are performedin teardown.sh
Deleting GCR images
WARNING: Implicit ":latest" tag specified: gcr.io/plb-coolretailer/queryservice
ERROR: (gcloud.container.images.delete) [gcr.io/plb-coolretailer/queryservice:latest] is not a valid name. Expected tag in the form "base:tag" or "tag" or digest in the form "sha256:<digest>"
WARNING: Implicit ":latest" tag specified: gcr.io/plb-coolretailer/cacheservice
ERROR: (gcloud.container.images.delete) [gcr.io/plb-coolretailer/cacheservice:latest] is not a valid name. Expected tag in the form "base:tag" or "tag" or digest in the form "sha256:<digest>"
WARNING: Implicit ":latest" tag specified: gcr.io/plb-coolretailer/dataservice
ERROR: (gcloud.container.images.delete) [gcr.io/plb-coolretailer/dataservice:latest] is not a valid name. Expected tag in the form "base:tag" or "tag" or digest in the form "sha256:<digest>"
WARNING: Implicit ":latest" tag specified: gcr.io/plb-coolretailer/loadgenerator
ERROR: (gcloud.container.images.delete) [gcr.io/plb-coolretailer/loadgenerator:latest] is not a valid name. Expected tag in the form "base:tag" or "tag" or digest in the form "sha256:<digest>"
Looking in container registry, no images are listed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.