Git Product home page Git Product logo

local-kyma's People

Contributors

adamwalach avatar crabtree avatar fmui avatar halamix2 avatar lanphan avatar pbochynski avatar tehcyx avatar valentinvieriu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

local-kyma's Issues

App connector test failed because of missing CA cert

The failed test: https://github.com/kyma-incubator/local-kyma/runs/1356724634?check_suite_focus=true#step:7:25

{"error":"Calling CSR URL failed with status '500' and body '{\n  \"code\": 500,\n  \"error\": \"Error while decoding pem block\"\n}'"}
registering commerce webservices
jq: error (at <stdin>:0): Cannot index string with string "name"
{"error":"Not connected to a kyma cluster, please re-connect"}
COMMERCE_WEBSERVICES_ID=

The kyma-gateway-certs-cacert had empty cacert field:

apiVersion: v1
data:
  cacert: ""
kind: Secret
metadata:
  annotations:
    meta.helm.sh/release-name: core
    meta.helm.sh/release-namespace: kyma-system
  creationTimestamp: "2020-11-05T06:13:45Z"
  labels:
    app.kubernetes.io/managed-by: Helm
  name: kyma-gateway-certs-cacert
  namespace: istio-system
  resourceVersion: "2990"
  selfLink: /api/v1/namespaces/istio-system/secrets/kyma-gateway-certs-cacert
  uid: 84332623-1653-42fe-b126-7c1e404f8eb0
type: Opaque

Failed to install components via helm

When running ./kyma-k3d.sh, I see that there are lots of error logs relating to installation below. It seems that helm repo is not up-to-dated? Please help to check and update, thanks (sorry that I don't know about this one to contribute PR). Noted that my script still completes successfully even getting these errors (pass all tests and I can access https://console.local.kyma.dev)

Release "core" does not exist. Installing it now.
Release "helm-broker" does not exist. Installing it now.
Release "service-catalog" does not exist. Installing it now.
Release "service-catalog-addons" does not exist. Installing it now.
Release "logging" does not exist. Installing it now.
Release "pod-preset" does not exist. Installing it now.
Release "monitoring" does not exist. Installing it now.
Release "dex" does not exist. Installing it now.
Release "cluster-users" does not exist. Installing it now.
Release "tracing" does not exist. Installing it now.
Release "application-connector" does not exist. Installing it now.
Release "rafter" does not exist. Installing it now.
Release "event-sources" does not exist. Installing it now.
Release "ory" does not exist. Installing it now.
Error: failed to download "resources/event-sources" (hint: running helm repo update may help)
Release "knative-provisioner-natss" does not exist. Installing it now.
Error: failed to download "resources/knative-provisioner-natss" (hint: running helm repo update may help)
Release "ingress-dns-cert" does not exist. Installing it now.
load.go:120: Warning: Dependencies are handled in Chart.yaml since apiVersion "v2". We recommend migrating dependencies to Chart.yaml.
Release "api-gateway" does not exist. Installing it now.
Release "kiali" does not exist. Installing it now.
Release "knative-eventing" does not exist. Installing it now.
Release "nats-streaming" does not exist. Installing it now.
Error: failed to download "resources/knative-eventing" (hint: running helm repo update may help)
Error: failed to download "resources/nats-streaming" (hint: running helm repo update may help)
Release "serverless" does not exist. Installing it now.
Release "console" does not exist. Installing it now.
Installing event-sources in the namespace kyma-system
Installing knative-provisioner-natss in the namespace knative-eventing
Installing nats-streaming in the namespace natss
Installing knative-eventing in the namespace knative-eventing
Release "event-sources" does not exist. Installing it now.
Error: failed to download "resources/event-sources" (hint: running helm repo update may help)
Release "knative-provisioner-natss" does not exist. Installing it now.
Error: failed to download "resources/knative-provisioner-natss" (hint: running helm repo update may help)
Release "nats-streaming" does not exist. Installing it now.
Error: failed to download "resources/nats-streaming" (hint: running helm repo update may help)
Release "knative-eventing" does not exist. Installing it now.
Error: failed to download "resources/knative-eventing" (hint: running helm repo update may help)
Installing knative-provisioner-natss in the namespace knative-eventing
Installing nats-streaming in the namespace natss
Installing event-sources in the namespace kyma-system
Installing knative-eventing in the namespace knative-eventing
Release "nats-streaming" does not exist. Installing it now.
Error: failed to download "resources/nats-streaming" (hint: running helm repo update may help)
Release "knative-provisioner-natss" does not exist. Installing it now.
Error: failed to download "resources/knative-provisioner-natss" (hint: running helm repo update may help)
Release "event-sources" does not exist. Installing it now.
Error: failed to download "resources/event-sources" (hint: running helm repo update may help)
Release "knative-eventing" does not exist. Installing it now.
Error: failed to download "resources/knative-eventing" (hint: running helm repo update may help)
Installing nats-streaming in the namespace natss
Installing knative-provisioner-natss in the namespace knative-eventing
Installing event-sources in the namespace kyma-system
Installing knative-eventing in the namespace knative-eventing
Release "nats-streaming" does not exist. Installing it now.
Error: failed to download "resources/nats-streaming" (hint: running helm repo update may help)
Release "knative-provisioner-natss" does not exist. Installing it now.
Error: failed to download "resources/knative-provisioner-natss" (hint: running helm repo update may help)
namespace/kyma-installer created
Release "event-sources" does not exist. Installing it now.
Error: failed to download "resources/event-sources" (hint: running helm repo update may help)
deployment.apps/kyma-installer created
Waiting for 20 command(s) executed in the background, elapsed time: 0 min 12 sec
Release "knative-eventing" does not exist. Installing it now.
Error: failed to download "resources/knative-eventing" (hint: running helm repo update may help)

Add information about kind and minikube

The scripts support also kind and minikube. The repository needs a fundamental update.

TO DO:

  • add section with comparison (fetures, speed, resource consumption)
  • unify script naming - apply convention

Istiod got problem when installing kyma

Hello,
I'm new to k8s and kyma, and trying to make kyma works on my local PC.
I did run command ./kyma-k3d.sh and got this problem below, would you please help me to give some advices what's problem with it?

lanphan@Lans-MacBook-Pro local-kyma % ./kyma-k3d.sh
2af08e21153c458f03cf570e88391d08a6ea95924225898f74c7f9756949af32
7bd408f3f3e78a18c418bb12d91a309eb13d3dd952d11e0a3d46a52b58a3b944
WARN[0000] No node filter specified
INFO[0000] Prep: Network
INFO[0000] Re-using existing network 'k3d-kyma' (2af08e21153c458f03cf570e88391d08a6ea95924225898f74c7f9756949af32)
INFO[0000] Created volume 'k3d-kyma-images'
INFO[0001] Creating node 'k3d-kyma-server-0'
INFO[0001] Creating LoadBalancer 'k3d-kyma-serverlb'
INFO[0001] Starting cluster 'kyma'
INFO[0001] Starting servers...
INFO[0001] Starting Node 'k3d-kyma-server-0'
INFO[0008] Starting agents...
INFO[0008] Starting helpers...
INFO[0008] Starting Node 'k3d-kyma-serverlb'
INFO[0013] (Optional) Trying to get IP of the docker host and inject it into the cluster as 'host.k3d.internal' for easy access
INFO[0015] Successfully added host record to /etc/hosts in 2/2 nodes and to the CoreDNS ConfigMap
INFO[0015] Cluster 'kyma' created successfully!
INFO[0015] --kubeconfig-update-default=false --> sets --kubeconfig-switch-context=false
INFO[0015] You can now use it like this:
kubectl config use-context k3d-kyma
kubectl cluster-info
Cluster created in 0 min 24 sec
✔ Istio core installed
✘ Istiod encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition
Deployment/istio-system/istiod
✘ Ingress gateways encountered an error: failed to wait for resource: resources not ready after 5m0s: timed out waiting for the condition
Deployment/istio-system/istio-ingressgateway

  • Pruning removed resources Error: failed to install manifests: errors occurred during operation

Thanks so much

Windows version

Hi,

Trying to make the same or similar script working for WSL2 with docker desktop for Windows.
I succeed with the installation only once. With exactly the same script (the previous version for k3d 1.x, not with k3d 3.0).
With the successful installation (apart of the certificate), all pods looked healthy. Except I didn't figure out what to do with the routing and hence Kyma console was not accessible.

But most of the time it just goes nowhere. What I mean is: during installation, it starts well but then loses the connection to cluster. And any command (like for example get all pods) is timing out.

Any plans to make it happen for WSL2? Or is it not the scope for PoC?
Or maybe anyone has any ideas how theoretically make it work with WSL2?

Add more checks for E2E test

There are some cases when App Conector fails, because the function is not returning the last order. It is not clear what is the root cause. If the event is not received or order details cannot be fetched with app gateway. Extend function code to cache information about incoming events in the separate object and add a check for that object.

jq is required in kyma-k3d.sh

Hi,

seems like jq is required during installation? Could you update the install script to check for it?
Sorry if I am wrong I am new to this ;)

after stopping and starting again cluster kyma does not start

As the cluster is consuming resources, I've tried to stop it when not deeded using k3d stop -n kyma, and then start it againa k3d start -n kyma.
It seems that after the whole cluster stabilises ( no pods in the CrashLoopBackOff state) after the start, when trying to login into console you get:
image

How to log into Console after restart k3d?

I did see that there is script ./kyma-k3d-start.sh , therefore I think I can stop it by using
k3d cluster stop kyma

Somehow it works (without error), but I cannot log into Console.
Is there anyway I can do to refresh token / refresh password so that I can log into Console after restart k3d?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.