Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove EC2 latent builders #222
Conversation
|
As a stopgap, I just logged into the EC2 admin console and terminated the linux builders as the spawned up. Since buildbot can't handle respawning them if they die, that should (hopefully) give us a window to land this before the next time buildbot is restarted. |
|
It looks like this removes the last remaining machines with 'linux1' style names (instead of servo-head, servo-linux1, etc.). If so, can you remove the corresponding entries in the top.sls and .travis.yml files? |
|
@aneeshusa Great catch - thanks! |
|
Can you do the same in the .travis.yml file? This should speed up Travis runs too! |
|
Ah, I removed it, but that comment also made it clear that we were not testing the style of |
|
Oops, good catch! I just checked on servo-master and it looks like there's still a |
|
Alive? That... is curious. I don't see any machines still up on linode or on Ec2 that should be linux2. I'm looking into how I can figure out its IP and see what machine that is right now. Good (and scary!) catch. |
|
On |
|
@aneeshusa Thanks! @metajack @edunham Can you please see if there is an EC2 box sitting in the Daala account with that IP (172.32.35.40) that's still sitting around and, if so, terminate it? |
|
@aneeshusa Great catch - it was a somehow still-alive EC2 builder from our previous account, so I couldn't see it. It has been terminated. |
|
Can you confirm whether (Did |
|
That's correct! They are all no longer being used. I don't think we ever instantiated a |
|
Great, those 4 are gone. By the way, there are a bunch of other machines that have tried to connect to the Salt master. You should check the output of |
|
Thanks, done! They're all either lingering from old configurations or result from manually standing up a machine and starting the salt minion service after they know where the salt master is but before I've changed the |
|
You actually don't need to change the |
| keypair_name="servo", | ||
| security_name="servo-test", | ||
| tags={"Name": "servo-%s" % s}, | ||
| user_data=make_user_data(s))) |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Feb 23, 2016
Member
I believe this is the only use of make_user_data, so that function can also be removed.
|
Another great catch - thanks! |
|
I think lines 9 and 10 are also unneeded now, since we only used the *_KEY variables in make_user_data. |
|
True! Removed from there and from the corresponding python code. |
| @@ -6,12 +6,10 @@ from buildbot.status.results import SUCCESS | |||
|
|
|||
| from passwords import HTTP_USERNAME, HTTP_PASSWORD, SLAVE_PASSWORD, CHANGE_PASSWORD | |||
| from passwords import GITHUB_DOC_TOKEN, GITHUB_STATUS_TOKEN, HOMU_BUILDBOT_SECRET | |||
| from passwords import AWS_ACCESS_KEY, AWS_SECRET_KEY | |||
| from passwords import MINION_PUBLIC_KEY, MINION_PRIVATE_KEY | |||
This comment has been minimized.
This comment has been minimized.
aneeshusa
Feb 23, 2016
Member
This line is no longer needed as well. In addition, we should remove these 4 variables from the passwords.py file and the test pillars.
|
Nice! I should have spent more time looking at this as a whole instead of just relying on you to do it all :-) I'll remove the keys from the pillar after there's r+ from one of the other maintainers. |
|
Haha, I just wish there was an easy way to do batch review: make a bunch of line comments and only send one email for all of them. Hope I didn't spam you too much! |
|
For the pillars - I'm not sure if you mean the real ones or the test ones, but just wanted to clarify. It would be nice to remove the 4 variables from the Travis test pillars in |
|
Aha, that makes perfect sense - got them! On Servo, we use http://reviewable.io, which lets us batch comments into a smaller number of e-mails. That said, I get > 1k GitHub emails per day, so 10 or 15 actually relevant ones are totally fine :-) |
|
Travis failure looks like an intermittent (likely a networking problem when downloading the Android SDK). It looks fine in Vagrant. |
|
OK, I'm going to squash and r=anneshusa :-) |
048ee14
to
49929b1
|
@bors-servo r=anneshusa |
|
|
Remove EC2 latent builders r? @Manishearth @edunham @metajack They continue to cause us problems; let's just stop using them, even for spillover. These problems include: 1) Hanging around long after no longer in use 2) Failing to `git` download immediately after spin-up 3) Prioritized by buildbot occasionally over our reserved instances, increasing billing costs <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/222) <!-- Reviewable:end -->
|
|
|
So many great catches - time to start a Also, a friendly note (noticed this on the TWIS blog also) - my username is spelled |
|
@aneeshusa I'm sorry about that! I don't know why my mind autocompletes incorrectly. I'll try to check TWiS more carefully :-( |
larsbergstrom commentedFeb 23, 2016
r? @Manishearth @edunham @metajack
They continue to cause us problems; let's just stop using them, even for spillover. These problems include:
gitdownload immediately after spin-up