Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesImplement multi-node ESX support in tenancy/auth code #1032
Comments
This comment has been minimized.
This comment has been minimized.
@msterin/ @shaominchen |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
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? |
This comment has been minimized.
This comment has been minimized.
@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 :-) |
This comment has been minimized.
This comment has been minimized.
It does work fine, thanks for looking into it! :) Last question: For example:
My concern with this is that:
Cheers, |
This comment has been minimized.
This comment has been minimized.
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 ... |
This comment has been minimized.
This comment has been minimized.
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