-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Describe the bug
Below are our kn services currently running (specifically producer and consumer):
When we run the command ./test-client -addr producer.default.192.168.1.240.sslip.io:80
we get the error
could not greet: rpc error: code = Unimplemented desc = unknown service helloworld.Greeter
We also get a similar error when running make invoker
When invoking the producer function with ./invoker -port 50051 -dbg -time 60 -rps 0.016667
we get the following error:
DEBU[2022-09-18T16:29:54.773560018-06:00] Debug logging is enabled INFO[2022-09-18T16:29:54.773674012-06:00] Reading the endpoints from the file: endpoints.json DEBU[2022-09-18T16:29:54.773823436-06:00] Invoking: producer.default.192.168.1.240.sslip.io:80 WARN[2022-09-18T16:29:56.486666637-06:00] Failed to invoke producer.default.192.168.1.240.sslip.io:80, err=rpc error: code = Unimplemented desc = unknown service helloworld.Greeter DEBU[2022-09-18T16:29:56.486812565-06:00] Invoked producer.default.192.168.1.240.sslip.io in 1712988 usec
To Reproduce
Follow commands underneath https://github.com/ease-lab/vSwarm/blob/main/docs/running_benchmarks.md, specifically step 2. We tried both ./invoker
and the alternative ./test-client
Expected behavior
We expected not to see any errors so we could advance to the next step (tracing)
Logs
Our service-producer and service-consumer files were as follows:
service-producer.yaml:
apiVersion: serving.knative.dev/v1 kind: Service metadata: name: producer namespace: default spec: template: spec: containers: - image: docker.io/vhiveease/chained-functions-serving-producer:latest imagePullPolicy: Always args: ["-addr", "consumer.default.svc.cluster.local"] ports: # For
h2c, see https://knative.tips/networking/http2/ - name: h2c containerPort: 80 env: - name: GUEST_PORT # Port on which the firecracker-containerd container is accepting requests value: "50051" - name: GUEST_IMAGE # Container image to use for firecracker-containerd container value: "docker.io/vhiveease/fibonacci-python:latest"
service-consumer.yaml:
apiVersion: serving.knative.dev/v1 kind: Service metadata: name: consumer namespace: default spec: template: spec: containers: - image: docker.io/vhiveease/chained-functions-serving-consumer:latest imagePullPolicy: Always ports: # For
h2c, see https://knative.tips/networking/http2/ - name: h2c containerPort: 80 env: - name: GUEST_PORT # Port on which the firecracker-containerd container is accepting requests value: "50051" - name: GUEST_IMAGE # Container image to use for firecracker-containerd container value: "docker.io/vhiveease/fibonacci-python:latest"
When we attempted to run the test-client alternative since make invoker
was not working, we tried every combination of 50051, 80 in containerPort and GUEST_PORT. Specifically, the combination above (80/50051) returned the error Could not invoke gRPC function: rpc error: code = Unimplemented desc =”
while all other combinations resulted in either a stalling error or a no connection error.