I'm also in no way arguing against making these all individually commentable, I just try to look at core problems presented and make sure we solve the actual proble you are having and not just implanting random features. If there is some way to make Phriction work better for documenting recurring meetings, I'm generally more in favor of that.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Jun 28 2015
Calendar is a prototype application, meaning it's unfinished, buggy, and still undergoing major changes. We generally prefer not to take bug reports or feature requests on prototypes.
OK, let's just forget about meeting minutes for Phabricator's calendar app. It may be a bad example from your point of view (even though I am not completely sold to using Phriction instead, due to the lack of a nice calendar view that makes it easier to browse events in a familiar way).
The points with are solved in this Diff
Redesign-specific.
I agree with @chad and @lpriestley: meeting minutes on calendar events would be hard to find or search. Typically one doesn't remember the day the meeting took place, they remember the type of meeting and search all the minutes. Being able to tag wiki articles with a date or calendar would be useful though: or being able to couple an agenda + minutes + calendar entry.
Interesting point, @chad. I do still think that the current commenting behavior on recurring events is inconsistent. Ghost event exceptions are real live events, so they have their own comments, but other generated ghost events are not, and they all share comments with their parent. I think the way forward here is to convert ghost events to real events if you want to leave a comment on them.
Jun 27 2015
Actually, looking at https://sslcheck.globalsign.com/en_GB/sslcheck?host=secure.phabricator.com#52.8.228.58-srv-reg provides some better insight:
Yeah I'm seeing SSL errors as well. Not sure if it helps but there are some items in yellow on https://www.ssllabs.com/ssltest/analyze.html?d=secure.phabricator.com
I had the same thing as @ftdysa but its fine now...
Sorry about that -- that patch should fix this one. Let me know if you hit anything else.
My main concern here is we already have a tool for documenting things with Phriction. Changelog is a good example of what you are describing. We keep it updated every week.
Huh, well I don't think I'm crazy. I'll take a screenshot if it happens again.
It's a single host and I didn't touch anything in the last couple hours.
Green now, is this behind an lb or could a server be misconfigured?
Currently on phone so I'm a bit limited but secure.phabricator.com is showing a red lock and the "Your connection is not private warning".
Can you be more specific? I can't reproduce this.
Unsure if it is due to this but chrome is complaining about your ssl cert.
I think I'm going to bring .org onto this host for simplicity/consistency, too. Putting it on corp is messy because of SSL, but putting it here for now should be straightforward.
Oh, I need to hook up diviner / symbols, too. I'm probably just going to cron those. So still-remaining stuff I'm aware of is:
I manually installed xhprof on the host since it needs some special setup steps that aren't trivial to integrate into the deployment tools, and isn't particularly important to have available.
Backups work but won't be run automatically by cluster administration services, although they are reported. I'm just going to cron them for now.
Stuff I'm still tracking:
- I configured HTTP -> HTTPS in a standard way (on this host, it involves some legacy oddness).
- I added host SSH keys and switched the tier to use them.
- I verified external connectivity and reasonable-seeming repo connectivity.
- I created secure001.phacility.net and sbak001.phacility.net devices on Admin, so generating routine backups will depend on the cluster being available. This seems acceptable as a dependency.
- I added run.repo to the host attributes to get repo backups working and verified repo backups get written.
- I dumped all the data and moved it over.
- I renamespace'd the database to secure and loaded it, then made config adjustments to use this as the storage namespace.
- I unpacked the repos into /core/repo/secure, then made a config adjustment for this.
- I allocated a new elastic IP and swapped DNS over (we still have javelinjs on the old box, plus we can't reuse a non-VPC elastic IP in a VPC).
I've completed the cluster deployment and am resuming this now.
I recommend just installing PHP Windows binaries and putting them in your PATH. This + Git for Windows tends to work quite well.
Thanks for the report. That should fix the issue, let us know if you run into anything else.
Please don't pentest on a production install.
Jun 26 2015
"Audit" is basically "Query commits", just a little un-modern / funky.
I think this is kind-of working now. I'm going to take a break for today and pick it back up tomorrow since I'm pretty close to bringing the data over, which might take a while, and I'm sort of committed to finishing once I start it.
- I created a new instance.secure security group. I removed port 25 (SMTP), since we now use Mailgun for inbound mail. I removed port 843 (Flash sockets) since we no longer use them. I changed administrative SSH from 222 to 2222 for consistency with the vault tier. This leaves us with 22, 80, 443, 2222, and 22280.
- I launched a secure001 host and added a secure001 DNS entry for it in Route 53.
- I created and attached sbak001, srepo001 and sdata001 volumes. This is a little overkill but should work well with the tooling.
- I created a new "secure" host role in rCORE44a038f, and deployed the bastion to get it to recognize the role.
- I used bin/remote deploy secure001 --port 22 to do an initial deploy.
- I added secure.conf and the missing sshd library in rCORE95a18f3.
- I added a bunch of config files and stuff in rCORE78c6c9a. This got SSH moved to 2222 correctly, so --port 22 is no longer required (like vault, this tier does need it for initial deploys).
- Kept fiddling with config (see diffs), thing is sort of deploying properly now, at least.
I agree with @epriestley here. For real time chat about a diff conpherence or in person usually works better than comments. Its not uncommon for me to write something like "see above" or "see comment" or "this is an example" when I haven't written the meta-comment yet.
I'm starting this now.
My experience is inline comments usually aren't chat-like and would not make sense if synchronized in real time. It's intentional that they don't publish for other users until the author is ready to share them. For example, I often make an inline asking about something I don't understand, but later understand it after looking at more of the diff. I also often make an inline pointing out an instance of a larger theme, but the comment on its own doesn't make sense without the larger explanatory text. In both of these cases, publishing them before I'm ready to share the comments would be confusing or unclear.
Stuff that went poorly:
- I set instances.open to 0 on the 001 services and to 1 on the 002 services.
- I created a new instance and verified it came up on the 002 services.
- I verified that the test-on-002 instance still worked. Verified that a known 001-instance (meta) still works.
- I connected to the test instance, enabled Darkconsole, verified it was hitting the right DB, etc.
- I created, cloned, and pushed a repository.
- I ran host backup explicitly on both machines. This wanted device entries for the volumes for logging. I created them; this completed smoothly afterward.
- I verified that the backups appeared in the web UI log, that the repository was on the correct host, etc.
AppArmor uses file modification time heuristics to decide whether it can read a cache or not. This heuristic guesses the wrong result in the deployment case. I added -T to stop it from using the cache in rCORE8371c05b. Instance upgrade/sync operations now work correctly.
Jun 26 18:38:15 db002 kernel: [ 1844.819416] type=1400 audit(1435343895.006:33): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/core/conf/mysql/my.cnf" pid=5526 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000 Jun 26 18:38:15 db002 kernel: [ 1844.825878] type=1400 audit(1435343895.014:34): apparmor="DENIED" operation="open" profile="/usr/sbin/mysqld" name="/core/conf/mysql/my.cnf" pid=5536 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
- I created Almanac service entries for repox002 and dbx002, following the 001 templates. Notably, repo bindings need a protocol specified. I didn't specify "instances.open" on these yet.
- I created a new instance and verified it came up on repox001 and dbx001 still, since the new services aren't open.
- I manually edited the instance to move it to the 002 services, then tried to upgrade the database. This failed.
- I created Almanac device entries for these hosts, following db001 and repo001. Both deploys went cleanly once the device entries were created.
- I used remote ssh <host> to connect to the devices and verified connectivity, volume attachment, deployed libraries, branches, that mysql works on db002, iptables rules, and that nothing appeared otherwise funky or broken. I didn't catch anything suspicious, except that remote deploy doesn't initialize or mount the backup volume: we do that when we actually perform backups. It probably should, just to catch misconfiguration/errors earlier. For now, I'll do this manually later on. I filed T8688 to follow up.
When creating device entries, I discovered AlmanacServiceQuery has a bug where name is not returned in the paging map. This prevents paging when an install has more than 100 service entries.
When a new host comes up with no instances, we don't handle it cleanly at the tail end of deployment.
This cleared MySQL deployment and just left us with the "no instances" issue on both hosts.
We don't actually install MySQL onto hosts in the db role.
- I launched repo002 and db002 into the cluster.
- I created .phacility.net DNS entries for the hosts.
- I created ddata002, dbak002, rdata002 and rbak002 volumes and attached them according to Adding Cluster Hardware.
- I used bin/remote deploy <host> to deploy each host. Both hosts deployed mostly cleanly.
I'm starting this now. This should ideally be routine, but I expect there will be a few hiccups.
For communication, my plan today would just be to use IRC/email/phonecalls since we have a small team, run operations mostly in the open, and are all regularly available on these other channels, and the likely course of action is "wait for AWS to come back up". I think that's generally reasonable until we have a larger operations team and more operational responses available, so I'm not particularly concerned about Conpherence/Maniphest on this instance being down.