The move completed without errors.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jun 10 2017
Instances are moving now.
Deploying, then picking this up again.
Jun 9 2017
The disabled/suspended instances finished up with no apparent issues, so I expect to move the live instances tomorrow.
A verrrry minor thing is that because we always transfer a repository backup (even if it's empty), a migration always generates a repository directory on the far end. We could maaaybe have restore remove the directory if it's empty after the restore finishes to tidy this up just a touch.
I'm moving all the disabled/suspended instances now.
With those changes, bin/instances move completed successfully.
As a sort of aside, --global --instance X is really slow right now (about 10s), and will only get slower in the future: it loads every instance page by page over Conduit, then does the remaining filtering by name locally. But it gets the right result, so this is reasonable enough for the moment. I may try to tune this before moving a lot of instances.
I hit two more minor issues:
bin/host restore failed with this error:
I read and wrote the repository and verified that the data really ended up on db012 and repo025.
I launched yellow-underneathie.phacility.com with forced services dbx012 and repox025. My goal here is to check for any code I missed which makes the assumption that dbX = repoX. I believe we don't have any of this code, but if we do, this instance should point out whatever problems we have that still need to be cleaned up.
- Swap stuff finished up.
- I merged master to stable for services/ to pick up bin/services sync --src ... --dst ....
- I merged master to stable for instances/ to pick up bin/instances move ... and related changes.
- core/ just runs master so nothing needed to merge.
- I upgraded repo025, then repo012, then admin001. None of these seemed to hit any issues.
While that's running, I closed dbx012 and repox012 to new allocations. The shard status panel correctly reflects repox025 with no paired DB service and the 012 shard as closed:
- I launched repo025.phacility.net, like other hosts in the tier.
- I added repo025.phacility.net to DNS in Route 53 (172.30.0.115).
- I added a device record (repo025.phacility.net) to Almanac on admin.phacility.com.
- I added a service record (repox025.phacility.net) to Almanac on admin.phacility.com, and bound it to the device.
- I added a device record for the backup volume, rback025.phacility.net.
I think the next steps are:
I cleaned up all that stuff and it doesn't look like I broke the world.
I think this means we don't need to migrate every host: the problem with swapping block001 over to be NAT'd was probably that the NAT gateway itself couldn't reach the public internet. When we changed the 0.0.0.0/0 rule to nat-..., that blocked the NAT gateway itself from getting out.
- I launched a new NAT gateway into the public subnet (block001); nat-0d470fc54d846a993.
- I reconfigured the private subnet route table to point at the new gateway instead of the old one.
- I can now reach the public internet from the host on the private subnet:
I think the problem is that the NAT gateway is currently in the private001 subnet, but needs to be in the public subnet (the NAT gateway itself must have a route to the public internet).
- I stopped the host, and got kicked off as expected.
- I started the host.
- Problem: This failed to magically fix anything, and I still can't connect to the public internet.
- I built a new route table, following the main route table.
- I replaced the target for the 0.0.0.0/0 rule with nat-... instead of igw-....
- Under "Endpoints", I added the new route table to the S3 endpoint so the private subnet can access S3.
- (This wasn't immediately reflected in the "Routes" UI, but it's not important for now so I'm going to assume it's a propagation issue until I need it.)
- (It showed up about a minute later.)
- I changed private001.phacility.net to use the new route table, with nat-... instead of igw-....
- I can still connect to the test host from the bastion.
- Problem: I still can't connect to the public internet from the test host.
- We launched a new private subnet (private001.phacility.net) yesterday.
- I launched a new instance (nat-test001.phacility.net) into this subnet, with no public IP.
- I can connect to the instance from the bastion host (bastion005), which is good.
- Problem: I can not connect to the public internet from the test host.
Jun 8 2017
Jun 7 2017
I queried the production backup log to find the maximum size of any active instance's backups to contextualize decisions around backup and storage management in D18094.
Conveniently, bin/restore already exists and does much of the above, although it doesn't have a --download flag yet and its current behavior is to abort if data already exists.
Actually, from the logs above I didn't even do it manually and just made it up for no reason.
Thinking about this a little more, there's really no reason to do any of the rebinding stuff until after we move the data. I did that earlier when moving manually, largely for convenience -- but we don't need to sequence things like that when automating, particularly if we don't need bin/storage to work on the new database.
I think we have a generally tricky situation on the database stuff here. The general algorithm this process is using so far is:
Jun 6 2017
(None of this impacts anything outside the ops realm in any way, except that some of the admin/ops-flavored UIs are changing a little.)
There will be a final written exam on June 19th.
Just to clarify, it's ok that I'm not following, nor understand any of this, correct?
Oh. My. God.
(Slightly related: I killed the test-nat instance this morning since it doesn't help actually test the NAT).
Er, that was rCORE085cd7e4 but I typed D instead of T.
I inched us forward on getting EC2 and Almanac to agree with one another, but need T12414 to make much more headway:
Some of the syntax has changed slightly from the above, but I think the overall plan remains basically correct.
phage remote status --pools db,repo and such work now, using Conduit credentials from the bastion to query admin. We can swap that stuff later if we want to switch to EC2.
As far as pulling this state from EC2, it's really easy to fetch the list of hosts that have a given tag: http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html
Jun 5 2017
Come up with a plan for where phage --pool repo is going to get the host list from.
Oh, I see what you're saying. Yeah, whatever logical naming scheme we come up with, we should block that pattern for display names.
I think I disagree with this but I want to be sure about what you're saying.
If we stop generating internal IDs from instance names, I think we should pick a generation scheme such that they can not ever collide
If we stop generating internal IDs from instance names, I think we should pick a generation scheme such that they can not ever collide -- backups/ErrantAnalyticalGiraffe/ on disk should never exist and be a different instance than ErrantAnalyticalGiraffe.phacility.com in the web (technically these namespaces are different today because you can not use uppercase letters in an instance name, but that feels very flimsy as a dividing line).
FWIW, I'm heavily in favor of the "display rename" approach, and allocating logical ids like ErrantAnalyticalGiraffe. Breaking the coupling between instance display name and its backing resources is a band-aid that will only get more painful to remove after we launch private instances.
Another adjacent piece of work here is automating provisioning (e.g., through autoscale groups or bin/provision) but I think we should mostly leave that for the future too since we're theoretically bringing up only one new host (or maybe two, natXXX + repoXXX). Many of the other changes here give us tools toward that anyway, and it would probably be better to pursue that as part of a future change that involves launching a larger number of new hosts (e.g., chassis swap on the whole tier).
I plan to take these steps specifically:
May 28 2017
May 27 2017
May 25 2017
@nemobis - um, you've ever been in enterprise software dependent business? I do consulting for companies that pay thousands euro per year per single solution (having 5-10 is norm) and within that they get sometimes as much as "3 free support ticket" or "50 free support tickets and 3 voting points for features". I personally developed some back-end solution to deal with one problem that started happening in version 4 of one software and got fixed after ~6 years. In version 10. why? because "this problem impacted only 17% of our customers and can be fixed manually. to have fix developed specially for you, pay us ~20x as much as you pay per yer per licence". And that.is.considered.normal.
I feel like there's just some kind of bizarre disconnect:
Well, it is worded very playfully and not very serious corporate business-like.
@nemobis: when customers pay (for example) Atlassian for Atlassian Premier Support, what value/right/expectation do you believe they're getting out of that which we aren't also offering above?
We're planning on selling enterprise support contracts, like those you can purchase from other self-hosting providers like GitHub, Gitlab, and Atlassian. You are not donating money to Phacility.
Indeed I'm not confused about that. That's why I pointed out that giving money in return for no right/expectation to anything, AKA donating, is usually something done towards non-profit entities with certain requirements, not for-profit entities.
We're an evil, for profit company. I'm not sure what's confusing about that.
Sorry, I'm unable to answer your question because I have no idea how you could compare development support to hosting services, or equity to donations.
May 19 2017
This looks more like donating than like buying a service. That's ok; but there are established methods to manage such things, usually involving a non-profit entity which accepts members and where members get some voting/decision-making privilege above some threshold of contribution (but you could also call it a donor council or a sponsorship with benefits).
May 17 2017
@nemobis, can you walk me through the major differences you see between the proposal above and the support plans offered by other vendors like GitHub, GitLab, and Atlassian so I can make things more clear?
If I read this correctly, people would pay a certain amount regularly without any certainty or reasonable expectation to have any of the fixes or support they care about. Instead they'll need to rely on the resident haruspex to assess what they're embarking on.
May 16 2017
A vaguely related question... how is the /status/ endpoint meant to work behind an ELB? AWS ELB's don't pass a Host header to the healthcheck endpoint, so by default it just returns a 500. I worked around this by using some nginx voodoo to rewrite the Host header if the User-Agent header matches ^ELB-HealthChecker/\d+\.\d+$, but this is less-than-ideal.
May 8 2017
phabricator trading cards ftw.
We might eventually support a trade/resale market -- one advantage is that we could give contributors something with slightly more valuable than stickers/flair/badges, but less complicated for us than doing fulfillment on schwag or dealing with taxes for actual money.
I was fully expecting a black market for mana points to be available.
I think that @epriestley just made capitalism and socialism obsolete by re-imagining everything in terms of Mana points. You sir, have won the internet.
May 5 2017
Not at all! You can just buy an extremely expensive personal support plan and continue controlling 100% of the roadmap based on personal whim!
Ugh, so I have to come up with reasonable arguments now instead of just paying for features?
I've just removed mentions from Consulting, but that should eventually be updated when this is formally available.