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

Tries to create duplicate volumes if there's only one gluster node #6

Closed
tmannerm opened this issue Dec 5, 2014 · 3 comments
Closed

Comments

@tmannerm
Copy link

tmannerm commented Dec 5, 2014

Currently this module tries to create volumes again, which is obviously fails because they already exist. This happens when there are no peers (so only one node in the pool) because in that case no volume facts are created and thus they are not seen by the creating code.

This seems to stem from the two checks at Gluster fact provider line 28 and line 58.

I'm not sure what's the best fix this situation. Maybe the volume facts should be provided in this case too but in that case the peer count check is not needed.

@skpy
Copy link
Contributor

skpy commented Dec 5, 2014

Thanks, @tmannerm - I never considered the case where a single server would be a fully functional Gluster server.

I'll have to set up a dev instance with a single Gluster host and evaluate all of these facts in order to determine the best path forward.

Stay tuned.

@jyaworski
Copy link
Member

Is this still an issue?

@skpy
Copy link
Contributor

skpy commented May 17, 2016

It's a valid question as to whether this module should support a one-node Gluster configuration; or if this module will only support multi-node Gluster configurations. I don't have a need for a single-server Gluster volume, but that doesn't mean that no one will.

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

No branches or pull requests

3 participants