Skip to content

ipv6 support #158

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

Closed
OmAsana opened this issue May 22, 2017 · 0 comments · Fixed by #159
Closed

ipv6 support #158

OmAsana opened this issue May 22, 2017 · 0 comments · Fixed by #159

Comments

@OmAsana
Copy link
Contributor

OmAsana commented May 22, 2017

The tool does not work with ipv6 only hosts.
In the log I see the following line:

[2017-05-22 15:38:29,314] [CRITICAL] [MainProcess] [Main:exception:218] Error setting up mongodb-consistent-backup: Could not resolve host 'myhostname', error: [Errno -2] Name or service not known

The problem is that the function validate_hostname() here does not support ipv6.

Mongodump tool supports ipv6 out of the box. For testing purposes I simply commented out this check and backups were done without problems.

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 a pull request may close this issue.

1 participant