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

ceph: CEPH_HOST not IPv6 friendly #944

Open
OpenNebulaProject opened this issue Nov 20, 2017 · 2 comments
Open

ceph: CEPH_HOST not IPv6 friendly #944

OpenNebulaProject opened this issue Nov 20, 2017 · 2 comments

Comments

@OpenNebulaProject
Copy link


Author Name: Laurent Grawet (Laurent Grawet)
Original Redmine Issue: 3929, https://dev.opennebula.org/issues/3929
Original Date: 2015-08-07


Hi,

CEPH_HOST datastore variable doesn't like IPv6 addresses, even enclosed in brackets. The address is splitted at first ":" assuming the second section is a port number in the resulting libvirt xml deployment file.
See commit b559b32, LibVirtDriverKVM.cc, line 380

Thanks,

Laurent

@OpenNebulaProject
Copy link
Author


Original Redmine Comment
Author Name: Stefan Kooman (Stefan Kooman)
Original Date: 2015-08-14T14:14:12Z


Hmm, I about to launch a ceph cluster in a week from now based completely on IPv6. Is there a workaround for now? Ceph can't be run in a "dual-stack" mode ...

@OpenNebulaProject
Copy link
Author


Original Redmine Comment
Author Name: Ruben S. Montero (@rsmontero)
Original Date: 2015-08-14T14:47:14Z


Yes you can use the hosts names as in /etc/hosts, this problem arises when you try to use the IPv6. The solution is to use getaddrinfo in oned and not the :-split.

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

3 participants