-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rock-on install wizard obfuscates share container info #2886
Comments
Assuming as-yet un-merged PR #2887 (removing the initial install blocker) we have the following share mapping within the resulting bareos-director container:
I.e. our bareos-director container has had its /etc/bareos mapped to the share intended for the bareos-storage container: likely due to a first match error in reverse engineering which container definition contained a "/etc/bareos" target. Ergo the proposal here that we have a parallel issue to what we observed with our env interpretation: and the back-end similarly having to reverse match from the Rock-on install wizard's obfoscating info re flat presentation of all container shares, rather than preserving user preference per container as presented/explained during the wizard's run: where the presented text indicates what each share is intended for. Similarly we have the following from an inspection of the bareos-storage container in the issue reproducer proposed multi-container Rock-on - in this case these are the intended mappings:
|
ProposalWe do, as per PR #2887 re a Rock-ons per-container
hence easing the back-ends job of matching share to the appropriate container in multi-container Rock-ons - when two rock-ons can very-well have the same internal mapping. I.e.:
Our prior front-end share_map (see: original issue text) does not preserve this info. However the above proposal of an additional dimension does. Enabling more robust share to container mapping. |
Ensure Rock-on install wizard maintains container awareness re requested Share mapping. Enabling more robust back-end Share to container volume mapping in multi-container Rock-ons.
…bfuscates-share-container-info Rock-on install wizard obfuscates share container info #2886
Closing as: |
During install of multi-container Rock-ons, the current Rock-on install front-end (wizard) drops container relevancy: i.e. for a reproducer Rock-on in draft PR form ("bare os server set": rockstor/rockon-registry#379) we have the following share info passed to the Rock-on creation back-end during Rock-on install:
from #1588 (comment)
With the following DB instantiated as a result:
I.e. repeat use of share id 16 associated with /etc/bareos but for two different containers:
Requested share mapping
Resulting share mapping
Above finding by-way of development on a suspected parallel issue affecting environment container relevance obfuscation: see Issue #1588 PR #2885
Related issue by @FroggyFlox re adding Shares to an existing Rock-on: "[Rock-Ons] Add_storage affects all containers in a Rock-On" #2000
The text was updated successfully, but these errors were encountered: