Page MenuHomePhabricator
Feed Advanced Search

Jun 10 2017

epriestley added a comment to T12817: Move instances from repo012 to repo025.

The move completed without errors.

Jun 10 2017, 10:40 AM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

Instances are moving now.

Jun 10 2017, 10:08 AM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

Deploying, then picking this up again.

Jun 10 2017, 9:31 AM · Phacility, Ops

Jun 9 2017

epriestley closed T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster as Resolved.

I'm going to call this "resolved" since I migrated instances in T12817 successfully. There's followup work, but T12798 is probably a better point of consolidation for future work now than this task is.

Jun 9 2017, 11:51 PM · Ops, Phacility
epriestley closed T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster, a subtask of T11665: repo002.phacility.net is heavily loaded, as Resolved.
Jun 9 2017, 11:51 PM · Ops, Phacility
chad added a comment to T12817: Move instances from repo012 to repo025.

itsawesome

Jun 9 2017, 8:25 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

The disabled/suspended instances finished up with no apparent issues, so I expect to move the live instances tomorrow.

Jun 9 2017, 8:21 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

A verrrry minor thing is that because we always transfer a repository backup (even if it's empty), a migration always generates a repository directory on the far end. We could maaaybe have restore remove the directory if it's empty after the restore finishes to tidy this up just a touch.

Jun 9 2017, 7:46 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

I'm moving all the disabled/suspended instances now.

Jun 9 2017, 7:30 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

With those changes, bin/instances move completed successfully.

Jun 9 2017, 5:30 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

As a sort of aside, --global --instance X is really slow right now (about 10s), and will only get slower in the future: it loads every instance page by page over Conduit, then does the remaining filtering by name locally. But it gets the right result, so this is reasonable enough for the moment. I may try to tune this before moving a lot of instances.

Jun 9 2017, 5:23 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

I hit two more minor issues:

Jun 9 2017, 5:21 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

bin/host restore failed with this error:

Jun 9 2017, 5:04 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

I read and wrote the repository and verified that the data really ended up on db012 and repo025.

Jun 9 2017, 4:51 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

I launched yellow-underneathie.phacility.com with forced services dbx012 and repox025. My goal here is to check for any code I missed which makes the assumption that dbX = repoX. I believe we don't have any of this code, but if we do, this instance should point out whatever problems we have that still need to be cleaned up.

Jun 9 2017, 4:46 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.
  • Swap stuff finished up.
  • I merged master to stable for services/ to pick up bin/services sync --src ... --dst ....
  • I merged master to stable for instances/ to pick up bin/instances move ... and related changes.
  • core/ just runs master so nothing needed to merge.
  • I upgraded repo025, then repo012, then admin001. None of these seemed to hit any issues.
Jun 9 2017, 4:42 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.

While that's running, I closed dbx012 and repox012 to new allocations. The shard status panel correctly reflects repox025 with no paired DB service and the 012 shard as closed:

Jun 9 2017, 4:26 PM · Phacility, Ops
epriestley added a comment to T12817: Move instances from repo012 to repo025.
  • I launched repo025.phacility.net, like other hosts in the tier.
  • I added repo025.phacility.net to DNS in Route 53 (172.30.0.115).
  • I added a device record (repo025.phacility.net) to Almanac on admin.phacility.com.
  • I added a service record (repox025.phacility.net) to Almanac on admin.phacility.com, and bound it to the device.
  • I added a device record for the backup volume, rback025.phacility.net.
Jun 9 2017, 4:24 PM · Phacility, Ops
epriestley created T12817: Move instances from repo012 to repo025.
Jun 9 2017, 4:14 PM · Phacility, Ops
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 9 2017, 3:55 PM · Ops, Phacility
epriestley lowered the priority of T12816: Setup NAT for the primary Phacility cluster from Normal to Low.

I think the next steps are:

Jun 9 2017, 3:11 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.

I cleaned up all that stuff and it doesn't look like I broke the world.

Jun 9 2017, 3:00 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.

I think this means we don't need to migrate every host: the problem with swapping block001 over to be NAT'd was probably that the NAT gateway itself couldn't reach the public internet. When we changed the 0.0.0.0/0 rule to nat-..., that blocked the NAT gateway itself from getting out.

Jun 9 2017, 2:53 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.
  • I launched a new NAT gateway into the public subnet (block001); nat-0d470fc54d846a993.
  • I reconfigured the private subnet route table to point at the new gateway instead of the old one.
  • I can now reach the public internet from the host on the private subnet:
Jun 9 2017, 2:38 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.

I think the problem is that the NAT gateway is currently in the private001 subnet, but needs to be in the public subnet (the NAT gateway itself must have a route to the public internet).

Jun 9 2017, 2:34 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.
  • I stopped the host, and got kicked off as expected.
  • I started the host.
  • Problem: This failed to magically fix anything, and I still can't connect to the public internet.
Jun 9 2017, 2:29 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.
  • I built a new route table, following the main route table.
  • I replaced the target for the 0.0.0.0/0 rule with nat-... instead of igw-....
  • Under "Endpoints", I added the new route table to the S3 endpoint so the private subnet can access S3.
    • (This wasn't immediately reflected in the "Routes" UI, but it's not important for now so I'm going to assume it's a propagation issue until I need it.)
    • (It showed up about a minute later.)
  • I changed private001.phacility.net to use the new route table, with nat-... instead of igw-....
  • I can still connect to the test host from the bastion.
  • Problem: I still can't connect to the public internet from the test host.
Jun 9 2017, 2:24 PM · Ops, Phacility
epriestley added a comment to T12816: Setup NAT for the primary Phacility cluster.
  • We launched a new private subnet (private001.phacility.net) yesterday.
  • I launched a new instance (nat-test001.phacility.net) into this subnet, with no public IP.
  • I can connect to the instance from the bastion host (bastion005), which is good.
  • Problem: I can not connect to the public internet from the test host.
Jun 9 2017, 2:18 PM · Ops, Phacility
epriestley created T12816: Setup NAT for the primary Phacility cluster.
Jun 9 2017, 2:16 PM · Ops, Phacility

Jun 8 2017

epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 8 2017, 12:34 AM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 8 2017, 12:29 AM · Ops, Phacility

Jun 7 2017

epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 7:05 PM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 6:56 PM · Ops, Phacility
epriestley added a comment to T11760: Phacility Cluster: Ad-Hoc Query Log.

I queried the production backup log to find the maximum size of any active instance's backups to contextualize decisions around backup and storage management in D18094.

Jun 7 2017, 5:16 PM · Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 12:26 PM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 11:51 AM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 11:29 AM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 11:22 AM · Ops, Phacility
epriestley added a comment to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster.

Conveniently, bin/restore already exists and does much of the above, although it doesn't have a --download flag yet and its current behavior is to abort if data already exists.

Jun 7 2017, 11:18 AM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 7 2017, 11:16 AM · Ops, Phacility
epriestley added a comment to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster.

Actually, from the logs above I didn't even do it manually and just made it up for no reason.

Jun 7 2017, 11:08 AM · Ops, Phacility
epriestley added a comment to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster.

Thinking about this a little more, there's really no reason to do any of the rebinding stuff until after we move the data. I did that earlier when moving manually, largely for convenience -- but we don't need to sequence things like that when automating, particularly if we don't need bin/storage to work on the new database.

Jun 7 2017, 11:08 AM · Ops, Phacility
epriestley added a comment to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster.

I think we have a generally tricky situation on the database stuff here. The general algorithm this process is using so far is:

Jun 7 2017, 11:01 AM · Ops, Phacility

Jun 6 2017

epriestley added a comment to T12798: Decommission cluster host `repo012`.

(None of this impacts anything outside the ops realm in any way, except that some of the admin/ops-flavored UIs are changing a little.)

Jun 6 2017, 4:32 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

There will be a final written exam on June 19th.

Jun 6 2017, 4:29 PM · Ops, Phacility
chad added a comment to T12798: Decommission cluster host `repo012`.

Just to clarify, it's ok that I'm not following, nor understand any of this, correct?

Jun 6 2017, 4:22 PM · Ops, Phacility
amckinley added a comment to T12798: Decommission cluster host `repo012`.

Oh. My. God.

Jun 6 2017, 3:49 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

Jun 6 2017, 3:43 PM · Ops, Phacility
amckinley added a comment to T12798: Decommission cluster host `repo012`.

(Slightly related: I killed the test-nat instance this morning since it doesn't help actually test the NAT).

Jun 6 2017, 3:41 PM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 6 2017, 3:27 PM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 6 2017, 1:22 PM · Ops, Phacility
epriestley added a revision to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster: Restricted Differential Revision.
Jun 6 2017, 12:39 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

Er, that was rCORE085cd7e4 but I typed D instead of T.

Jun 6 2017, 11:20 AM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

I inched us forward on getting EC2 and Almanac to agree with one another, but need T12414 to make much more headway:

Jun 6 2017, 11:20 AM · Ops, Phacility
epriestley added a comment to T11670: Automate more of the migration process for moving instances across shards in the Phacility cluster.

Some of the syntax has changed slightly from the above, but I think the overall plan remains basically correct.

Jun 6 2017, 1:19 AM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

phage remote status --pools db,repo and such work now, using Conduit credentials from the bastion to query admin. We can swap that stuff later if we want to switch to EC2.

Jun 6 2017, 1:03 AM · Ops, Phacility
amckinley added a comment to T12798: Decommission cluster host `repo012`.

As far as pulling this state from EC2, it's really easy to fetch the list of hosts that have a given tag: http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html

Jun 6 2017, 12:09 AM · Ops, Phacility

Jun 5 2017

epriestley added a comment to T12798: Decommission cluster host `repo012`.

Come up with a plan for where phage --pool repo is going to get the host list from.

Jun 5 2017, 11:53 PM · Ops, Phacility
epriestley added a revision to T12798: Decommission cluster host `repo012`: Restricted Differential Revision.
Jun 5 2017, 11:15 PM · Ops, Phacility
epriestley created T12801: Simplify Almanac services in the Phacility production cluster.
Jun 5 2017, 11:07 PM · Almanac, Ops, Phacility
epriestley added a revision to T12798: Decommission cluster host `repo012`: Restricted Differential Revision.
Jun 5 2017, 9:05 PM · Ops, Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Jun 5 2017, 9:05 PM · Phacility
amckinley added a comment to T11413: Support renaming Phacility instances.

Oh, I see what you're saying. Yeah, whatever logical naming scheme we come up with, we should block that pattern for display names.

Jun 5 2017, 8:53 PM · Phacility
epriestley added a comment to T11413: Support renaming Phacility instances.

I think I disagree with this but I want to be sure about what you're saying.

Jun 5 2017, 8:04 PM · Phacility
amckinley added a comment to T11413: Support renaming Phacility instances.

If we stop generating internal IDs from instance names, I think we should pick a generation scheme such that they can not ever collide

Jun 5 2017, 7:49 PM · Phacility
epriestley added a comment to T11413: Support renaming Phacility instances.

If we stop generating internal IDs from instance names, I think we should pick a generation scheme such that they can not ever collide -- backups/ErrantAnalyticalGiraffe/ on disk should never exist and be a different instance than ErrantAnalyticalGiraffe.phacility.com in the web (technically these namespaces are different today because you can not use uppercase letters in an instance name, but that feels very flimsy as a dividing line).

Jun 5 2017, 7:25 PM · Phacility
amckinley added a comment to T11413: Support renaming Phacility instances.

FWIW, I'm heavily in favor of the "display rename" approach, and allocating logical ids like ErrantAnalyticalGiraffe. Breaking the coupling between instance display name and its backing resources is a band-aid that will only get more painful to remove after we launch private instances.

Jun 5 2017, 7:00 PM · Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

Another adjacent piece of work here is automating provisioning (e.g., through autoscale groups or bin/provision) but I think we should mostly leave that for the future too since we're theoretically bringing up only one new host (or maybe two, natXXX + repoXXX). Many of the other changes here give us tools toward that anyway, and it would probably be better to pursue that as part of a future change that involves launching a larger number of new hosts (e.g., chassis swap on the whole tier).

Jun 5 2017, 6:57 PM · Ops, Phacility
epriestley added a project to T12798: Decommission cluster host `repo012`: Ops.
Jun 5 2017, 6:51 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

I plan to take these steps specifically:

Jun 5 2017, 6:49 PM · Ops, Phacility
epriestley created T12798: Decommission cluster host `repo012`.
Jun 5 2017, 6:15 PM · Ops, Phacility

May 28 2017

chad merged task T12769: Applications page shows Diffusion on admin into T6630: Uninstalling Audit should either be impossible or interact more cleanly with Diffusion.
May 28 2017, 2:58 AM · Phacility, Bug Report
joshuaspence created T12769: Applications page shows Diffusion on admin.
May 28 2017, 2:26 AM · Phacility, Bug Report

May 27 2017

reed backed I2 Donate to Phacility with $19.78 USD.
May 27 2017, 6:10 AM · Phacility

May 25 2017

johnny-bit added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

@nemobis - um, you've ever been in enterprise software dependent business? I do consulting for companies that pay thousands euro per year per single solution (having 5-10 is norm) and within that they get sometimes as much as "3 free support ticket" or "50 free support tickets and 3 voting points for features". I personally developed some back-end solution to deal with one problem that started happening in version 4 of one software and got fixed after ~6 years. In version 10. why? because "this problem impacted only 17% of our customers and can be fixed manually. to have fix developed specially for you, pay us ~20x as much as you pay per yer per licence". And that.is.considered.normal.

May 25 2017, 7:51 PM · Guides, Phacility
epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

I feel like there's just some kind of bizarre disconnect:

May 25 2017, 5:57 PM · Guides, Phacility
chad added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

Well, it is worded very playfully and not very serious corporate business-like.

May 25 2017, 5:50 PM · Guides, Phacility
epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

@nemobis: when customers pay (for example) Atlassian for Atlassian Premier Support, what value/right/expectation do you believe they're getting out of that which we aren't also offering above?

May 25 2017, 5:23 PM · Guides, Phacility
chad added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

We're planning on selling enterprise support contracts, like those you can purchase from other self-hosting providers like GitHub, Gitlab, and Atlassian. You are not donating money to Phacility.

May 25 2017, 4:19 PM · Guides, Phacility
nemobis added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

Indeed I'm not confused about that. That's why I pointed out that giving money in return for no right/expectation to anything, AKA donating, is usually something done towards non-profit entities with certain requirements, not for-profit entities.

May 25 2017, 4:17 PM · Guides, Phacility
chad added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

We're an evil, for profit company. I'm not sure what's confusing about that.

May 25 2017, 4:09 PM · Guides, Phacility
nemobis added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

Sorry, I'm unable to answer your question because I have no idea how you could compare development support to hosting services, or equity to donations.

May 25 2017, 4:02 PM · Guides, Phacility

May 19 2017

epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

This looks more like donating than like buying a service. That's ok; but there are established methods to manage such things, usually involving a non-profit entity which accepts members and where members get some voting/decision-making privilege above some threshold of contribution (but you could also call it a donor council or a sponsorship with benefits).

May 19 2017, 1:15 PM · Guides, Phacility

May 17 2017

chad added a revision to T12451: Finding your subscriptions / cards on Phacility is non-obvious: Restricted Differential Revision.
May 17 2017, 9:43 PM · Phortune, Phacility
epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

@nemobis, can you walk me through the major differences you see between the proposal above and the support plans offered by other vendors like GitHub, GitLab, and Atlassian so I can make things more clear?

May 17 2017, 11:25 AM · Guides, Phacility
nemobis added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

If I read this correctly, people would pay a certain amount regularly without any certainty or reasonable expectation to have any of the fixes or support they care about. Instead they'll need to rely on the resident haruspex to assess what they're embarking on.

May 17 2017, 9:46 AM · Guides, Phacility

May 16 2017

joshuaspence added a comment to T12607: Decrease pain and suffering caused by deploy/upgrade process.

A vaguely related question... how is the /status/ endpoint meant to work behind an ELB? AWS ELB's don't pass a Host header to the healthcheck endpoint, so by default it just returns a 500. I worked around this by using some nginx voodoo to rewrite the Host header if the User-Agent header matches ^ELB-HealthChecker/\d+\.\d+$, but this is less-than-ideal.

May 16 2017, 12:43 PM · Phacility

May 8 2017

20after4 added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

phabricator trading cards ftw.

May 8 2017, 6:21 PM · Guides, Phacility
epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

We might eventually support a trade/resale market -- one advantage is that we could give contributors something with slightly more valuable than stickers/flair/badges, but less complicated for us than doing fulfillment on schwag or dealing with taxes for actual money.

May 8 2017, 6:10 PM · Guides, Phacility
cspeckmim added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

I was fully expecting a black market for mana points to be available.

May 8 2017, 5:56 PM · Guides, Phacility
20after4 added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

I think that @epriestley just made capitalism and socialism obsolete by re-imagining everything in terms of Mana points. You sir, have won the internet.

May 8 2017, 5:52 PM · Guides, Phacility
epriestley moved T9303: Improve Phacility Onboarding/NUX from Do After Launch to Onboarding/NUX on the Phacility board.
May 8 2017, 1:15 PM · Phacility
• rubel90 moved T9303: Improve Phacility Onboarding/NUX from Onboarding/NUX to Do After Launch on the Phacility board.
May 8 2017, 9:24 AM · Phacility

May 5 2017

epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

Not at all! You can just buy an extremely expensive personal support plan and continue controlling 100% of the roadmap based on personal whim!

May 5 2017, 11:23 PM · Guides, Phacility
chad added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

Ugh, so I have to come up with reasonable arguments now instead of just paying for features?

May 5 2017, 11:02 PM · Guides, Phacility
epriestley added a comment to T12681: Upcoming Support Product / End of Paid Prioritization.

I've just removed mentions from Consulting, but that should eventually be updated when this is formally available.

May 5 2017, 10:21 PM · Guides, Phacility
epriestley created T12681: Upcoming Support Product / End of Paid Prioritization.
May 5 2017, 10:16 PM · Guides, Phacility
chad backed I2 Donate to Phacility with $33.33 USD.
May 5 2017, 6:20 PM · Phacility
epriestley created T12677: Support multiple mail delivery services for automatic failover.
May 5 2017, 3:45 PM · Phacility, Mail

May 4 2017

epriestley closed T12546: "bin/remote deploy" picks up deployment keys locally instead of on the bastion as Resolved by committing Restricted Diffusion Commit.
May 4 2017, 10:29 PM · Ops, Infrastructure, Phacility