"Unexpected line" Warning from swift_ring_builder provider

Bug #1524936 reported by Adam Vinsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-swift
Fix Released
Low
Adam Vinsh

Bug Description

the swift_ring_builder provider prints warnings on info data from the beginning of each builder file.

{code}
Debug: Executing '/bin/swift-ring-builder /etc/swift/container.builder'
Warning: Unexpected line: Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
Debug: Prefetching swift_ring_builder resources for ring_account_device
Debug: Executing '/bin/swift-ring-builder /etc/swift/account.builder'
Warning: Unexpected line: Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
Debug: Exec[concat_/etc/swift/container-server.conf](provider=posix): Executing check '/var/lib/puppet/concat/bin/concatfragments.rb -o "/var/lib/puppet/concat/_etc_swift_container-server.conf/fragments.concat.out" -d "/var/lib/puppet/concat/_etc_swift_container-server.conf" -t'
Debug: Executing '/var/lib/puppet/concat/bin/concatfragments.rb -o "/var/lib/puppet/concat/_etc_swift_container-server.conf/fragments.concat.out" -d "/var/lib/puppet/concat/_etc_swift_container-server.conf" -t'
Debug: Prefetching swift_ring_builder resources for ring_object_device
Debug: Executing '/bin/swift-ring-builder /etc/swift/object.builder'
Warning: Unexpected line: Devices: id region zone ip address port replication ip replication port name weight partitions balance meta
{code}

Adam Vinsh (adam-vinsh)
Changed in puppet-swift:
assignee: nobody → Adam Vinsh (adam-vinsh)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-swift (master)

Fix proposed to branch: master
Review: https://review.openstack.org/256054

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (master)

Reviewed: https://review.openstack.org/256054
Committed: https://git.openstack.org/cgit/openstack/puppet-swift/commit/?id=1dfe3d29a9d2850a23630c317db2c1c68412a015
Submitter: Jenkins
Branch: master

commit 1dfe3d29a9d2850a23630c317db2c1c68412a015
Author: Adam Vinsh <email address hidden>
Date: Thu Dec 10 13:45:42 2015 -0500

    swift-ring-builder 2.2.2+ output parse fix

    Starting in swift 2.2.2 an extra line for overload is printed
    by swift-ring-builder.
    Check for this and skip that line to avoid avoid warning messages.

    Change-Id: I2d81db0a29249101116c1899565f024aaac69000
    Closes-Bug: #1524936

Changed in puppet-swift:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-swift (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/259885

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (stable/liberty)

Reviewed: https://review.openstack.org/259885
Committed: https://git.openstack.org/cgit/openstack/puppet-swift/commit/?id=0a259821207ebfd67d5adbd057309448e778b670
Submitter: Jenkins
Branch: stable/liberty

commit 0a259821207ebfd67d5adbd057309448e778b670
Author: Adam Vinsh <email address hidden>
Date: Thu Dec 10 13:45:42 2015 -0500

    swift-ring-builder 2.2.2+ output parse fix

    Starting in swift 2.2.2 an extra line for overload is printed
    by swift-ring-builder.
    Check for this and skip that line to avoid avoid warning messages.

    Change-Id: I2d81db0a29249101116c1899565f024aaac69000
    Closes-Bug: #1524936
    (cherry picked from commit 1dfe3d29a9d2850a23630c317db2c1c68412a015)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-swift (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/309141

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-swift (stable/kilo)

Reviewed: https://review.openstack.org/309141
Committed: https://git.openstack.org/cgit/openstack/puppet-swift/commit/?id=3128a8faec0e2068c391ed7af44c4ac1f09c8780
Submitter: Jenkins
Branch: stable/kilo

commit 3128a8faec0e2068c391ed7af44c4ac1f09c8780
Author: Adam Vinsh <email address hidden>
Date: Thu Dec 10 13:45:42 2015 -0500

    swift-ring-builder 2.2.2+ output parse fix

    Starting in swift 2.2.2 an extra line for overload is printed
    by swift-ring-builder.
    Check for this and skip that line to avoid avoid warning messages.

    Change-Id: I2d81db0a29249101116c1899565f024aaac69000
    Closes-Bug: #1524936
    (cherry picked from commit 1dfe3d29a9d2850a23630c317db2c1c68412a015)

tags: added: in-stable-kilo
Cody Herriges (ody-cat)
Changed in puppet-swift:
importance: Undecided → Low
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/puppet-swift 7.1.0

This issue was fixed in the openstack/puppet-swift 7.1.0 release.

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.