Bug #3929
ceph: CEPH_HOST not IPv6 friendly
| Status: | New | Start date: | 08/07/2015 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Drivers - Storage | |||
| Target version: | - | |||
| Resolution: | Pull request: | |||
| Affected Versions: | OpenNebula 4.10, OpenNebula 4.12 | 
Description
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 b559b325, LibVirtDriverKVM.cc, line 380
Thanks,
Laurent
History
#1
     Updated by Ruben S. Montero almost 6 years ago
    Updated by Ruben S. Montero almost 6 years ago
    - Status changed from Pending to New
- Target version deleted (Release 5.0)
#2
     Updated by Stefan Kooman almost 6 years ago
    Updated by Stefan Kooman almost 6 years ago
    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 ...
#3
     Updated by Ruben S. Montero almost 6 years ago
    Updated by Ruben S. Montero almost 6 years ago
    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.