Page MenuHomePhabricator
Feed Advanced Search

Jan 29 2018

epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

I double checked that our backups are working.

Jan 29 2018, 8:35 PM 路 Transactions, Ops, Phacility
epriestley removed a project from T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs: 馃惓.
Jan 29 2018, 7:41 PM 路 Transactions, Ops, Phacility
epriestley added a project to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs: 馃惓.

Editing some edges on the new code as a sanity check before I compact things.

Jan 29 2018, 7:41 PM 路 Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

(Pushing this to secure, stuff might be funky for a minute while I gently massage the database.)

Jan 29 2018, 7:36 PM 路 Transactions, Ops, Phacility

Jan 27 2018

epriestley moved T12677: Support multiple mail delivery services for automatic failover from Backlog to Stamps/Failover on the Mail board.
Jan 27 2018, 9:54 PM 路 Phacility, Mail
epriestley moved T13037: An attacker gained staff access to Mailgun and was able to read customer API keys from Backlog to Stamps/Failover on the Mail board.
Jan 27 2018, 9:54 PM 路 Phacility, Security, Mail
epriestley added a revision to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs: Restricted Differential Revision.
Jan 27 2018, 3:33 PM 路 Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

My plan is to pick those to stable, then compact-edges here on secure, then compact-edges on the affected 130GB instance. There's some value in doing this sooner rather than later because the backups for 130GB of edge data are having some issues. The instance is a free test instance so this isn't a huge concern, but I'd sleep better if it was running smoothly. If you don't run compact-edges I think the worst those changes could really do is cause some kind of temporary display bug with new transactions, so the risk should be pretty small.

Jan 27 2018, 2:52 PM 路 Transactions, Ops, Phacility
epriestley added a revision to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs: Restricted Differential Revision.
Jan 27 2018, 2:19 PM 路 Transactions, Ops, Phacility
epriestley added a revision to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs: Restricted Differential Revision.
Jan 27 2018, 1:56 PM 路 Transactions, Ops, Phacility
epriestley added a revision to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs: Restricted Differential Revision.
Jan 27 2018, 1:30 PM 路 Transactions, Ops, Phacility
epriestley added a comment to T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.

Bad news: data still has one reader/writer in the Asana-to-Revision linking implementation. So we can't completely get rid of that yet.

Jan 27 2018, 1:25 PM 路 Transactions, Ops, Phacility
epriestley updated the task description for T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.
Jan 27 2018, 1:21 PM 路 Transactions, Ops, Phacility
epriestley updated the task description for T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs.
Jan 27 2018, 1:03 PM 路 Transactions, Ops, Phacility
epriestley triaged T13051: Transaction edge storage is inefficient / an instance has 130GB of commit cross-refs as Normal priority.
Jan 27 2018, 12:59 PM 路 Transactions, Ops, Phacility

Jan 26 2018

epriestley closed T13050: 2018 Week 4 pre-release deploy issues on secure.phabricator.com as Resolved.

this can probably be figured out by examining the 2.16.0 release notes

Jan 26 2018, 9:43 PM 路 Phacility, Ops
epriestley added a revision to T13050: 2018 Week 4 pre-release deploy issues on secure.phabricator.com: Restricted Differential Revision.
Jan 26 2018, 9:43 PM 路 Phacility, Ops
epriestley added a revision to T13050: 2018 Week 4 pre-release deploy issues on secure.phabricator.com: Restricted Differential Revision.
Jan 26 2018, 9:37 PM 路 Phacility, Ops
epriestley triaged T13050: 2018 Week 4 pre-release deploy issues on secure.phabricator.com as Normal priority.
Jan 26 2018, 9:33 PM 路 Phacility, Ops

Jan 25 2018

epriestley added a comment to T7148: Allow users to export their data from Phacility.

In PHI311, I think we hit a race like this:

Jan 25 2018, 6:16 PM 路 Phacility
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 25 2018, 2:56 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 25 2018, 2:44 PM 路 Phacility, Auth, Security

Jan 23 2018

epriestley closed T13043: Improve authentication revocation behaviors as Resolved.

Add a temporary token revoker.
Add a session revoker.
Add an SSH key revoker.
Add a password revoker.
Add a VCS password revoker.

Jan 23 2018, 11:43 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 23 2018, 4:12 PM 路 Phacility, Auth, Security

Jan 22 2018

epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 6:15 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 5:50 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 2:16 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 2:00 AM 路 Phacility, Auth, Security
epriestley updated the task description for T13043: Improve authentication revocation behaviors.
Jan 22 2018, 1:59 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 1:52 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 1:34 AM 路 Phacility, Auth, Security
epriestley updated the task description for T13043: Improve authentication revocation behaviors.
Jan 22 2018, 1:20 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 1:20 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 1:12 AM 路 Phacility, Auth, Security
epriestley updated the task description for T13043: Improve authentication revocation behaviors.
Jan 22 2018, 12:53 AM 路 Phacility, Auth, Security
epriestley updated the task description for T13043: Improve authentication revocation behaviors.
Jan 22 2018, 12:50 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 12:35 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 22 2018, 12:08 AM 路 Phacility, Auth, Security

Jan 21 2018

epriestley updated the task description for T13043: Improve authentication revocation behaviors.
Jan 21 2018, 11:16 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 11:15 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 4:12 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 4:02 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 3:44 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 3:27 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 1:45 AM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018, 1:23 AM 路 Phacility, Auth, Security

Jan 20 2018

epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 20 2018, 5:19 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 20 2018, 5:01 PM 路 Phacility, Auth, Security
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 20 2018, 4:57 PM 路 Phacility, Auth, Security
epriestley updated the task description for T13043: Improve authentication revocation behaviors.
Jan 20 2018, 4:52 PM 路 Phacility, Auth, Security
epriestley added a comment to T13043: Improve authentication revocation behaviors.

See D17458 for the previous, narrower case of token revocation in response to Heartbleed (T12313).

Jan 20 2018, 4:45 PM 路 Phacility, Auth, Security
epriestley triaged T13043: Improve authentication revocation behaviors as Normal priority.
Jan 20 2018, 4:42 PM 路 Phacility, Auth, Security

Jan 6 2018

epriestley updated the task description for T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.
Jan 6 2018, 3:26 PM 路 Phacility, Security, Mail

Jan 5 2018

epriestley added a comment to T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.

Mostly from the HN thread, other possible providers we haven't tried yet include Mandrill, Postmark, and Sparkpost.

Jan 5 2018, 8:55 PM 路 Phacility, Security, Mail
epriestley added a comment to T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.

T12677 documents previous general issues with mail providers. Mailgun gets the worst of it there, but just because we've been with them for a while without anything too awful happening.

Jan 5 2018, 8:20 PM 路 Phacility, Security, Mail
epriestley triaged T13037: An attacker gained staff access to Mailgun and was able to read customer API keys as Normal priority.
Jan 5 2018, 8:14 PM 路 Phacility, Security, Mail

Nov 30 2017

epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 30 2017, 12:34 PM 路 Phacility

Nov 28 2017

epriestley added a revision to T12646: Reduce the impact of "admin" backups on instances: Restricted Differential Revision.
Nov 28 2017, 3:51 PM 路 Phacility, Ops
epriestley added a revision to T12297: Make Conduit API calls on `admin.phacility.com` reasonably easy to profile: Restricted Differential Revision.
Nov 28 2017, 3:51 PM 路 XHProf, Ops, Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 28 2017, 3:51 PM 路 Phacility
epriestley added a revision to T12801: Simplify Almanac services in the Phacility production cluster: Restricted Differential Revision.
Nov 28 2017, 3:51 PM 路 Almanac, Ops, Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 28 2017, 2:43 PM 路 Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 28 2017, 2:31 PM 路 Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 28 2017, 1:28 PM 路 Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 28 2017, 1:06 PM 路 Phacility
epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 28 2017, 1:02 PM 路 Phacility

Nov 20 2017

avivey renamed T12525: amckinley's Onboarding from Onboard to amckinley's Onboarding.
Nov 20 2017, 12:36 PM 路 Phacility, Contributor Onboarding

Nov 17 2017

amckinley added a comment to T13017: *.phacility.com TLS certificate expiration.

Fixed! Thanks again for the report.

Nov 17 2017, 5:18 PM 路 Phacility, Ops
amckinley added a comment to T13017: *.phacility.com TLS certificate expiration.

Thanks; good catch. Fixing now.

Nov 17 2017, 4:04 PM 路 Phacility, Ops
avivey added a comment to T13017: *.phacility.com TLS certificate expiration.

https://phacility.com/ is still giving ssl error - it's net::ERR_CERT_COMMON_NAME_INVALID, I think (Maybe *.x doesn't cover x?)

Nov 17 2017, 1:58 PM 路 Phacility, Ops

Nov 16 2017

amckinley shifted T13017: *.phacility.com TLS certificate expiration from the Restricted Space space to the S1 Core space.
Nov 16 2017, 8:50 PM 路 Phacility, Ops
amckinley created T13017: *.phacility.com TLS certificate expiration.
Nov 16 2017, 8:42 PM 路 Phacility, Ops
mgood added a comment to T11815: Rotate *.phacility.com SSL certificate.

Ok, I received a follow-up from support and it's working again.

Nov 16 2017, 8:17 PM 路 Phacility, Ops
mgood added a comment to T11815: Rotate *.phacility.com SSL certificate.

This doesn't appear to be working. My team is reporting lots of problems with certificate errors with our hosted instance. It was working for me in Chrome as long as I was signed in, but opening a private tab I was redirected to admin.phacility.com and received an error there that the cert had expired.

Nov 16 2017, 8:06 PM 路 Phacility, Ops

Nov 10 2017

epriestley renamed T13012: Mercurial "--config" and "--debugger" command injection vulnerability from Mercurial "--config" command injection vulnerability to Mercurial "--config" and "--debugger" command injection vulnerability.
Nov 10 2017, 3:42 PM 路 Mercurial, Security

Nov 9 2017

epriestley added a comment to T13012: Mercurial "--config" and "--debugger" command injection vulnerability.

The other major thing I tried was throwing exceptions when the values for %s, etc., contained --debugger or --config while constructing Mercurial commands.

Nov 9 2017, 4:08 PM 路 Mercurial, Security
epriestley added a comment to T13012: Mercurial "--config" and "--debugger" command injection vulnerability.

I have a not-so-great patch for this ready when Mercurial makes a decision. This isn't great, but it's the best I could come up with after trying a few things.

Nov 9 2017, 3:43 PM 路 Mercurial, Security
epriestley added a comment to T13012: Mercurial "--config" and "--debugger" command injection vulnerability.

In reply:

Nov 9 2017, 3:36 PM 路 Mercurial, Security
epriestley added a comment to T13012: Mercurial "--config" and "--debugger" command injection vulnerability.

From @durin42, via Mercurial Security:

Nov 9 2017, 3:35 PM 路 Mercurial, Security
epriestley created T13012: Mercurial "--config" and "--debugger" command injection vulnerability.
Nov 9 2017, 2:50 PM 路 Mercurial, Security

Nov 6 2017

pouyana added a comment to T12856: Evaluate various "infrastructure-as-code" products.

For any body still interested, the project was in PHP, I had to rewrite in go, so it can be used elsewhere.

Nov 6 2017, 1:18 PM 路 Ops, Phacility

Nov 1 2017

epriestley added a revision to T11413: Support renaming Phacility instances: Restricted Differential Revision.
Nov 1 2017, 5:37 PM 路 Phacility

Oct 23 2017

epriestley closed T13009: MySQL may take several seconds after restart to begin listening on domain socket as Resolved.

I pushed secure004 with that patch and it worked fine, although mysql came back up fast enough that we didn't have to wait. Since I don't have a way to actually trigger this condition, I'm going to assume this is resolved until we have evidence otherwise.

Oct 23 2017, 8:11 PM 路 Ops, Phacility
epriestley closed T13008: Process slot exhaustion in Phacility web tier as Resolved.

This has been stable for about a week now.

Oct 23 2017, 6:24 PM 路 Ops, Phacility
epriestley added a comment to T13003: `admin.phacility.com` is receiving a huge volume of "leafweb" traffic.

This traffic eventually stopped on October 20th.

Oct 23 2017, 6:24 PM 路 Ops, Phacility
epriestley closed T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table as Resolved.

The pruned (at 0.15 threshold), optimized ngram index for the original affected instance is only ~13GB, which is entirely manageable with the changes to backups, and we haven't run into other issues.

Oct 23 2017, 6:21 PM 路 Ops, Phacility
epriestley added a comment to T13009: MySQL may take several seconds after restart to begin listening on domain socket.

We hit one of more of these (db024) last week so D18725 should fix it.

Oct 23 2017, 6:09 PM 路 Ops, Phacility
epriestley added a revision to T13009: MySQL may take several seconds after restart to begin listening on domain socket: Restricted Differential Revision.
Oct 23 2017, 6:03 PM 路 Ops, Phacility

Oct 22 2017

holmboe added a comment to T12856: Evaluate various "infrastructure-as-code" products.

I wrote a small dynamic inventory client (based on almanac /passphrase conduit API). It is not open source but I can open source it, if there is a need.

Oct 22 2017, 5:05 PM 路 Ops, Phacility

Oct 17 2017

epriestley added a revision to T13000: Sustained MySQL I/O overwhelmed db009 / huge Ferret engine ngrams table: Restricted Differential Revision.
Oct 17 2017, 9:00 PM 路 Ops, Phacility

Oct 16 2017

epriestley lowered the priority of T13008: Process slot exhaustion in Phacility web tier from Unbreak Now! to Normal.

I'm going to call this tentatively done and leave it open for a week or two to see if there's any fallout.

Oct 16 2017, 3:55 PM 路 Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

Something is making a lot of requests

Oct 16 2017, 3:54 PM 路 Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

The behavior of mod_reqtimeout is weird in production. Some of this is the LB, but some of it I don't have a good explanation for.

Oct 16 2017, 3:38 PM 路 Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I was able to get web001 to wedge a lot of requests in "R" ("Reading Request") -- note "SS" is "seconds since beginning of most recent request".

Oct 16 2017, 2:55 PM 路 Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I'm also unable to wedge secure. mod_status is working there, but since I can't wedge it it isn't very useful.

Oct 16 2017, 2:34 PM 路 Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

I'm going to take a more detailed look at local behavior for this specific request pattern.

Oct 16 2017, 2:19 PM 路 Ops, Phacility

Oct 14 2017

epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

This is working somewhat better than before, but I'm still able to wedge apache with enough requests using a pre-patch version of libphutil. I'm going to take a more detailed look at local behavior for this specific request pattern.

Oct 14 2017, 4:06 PM 路 Ops, Phacility
epriestley added a revision to T13008: Process slot exhaustion in Phacility web tier: Restricted Differential Revision.
Oct 14 2017, 3:00 PM 路 Ops, Phacility
epriestley added a comment to T13008: Process slot exhaustion in Phacility web tier.

It's currently possible for cluster hosts to hit rate limits against admin while doing normal deployment stuff, since they may make a lot of requests to admin very quickly.

Oct 14 2017, 2:45 PM 路 Ops, Phacility
epriestley added a comment to T13009: MySQL may take several seconds after restart to begin listening on domain socket.

I expect I can just reduce the data size to something manageable with the current workflow fairly easily

Oct 14 2017, 2:29 PM 路 Ops, Phacility