Page MenuHomePhabricator
Feed Advanced Search

Jul 20 2020

epriestley removed a member for Phacility: amckinley.
Jul 20 2020, 5:23 PM

May 28 2020

epriestley added a comment to T13542: Rebalance Phacility instances into a private subnet.

Piledriver would also benefit from having some functional equivalent of destroying an Almanac resource. This can be implemented as a piledriver.destroyed property, but a formal disabled state would be cleaner. PHI1331 is vaguely related.

May 28 2020, 5:53 PM · Phacility
epriestley added a comment to T13542: Rebalance Phacility instances into a private subnet.
  • When Piledriver destroys a resource pile, it's helpful if it can read the entire authoritative state from sources by using only a pile ID.
    • EC2 can do this with "DescribeTags".
    • Almanac currently can not. Almanac types should support searching by property value.
      • This could be directly on almanac.*.search.
      • Or this could be generic, via T12799.
May 28 2020, 3:23 PM · Phacility

May 26 2020

epriestley closed T13467: Expand the "ddata003" volume as Resolved.

Effectively mooted by T13542.

May 26 2020, 8:32 PM · Phacility
epriestley added a comment to T13542: Rebalance Phacility instances into a private subnet.

I've written some Terraform-class tooling which can likely automate all the actual hardware allocations. This needs some more work, but I believe the tricky stuff (mostly: representing resources and allowing templating to reference resources which haven't been built yet) is at least working.

May 26 2020, 8:31 PM · Phacility
epriestley added a comment to T13542: Rebalance Phacility instances into a private subnet.

Subnet/NAT issues in T12816.

May 26 2020, 8:18 PM · Phacility
epriestley closed T13076: Plans: Phacility cluster caching, renaming, and rebalance/compaction as Resolved.

Continued in T13542.

May 26 2020, 8:13 PM · Plans, Ops, Infrastructure, Phacility
epriestley closed T12801: Simplify Almanac services in the Phacility production cluster as Resolved.

The major offender here (services per instance) was fixed by updating caching, and I destroyed all the old services. This is perhaps spiritually continued in T13542.

May 26 2020, 8:11 PM · Almanac, Ops, Phacility
epriestley updated the task description for T13542: Rebalance Phacility instances into a private subnet.
May 26 2020, 8:10 PM · Phacility
epriestley closed T12999: Replace cluster magnetic volumes with SSD volumes as Resolved.

Continued in T13542.

May 26 2020, 8:10 PM · Phacility, Ops
epriestley closed T12856: Evaluate various "infrastructure-as-code" products as Resolved.

Continued in T13542. I wrote a Terraform/CloudFormation-style service in PHP over the last couple of days.

May 26 2020, 8:07 PM · Ops, Phacility
epriestley closed T12816: Setup NAT for the primary Phacility cluster as Resolved.

Continued in T13542.

May 26 2020, 8:03 PM · Ops, Phacility
epriestley updated the task description for T13542: Rebalance Phacility instances into a private subnet.
May 26 2020, 8:03 PM · Phacility
epriestley triaged T13542: Rebalance Phacility instances into a private subnet as Low priority.
May 26 2020, 8:02 PM · Phacility

May 22 2020

epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

Since many of these options probably don't have "right answers", I'm trying this reasonable-seeming variation on some repositories which seem like they'll benefit from a repack:

May 22 2020, 3:03 AM · Phacility, Diffusion

May 21 2020

epriestley added a comment to T11760: Phacility Cluster: Ad-Hoc Query Log.

See PHI1748. I ran a query against a subset of instances to determine how widespread usage of "Dark Mode" is, to help inform a decision to either implement the mode properly (see T12311) or remove the mode. The query was of this form:

May 21 2020, 8:08 PM · Phacility

May 18 2020

epriestley added a comment to T7149: Allow users to import data into a new Phacility instance.

See T13537 for a subtle issue where digestWithNamedKey() keys were cached in APCu on the web tier. Importing instance data may require restarting the web tier until the import process can either dump these caches or version them (versioning may be easier).

May 18 2020, 5:38 PM · Phacility
epriestley added a comment to T13537: Support local port forwarding through Phacility cluster bastion hosts.

So I'm going to turn web off and on again and see if that fixes things; my expectation is that it will.

May 18 2020, 5:36 PM · Phacility
epriestley added a comment to T13537: Support local port forwarding through Phacility cluster bastion hosts.

The specific issue I'm trying to debug is fairly bizarre.

May 18 2020, 5:35 PM · Phacility
epriestley updated the task description for T13537: Support local port forwarding through Phacility cluster bastion hosts.
May 18 2020, 4:59 PM · Phacility
epriestley updated the task description for T13537: Support local port forwarding through Phacility cluster bastion hosts.
May 18 2020, 4:56 PM · Phacility
epriestley updated the task description for T13537: Support local port forwarding through Phacility cluster bastion hosts.
May 18 2020, 4:47 PM · Phacility
epriestley updated the task description for T13537: Support local port forwarding through Phacility cluster bastion hosts.
May 18 2020, 4:37 PM · Phacility
epriestley triaged T13537: Support local port forwarding through Phacility cluster bastion hosts as Low priority.
May 18 2020, 4:33 PM · Phacility

May 15 2020

epriestley added a revision to T13529: Phacility domain rename errata and SSH user identity: Restricted Differential Revision.
May 15 2020, 1:31 PM · Phacility

May 13 2020

epriestley updated the task description for T13229: On Third-Party Integrations.
May 13 2020, 12:01 AM · Phacility

May 12 2020

epriestley added a comment to T13529: Phacility domain rename errata and SSH user identity.

The SSH username change wasn't sufficient because there's a hard-coded piece of logic to select the username by instance name:

May 12 2020, 6:20 PM · Phacility

May 8 2020

epriestley closed T13531: Phacility cluster account/service sync issues (account identifiers, instance refs) as Resolved.
May 8 2020, 6:49 PM · Phacility

May 5 2020

epriestley added a comment to T13531: Phacility cluster account/service sync issues (account identifiers, instance refs).

There was a related AccountIdentifier issue with InstancesShadowUserQuery: we loaded shadow users based on accountID, but this is no longer consistently populated after T13493.

May 5 2020, 6:32 PM · Phacility
epriestley added a comment to T13531: Phacility cluster account/service sync issues (account identifiers, instance refs).

AccountIdentifiers do not sync during setup after T13493.

May 5 2020, 4:18 PM · Phacility
epriestley added a comment to T13531: Phacility cluster account/service sync issues (account identifiers, instance refs).

bin/services sync --instance X exits with no error if X does not exist.

May 5 2020, 4:15 PM · Phacility
epriestley triaged T13531: Phacility cluster account/service sync issues (account identifiers, instance refs) as Normal priority.
May 5 2020, 3:10 PM · Phacility

May 1 2020

epriestley renamed T13529: Phacility domain rename errata and SSH user identity from Phacility domain errata to Phacility domain rename errata and SSH user identity.
May 1 2020, 5:25 PM · Phacility
epriestley updated the task description for T13529: Phacility domain rename errata and SSH user identity.
May 1 2020, 4:39 PM · Phacility
epriestley triaged T13529: Phacility domain rename errata and SSH user identity as Wishlist priority.
May 1 2020, 4:34 PM · Phacility

Apr 17 2020

epriestley updated the task description for T13178: Plans: Support Pact Competitive Update.
Apr 17 2020, 7:04 PM · Plans, Support, Phacility

Mar 2 2020

epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

Does using --max-pack-size to reduce the maximum packfile size really let Git "checkpoint" after each packfile, so the process is effectively resumable?

Mar 2 2020, 4:36 PM · Phacility, Diffusion
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

PHI1655 identifies a specific case where enormous packfiles may create problems:

Mar 2 2020, 3:56 PM · Phacility, Diffusion
epriestley updated the task description for T13156: Plans: Improve Phacility UI for managing instance managers and cards.
Mar 2 2020, 2:30 PM · Plans, Phacility

Feb 3 2020

epriestley closed T13483: (2020 Week 5) Restart AWS host db001 (i-3a9b99f2) as Resolved.

Both of these hosts restarted cleanly.

Feb 3 2020, 2:19 PM · Phacility, Ops
epriestley added a comment to T13483: (2020 Week 5) Restart AWS host db001 (i-3a9b99f2).

AWS is also rebooting web007.

Feb 3 2020, 1:22 PM · Phacility, Ops

Jan 30 2020

epriestley closed T13450: Update "Renaming Instances" in Phacility documentation as Resolved by committing Restricted Diffusion Commit.
Jan 30 2020, 6:37 PM · Phacility
epriestley triaged T13483: (2020 Week 5) Restart AWS host db001 (i-3a9b99f2) as Normal priority.
Jan 30 2020, 6:36 PM · Phacility, Ops
epriestley added a revision to T13450: Update "Renaming Instances" in Phacility documentation: Restricted Differential Revision.
Jan 30 2020, 5:51 PM · Phacility

Jan 21 2020

epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

The logic here appears to be that gc.auto is set to some value (by default: 6,700). If the number of loose objects exceeds this threshold (technically, if the number of loose objects in objects/17/ is more than 1/256th of this value), it triggers a repack (in a comment, git repack -d -l).

Jan 21 2020, 6:00 PM · Phacility, Diffusion
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

See PHI1613, where an install hit this warning (and resolved it by running git prune):

Jan 21 2020, 5:13 PM · Phacility, Diffusion

Jan 15 2020

epriestley closed T13477: (2020 Week 3) Restart AWS host db025 (i-05bc80634586ef7a0) as Resolved.

This went through cleanly.

Jan 15 2020, 4:19 PM · Ops, Phacility
epriestley triaged T13477: (2020 Week 3) Restart AWS host db025 (i-05bc80634586ef7a0) as Low priority.
Jan 15 2020, 2:36 AM · Ops, Phacility

Nov 26 2019

epriestley triaged T13467: Expand the "ddata003" volume as Low priority.
Nov 26 2019, 6:00 PM · Phacility
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

there is no way to bin/host query against the set of instances using a particular repository shard service

Nov 26 2019, 12:14 AM · Phacility, Ops
epriestley added a revision to T13466: AWS instance termination may fail/hang indefinitely: Restricted Differential Revision.
Nov 26 2019, 12:09 AM · Phacility, Ops

Nov 25 2019

epriestley added a revision to T13466: AWS instance termination may fail/hang indefinitely: Restricted Differential Revision.
Nov 25 2019, 11:57 PM · Phacility, Ops
epriestley added a revision to T13466: AWS instance termination may fail/hang indefinitely: Restricted Differential Revision.
Nov 25 2019, 10:46 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

Update Almanac definitions for all instances not on the paired db023 shard.

Nov 25 2019, 5:01 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

PHI1566 is resolved narrowly. These cleanup steps still need to happen.

Nov 25 2019, 4:42 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

(Updating addresses with bin/host query leaves the service address cache dirty (the "mutable structure cache" via PhabricatorRepository->getAlmanacServiceRefs()) so it should be followed with bin/cache purge --caches general.)

Nov 25 2019, 4:29 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

I'll flesh this out more later, but the move away from db123 = repo123 shard pairing, plus bin/host query using mysql makes it difficult to directly query instances using a particular repository service.

Nov 25 2019, 4:15 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

Minor issue that should be looked at during service sync arising from improved validation elsewhere:

Nov 25 2019, 4:06 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

I'm deploying the new host now. We just crossed a release so I'm going to manually restore it to 72f82abe07 once it comes up (see also T13359). Then, I'll resynchronize instance services for active instances.

Nov 25 2019, 3:57 PM · Phacility, Ops
epriestley added a comment to T13466: AWS instance termination may fail/hang indefinitely.

Instance termination completed after about 20 minutes and all the volumes detached. Since the original instance can be recycled, I'm going to reattach and restart it, and throw away the replacement host.

Nov 25 2019, 3:51 PM · Phacility, Ops
epriestley added a project to T13466: AWS instance termination may fail/hang indefinitely: Phacility.
Nov 25 2019, 3:48 PM · Phacility, Ops

Nov 8 2019

epriestley triaged T13450: Update "Renaming Instances" in Phacility documentation as Wishlist priority.
Nov 8 2019, 2:27 AM · Phacility

Oct 29 2019

epriestley added a comment to T13436: Improve performance of "ssh-auth".

I deployed the --sshd-key %k stuff to secure and it looks like that shaved ~1,000-2000ms off the total cost. The ssh-auth cost has dropped to about 200ms:

Oct 29 2019, 1:47 AM · Diffusion, Phacility, Infrastructure
epriestley added a revision to T13436: Improve performance of "ssh-auth": Restricted Differential Revision.
Oct 29 2019, 1:31 AM · Diffusion, Phacility, Infrastructure
epriestley added a revision to T13436: Improve performance of "ssh-auth": Restricted Differential Revision.
Oct 29 2019, 12:49 AM · Diffusion, Phacility, Infrastructure
epriestley added a revision to T13436: Improve performance of "ssh-auth": Restricted Differential Revision.
Oct 29 2019, 12:36 AM · Diffusion, Phacility, Infrastructure
epriestley added a comment to T13436: Improve performance of "ssh-auth".

I saw things hang during deploy and the OpenSSH bug should have been fixed years ago.

Oct 29 2019, 12:20 AM · Diffusion, Phacility, Infrastructure
epriestley added a comment to T13436: Improve performance of "ssh-auth".

I configured ControlMaster on secure.

Oct 29 2019, 12:14 AM · Diffusion, Phacility, Infrastructure

Oct 28 2019

epriestley triaged T13436: Improve performance of "ssh-auth" as Normal priority.
Oct 28 2019, 11:00 PM · Diffusion, Phacility, Infrastructure

Sep 28 2019

epriestley edited the content of Migrating Repository Shards.
Sep 28 2019, 2:59 PM · Phacility

Sep 23 2019

epriestley closed T9456: Evaluate upstream support for third-party build systems, a subtask of T7869: Support CircleCI webhooks for Test results (so that one can run unit tests asynchronously), as Resolved.
Sep 23 2019, 4:28 PM · Phacility

Sep 19 2019

epriestley updated the task description for T9515: Build a "quorum" mechanism and associated UI.
Sep 19 2019, 8:02 PM · Restricted Project, Notifications, Phacility, Auth

Sep 18 2019

epriestley updated the task description for T9515: Build a "quorum" mechanism and associated UI.
Sep 18 2019, 5:18 PM · Restricted Project, Notifications, Phacility, Auth

Sep 4 2019

epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: Restricted Differential Revision.
Sep 4 2019, 2:11 PM · Phortune, Phacility

Sep 2 2019

epriestley closed T13393: Improve repository shard migration pathway in the shared cluster as Resolved.

The migration in PHI1403 seems to have gone through cleanly. This workflow can continue to improve, but it's in relatively good shape now.

Sep 2 2019, 3:02 PM · Phacility, Infrastructure
epriestley closed T13401: Phacility 2019 Week 35 Deployment Log as Resolved.

Everything here appears to have made it to production cleanly.

Sep 2 2019, 1:07 PM · Phacility
epriestley updated the task description for T13401: Phacility 2019 Week 35 Deployment Log.
Sep 2 2019, 1:05 PM · Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Sep 2 2019, 1:04 PM · Phortune, Phacility
epriestley added a revision to T13401: Phacility 2019 Week 35 Deployment Log: Restricted Differential Revision.
Sep 2 2019, 1:04 PM · Phacility
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 2 2019, 12:57 PM · Phacility, Infrastructure

Sep 1 2019

epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 8:12 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 8:08 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Anecdotally from the last time around, gzipping the tarball didn't really do much. Possibly, this might more broadly imply that we'd be better off not compressing repository backups.

Sep 1 2019, 7:26 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

I believe I've moved "core/" from "instances.queryinstances" and sequenced all the followup changes properly, now, and that the only remaining piece is glue.

Sep 1 2019, 5:48 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 5:31 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 5:29 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 5:19 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 5:12 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 5:09 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 4:51 PM · Phacility, Infrastructure
epriestley added a comment to T13399: Remove "instances.queryinstances" Conduit API method.

SyncWorkflow also depends on creatorPHID to synchronize the initial administrator account.

Sep 1 2019, 4:48 PM · Phacility
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 4:44 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 4:41 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 12:35 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 12:20 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Sep 1 2019, 12:19 AM · Phacility, Infrastructure

Aug 31 2019

epriestley added a comment to T13401: Phacility 2019 Week 35 Deployment Log.

The primary Week 34 / Week 35 deployment has completed without apparent issues. I'm going to deploy some followup changes for T13393 later, but it looks like we're out of the woods on the bulk of outbound changes.

Aug 31 2019, 5:15 PM · Phacility
epriestley updated the task description for T13401: Phacility 2019 Week 35 Deployment Log.
Aug 31 2019, 4:42 PM · Phacility
epriestley added a comment to T13401: Phacility 2019 Week 35 Deployment Log.

Clicking "Pay Now" from landing page fatals in "PhortuneCartCheckoutController.php:104"; "Call to undefined method PhortuneCartCheckoutController::buildCartContentTable()"
Pacts have a bad URI for billing accounts on the "Billing" tab.
Instances also have a bad URI for billing accounts on the "Billing " tab. Maybe the handle is using the wrong URI?
The sync worker is failing on new instance launch for lack of credentials.

Aug 31 2019, 4:38 PM · Phacility
epriestley added a comment to T13401: Phacility 2019 Week 35 Deployment Log.

The sync worker is failing on new instance launch for lack of credentials.

Aug 31 2019, 4:30 PM · Phacility