Bug 1710319
| Summary: | OSD won't start: Failed to pick public address on IPv6 only cluster | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Artem Hrechanychenko <ahrechan> |
| Component: | Ceph-Ansible | Assignee: | Guillaume Abrioux <gabrioux> |
| Status: | CLOSED ERRATA | QA Contact: | Ameena Suhani S H <amsyedha> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.0 | CC: | amsyedha, aschoen, ceph-eng-bugs, ceph-qe-bugs, dbecker, emacchi, gabrioux, gfidente, gmeno, johfulto, mburns, mcornea, morazi, nthomas, nweinber, tbarron, tchandra, tenobreg, tserlin, vashastr |
| Target Milestone: | rc | ||
| Target Release: | 4.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-ansible-4.0.0-0.1.rc9.el8cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-31 12:46:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1594251 | ||
|
Description
Artem Hrechanychenko
2019-05-15 10:23:41 UTC
ROOT CAUSE: If you start the OSD directly using the command embedded /usr/share/ceph-osd-run.sh then you can see why the OSD failed to start: 2019-05-21 13:02:46.115 7ff739a92080 -1 unable to find any IPv4 address in networks 'fd00:fd00:fd00:3000::/64' interfaces '' 2019-05-21 13:02:46.115 7ff739a92080 -1 Failed to pick public address. If you then add "ms bind ipv4 = false" under the [global] section of every /etc/ceph/ceph.conf as suggested [1], then the OSD has no problem starting. ceph-ansible will be updated to deal with this. [1] https://www.spinics.net/lists/ceph-users/msg51954.html Hi John, do you know when downstream package will be available ? WORKAROUND:
Deploy your overcloud with 'openstack overcloud deploy ... -e foo.yaml ...' where foo.yaml contains the following:
parameter_defaults:
CephConfigOverrides:
ms_bind_ipv4: false
(In reply to Artem Hrechanychenko from comment #8) > Hi John, > do you know when downstream package will be available ? I'll ask the assignee when the change will be backported to 4.0.z. We'll then need to it packaged. Guillaume, I see the fix merged upstream [1] three weeks ago but that it's not yet backported to 4.0.z. For example, for the latest z=8 I can see, it's missing the fixing line [2]. Do you know when you'll have the backport done? Thanks, John [1] https://github.com/ceph/ceph-ansible/pull/4014 [2] https://github.com/ceph/ceph-ansible/blob/v4.0.0rc8/roles/ceph-config/templates/ceph.conf.j2#L13 Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. Regards, Giri Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. Regards, Giri Verified using ceph-ansible-4.0.6-1.el8cp.noarch ceph version 14.2.4-85.el8cp ansible-2.8.7-1.el8ae.noarch Moving to"VERIFIED" state Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0312 |