ceph-mon charm fails to end ceph.conf with a newline

Bug #1578403 reported by William
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph-osd (Juju Charms Collection)
Fix Released
Undecided
Unassigned

Bug Description

the ceph-mon charm (https://jujucharms.com/u/openstack-charmers-next/ceph-mon/xenial) is deploying a /etc/ceph/ceph.conf file without trailing newline on xenial, which causes ceph to ignore the final line of the config.

Tags: bitesized
tags: added: bitsized
tags: added: bitesized
removed: bitsized
summary: - newline
+ ceph-mon charm fails to end ceph.conf with a newline
James Page (james-page)
affects: ceph (Juju Charms Collection) → ceph-osd (Juju Charms Collection)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/317341
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=53d09832e59b3cb268f7ae2d72335b7780905c7b
Submitter: Jenkins
Branch: master

commit 53d09832e59b3cb268f7ae2d72335b7780905c7b
Author: James Page <email address hidden>
Date: Tue May 17 10:08:18 2016 +0100

    Limit OSD object name lengths for Jewel + ext4

    As of the Ceph Jewel release, certain limitations apply to
    OSD object name lengths: specifically if ext4 is in use for
    block devices or a directory based OSD is configured, OSD's
    must be configured to limit object name length:

      osd max object name len = 256
      osd max object namespace len = 64

    This may cause problems storing objects with long names via
    the ceph-radosgw charm or for direct users of RADOS.

    Also ensure that ceph.conf as a final newline as ceph requires
    this.

    Change-Id: I26f1d8a6f9560b307929f294d2d637c92986cf41
    Closes-Bug: 1580320
    Closes-Bug: 1578403

Changed in ceph-osd (Juju Charms Collection):
status: New → Fix Committed
Changed in ceph-osd (Juju Charms Collection):
milestone: none → 16.07
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (stable/16.04)

Fix proposed to branch: stable/16.04
Review: https://review.openstack.org/318611

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

Reviewed: https://review.openstack.org/318611
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=813500053e4e8456c2e5f4d9665ba9dd58bc38af
Submitter: Jenkins
Branch: stable/16.04

commit 813500053e4e8456c2e5f4d9665ba9dd58bc38af
Author: James Page <email address hidden>
Date: Tue May 17 10:08:18 2016 +0100

    Limit OSD object name lengths for Jewel + ext4

    As of the Ceph Jewel release, certain limitations apply to
    OSD object name lengths: specifically if ext4 is in use for
    block devices or a directory based OSD is configured, OSD's
    must be configured to limit object name length:

      osd max object name len = 256
      osd max object namespace len = 64

    This may cause problems storing objects with long names via
    the ceph-radosgw charm or for direct users of RADOS.

    Also ensure that ceph.conf as a final newline as ceph requires
    this.

    Change-Id: I26f1d8a6f9560b307929f294d2d637c92986cf41
    Closes-Bug: 1580320
    Closes-Bug: 1578403
    (cherry picked from commit 53d09832e59b3cb268f7ae2d72335b7780905c7b)

Liam Young (gnuoy)
Changed in ceph-osd (Juju Charms Collection):
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.