Errors and omissions in ceph.conf for IPv6

Bug #1659645 reported by Doug Parrish
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Ceph-FS Charm
Fix Released
High
Jorge Niedbalski

Bug Description

cs:~openstack-charmers-next/xenial/ceph-fs-0 pulled evening (UTC) of Wed 25 Jan. Ceph "public" network is IPv6 only.

As part of 'add-relation ceph-fs ceph-mon', it appears /etc/ceph/ceph.mon is created but with the following two problems:

1) "mon host" is not coded properly for IPv6:
mon host = aaaa:bbbb:cccc::2:0:7:6789 aaaa:bbbb:cccc::2:0:8:6789 aaaa:bbbb:cccc::2:0:9:6789

should be

mon host = [aaaa:bbbb:cccc::2:0:7]:6789 [aaaa:bbbb:cccc::2:0:8]:6789 [aaaa:bbbb:cccc::2:0:9]:6789

2) "public network" is omitted despite charm option ceph-public-network being set in deployment config

It was added manually and CephFS (ceph-mds) was able function

public network = aaaa:bbbb:cccc::/64

Tags: sts
Felipe Reyes (freyes)
tags: added: sts
Felipe Reyes (freyes)
Changed in charm-ceph-fs:
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
Felipe Reyes (freyes) wrote :
Revision history for this message
Felipe Reyes (freyes) wrote :

The proposed pull request fixes the badly formatted IPv6 addresses, it's pending the missing "public network"

Revision history for this message
Felipe Reyes (freyes) wrote :

The patch that adds the public network section is at https://review.openstack.org/#/c/431183/

Revision history for this message
Felipe Reyes (freyes) wrote :

> The patch that adds the public network section is at https://review.openstack.org/#/c/431183/

superseded by https://review.openstack.org/#/c/429827/

Felipe Reyes (freyes)
Changed in charm-ceph-fs:
assignee: Felipe Reyes (freyes) → nobody
status: New → Fix Committed
Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

The 2 specific issues pointed on this bug are fixed on cs:~openstack-charmers/ceph-fs,
However, I have identified a couple of issues related ipv6 handling, reference: https://bugs.launchpad.net/charm-ceph-fs/+bug/1671861

Changed in charm-ceph-fs:
status: Fix Committed → Fix Released
Changed in charm-ceph-fs:
status: Fix Released → Confirmed
assignee: nobody → Jorge Niedbalski (niedbalski)
importance: Undecided → High
Changed in charm-ceph-fs:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-fs (master)

Reviewed: https://review.openstack.org/448178
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-fs/commit/?id=21d6b04a01f9e3afb99368abf258761596c4e4a9
Submitter: Jenkins
Branch: master

commit 21d6b04a01f9e3afb99368abf258761596c4e4a9
Author: Jorge Niedbalski <email address hidden>
Date: Tue Mar 21 12:59:57 2017 -0300

    Force a rebuild after interface-ceph-mds change.

    Force a charm rebuild after fixing
    LP: #1659645.

    Closes-Bug: #1659645

    Change-Id: Id38734bc1a18d03711d02d8e47e4aeefd6e828ee
    Signed-off-by: Jorge Niedbalski <email address hidden>

Changed in charm-ceph-fs:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-fs (stable/17.02)

Fix proposed to branch: stable/17.02
Review: https://review.openstack.org/448212

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-fs (stable/17.02)

Reviewed: https://review.openstack.org/448212
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-fs/commit/?id=778b627780b3aaf629c1e7046e9433d5ca86b639
Submitter: Jenkins
Branch: stable/17.02

commit 778b627780b3aaf629c1e7046e9433d5ca86b639
Author: Jorge Niedbalski <email address hidden>
Date: Tue Mar 21 12:59:57 2017 -0300

    Force a rebuild after interface-ceph-mds change.

    Force a charm rebuild after fixing
    LP: #1659645.

    Closes-Bug: #1659645

    Change-Id: Id38734bc1a18d03711d02d8e47e4aeefd6e828ee
    Signed-off-by: Jorge Niedbalski <email address hidden>
    (cherry picked from commit 21d6b04a01f9e3afb99368abf258761596c4e4a9)

James Page (james-page)
Changed in charm-ceph-fs:
milestone: none → 17.08
James Page (james-page)
Changed in charm-ceph-fs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.