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

Adding Region as configurable parameter #9

Merged
merged 2 commits into from
Apr 17, 2017

Conversation

yholkamp
Copy link
Contributor

To support using the driver on OpenStack environments with multiple regions (or a non-default name) I've added 'Region' as configurable parameter. I'm not completely sure if we'd want to default to "RegionOne" as value but I've added it for compatibility just in case. Using these changes it's now possible to use the driver on the OpenStack platform of OVH.com.

Finally I've also updated the example configs to include double quotes around the attribute names as those are required by the JSON parser.

I think these changes should be safe to be merged in but let me know if you see any issues!

Thanks,

…tack environments while still defaulting to "RegionOne"
On CoreOS it is not possible to create the socket with the 'root' group, it has to be 'docker'. Reference: docker/go-plugins-helpers#38
@yholkamp
Copy link
Contributor Author

Additionally I've added SocketGroup as configurable parameter, on CoreOS machines it's not possible to set up the socket using the 'root' user group. Without setting this to 'docker', the plugin will fail to start, see for instance docker/go-plugins-helpers#38 as a reference.

With this additional configurable parameter, the plugin is now working as expected on a CoreOS host on the OVH public cloud. 😄

Copy link
Owner

@j-griffith j-griffith left a comment

Choose a reason for hiding this comment

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

LGTM, thanks yholkamp

@j-griffith j-griffith merged commit 99c840f into j-griffith:master Apr 17, 2017
@yholkamp yholkamp deleted the configurable-region branch April 22, 2017 07:16
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

Successfully merging this pull request may close these issues.

2 participants