Hi everyone,
I was wondering if somebody could help me out, I am very new to grpc and
xds.
I noticed there was sample xds_greeter and xds_greeter_client sample apps
in the helloworld examples of grpc and I just wanted to try it out.
*Using Istio 1.13.0 and Kubernetes v1.23.3*
*GRPC_TRACE=api ./xds_greeter_server *
I0505 08:19:57.511545094 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.511686156 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.511697509 14420 credentials.cc:101]
grpc_server_credentials_release(creds=0x12eefd0)
I0505 08:19:57.511714132 14420 init.cc:168]
grpc_shutdown(void)
I0505 08:19:57.511891719 14420 xds_server_config_fetcher.cc:1238]
grpc_server_config_fetcher_xds_create()
I0505 08:19:57.520659098 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.520707693 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.520722833 14420 completion_queue.cc:513]
grpc_completion_queue_create_internal(completion_type=0, polling_type=0)
I0505 08:19:57.520742860 14420 server_builder.cc:327] Synchronous
server. Num CQs: 1, Min pollers: 1, Max Pollers: 2, CQ timeout (msec): 10000
I0505 08:19:57.520754735 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.520832042 14420 server.cc:1477]
grpc_server_create(0x7ffe4a66bd30, (nil))
I0505 08:19:57.520903043 14420 server.cc:1595]
grpc_server_set_config_fetcher(server=0x12f0fe0, config_fetcher=0x1312dc0)
I0505 08:19:57.520920067 14420 server.cc:1489]
grpc_server_register_completion_queue(server=0x12f0fe0, cq=0x147d590,
reserved=(nil))
I0505 08:19:57.520937592 14420 server.cc:1509]
grpc_server_register_method(server=0x12f0fe0,
method=/helloworld.Greeter/SayHello, host=(null), flags=0x00000000)
I0505 08:19:57.520981654 14420 server.cc:1509]
grpc_server_register_method(server=0x12f0fe0,
method=/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo,
host=(null), flags=0x00000000)
I0505 08:19:57.521000727 14420 server_secure_chttp2.cc:74]
grpc_server_add_secure_http2_port(server=0x12f0fe0, addr=0.0.0.0:50051,
creds=0x130f9d0)
I0505 08:19:57.521121218 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.521131637 14420 completion_queue.cc:513]
grpc_completion_queue_create_internal(completion_type=0, polling_type=2)
I0505 08:19:57.521140849 14420 server.cc:1489]
grpc_server_register_completion_queue(server=0x12f0fe0, cq=0x12f8380,
reserved=(nil))
I0505 08:19:57.521190877 14420 server.cc:1509]
grpc_server_register_method(server=0x12f0fe0,
method=/grpc.health.v1.Health/Check, host=(null), flags=0x00000000)
I0505 08:19:57.521204256 14420 server.cc:1509]
grpc_server_register_method(server=0x12f0fe0,
method=/grpc.health.v1.Health/Watch, host=(null), flags=0x00000000)
I0505 08:19:57.521222952 14420 server.cc:1519]
grpc_server_start(server=0x12f0fe0)
I0505 08:19:57.521341887 14420 secure_channel_create.cc:153]
grpc_secure_channel_create(creds=0x12f58e0,
target=unix:///etc/istio/proxy/XDS, args=0x1312e20, reserved=(nil))
I0505 08:19:57.521381783 14420 init.cc:124]
grpc_init(void)
I0505 08:19:57.521604672 14420 metadata_array.cc:29]
grpc_metadata_array_init(array=0x1477ae0)
I0505 08:19:57.521616173 14420 metadata_array.cc:29]
grpc_metadata_array_init(array=0x1477b98)
I0505 08:19:57.521634155 14420 call.cc:1574] ops[0]:
SEND_INITIAL_METADATA(nil)
I0505 08:19:57.521830113 14420 call.cc:1574] ops[0]:
SEND_MESSAGE ptr=0x12f7c60
I0505 08:19:57.521850738 14420 call.cc:1574] ops[0]:
RECV_INITIAL_METADATA ptr=0x1477ae0
I0505 08:19:57.521860908 14420 call.cc:1574] ops[1]:
RECV_MESSAGE ptr=0x1477b48
I0505 08:19:57.521873023 14420 call.cc:1574] ops[0]:
RECV_STATUS_ON_CLIENT metadata=0x1477b98 status=0x1477bb0 details=0x1477bb8
I0505 08:19:57.522330478 14420 security_context.cc:266]
grpc_auth_context_add_cstring_property(ctx=0x14a36b0,
name=transport_security_type, value=insecure)
I0505 08:19:57.522347487 14420 security_context.cc:245]
grpc_auth_context_add_property(ctx=0x14a36b0, name=security_level,
value=TSI_SECURITY_NONE, value_length=17)
I0505 08:19:57.522383257 14420 security_context.cc:207]
grpc_auth_context_find_properties_by_name(ctx=0x14a36b0,
name=x509_pem_cert)
I0505 08:19:57.522391802 14420 security_context.cc:181]
grpc_auth_property_iterator_next(it=0x7ffe4a66b950)
I0505 08:19:57.522398674 14420 security_context.cc:181]
grpc_auth_property_iterator_next(it=0x7ffe4a66b950)
I0505 08:19:57.522641258 14420 server.cc:1577]
grpc_server_request_registered_call(server=0x12f0fe0,
registered_method=0x1314e50, call=0x1478870, deadline=0x14a21d8,
request_metadata=0x14a2210, optional_payload=0x14789b0,
cq_bound_to_call=0x12f8380, cq_for_notification=0x12f8380, tag=0x1478830)
I0505 08:19:57.522679920 14420 server.cc:1577]
grpc_server_request_registered_call(server=0x12f0fe0,
registered_method=0x1311590, call=0x14a6d40, deadline=0x14a2b08,
request_metadata=0x14a2b40, optional_payload=0x14a6e80,
cq_bound_to_call=0x12f8380, cq_for_notification=0x12f8380, tag=0x14a6d00)
I0505 08:19:57.522662905 14425 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x147d590, deadline=gpr_timespec { tv_sec:
6630848, tv_nsec: 180603499, clock_type: 0 }, reserved=(nil))
I0505 08:19:57.522706251 14420 xds_greeter_server.cc:82] Server
starting on 0.0.0.0:50051
I0505 08:19:57.522717886 14420 init.cc:124] grpc_init(void)
I0505 08:19:57.522736111 14420 init.cc:124] grpc_init(void)
I0505 08:19:57.522744993 14420 completion_queue.cc:513]
grpc_completion_queue_create_internal(completion_type=0, polling_type=0)
I0505 08:19:57.522755940 14420 server_builder.cc:327] Synchronous
server. Num CQs: 1, Min pollers: 1, Max Pollers: 2, CQ timeout (msec): 10000
I0505 08:19:57.522764454 14420 init.cc:124] grpc_init(void)
I0505 08:19:57.522767821 14424 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x12f8380, deadline=gpr_timespec { tv_sec:
9223372036854775807, tv_nsec: 0, clock_type: 1 }, reserved=(nil))
I0505 08:19:57.522820532 14420 server.cc:1477]
grpc_server_create(0x7ffe4a66bd30, (nil))
I0505 08:19:57.522863979 14420 server.cc:1595]
grpc_server_set_config_fetcher(server=0x12f1c60, config_fetcher=(nil))
I0505 08:19:57.522874641 14420 server.cc:1489]
grpc_server_register_completion_queue(server=0x12f1c60, cq=0x12ee440,
reserved=(nil))
I0505 08:19:57.522917925 14420 server.cc:1509]
grpc_server_register_method(server=0x12f1c60,
method=/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo,
host=(null), flags=0x00000000)
I0505 08:19:57.522939428 14420 server_chttp2.cc:41]
grpc_server_add_insecure_http2_port(server=0x12f1c60, addr=0.0.0.0:50052)
I0505 08:19:57.522977850 14420 socket_utils_common_posix.cc:429]
Disabling AF_INET6 sockets because ::1 is not available.
I0505 08:19:57.523025926 14420 socket_utils_common_posix.cc:353]
TCP_USER_TIMEOUT is available. TCP_USER_TIMEOUT will be used thereafter
I0505 08:19:57.523125017 14420 tcp_server_posix.cc:333] Failed to add
:: listener, the environment may not support IPv6:
{"created":"@1651738797.523009030","description":"Address family not
supported by
protocol","errno":97,"file":"/root/test/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":446,"os_error":"Address
family not supported by
protocol","syscall":"socket","target_address":"[::]:50052"}
I0505 08:19:57.523160646 14420 init.cc:124] grpc_init(void)
I0505 08:19:57.523169560 14420 completion_queue.cc:513]
grpc_completion_queue_create_internal(completion_type=0, polling_type=2)
I0505 08:19:57.523178604 14420 server.cc:1489]
grpc_server_register_completion_queue(server=0x12f1c60, cq=0x12f7c60,
reserved=(nil))
I0505 08:19:57.523496202 14420 server.cc:1509]
grpc_server_register_method(server=0x12f1c60,
method=/grpc.health.v1.Health/Check, host=(null), flags=0x00000000)
I0505 08:19:57.523514871 14420 server.cc:1509]
grpc_server_register_method(server=0x12f1c60,
method=/grpc.health.v1.Health/Watch, host=(null), flags=0x00000000)
I0505 08:19:57.523536105 14420 server.cc:1519]
grpc_server_start(server=0x12f1c60)
I0505 08:19:57.523619108 14420 server.cc:1577]
grpc_server_request_registered_call(server=0x12f1c60,
registered_method=0x1415200, call=0x14aaaf0, deadline=0x14aa778,
request_metadata=0x14aa7b0, optional_payload=0x14aac30,
cq_bound_to_call=0x12f7c60, cq_for_notification=0x12f7c60, tag=0x14aaab0)
I0505 08:19:57.523632486 14427 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x12ee440, deadline=gpr_timespec { tv_sec:
6630848, tv_nsec: 181591270, clock_type: 0 }, reserved=(nil))
I0505 08:19:57.523652581 14420 server.cc:1577]
grpc_server_request_registered_call(server=0x12f1c60,
registered_method=0x14a3370, call=0x14ab620, deadline=0x14ab238,
request_metadata=0x14ab270, optional_payload=0x14ab760,
cq_bound_to_call=0x12f7c60, cq_for_notification=0x12f7c60, tag=0x14ab5e0)
I0505 08:19:57.523677321 14420 xds_greeter_server.cc:88] Maintenance
server listening on 0.0.0.0:50052
I0505 08:19:57.523717963 14426 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x12f7c60, deadline=gpr_timespec { tv_sec:
9223372036854775807, tv_nsec: 0, clock_type: 1 }, reserved=(nil))
I0505 08:19:57.550729073 14425 call.cc:1574] ops[0]:
SEND_MESSAGE ptr=0x7fe140005b30
I0505 08:19:57.551044932 14425 call.cc:1574] ops[0]:
RECV_MESSAGE ptr=0x1477b48
I0505 08:20:01.065833874 14425 metadata_array.cc:34]
grpc_metadata_array_destroy(array=0x1477ae0)
I0505 08:20:01.065858217 14425 metadata_array.cc:34]
grpc_metadata_array_destroy(array=0x1477b98)
I0505 08:20:01.065866894 14425 call.cc:584]
grpc_call_unref(c=0x149d4a0)
I0505 08:20:02.065116258 14423 metadata_array.cc:29]
grpc_metadata_array_init(array=0x7fe130000c00)
I0505 08:20:02.065153690 14423 metadata_array.cc:29]
grpc_metadata_array_init(array=0x7fe130000cb8)
I0505 08:20:02.065173831 14423 call.cc:1574] ops[0]:
SEND_INITIAL_METADATA(nil)
I0505 08:20:02.065377925 14423 call.cc:1574] ops[0]:
SEND_MESSAGE ptr=0x7fe130005550
I0505 08:20:02.065399149 14423 call.cc:1574] ops[0]:
RECV_INITIAL_METADATA ptr=0x7fe130000c00
I0505 08:20:02.065409298 14423 call.cc:1574] ops[1]:
RECV_MESSAGE ptr=0x7fe130000c68
I0505 08:20:02.065422141 14423 call.cc:1574] ops[0]:
RECV_STATUS_ON_CLIENT metadata=0x7fe130000cb8 status=0x7fe130000cd0
details=0x7fe130000cd8
I0505 08:20:02.078620182 14425 call.cc:1574] ops[0]:
SEND_MESSAGE ptr=0x7fe1400037f0
I0505 08:20:02.078645509 14425 call.cc:1574] ops[0]:
RECV_MESSAGE ptr=0x7fe130000c68
I0505 08:20:07.529269822 14425 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x147d590, deadline=gpr_timespec { tv_sec:
6630858, tv_nsec: 187228516, clock_type: 0 }, reserved=(nil))
I0505 08:20:07.529775820 14427 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x12ee440, deadline=gpr_timespec { tv_sec:
6630858, tv_nsec: 187741753, clock_type: 0 }, reserved=(nil))
I0505 08:20:17.534263375 14427 completion_queue.cc:962]
grpc_completion_queue_next(cq=0x12ee440, deadline=gpr_timespec { tv_sec:
6630868, tv_nsec: 192225876, clock_type: 0 }, reserved=(nil))
*GRPC_VERBOSITY=info GRPC_TRACE=api ./xds_greeter_client *
I0505 08:20:01.053847791 14429 init.cc:124]
grpc_init(void)
I0505 08:20:01.053999236 14429 init.cc:124]
grpc_init(void)
I0505 08:20:01.054016260 14429 credentials.cc:43]
grpc_channel_credentials_release(creds=0x1cef020)
I0505 08:20:01.054054547 14429 init.cc:124]
grpc_init(void)
I0505 08:20:01.054065763 14429 secure_channel_create.cc:153]
grpc_secure_channel_create(creds=0x1cef050, target=xds:///helloworld:50051,
args=0x7ffc86b696f0, reserved=(nil))
I0505 08:20:01.054290054 14429 init.cc:124] grpc_init(void)
I0505 08:20:01.054497532 14429 init.cc:124] grpc_init(void)
I0505 08:20:01.054509824 14429 init.cc:168]
grpc_shutdown(void)
I0505 08:20:01.054522309 14429 channel.cc:431]
grpc_channel_register_call(channel=0x1cf3280,
method=/helloworld.Greeter/SayHello, host=(null), reserved=(nil))
I0505 08:20:01.054558121 14429 init.cc:168]
grpc_shutdown(void)
I0505 08:20:01.054567514 14429 init.cc:168]
grpc_shutdown(void)
I0505 08:20:01.054582673 14429 init.cc:124] grpc_init(void)
I0505 08:20:01.054592246 14429 completion_queue.cc:513]
grpc_completion_queue_create_internal(completion_type=1, polling_type=0)
I0505 08:20:01.054606651 14429 channel.cc:457]
grpc_channel_create_registered_call(channel=0x1cf3280, parent_call=(nil),
propagation_mask=ffff, completion_queue=0x1cf4250,
registered_call_handle=0x1cf3240, deadline=gpr_timespec { tv_sec:
9223372036854775807, tv_nsec: 0, clock_type: 1 }, reserved=(nil))
I0505 08:20:01.054640400 14429 grpc_context.cc:28]
grpc_census_call_set_context(call=0x1cf4460, census_context=(nil))
I0505 08:20:01.054679821 14429 call.cc:1991]
grpc_call_start_batch(call=0x1cf4460, ops=0x7ffc86b68f80, nops=6,
tag=0x7ffc86b692c0, reserved=(nil))
I0505 08:20:01.054698129 14429 call.cc:1574] ops[0]:
SEND_INITIAL_METADATA(nil)
I0505 08:20:01.054709845 14429 call.cc:1574] ops[1]:
SEND_MESSAGE ptr=0x1cf6090
I0505 08:20:01.054719650 14429 call.cc:1574] ops[2]:
RECV_INITIAL_METADATA ptr=0x7ffc86b69718
I0505 08:20:01.054728966 14429 call.cc:1574] ops[3]:
RECV_MESSAGE ptr=0x7ffc86b69350
I0505 08:20:01.054737174 14429 call.cc:1574] ops[4]:
SEND_CLOSE_FROM_CLIENT
I0505 08:20:01.054747971 14429 call.cc:1574] ops[5]:
RECV_STATUS_ON_CLIENT metadata=0x7ffc86b69768 status=0x7ffc86b69388
details=0x7ffc86b69390
I0505 08:20:01.063718905 14429 init.cc:124] grpc_init(void)
I0505 08:20:01.063833087 14429 secure_channel_create.cc:153]
grpc_secure_channel_create(creds=0x1cfe340,
target=unix:///etc/istio/proxy/XDS, args=0x1cf1040, reserved=(nil))
I0505 08:20:01.063868839 14429 init.cc:124] grpc_init(void)
I0505 08:20:01.064054252 14429 metadata_array.cc:29]
grpc_metadata_array_init(array=0x1e57560)
I0505 08:20:01.064066369 14429 metadata_array.cc:29]
grpc_metadata_array_init(array=0x1e57618)
I0505 08:20:01.064079396 14429 call.cc:1574] ops[0]:
SEND_INITIAL_METADATA(nil)
I0505 08:20:01.064271620 14429 call.cc:1574] ops[0]:
SEND_MESSAGE ptr=0x1cfbb20
I0505 08:20:01.064290648 14429 call.cc:1574] ops[0]:
RECV_INITIAL_METADATA ptr=0x1e57560
I0505 08:20:01.064300607 14429 call.cc:1574] ops[1]:
RECV_MESSAGE ptr=0x1e575c8
I0505 08:20:01.064312766 14429 call.cc:1574] ops[0]:
RECV_STATUS_ON_CLIENT metadata=0x1e57618 status=0x1e57630 details=0x1e57638
I0505 08:20:01.064787129 14429 security_context.cc:266]
grpc_auth_context_add_cstring_property(ctx=0x1cf0b00,
name=transport_security_type, value=insecure)
I0505 08:20:01.064802834 14429 security_context.cc:245]
grpc_auth_context_add_property(ctx=0x1cf0b00, name=security_level,
value=TSI_SECURITY_NONE, value_length=17)
I0505 08:20:01.064840786 14429 security_context.cc:207]
grpc_auth_context_find_properties_by_name(ctx=0x1cf0b00,
name=x509_pem_cert)
I0505 08:20:01.064849531 14429 security_context.cc:181]
grpc_auth_property_iterator_next(it=0x7ffc86b68b60)
I0505 08:20:01.064856920 14429 security_context.cc:181]
grpc_auth_property_iterator_next(it=0x7ffc86b68b60)
I0505 08:20:01.087538163 14429 call.cc:1574] ops[0]:
SEND_MESSAGE ptr=0x1cfbb20
I0505 08:20:01.087561860 14429 call.cc:1574] ops[0]:
RECV_MESSAGE ptr=0x1e575c8
E0505 08:20:02.066142896 14429 xds_resolver.cc:789] [xds_resolver
0x1cf6710] received error from XdsClient:
{"created":"@1651738802.066079681","description":"xds call
failed","file":"/root/test/src/core/ext/xds/xds_client.cc","file_line":1527}
I0505 08:20:02.066260522 14429 metadata_array.cc:34]
grpc_metadata_array_destroy(array=0x1e57560)
I0505 08:20:02.066275988 14429 metadata_array.cc:34]
grpc_metadata_array_destroy(array=0x1e57618)
I0505 08:20:02.066284456 14429 call.cc:584]
grpc_call_unref(c=0x1e76420)
I0505 08:20:02.066339091 14429 completion_queue.cc:774]
cq_end_op_for_pluck(cq=0x1cf4250, tag=0x7ffc86b692c0, error="OK",
done=0x6b95e5, done_arg=0x1cf53a0, storage=0x1cf5410)
I0505 08:20:02.066406891 14429 completion_queue.cc:1310]
RETURN_EVENT[0x1cf4250]: OP_COMPLETE: tag:0x7ffc86b692c0 OK
I0505 08:20:02.066433613 14429 completion_queue.cc:1416]
grpc_completion_queue_destroy(cq=0x1cf4250)
I0505 08:20:02.066441102 14429 completion_queue.cc:1410]
grpc_completion_queue_shutdown(cq=0x1cf4250)
I0505 08:20:02.066451968 14429 init.cc:168]
grpc_shutdown(void)
2: Resolver transient failure
I0505 08:20:02.066509927 14429 call.cc:584]
grpc_call_unref(c=0x1cf4460)
I0505 08:20:02.066537503 14429 metadata_array.cc:34]
grpc_metadata_array_destroy(array=0x7ffc86b69768)
I0505 08:20:02.066545734 14429 metadata_array.cc:34]
grpc_metadata_array_destroy(array=0x7ffc86b69718)
Greeter received: RPC failed
I0505 08:20:02.066561634 14429 channel.cc:498]
grpc_channel_destroy(channel=0x1cf3280)
I0505 08:20:02.066650744 14429 channel.cc:498]
grpc_channel_destroy(channel=0x1e1a520)
I0505 08:20:02.066769723 14429 init.cc:168]
grpc_shutdown(void)
I0505 08:20:02.066905352 14429 init.cc:168]
grpc_shutdown(void)
I0505 08:20:02.067290925 14429 init.cc:168]
grpc_shutdown(void)
Istio Logs:
warn grpcgen http2-client.proxyless has no service instance for port
50051
info ads LDS: PUSH request for node:http2-client.proxyless
resources:0 size:0B
info ads ADS: "10.244.0.185:37260" http2-client.proxyless-5237
terminated rpc error: code = Canceled desc = context canceled
info ads ADS: new connection for node:http2-client.proxyless-5238
warn grpcgen http2-client.proxyless has no service instance for port
50051
info ads LDS: PUSH request for node:http2-client.proxyless
resources:0 size:0B
info ads ADS: "10.244.0.185:38096" http2-client.proxyless-5238
terminated EOF
info ads ADS: new connection for node:http2-client.proxyless-5239
info ads LDS: PUSH request for node:http2-client.proxyless
resources:0 size:0B
info ads ADS: "10.244.0.185:38136" http2-client.proxyless-5239
terminated EOF
info ads ADS: new connection for node:http2-client.proxyless-5240
warn grpcgen http2-client.proxyless has no service instance for port
50051
info ads LDS: PUSH request for node:http2-client.proxyless
resources:0 size:0B
info ads ADS: "10.244.0.185:38152" http2-client.proxyless-5240
terminated rpc error: code = Canceled desc = context canceled
info ads ADS: new connection for node:http2-client.proxyless-5241
warn grpcgen http2-client.proxyless has no service instance for port
50051
info ads LDS: PUSH request for node:http2-client.proxyless
resources:0 size:0B
Does anybody have any suggestions?
Thanks,
Nemanja
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/0945b14c-9267-408e-b01f-facfe026deb2n%40googlegroups.com.