Giter Club home page Giter Club logo

Comments (9)

leecalcote avatar leecalcote commented on June 8, 2024 1

thank you for jumping to this, gents. I'm downgrading the priority to low as both @DelusionalOptimist and I are not experiencing the issue now....

from meshkit.

leecalcote avatar leecalcote commented on June 8, 2024

⚠️ @layer5io/adapter-maintainers this issue is preventing all communication between Meshery and Kubernetes.

from meshkit.

leecalcote avatar leecalcote commented on June 8, 2024

// @DelusionalOptimist

from meshkit.

DelusionalOptimist avatar DelusionalOptimist commented on June 8, 2024

No clue on how this would be fixed. Just observing 👀

from meshkit.

tangledbytes avatar tangledbytes commented on June 8, 2024

@leecalcote what is the kubernetes version? Also is this the docker environment or the k8s environment?

I could not replicate the issue on the following platforms:

  1. KinD (Kubernetes v1.20) - Meshery and its components running in Docker
  2. Minikube (Docker as driver - kubernetes v1.20) - Meshery and its components running in Docker
  3. Minikube (Virtual box as driver - kubernetes v1.20.5-rc.0) - Meshery and its components running in Docker

@kumarabd are you able to successfully replicate the issue?

from meshkit.

leecalcote avatar leecalcote commented on June 8, 2024

The issue has returned:

time="2021-05-13T03:07:25Z" level=error msg="[DetectServiceWithName] Unable to get services: Get \"https://kubernetes.docker.internal:6443/api/v1/services\": x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kubernetes\")"
time="2021-05-13T03:07:25Z" level=error msg="unable to scan Kubernetes: [DetectServiceWithName] Unable to get services: Get \"https://kubernetes.docker.internal:6443/api/v1/services\": x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kubernetes\")"
time="2021-05-13T03:07:25Z" level=info msg="retrieved user: {lcalcote   http://pbs.twimg.com/profile_images/880205475643441152/V_vhfnzb_normal.jpg}"
time="2021-05-13T03:07:25Z" level=error msg="Error creating a mesh client.: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup meshery-octarine on 10.96.0.10:53: no such host\""
time="2021-05-13T03:07:25Z" level=error msg="Error getting service mesh name.: rpc error: code = Unimplemented desc = unknown method ComponentInfo for service meshes.MeshService"
time="2021-05-13T03:07:25Z" level=error msg="Error creating a mesh client.: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup meshery-nginx-sm on 10.96.0.10:53: no such host\""
time="2021-05-13T03:07:25Z" level=error msg="Error getting service mesh name.: rpc error: code = Unimplemented desc = unknown method ComponentInfo for service meshes.MeshService"
time="2021-05-13T03:07:25Z" level=error msg="unable to get server version: Get \"https://kubernetes.docker.internal:6443/version?timeout=2m0s\": x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kubernetes\")"
time="2021-05-13T03:07:25Z" level=error msg="unable to get the list of nodes: Get \"https://kubernetes.docker.internal:6443/api/v1/nodes\": x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"kubernetes\")"
time="2021-05-13T03:07:25Z" level=info msg="retrieved user: {lcalcote   http://pbs.twimg.com/profile_images/880205475643441152/V_vhfnzb_normal.jpg}"

from meshkit.

leecalcote avatar leecalcote commented on June 8, 2024

@kumarabd please take this issue.

from meshkit.

kumarabd avatar kumarabd commented on June 8, 2024

Im unable to replicate this issue, tried Minikube in docker and hyper kit, docker-desktop.

from meshkit.

DelusionalOptimist avatar DelusionalOptimist commented on June 8, 2024

@kumarabd Ok so I've just encountered this again with the istio adapter. After a very long while 😬.
Info:

Meshery version: Latest master (commit 3de0359) with make run-local
Meshery-istio version: Latest master (commit 08fae8) with make run
Minikube: v1.20.0 with docker drivers
Kubernetes server: v1.20.2
Istioctl: v1.9.4

meshery-istio logs:

ERRO[2021-06-07T12:16:54Z] Error with istio operation: Error running istioctl command: Error: Get "https://192.168.49.2:8443/api?timeout=32s": x509: certificate signed by unknown authority  app=istio-adaptor code=istio_test_code probable-cause=None severity=1 short-description=None suggested-remediation=None
ERRO[2021-06-07T12:16:54Z] Error with istio operation: Error running istioctl command: Error: Get "https://192.168.49.2:8443/api?timeout=32s": x509: certificate signed by unknown authority  app=istio-adaptor code=istio_test_code probable-cause=None severity=1 short-description=None suggested-remediation=None

Meshery logs: https://pastebin.com/Jaf4mSZ1

Kubeconfig: https://pastebin.com/2dVTdVrE

UPDATE: As per abishek's suggestions, flattening the kubeconfig and uploading it fixed this.

from meshkit.

Related Issues (20)

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.