https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-02-13T23:12:56ZCeph RADOS - Bug #38307: ceph-osd fails to bind to IPv6 interface for public_networkhttps://tracker.ceph.com/issues/38307?journal_id=1293402019-02-13T23:12:56ZJesse Williamsonjwilliamson@suse.com
<ul><li><strong>Subject</strong> changed from <i>ceph-osd fails to bind to IPv6 interface for public_network [global] public_network = fd00:151::/64 cluster_network = fd00:10::/64 Run: /usr/bin//ceph-osd -f --cluster ceph --id 3 --setuser ceph --setgroup ceph ...and see: 2019-02-11 14:28:36.560 7fea</i> to <i>ceph-osd fails to bind to IPv6 interface for public_network</i></li></ul> RADOS - Bug #38307: ceph-osd fails to bind to IPv6 interface for public_networkhttps://tracker.ceph.com/issues/38307?journal_id=1296162019-02-18T22:02:43ZGreg Farnumgfarnum@redhat.com
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>RADOS</i></li><li><strong>Category</strong> deleted (<del><i>OSD</i></del>)</li></ul><p>You going to open a PR for this, Jesse?</p> RADOS - Bug #38307: ceph-osd fails to bind to IPv6 interface for public_networkhttps://tracker.ceph.com/issues/38307?journal_id=1301932019-02-27T15:35:39ZRicardo Diasrdias@suse.com
<ul></ul><p>Jesse, what's the value of the ms_bind_ipv6 and ms_bind_ipv4 in your configuration when you hit this problem?</p>
<p>My theory is that both ms_bind_ipv6 and ms_bind_ipv4 are set to true, but only a valid ipv6 network is set in public_cluster config option, and then pick_addresses is able to get an ipv6 address, but fails to get an ipv4 address and returns -1 in the end.</p>
<p>Not sure if this is a bug because it depends on the semantic of ms_bind_ipv* config options.</p> RADOS - Bug #38307: ceph-osd fails to bind to IPv6 interface for public_networkhttps://tracker.ceph.com/issues/38307?journal_id=1311192019-03-08T08:12:58ZRicardo Diasrdias@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Pull request ID</strong> set to <i>26692</i></li></ul><p>The PR <a class="external" href="https://github.com/ceph/ceph/pull/26692">https://github.com/ceph/ceph/pull/26692</a> enforces pick_addresses to fail when ms_bind_ipv4 and ms_bind_ipv6 options are enabled and public_network or cluster_network settings only contain networks of a single type (either IPv4 or IPv6).</p>