-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redeploy and monitor NAT forwarders #1
Comments
The NAT Forwarders have been redeployed and are advertising under these two keys: 'NAT_AFFIX_FORWARDER' and 'NAT_AFFIX_FORWARDER--post-7209'. |
Thanks! I see 10 forwarders for each key. I can write a very simple monitoring test to make sure that there are at least 10 visible on the advertise service. I'll get this up first. |
I have attached a patch that modifies the existing NAT test we have in trunk: seattle/trunk/integrationtests/nat/test_nat_servers_running.py. You may find the patch here: test_nat_servers_running.py.patch Download |
I have reviewed the patch and it seems fine to me. |
I have slightly modified the patch reviewed by Monzur, to match the new format of nat_forwarder_common_lib.NAT_FORWARDER_KEY (see: r7274). This is committed on r7275. |
What was the specific issue with r7253? I don't see an issue discussed, apart from what's on the patch description. (BTW, the patch in r7272 essentially removes randomization: shuffle permutes the list in-place, sample returns a new list). |
Originally I was going to deploy multiple forwarders with different keys, however I thought you and I had discussed about it and we had agreed that it wouldn't be a big change for a forwarder to advertise under multiple keys (when we needed the two different keys for testing). So I modified the forwarder to take in a list of keys rather than just a string of one key. |
Okay, I see. Sorry if I was unclear on how to achieve the advertisement of multiple keys. My setup has been multiple instances of the forwarder, running on different ports, advertising different keys. Zero changes required (other than local ones in the instances I started). |
FYI, r7318 fixes the reversed() issue. |
There are no NAT forwarders left announcing. These must be redeployed ASAP -- we are holding up a bunch of people who are relying on our systems to work!
We also need to monitor the forwarders' availability, and be notified on problems. They have become critical infrastructure.
The text was updated successfully, but these errors were encountered: