consul/.changelog
Freddy f6de5ff635
Allow dialer to re-establish terminated peering (#16776)
Currently, if an acceptor peer deletes a peering the dialer's peering
will eventually get to a "terminated" state. If the two clusters need to
be re-peered the acceptor will re-generate the token but the dialer will
encounter this error on the call to establish:

"failed to get addresses to dial peer: failed to refresh peer server
addresses, will continue to use initial addresses: there is no active
peering for "<<<ID>>>""

This is because in `exchangeSecret().GetDialAddresses()` we will get an
error if fetching addresses for an inactive peering. The peering shows
up as inactive at this point because of the existing terminated state.

Rather than checking whether a peering is active we can instead check
whether it was deleted. This way users do not need to delete terminated
peerings in the dialing cluster before re-establishing them.
2023-04-03 12:07:45 -06:00
..
2022-04-21 17:34:40 -05:00
2022-11-14 11:23:02 -05:00
2022-05-31 15:33:56 -04:00
2022-06-23 11:13:25 -04:00
2022-04-05 15:26:14 +01:00
2022-04-05 09:08:37 -07:00
2022-04-14 14:57:47 -07:00
2022-04-18 11:41:10 -04:00
2022-04-25 10:19:26 -04:00
2022-04-22 13:13:11 -04:00
2022-05-04 08:50:59 -07:00
2022-10-05 13:35:07 -04:00
2022-05-09 10:07:19 -07:00
2022-05-16 14:13:23 -04:00
2022-05-24 10:22:53 -07:00
2022-05-25 14:28:42 +01:00
2022-06-09 17:04:05 -07:00
2022-06-07 18:48:39 +01:00
2022-06-10 12:05:05 -07:00
2022-06-16 18:26:25 -07:00
2022-06-29 09:46:37 -07:00
2022-08-02 10:48:00 -04:00
2022-07-04 10:48:36 +01:00
2022-07-07 17:42:47 +01:00
2022-07-08 15:23:00 -07:00
2022-07-14 18:22:12 +01:00
2022-07-22 10:33:50 -07:00
2022-08-30 17:00:11 +02:00
2022-08-09 12:22:39 -04:00
2022-11-14 15:35:12 -05:00
2023-02-06 11:12:43 -08:00
2022-08-22 13:42:13 -04:00
2022-09-09 15:02:01 +01:00
2022-09-06 10:28:59 -05:00
2022-09-16 17:57:10 -06:00
2022-09-15 12:59:16 -07:00
2022-10-10 13:35:12 -06:00
2022-10-07 09:54:08 -06:00
2022-09-29 22:25:10 -07:00
2022-10-11 17:00:32 -05:00
2022-10-13 16:09:32 -06:00
2022-10-13 16:45:03 +02:00
2022-10-12 17:16:01 -06:00
2022-10-13 10:43:57 -06:00
2022-10-13 16:03:15 -06:00
2022-10-13 18:54:39 -06:00
2022-10-19 16:37:50 -04:00
2022-10-20 14:32:42 -04:00
2022-10-24 16:12:08 -04:00
2022-10-28 10:51:12 -04:00
2023-01-06 12:13:40 -05:00
2023-02-06 15:35:52 +00:00
2023-01-27 09:17:07 -06:00
2023-02-10 13:32:19 -08:00
2023-03-18 14:43:22 -06:00