-
Notifications
You must be signed in to change notification settings - Fork 88
Implement multi-node ESX support in tenancy/auth code #1032
Comments
@msterin/ @shaominchen |
|
Question: However the symlink doesn't seem to persist. so every time the host is restarted auth-db isn't found and _DEFAULT is used.
I tried the following to restart fresh:
But the automatically created symlink still doesn't persist after reboot. A workaround would be to add 'vmdkops_admin config init --datastore "shared-DS"' in the startup script but it doesn't seem like a long term solution. Any idea on how to make it persistent? |
@vxav - it's a bug ( #1347 ), we'll release the fix shortly. Meanwhile, you can refer to KB2043564 and if you are on ESXi 5.1/5.5/6.x add the following to
Please validate that the code works in your case before rebooting :-) |
It does work fine, thanks for looking into it! :) Last question: For example:
My concern with this is that:
Cheers, |
Yes, it is by design - when there is no DB we fail back on "default everything. no security".
I see your point , a config issue (e.g the one described above) can lead to unpleasant consequences. So when the config is inited (or removed) we'll auto-update local.sh. Does it address the concerns ? We can have a quick teleconf to chat if you want to, this is an experimental feature and we are interested in learning about the way people would prefer to use it ... |
I see, it makes sense, I actually hadn't tried to break the link. I tried just now and as you said it works as expected: vmdkops goes into broken link and the docker container munching a vsphere volume stays in desired state "Ready". Nice one, cheers! |
Implement per the following assumption/desired behavior
Assumption: Cross-ESX multi-tenancy works on shared datastores only
Approach: Centralized backend DB on shared storage, with symlinks from local (/etc/vmware)
Behavior changes:
Milestone 1
Milestone 2
The text was updated successfully, but these errors were encountered: