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

Add option to create minio clusters #19

Merged
merged 3 commits into from
Jun 26, 2018
Merged

Conversation

SuperQ
Copy link
Collaborator

@SuperQ SuperQ commented Jun 25, 2018

Add a cluster list that overrides the datadirs list, this allows for
local creation of data storage directories separate from a list of
cluster members.

@SuperQ
Copy link
Collaborator Author

SuperQ commented Jun 25, 2018

I don't know what's up with the test:

ERROR: Idempotence test failed because of the following tasks:
* [minio-fedora-27] => ansible-minio : enable and start the minio service
* [minio-ubuntu-16.04] => ansible-minio : enable and start the minio service
* [minio-centos-7] => ansible-minio : enable and start the minio service
* [minio-ubuntu-18.04] => ansible-minio : enable and start the minio service
* [minio-debian-9] => ansible-minio : enable and start the minio service

@atosatto
Copy link
Owner

atosatto commented Jun 25, 2018

If you do molecule converge and you connect to the containers is minio running?

It might be that for whatever reason minio fails to start.

I'll give it a try later and try to see what's up.

@SuperQ
Copy link
Collaborator Author

SuperQ commented Jun 25, 2018

Figured it out, Minio is very sensitive to the setup of volumes in the erasure code mode.

README.md Outdated
```yaml
minio_server_datadirs:
- '/minio-data'
minio_server_cluster_nodes:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs at least 4 nodes, let's not confuse users with 3 nodes in example.


```yaml
minio_server_datadirs:
- '/minio-data'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs at least 4 directories, not 1.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need 4 storage targets over the whole cluster, not per server.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right.

@paulfantom
Copy link
Collaborator

Overall it looks good, I just dropped some comments regarding documentation.

@SuperQ
Copy link
Collaborator Author

SuperQ commented Jun 25, 2018

@paulfantom I added some additional notes to the README.

Add a cluster list that overrides the datadirs list, this allows for
local creation of data storage directories separate from a list of
cluster members.
Copy link
Collaborator

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SuperQ SuperQ merged commit eed3a54 into atosatto:master Jun 26, 2018
@SuperQ SuperQ deleted the cluster branch June 26, 2018 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants