Page MenuHomePhabricator
Feed Advanced Search

Nov 25 2019

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": D20875: Don't use "phutil_hashes_are_identical()" to compare public keys.
Oct 29 2019, 1:31 AM · Diffusion, Phacility, Infrastructure
epriestley added a revision to T13436: Improve performance of "ssh-auth": D20874: Add an optional "--sshd-key" argument to "bin/ssh-auth" for reading "%k" from modern sshd.
Oct 29 2019, 12:49 AM · Diffusion, Phacility, Infrastructure
epriestley added a revision to T13436: Improve performance of "ssh-auth": D20873: Remove the "ssh-auth-key" script.
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: D20783: Update a straggling "getAuthorities()" call in Fund.
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
epriestley updated the task description for T13401: Phacility 2019 Week 35 Deployment Log.
Aug 31 2019, 4:26 PM · Phacility
epriestley triaged T13401: Phacility 2019 Week 35 Deployment Log as Normal priority.
Aug 31 2019, 4:10 PM · Phacility
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

bin/host restart does not start no-daemon services.

Aug 31 2019, 2:35 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Aug 31 2019, 1:46 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Aug 31 2019, 1:40 AM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

daemon behaviors

Aug 31 2019, 12:00 AM · Phacility, Infrastructure

Aug 30 2019

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

Provisioning was once close-ish to automated. Is this close enough to automate?

Aug 30 2019, 5:34 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

I think this leaves us with:

Aug 30 2019, 5:19 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Adjacent is the older instances.queryinstances API method. This is still used by service synchronization.

Aug 30 2019, 5:09 PM · Phacility, Infrastructure
epriestley triaged T13399: Remove "instances.queryinstances" Conduit API method as Wishlist priority.
Aug 30 2019, 5:08 PM · Phacility
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: D20754: Remove the "grant authority" mechanism from users.
Aug 30 2019, 4:15 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Aug 30 2019, 4:12 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

It is also used to cache InstancesManageCapability::CAPABILITY but this can easily just be cached in the request cache instead.

Aug 30 2019, 3:50 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

The "Instance" almanac service type can be destroyed.

Aug 30 2019, 1:51 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Aug 30 2019, 1:50 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Restricted Differential Revision.
Aug 30 2019, 12:29 AM · Phacility, Infrastructure

Aug 29 2019

epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Can we get rid of the instance-specific services completely now, after changes connected to T11413?

Aug 29 2019, 10:50 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Mostly-promising answers on much of the rest of this:

Aug 29 2019, 10:05 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: D20748: Provide a simple read-only maintenance mode for repositories.
Aug 29 2019, 8:05 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

I'm hoping this is a reasonable excuse to find a way forward [on >2GB downloads] here.

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

Is the 2GB HTTP stuff in T12907 realistic to fix?

Aug 29 2019, 3:52 PM · Phacility, Infrastructure
epriestley triaged T13393: Improve repository shard migration pathway in the shared cluster as Normal priority.
Aug 29 2019, 3:04 PM · Phacility, Infrastructure
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 29 2019, 3:19 AM · Phortune, Phacility

Aug 26 2019

epriestley closed T8389: Allow arbitrary email addresses to be CC'd on Phacility billing emails, a subtask of T9303: Improve Phacility Onboarding/NUX, as Resolved.
Aug 26 2019, 2:48 PM · Phacility
epriestley closed T8389: Allow arbitrary email addresses to be CC'd on Phacility billing emails, a subtask of T13366: Update Phortune to work better with "enterprise" billing/accounts departments, as Resolved.
Aug 26 2019, 2:48 PM · Phortune, Phacility
epriestley closed T8389: Allow arbitrary email addresses to be CC'd on Phacility billing emails as Resolved by committing rPa0a38797127f: In Phortune, send order email to account external addresses.
Aug 26 2019, 2:48 PM · Phortune, Phacility

Aug 24 2019

epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20740: Give the Phortune external portal an order view.
Aug 24 2019, 6:06 PM · Phortune, Phacility

Aug 23 2019

epriestley added a revision to T8389: Allow arbitrary email addresses to be CC'd on Phacility billing emails: D20739: In Phortune, send order email to account external addresses.
Aug 23 2019, 8:42 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20739: In Phortune, send order email to account external addresses.
Aug 23 2019, 8:42 PM · Phortune, Phacility
epriestley added a revision to T13367: Phortune "enterprise" update errata: D20738: Add credential rotation and statuses (disabled, unsubscribed) to Phortune external email.
Aug 23 2019, 6:56 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20737: Roughly support external/email user views of Phortune recipts and invoices.
Aug 23 2019, 4:14 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: Restricted Differential Revision.
Aug 23 2019, 3:07 PM · Phortune, Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 23 2019, 2:58 PM · Phortune, Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 23 2019, 2:18 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20735: Update the Phortune cart/invoice workflow for policy changes.
Aug 23 2019, 5:42 AM · Phortune, Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 23 2019, 4:19 AM · Phortune, Phacility
epriestley added a comment to T13367: Phortune "enterprise" update errata.

The "Merchant" profile screen is now somewhat inconsistent with the "Account" profile screen, and uses different icons for "Subscriptions" and "Orders".

Aug 23 2019, 4:03 AM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20733: Update Phortune Merchant UI to bring it in line with Account UI.
Aug 23 2019, 3:54 AM · Phortune, Phacility

Aug 22 2019

epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20732: Update Charge and Cart policies in Phortune, and make URIs more consistent.
Aug 22 2019, 9:59 PM · Phortune, Phacility
epriestley added a comment to T13367: Phortune "enterprise" update errata.

We're also using inconsistent icons for "Order/Invoice/Receipt/Cart" in different interfaces. I'm going to standardize on this lovely purse, I think:

Aug 22 2019, 9:50 PM · Phortune, Phacility

Aug 17 2019

epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20721: Update Phortune subscriptions for modern infrastructure.
Aug 17 2019, 2:51 AM · Phortune, Phacility

Aug 16 2019

epriestley added a comment to T13366: Update Phortune to work better with "enterprise" billing/accounts departments.

Stuff to fix with subscriptions:

Aug 16 2019, 10:51 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20719: Make Phortune payment methods transaction-oriented and always support "Add Payment Method".
Aug 16 2019, 9:56 PM · Phortune, Phacility
epriestley added a revision to T13367: Phortune "enterprise" update errata: D20719: Make Phortune payment methods transaction-oriented and always support "Add Payment Method".
Aug 16 2019, 9:56 PM · Phortune, Phacility
epriestley added a comment to T13367: Phortune "enterprise" update errata.

if this is really an issue we could likely throw a rate limit on the action

Aug 16 2019, 5:44 PM · Phortune, Phacility
epriestley added a comment to T13367: Phortune "enterprise" update errata.

This is sort-of-quasi-intentional

Aug 16 2019, 5:42 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20718: Update PhortunePaymentMethod for modern policy interfaces.
Aug 16 2019, 5:08 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20717: Update Phortune payment account interfaces to handle merchant vs customer views.
Aug 16 2019, 4:38 PM · Phortune, Phacility
epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20716: In Phortune, use actual merchant authority (not authority grants) to control account visibility.
Aug 16 2019, 3:18 PM · Phortune, Phacility

Aug 15 2019

epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: D20715: In Phortune, write relationships between payment accounts and merchants they interact with.
Aug 15 2019, 11:16 PM · Phortune, Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 15 2019, 11:00 PM · Phortune, Phacility
epriestley added a comment to T13366: Update Phortune to work better with "enterprise" billing/accounts departments.

It would also be nice to figure out Phortune permissions better here since this is a good opportunity to vet everything.

Aug 15 2019, 6:49 PM · Phortune, Phacility