Mark D. Roth
0e1c63a7a1
xds: don't report TRANSIENT_FAILURE when we're told to drop all
5 years ago
Yash Tibrewal
c80fdb09a5
Reviewer comments
5 years ago
Yash Tibrewal
ab9cb78e4d
Reviewer comments
5 years ago
ZhenLian
fe7f50a324
fix clang-format issue
5 years ago
Mark D. Roth
d4fb5ea436
update service config parsing as per recent spec change
5 years ago
Mark D. Roth
d7311d7d12
update new code to use new upb map API
5 years ago
Mark D. Roth
38f02d8e2b
xds: NACK EDS update with sparse priorities
5 years ago
Ashitha Santhosh
3651424ea4
Moved k[Min/Max]FrameSize variables to header file.
5 years ago
Mark D. Roth
343b5403df
xds: Send RDS request when retrying ADS call.
5 years ago
Donna Dionne
70ac4b6418
Basic Parsing, building service config, and Picking are all exercised
...
with basic tests.
5 years ago
jiangtaoli2016
4d41a56e17
SSL peer match name case-insensitive
5 years ago
April Schleck
fe426fc6f5
Make check_call_host not segfault when overridden_target_name_ is null.
...
This was broken by 40dd4a3301
.
5 years ago
jiangtaoli2016
951abee174
Revert "Append old ca.pem"
...
This reverts commit 13c6b6c612
.
5 years ago
jiangtaoli2016
13c6b6c612
Append old ca.pem
5 years ago
jiangtaoli2016
3799b7b80c
Update test creds README
5 years ago
Mark D. Roth
5cd4f8140e
xds: Fix dumb reversed conditional in log message
5 years ago
jiangtaoli2016
c36af6e8df
Change object-c test credentials
5 years ago
Mark D. Roth
611cf644bc
Use wait_for_ready for xds calls.
5 years ago
Donna Dionne
3e19b04abf
Fixing the error message.
5 years ago
Donna Dionne
e5432a73f8
Adding an error to properly report credential missing CreateXdsChannel.
...
This will allow the failure to properly shutdown everything like this:
I0318 17:23:32.444358867 27538 xds_client.cc:1811] [xds_client 0x55ea110cff10] creating xds client
I0318 17:23:32.444401674 27538 xds_client.cc:1819] [xds_client 0x55ea110cff10] creating channel to trafficdirector.googleapis.com:443
E0318 17:23:32.444461219 27538 xds_client.cc:1826] [xds_client 0x55ea110cff10] failed to create xds channel: {"created":"@1584552212.444450255","description":"no credential found","file":"/home/donnadionne/v128/grpc/src/core/ext/filters/client_channel/xds/xds_channel.cc","file_line":36}
E0318 17:23:32.444515988 27538 xds_resolver.cc:118] Failed to create xds client -- channel will remain in TRANSIENT_FAILURE: {"created":"@1584552212.444450255","description":"no credential found","file":"/home/donnadionne/v128/grpc/src/core/ext/filters/client_channel/xds/xds_channel.cc","file_line":36}
I0318 17:23:32.444613149 27538 completion_queue.cc:788] cq_end_op_for_pluck(cq=0x55ea110cfa10, tag=0x7ffd7e2fb1b0, error="No Error", done=0x55ea10c9b035, done_arg=0x55ea110d7310, storage=0x55ea110d7380)
I0318 17:23:32.444667902 27538 completion_queue.cc:1319] RETURN_EVENT[0x55ea110cfa10]: OP_COMPLETE: tag:0x7ffd7e2fb1b0 OK
I0318 17:23:32.444726001 27538 completion_queue.cc:1425] grpc_completion_queue_destroy(cq=0x55ea110cfa10)
I0318 17:23:32.444768059 27538 completion_queue.cc:1419] grpc_completion_queue_shutdown(cq=0x55ea110cfa10)
I0318 17:23:32.444812370 27538 init.cc:212] grpc_shutdown(void)
2: Failed to pick subchannel
I0318 17:23:32.444928463 27538 call.cc:573] grpc_call_unref(c=0x55ea110d6320)
I0318 17:23:32.445024834 27538 metadata_array.cc:34] grpc_metadata_array_destroy(array=0x7ffd7e2fb770)
I0318 17:23:32.445071369 27538 metadata_array.cc:34] grpc_metadata_array_destroy(array=0x7ffd7e2fb720)
Greeter received: RPC failed
I0318 17:23:32.445153945 27538 channel.cc:510] grpc_channel_destroy(channel=0x55ea110c7a80)
I0318 17:23:32.445203614 27538 xds_client.cc:1846] [xds_client 0x55ea110cff10] shutting down xds client
I0318 17:23:32.445247579 27538 ref_counted.h:199] xds_client:0x55ea110cff18 /home/donnadionne/v128/grpc/src/core/ext/filters/client_channel/xds/xds_client.cc:1860 unref 1 -> 0 XdsClient::Orphan()
I0318 17:23:32.445289154 27538 xds_client.cc:1839] [xds_client 0x55ea110cff10] destroying xds client
I0318 17:23:32.445353536 27538 init.cc:212] grpc_shutdown(void)
I0318 17:23:32.445404973 27538 init.cc:212] grpc_shutdown(void)
Instead of silently like this:
I0318 01:10:03.085766343 8544 xds_client.cc:1811] [xds_client 0x55fe23fa3f10] creating xds client
I0318 01:10:03.085809647 8544 xds_client.cc:1819] [xds_client 0x55fe23fa3f10] creating channel to trafficdirector.googleapis.com:443
I0318 01:10:03.085904230 8544 ref_counted.h:103] xds_client:0x55fe23fa3f18 /home/donnadionne/v128/grpc/src/core/ext/filters/client_channel/xds/xds_client.cc:1831 ref 1 -> 2 XdsClient+ChannelState
E0318 01:10:03.085946286 8544 xds_client.cc:483] assertion failed: channel_ != nullptr
5 years ago
ZhenLian
738272f3a8
[ImproveTLS] add a wrapper to error_detail in C core args
5 years ago
Mark D. Roth
5927f9b625
Gracefully switch xds policy instances when cluster name changes, and other LRS-related fixes.
5 years ago
Ashitha Santhosh
72112d034e
Added tests.
5 years ago
jiangtaoli2016
91bfc400d3
Update test credentials to use 2048-bit RSA keys
5 years ago
Mark D. Roth
d812d9d557
fix duplicate LDS update detection
5 years ago
Donna Dionne
d469f31198
Address code review comment of renaming
5 years ago
jiangtaoli2016
7bbdaf699d
Treat SNI mismatch as fatal
5 years ago
Mark D. Roth
4c200b4300
If an EDS update replaces all localities in a priority, go into CONNECTING.
5 years ago
Mark D. Roth
d89a70e152
fix potential crash
5 years ago
Mark D. Roth
10266416c7
when swapping out watchers, combine xds requests
5 years ago
Yash Tibrewal
1ac5f4dd27
Lazily initialize starting_cpu_ in ExecCtx
5 years ago
Mark D. Roth
af62a34ae5
Improve xds logging.
5 years ago
Mark D. Roth
86cbef7f72
clang-format
5 years ago
Mark D. Roth
19895fb3c7
Don't set route_config_name when it comes in LDS response.
5 years ago
Mark D. Roth
2520a81a66
Don't NACK empty updates.
5 years ago
Ashitha Santhosh
6227144964
Implemented Frame Size Negotiation in ALTS for gRPC C++.
5 years ago
Matthew Stevenson
5c8f4f97b7
Add TSI_CLOSE_NOTIFY result.
5 years ago
Donna Dionne
7a146722db
Harded coded a service config to point to xds_routing_experimental
...
With just 1 action, which has 1 child policy: cds_experimental
Basically wrapping the previous cds_experimental config inside the new
xds_routing_experimental
Tested to make sure all current tests still pass.
This is just a skeleton code to allow new parsing code to be added and
tested.
5 years ago
Donna Dionne
0fa6782cb8
Traffic Splitting RDS Policy
...
Copy and pasted WeightedTarget to be the base of RDS.
Commit the original WeightedTarget copy for easy comparison for future
commits.
5 years ago
Zhen Lian
cbc977204b
[ImproveTLS] fix memory leak issue from users' perspective
5 years ago
yang-g
976fff1797
Create a macro to allow custom dualstack socket
5 years ago
Esun Kim
b308241343
Fix clang-tidy issues
5 years ago
Esun Kim
415d41f9e8
Rerun clang-formatter-7
5 years ago
Donna Dionne
d5689c37ed
Converting AdsServiceImpl to a Fake
...
- Allow Resources to be set
- Allow clients to subscribe/unsubscribe to resources
- Managing, storing, and versioning resources correctly based on updates
- Correct ACK/NACK according to XDS protocol
- Started a separate blocking thread to be used for stream read
- Handling both requests from clients and updates from tests and respond
with the correct version of resource
- Consolidated all 4 resources (LDS, CDS, EDS, RDS) to share common code
- Updated all tests to use the fake properly
- Fixed potential crash cases in the subchannel thread for clean TSAN,
UBSAN runs
5 years ago
Mark D. Roth
cce34cd52b
xds: include port in VirtualHost domain matching
5 years ago
Yash Tibrewal
2cdab491a3
Cleanup
5 years ago
Matthew Stevenson
caf55b5745
Add comments on the use of TlsFetchKeyMaterials.
5 years ago
Matthew Stevenson
278468db0c
Modify TlsFetchKeyMaterials comments.
5 years ago
Mark D. Roth
19e28b1353
Refactor code for gracefully switching child LB policies.
5 years ago
Matthew Stevenson
8b072eb7ac
Remove comment.
5 years ago