Page MenuHomePhabricator
Feed All Stories

Jun 19 2017

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

Just out of curiosity, why Salt is not a candidate? I think it is very comparable to the others.

Jun 19 2017, 7:44 PM · Ops, Phacility
epriestley added a revision to T12124: Counterintuitive priority setting via maniphest.edit conduit call: Unknown Object (Differential Revision).
Jun 19 2017, 7:40 PM · Maniphest, Conduit, Bug Report
amckinley added a comment to T12856: Evaluate various "infrastructure-as-code" products.

Terraform Review
Pros:

  • Simple declarative syntax
  • Intended to be invoked first with a dry run, which shows in detail all the resources that will be rebuilt or altered
  • Very focused on "immutable" infrastructure. Instead of manipulating resources in place, prefers to spin up new resources with the new config and spin down the old ones. For the stateful hosts, we might need to be clever about mounting and unmounting EBS volumes when instances get rebuilt.
Jun 19 2017, 7:27 PM · Ops, Phacility
epriestley added a revision to T12124: Counterintuitive priority setting via maniphest.edit conduit call: Unknown Object (Differential Revision).
Jun 19 2017, 7:25 PM · Maniphest, Conduit, Bug Report
amckinley created T12856: Evaluate various "infrastructure-as-code" products.
Jun 19 2017, 7:14 PM · Ops, Phacility
amckinley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

Ahhh, that makes more sense. I parsed that as saying "we could migrate the code" instead of the saved objects. If you want to add the glue code now and then assign it back to me after, I'll work on the migration in my Copious Free Time™.

Jun 19 2017, 6:22 PM · Maniphest, Conduit, Bug Report
epriestley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

Oh, sorry, maybe I wasn't clear. My plan is this:

Jun 19 2017, 6:19 PM · Maniphest, Conduit, Bug Report
amckinley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

If you're happy long-term with accepting all three types, I'm ok with that as a permanent fix. I'm planning on working through this week, just with weird/inconsistent hours.

Jun 19 2017, 6:10 PM · Maniphest, Conduit, Bug Report
epriestley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

Yes, we could migrate these instead.

Jun 19 2017, 6:02 PM · Maniphest, Conduit, Bug Report
amckinley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

Are saved queries/EditEngine forms things we could write migrations for? That might be even more brittle (for example, what to do about saved queries for priorities that no longer exist on the install), but accepting three different priority specifications of two different types seems a little too Postel's Principle for me.

Jun 19 2017, 5:56 PM · Maniphest, Conduit, Bug Report
epriestley created 2017 Week 24 (Mid June).
Jun 19 2017, 5:31 PM
epriestley claimed T12845: Convert remaining ancient configuration type classes to modern modular type classes.

I think this is a general problem with all JSON config types. The code for this is a bit messy and mixes "builtin" and "custom" types, but should probably just be rebuilt to not have all that weird magic.

Jun 19 2017, 5:06 PM · Infrastructure, Config
epriestley added a comment to T12851: The feed query '2HfUlTnoqZbw' causes an exception in PhabricatorSearchCheckboxesField.

This came from D18028, when I changed the Include stories about projects I am a member of. checkbox to be a CheckboxesField. I think the issue is that existing saved queries may have the old value for the field stored (true), instead of the new value (array('self')). These queries would be impossible to construct in the UI now.

Jun 19 2017, 5:04 PM · Feed, Bug Report
epriestley added a subtask for T12101: Phabricator PHP 7 Compatibility: T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes.
Jun 19 2017, 4:24 PM · Infrastructure, Guides
epriestley added a parent task for T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes: T12101: Phabricator PHP 7 Compatibility.
Jun 19 2017, 4:24 PM · Infrastructure
epriestley created T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes.
Jun 19 2017, 4:24 PM · Infrastructure
epriestley reopened T12124: Counterintuitive priority setting via maniphest.edit conduit call as "Open".

I'll see if I can smooth this over a little before installs figure it out.

Jun 19 2017, 4:16 PM · Maniphest, Conduit, Bug Report
epriestley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

After some additional poking, there are a couple of other compatibility issues here:

Jun 19 2017, 4:15 PM · Maniphest, Conduit, Bug Report
chad closed T12840: (maybe) bring back commit graphs in history as Resolved by committing Restricted Diffusion Commit.
Jun 19 2017, 3:57 PM · Design, Diffusion
chad closed T12840: (maybe) bring back commit graphs in history, a subtask of T12824: Redesign Diffusion, as Resolved.
Jun 19 2017, 3:57 PM · Design, Diffusion
epriestley added a revision to T12851: The feed query '2HfUlTnoqZbw' causes an exception in PhabricatorSearchCheckboxesField: Unknown Object (Differential Revision).
Jun 19 2017, 3:56 PM · Feed, Bug Report
epriestley closed T12798: Decommission cluster host `repo012` as Resolved.
  • I filed T12854 for final cleanup.
  • I stopped repo012.phacility.net.
  • The repo tier now has a discontinuity. --timeout will "fix" it but this should be fixed properly, except that we're presumably throwing away Phage in favor of Chef/Puppet/Ansible in T12847 which will moot this.
Jun 19 2017, 3:34 PM · Ops, Phacility
epriestley created T12854: Clean up resources for decommissioned `repo012`.
Jun 19 2017, 3:29 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

I started the instance, then used bin/remote deploy to deploy it. Everything came back up cleanly with no additional steps. Things were back online after about 10 minutes (maybe a bit less).

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

AWS stopped the instance; I'm starting it again now.

Jun 19 2017, 3:13 PM · Ops, Phacility
chad added a comment to T12853: Gutter icons in Diffs not visible on macOS.

It was restricted as a prototype for testing, I don't believe there was an originating task, maybe T8250. If you liked it, let us know!

Jun 19 2017, 9:23 AM · Bug Report
aik099 added a comment to T12853: Gutter icons in Diffs not visible on macOS.

Please remember to update Phabricator before filing bug reports. This UI no longer exists.

Jun 19 2017, 9:16 AM · Bug Report
chad added a comment to T12853: Gutter icons in Diffs not visible on macOS.

My guess though is the Mac your using is a laptop without a mouse. We didn't display the bar on "touch" interfaces, which MacOS + Trackpad registers as.

Jun 19 2017, 9:05 AM · Bug Report
chad added a comment to T12853: Gutter icons in Diffs not visible on macOS.

Please remember to update Phabricator before filing bug reports. This UI no longer exists.

Jun 19 2017, 8:40 AM · Bug Report
chad closed T12853: Gutter icons in Diffs not visible on macOS as Invalid.
Jun 19 2017, 8:38 AM · Bug Report
aik099 created T12853: Gutter icons in Diffs not visible on macOS.
Jun 19 2017, 8:22 AM · Bug Report
chad closed T12852: just test as Invalid.
Jun 19 2017, 7:57 AM
• vanto- removed a project from T12852: just test: Feature Request.
Jun 19 2017, 7:39 AM
• vanto- added a comment to T12852: just test.

haha

Jun 19 2017, 7:38 AM
• vanto- created T12852: just test.
Jun 19 2017, 7:37 AM
• vanto- added a watcher for Community: • vanto-.
Jun 19 2017, 7:31 AM

Jun 18 2017

kszatan updated the task description for T9456: Evaluate upstream support for third-party build systems.
Jun 18 2017, 9:28 PM · Restricted Project, Harbormaster
kszatan updated the task description for T9456: Evaluate upstream support for third-party build systems.
Jun 18 2017, 9:28 PM · Restricted Project, Harbormaster
kszatan edited the content of Community Resources.
Jun 18 2017, 9:04 PM
kszatan added a comment to T12813: Integrate Harbormaster with GoCD.

I was going to wait with updating this task until I'm finished but I'm stuck on GoCD side for some time. The extension for Phabricator is 99% ready so anyone interested may give it a try:
https://github.com/kszatan/harbormaster-gocd-buildstep
It's enough to be able to schedule a pipeline in GoCD but nothing more. This issue hampers my progress with notifying Harbormaster about pipeline status. I'll update this task when all is working as planned.

Jun 18 2017, 9:00 PM · Harbormaster, Feature Request
chad added a revision to T7843: Marking all notifications as read - action flow tedious: Unknown Object (Differential Revision).
Jun 18 2017, 5:41 PM · Notifications
waxmigs2902 added a comment to T10605: Implement setOriginalText() and setReplacementText() in RuboCop driver.

done! cheers

Jun 18 2017, 11:38 AM · Lint, Feature Request
20after4 created T12851: The feed query '2HfUlTnoqZbw' causes an exception in PhabricatorSearchCheckboxesField.
Jun 18 2017, 8:14 AM · Feed, Bug Report
chad closed T12850: Checklists with dangling checkboxes overflow onto subsequent text as Resolved by committing Restricted Diffusion Commit.
Jun 18 2017, 8:00 AM · Remarkup, Bug Report
chad added a revision to T12840: (maybe) bring back commit graphs in history: Unknown Object (Differential Revision).
Jun 18 2017, 7:58 AM · Design, Diffusion
chad added a revision to T12850: Checklists with dangling checkboxes overflow onto subsequent text: Unknown Object (Differential Revision).
Jun 18 2017, 6:52 AM · Remarkup, Bug Report

Jun 17 2017

avivey added a project to T12850: Checklists with dangling checkboxes overflow onto subsequent text: Remarkup.
Jun 17 2017, 2:14 AM · Remarkup, Bug Report
jboning created T12850: Checklists with dangling checkboxes overflow onto subsequent text.
Jun 17 2017, 1:49 AM · Remarkup, Bug Report
avivey renamed T12849: No way to have an empty row in a remarkup table from Remarkup parser ignores blank table rows to No way to have an empty row in a remarkup table.
Jun 17 2017, 1:47 AM · Remarkup, Bug Report
avivey moved T12849: No way to have an empty row in a remarkup table from Backlog to Tables on the Remarkup board.
Jun 17 2017, 1:46 AM · Remarkup, Bug Report

Jun 16 2017

ephemeris added a comment to T12828: git lfs broken due to missing ttf.relative config key.

I didn't see this bug report earlier and was about to...start sprinkling error_log() everywhere to see what was going wrong. (What better way to spend Friday afternoon, right?)

Jun 16 2017, 9:02 PM · Bug Report
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Another possibility is that since we need only a very small number of connections between subnets (database replication and VCS over SSH only, I think), we could enumerate everything and then tunnel/forward them with something like stunnel/ssh/haproxy rather than a full-blown VPN. That also feels like kind of a mess, but maybe not as much of a mess as doing a full VPN setup. It would probably look something like the OpenSWAN diagram, except the OpenSWAN boxes would be haproxy/stunnel boxes or whatever instead that just forwarded a specific set of ports between devices:

Jun 16 2017, 7:22 PM · Plans, Ops, Phacility
amckinley added a comment to T12847: A Pathway Towards Private Clusters.

what network level safeguard

Jun 16 2017, 6:14 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

If we do VPC-level VPNs, what network level safeguard prevents web001.evil-attacker.us-west.phacility.com from connecting directly to db001-master.wholesome-good-company.us-east.phacilty.com? Subnet ACLs can no longer enforce this, right? All the traffic arriving on the east coast will originate from the local VPN endpoint, not from the corresponding west-coast subnet? Or am I misunderstanding how this works?

Jun 16 2017, 5:45 PM · Plans, Ops, Phacility
amckinley added a comment to T12847: A Pathway Towards Private Clusters.

To back up a bit, how much human touching are you envisioning for bring up a new private cluster? In my head I was thinking we'd at least have to manually deal with requesting the cert, but it looks like There's An API For That, so I think it's at least possible to make the whole thing work magically. It would be something like filling out the form triggers the creation of a new terraform (or whatever) config which then gets deployed.

Jun 16 2017, 4:56 PM · Plans, Ops, Phacility
amckinley added a comment to T12847: A Pathway Towards Private Clusters.

That we have VPC <-> VPC VPNs instead of subnet <-> subnet VPNs?

Jun 16 2017, 4:12 PM · Plans, Ops, Phacility
charlax added a comment to T12843: Add support for creating workboard columns from the Conduit API.

Milestones works great for this, but you still have to manually create the workboard (just going into workboard and clicking create - milestones show up).

Jun 16 2017, 1:59 PM · Conduit, Projects, Workboards, Feature Request
ivo created T12849: No way to have an empty row in a remarkup table.
Jun 16 2017, 11:22 AM · Remarkup, Bug Report
epriestley added a comment to T12799: Consider an "API Utilities" application.

We also technically do something like this in the production cluster today with bin/services sync, which (among other things) synchronizes Almanac services from the admin tier. The script currently just cheats and forces them to allocate with the same PHIDs, so we know local service X is the same as remote service X because they have the same PHID. I'm not sure we'd necessarily change this if we had a real "utilities" API but it's definitely a bit hacky as written today.

Jun 16 2017, 11:09 AM · Conduit
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I'm a bit out of my depth here -- what's the alternative you're suggesting? That we have VPC <-> VPC VPNs instead of subnet <-> subnet VPNs? What, specifically, is the "just use TLS" plan?

Jun 16 2017, 10:59 AM · Plans, Ops, Phacility
20after4 added a comment to T12799: Consider an "API Utilities" application.

That does sound powerful. +1

Jun 16 2017, 8:41 AM · Conduit
20after4 awarded T11439: Retrieve Diff PHID via phid.lookup a Love token.
Jun 16 2017, 8:30 AM · Feature Request
chad awarded T12847: A Pathway Towards Private Clusters a Baby Tequila token.
Jun 16 2017, 4:32 AM · Plans, Ops, Phacility
fujimotos closed Q627: What is the SSH fingerprint of vault.phacility.com? as resolved.
Jun 16 2017, 2:09 AM · Phacility
amckinley added a comment to T12847: A Pathway Towards Private Clusters.

Okie dokie, I'll start evaluating.

Jun 16 2017, 2:03 AM · Plans, Ops, Phacility
amckinley closed T12848: Currently at max EC2 instance launch count as Resolved.

All done.

Jun 16 2017, 1:52 AM · Ops, Phacility
amckinley added a comment to T12848: Currently at max EC2 instance launch count.

AWS support case ID is 2243430271.

Jun 16 2017, 1:48 AM · Ops, Phacility
amckinley created T12848: Currently at max EC2 instance launch count.
Jun 16 2017, 1:46 AM · Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I think the worst possible outcome is that we throw it all away for some reason we don't currently forsee, you learn a lot more about how the cluster works in the process, and I can answer "Why aren't you using Chef/Ansible/Puppet?" when we make the next hire.

Jun 16 2017, 12:36 AM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I think we just have two very different models of where operational risk lies and how to hedge against it -- the risks you associate with first-party tooling are risks I associate with third-party tooling. We can't really objectively prove that either model is better because failures are rare in either case. I think we're worse off trying to compromise the two models than picking either one and sticking to it.

Jun 16 2017, 12:33 AM · Plans, Ops, Phacility

Jun 15 2017

amckinley added a comment to T12847: A Pathway Towards Private Clusters.

I'm concerned that this may turn a 2-month project into a 6-month project if we write something ourselves, or a 12-month project if we use Ansible, Chef or Puppet.

Jun 15 2017, 11:49 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I'll also suggest that we should implement some kind of "infrastructure as code" tool

Jun 15 2017, 10:29 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Today, we read config from admin.phacility.com on each request. This is generally good for shared clusters, although T12646 discusses some issues.

Jun 15 2017, 10:27 PM · Plans, Ops, Phacility
amckinley added a comment to T12847: A Pathway Towards Private Clusters.

I'll also suggest that we should implement some kind of "infrastructure as code" tool before going too far down the road of setting this stuff up. I'd really like to get to the point where no one ever has to push buttons in the AWS console unless something is really broken. I don't have super strong feelings about Ansible vs chef vs puppet, but I'd recommend against CFEngine and SaltStack.

Jun 15 2017, 10:24 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Instances should probably still have short display names (like "epriestley" corresponding to epriestley.phacility.com) for tooling consistency and, at least today, for mail. It's annoying/inconvenient if we can never call this instance "epriestley" and always have to call it "phabricator.epriestley.com". After T11413, they will also have possibly-different internal names, perhaps inst-abc or PHID-INST-abcdfe.

Jun 15 2017, 10:21 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Each private cluster should be on its own subnet. If/when we let installs run custom code on an instance and it's a security nightmare and roots the box, no other customer should be vulnerable.

Jun 15 2017, 10:05 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

At least, not until we launch Phacility Apps for Domains and rebrand it to PSuite a few years later.

Jun 15 2017, 9:40 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

(We can't ever host bugs@epriestley.com directly anyway -- that always has to forward -- and that's probably what installs would want if they care about any of this.)

Jun 15 2017, 9:39 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

no lol

Jun 15 2017, 9:38 PM · Plans, Ops, Phacility
amckinley added a comment to T12847: A Pathway Towards Private Clusters.

As far as requesting certs goes, our "Request Certificate" button in the AWS console will work correctly by sending an email to the domain's owner:

Jun 15 2017, 9:35 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

The main domain name, phabricator.epriestley.com, must be pointed at the ALB.

Jun 15 2017, 9:33 PM · Plans, Ops, Phacility
epriestley added a comment to Q627: What is the SSH fingerprint of vault.phacility.com?.

8a:7a:a7:de:52:8e:eb:7a:de:9b:73:c4:9f:88:13:9d

Jun 15 2017, 9:31 PM · Phacility
avivey updated subscribers of Q627: What is the SSH fingerprint of vault.phacility.com?.

@chad, @epriestley - I think this is a reasonable question.

Jun 15 2017, 9:30 PM · Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

SSL Certificates and Load Balancers

Jun 15 2017, 9:23 PM · Plans, Ops, Phacility
avivey renamed T11138: mail is not delivered if metamta.placeholder-to-recipient is null from metamta.placeholder-to-recipient doesn't upgrade CCs to To as it says so. [With more info] to mail is not delivered if metamta.placeholder-to-recipient is null.
Jun 15 2017, 9:23 PM · Mail, Bug Report
aravindh added a comment to T11138: mail is not delivered if metamta.placeholder-to-recipient is null.

What is the problem? What is wrong/not working?

Jun 15 2017, 9:20 PM · Mail, Bug Report
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I think there are broadly two halves to this which we can think about mostly separately:

Jun 15 2017, 9:10 PM · Plans, Ops, Phacility
epriestley created T12847: A Pathway Towards Private Clusters.
Jun 15 2017, 9:02 PM · Plans, Ops, Phacility
avivey added a comment to T11138: mail is not delivered if metamta.placeholder-to-recipient is null.

I'm not sure I understand something:

Jun 15 2017, 8:57 PM · Mail, Bug Report
janitorial awarded T12840: (maybe) bring back commit graphs in history a Burninate token.
Jun 15 2017, 8:16 PM · Design, Diffusion
aravindh added a comment to T11138: mail is not delivered if metamta.placeholder-to-recipient is null.

I am running into this issue too and am on commits:

Jun 15 2017, 7:32 PM · Mail, Bug Report
tmanick awarded Consulting a Love token.
Jun 15 2017, 6:52 PM
amckinley edited the content of 2017 Week 23 (Early June).
Jun 15 2017, 5:16 PM
epriestley added a revision to T8250: Would like to see all comments and their status in a list: Unknown Object (Differential Revision).
Jun 15 2017, 1:35 PM · Inline Comments, Prioritized, Restricted Project, Differential
epriestley added a revision to T12733: (2017 Week 20) Inline Comments Errata / Feedback: Unknown Object (Differential Revision).
Jun 15 2017, 1:35 PM · Inline Comments, Installing & Upgrading, Differential
epriestley added a comment to T12799: Consider an "API Utilities" application.

Maybe another capability here is just letting callers put a random bag of properties on any object. I don't reaaaaally have use cases for that but it "seems powerful" if we're building all of this already at some point.

Jun 15 2017, 12:35 PM · Conduit
axelb added a comment to T12117: Conduit API method audit.query fails with 'Undefined class constant CONCERN_ACCEPTED'.

Okay thanks for your answer. So if i used audit.Query to get (for example) audit statuses etc.. I have to wait that diffusion.commit.search implements all functionnalities?

Jun 15 2017, 12:27 PM · Audit, Diffusion, Conduit, Bug Report
epriestley closed T8909: Provide ability to hide all inline or done comments as Resolved by committing Restricted Diffusion Commit.
Jun 15 2017, 12:23 PM · Inline Comments, Prioritized, Restricted Project, Restricted Project, Differential, FreeBSD
epriestley added a comment to T12117: Conduit API method audit.query fails with 'Undefined class constant CONCERN_ACCEPTED'.

No.

Jun 15 2017, 12:20 PM · Audit, Diffusion, Conduit, Bug Report
axelb added a comment to T12117: Conduit API method audit.query fails with 'Undefined class constant CONCERN_ACCEPTED'.

Is it possible to unfreeze audit.query if diffusion.commit.search is not returning enough informations to replace audit.Query?

Jun 15 2017, 12:14 PM · Audit, Diffusion, Conduit, Bug Report