Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Support v0.10, v0.11, v1 of OSM #117

Open
draychev opened this issue Nov 17, 2021 · 0 comments
Open

Support v0.10, v0.11, v1 of OSM #117

draychev opened this issue Nov 17, 2021 · 0 comments

Comments

@draychev
Copy link
Contributor

Current error message when running osm-health with v1:

$ ./osm-health connectivity pod-to-pod bookbuyer/bookbuyer-78dcb7747b-kqjst bookstore/bookstore-v1-5d7585b6b9-5n9mx
3:59PM INF osm-health version: dev; 12f43f6b7ac8d446e7f29961f59d064a7edca3af; 2021-11-16 file=main.go:65 module=main
3:59PM TRC Looking for Pod with Name=bookbuyer-78dcb7747b-kqjst in namespace=bookbuyer file=pod.go:33 module=kubernetes/pod
3:59PM TRC Looking for pod bookbuyer/bookbuyer-78dcb7747b-kqjst file=pod.go:47 module=kubernetes/pod
3:59PM TRC Found Pod bookbuyer/bookbuyer-78dcb7747b-kqjst file=pod.go:50 module=kubernetes/pod
3:59PM TRC Looking for Pod with Name=bookstore-v1-5d7585b6b9-5n9mx in namespace=bookstore file=pod.go:33 module=kubernetes/pod
3:59PM TRC Looking for pod bookstore/bookstore-v1-5d7585b6b9-5n9mx file=pod.go:47 module=kubernetes/pod
3:59PM TRC Found Pod bookstore/bookstore-v1-5d7585b6b9-5n9mx file=pod.go:50 module=kubernetes/pod
3:59PM INF Testing connectivity from bookbuyer/bookbuyer-78dcb7747b-kqjst to bookstore/bookstore-v1-5d7585b6b9-5n9mx file=pod-to-pod.go:23 module=connectivity
3:59PM DBG Started OSM MeshConfig informer component=configurator file=client.go:100
3:59PM DBG [MeshConfig client] Waiting for MeshConfig informer's cache to sync component=configurator file=client.go:101
3:59PM DBG [meshconfig-added] OSM MeshConfig added event triggered a global proxy broadcast component=configurator file=client.go:112
3:59PM DBG [MeshConfig client] Cache sync for MeshConfig informer finished component=configurator file=client.go:108
{"level":"warn","time":"2021-11-16T15:59:55-08:00","message":"envoy container of pod bookbuyer-78dcb7747b-kqjst does not contain any logs"}
{"level":"warn","time":"2021-11-16T15:59:55-08:00","message":"envoy container of pod bookstore-v1-5d7585b6b9-5n9mx does not contain any logs"}
{"level":"warn","time":"2021-11-16T15:59:55-08:00","message":"osm-init container of pod bookbuyer-78dcb7747b-kqjst does not contain any logs"}
{"level":"warn","time":"2021-11-16T15:59:56-08:00","message":"osm-init container of pod bookstore-v1-5d7585b6b9-5n9mx does not contain any logs"}
1   Pass    Checking whether namespace bookbuyer and namespace bookstore are monitored by the same mesh
2   Pass    Checking whether namespace bookbuyer is annotated for automatic sidecar injection
3   Pass    Checking whether namespace bookstore is annotated for automatic sidecar injection
4   Pass    Checking whether namespace bookbuyer is monitored by OSM osm
5   Pass    Checking whether namespace bookstore is monitored by OSM osm
6   Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has at least 2 containers
7   Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has at least 2 containers
8   Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has a container with osm init image matching meshconfig init container image
9   Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has a container with osm init image matching meshconfig init container image
10  Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has a container with envoy image matching meshconfig envoy image
11  Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has a container with envoy image matching meshconfig envoy image
12  Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has a valid proxy UUID label
13  Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has a valid proxy UUID label
14  Pass    Checking whether pod bookstore/bookstore-v1-5d7585b6b9-5n9mx is referenced by a Kubernetes Endpoints resource
15  Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has events of type!=Normal
16  Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has events of type!=Normal
17  Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has bad (fatal/error/warning/fail) logs in envoy container
18  Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has bad (fatal/error/warning/fail) logs in envoy container
19  Pass    Checking whether pod bookbuyer-78dcb7747b-kqjst has bad (fatal/error/warning/fail) logs in osm-init container
20  Pass    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx has bad (fatal/error/warning/fail) logs in osm-init container
21  Pass    Checking whether destination pod bookstore-v1-5d7585b6b9-5n9mx has at least one service
---> Diagnostic info: found service(s) [bookstore] for destination pod 'bookstore/bookstore-v1-5d7585b6b9-5n9mx'
22  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with at least one destination endpoint
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused                                                                                     
23  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with 10.244.0.12 as a destination endpoint
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused                                                                                     
24  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with correct rds-outbound Envoy route
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
25  Fail    Checking whether bookstore/bookstore-v1-5d7585b6b9-5n9mx is configured with correct rds-inbound Envoy route
---> Error: Error retrieving proxy config for pod bookstore-v1-5d7585b6b9-5n9mx in namespace bookstore: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
26  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with correct outbound Envoy listener
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
27  Fail    Checking whether bookstore/bookstore-v1-5d7585b6b9-5n9mx is configured with correct inbound Envoy listener
---> Error: Error retrieving proxy config for pod bookstore-v1-5d7585b6b9-5n9mx in namespace bookstore: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
28  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with an envoy cluster referring to Pod bookstore/bookstore-v1-5d7585b6b9-5n9mx
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
29  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with a root-cert-for-mtls-outbound envoy secret
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
30  Fail    Checking whether bookstore/bookstore-v1-5d7585b6b9-5n9mx is configured with a root-cert-for-mtls-inbound envoy secret
---> Error: Error retrieving proxy config for pod bookstore-v1-5d7585b6b9-5n9mx in namespace bookstore: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
31  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst is configured with a service-cert envoy secret
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
32  Fail    Checking whether bookstore/bookstore-v1-5d7585b6b9-5n9mx is configured with a service-cert envoy secret
---> Error: Error retrieving proxy config for pod bookstore-v1-5d7585b6b9-5n9mx in namespace bookstore: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
33  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst has dynamic warming issues
---> Error: Error retrieving proxy config for pod bookbuyer-78dcb7747b-kqjst in namespace bookbuyer: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
34  Fail    Checking whether bookstore/bookstore-v1-5d7585b6b9-5n9mx has dynamic warming issues
---> Error: Error retrieving proxy config for pod bookstore-v1-5d7585b6b9-5n9mx in namespace bookstore: Error fetching url http://localhost:0/config_dump?include_eds: Get "http://localhost:0/config_dump?include_eds": dial tcp 127.0.0.1:0: connect: connection refused
35  Fail    Checking whether pod bookstore-v1-5d7585b6b9-5n9mx participates in a traffic split
---> Error: OSM Controller version could not be mapped to a TrafficSplit version. Supported versions are v0.5 through v0.9
36  Fail    Checking whether there is a Traffic Target with source pod bookbuyer-78dcb7747b-kqjst and destination pod bookstore-v1-5d7585b6b9-5n9mx in namespace bookstore
---> Error: OSM Controller version could not be mapped to a TrafficTarget version. Supported versions are v0.5 through v0.9
37  Fail    Checking whether Traffic Targets in namespace bookstore with source pod bookbuyer-78dcb7747b-kqjst and destination pod bookstore-v1-5d7585b6b9-5n9mx have valid routes (Kind: HTTPRouteGroup or TCPRoute)
---> Error: OSM Controller version could not be mapped to a TrafficTarget version. Supported versions are v0.5 through v0.9
38  Fail    Checking whether routes referenced by above matched TrafficTargets exist in namespace bookstore
---> Error: OSM Controller version could not be mapped to a TrafficTarget version. Supported versions are v0.5 through v0.9
39  Fail    Checking whether bookbuyer/bookbuyer-78dcb7747b-kqjst and bookstore/bookstore-v1-5d7585b6b9-5n9mx are configured with the correct  Envoy filter chains
---> Error: OSM Controller version could not be mapped to a TrafficTarget version. Supported versions are v0.5 through v0.9

We need to support v0.10, v0.11 and v1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant