Skip to content
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

NodePublishVolume target_path uniqueness requirement #49

Closed
Jgoldick opened this issue Jun 19, 2017 · 2 comments
Closed

NodePublishVolume target_path uniqueness requirement #49

Jgoldick opened this issue Jun 19, 2017 · 2 comments

Comments

@Jgoldick
Copy link

There is an assumed uniqueness of target_path across Volumes that today must be enforced by the CO. If two volumes had the same target_path and they ended up on the same node there would be problems, even worse this bad config would be masked if they were first published on different nodes.

Even if we implemented the changes described in https://github.com/container-storage-interface/spec/issues/17 and the target_path would still need to be unique relative to the container-scoped name space.

Note for those of a Windows-bent: be aware that not every file system is case sensitive so one can have two different strings that are effectively the same target_path.

@jdef
Copy link
Member

jdef commented Jun 26, 2017 via email

@Jgoldick
Copy link
Author

Yes, I have a general leaning to making assumptions explicit in specs within reason.

While I know there's a background assumption that these paths are probably some form of hash or UUID, that is not necessarily going to be case forever unless it's added as a requirement in this spec.

There's a lot of motivation for human readable strings in practice. Once you allow that, and add in the fact that Windows file names are case-insensitive Unicode, then cluster unique target names are not going to happen without enforcement by the CO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants