swift-ring-builder exit status confusing

Bug #836922 reported by Mark Gius
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Mark Gius
swift (Ubuntu)
Fix Released
Medium
Adam Gandelman
Oneiric
Fix Released
Medium
Adam Gandelman

Bug Description

The swift-ring-builder should return the standard exit codes of 0 for success and non-zero for error.

https://answers.launchpad.net/swift/+question/168601

Current exit codes meaning
> Exit codes: 0 = ring changed, 1 = ring did not change, 2 = error

Tags: server-o-rs

Related branches

Mark Gius (markgius)
Changed in swift:
assignee: nobody → Mark Gius (markgius)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/swift

Reviewed: https://review.openstack.org/499
Committed: http://github.com/openstack/swift/commit/1ad31af887cd6cdda180239e732f7eb6da8e301b
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 1ad31af887cd6cdda180239e732f7eb6da8e301b
Author: Mark Gius <email address hidden>
Date: Tue Sep 20 14:53:53 2011 -0700

    Changes swift-ring-builder exit codes

    swift-ring-builder will now return zero for successful operations and
    non-zero for operations that have errored or need attention.

    Fixes bug 836922

    Change-Id: I8d18a49fcf239f7cc7bfe4cdb468ac849436122e

Changed in swift:
status: New → Fix Committed
Dave Walker (davewalker)
tags: added: server-o-rs
Changed in swift (Ubuntu):
assignee: nobody → Adam Gandelman (gandelman-a)
Changed in swift (Ubuntu Oneiric):
milestone: none → ubuntu-11.10
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Triaged
Changed in swift (Ubuntu Oneiric):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package swift - 1.4.3-0ubuntu2

---------------
swift (1.4.3-0ubuntu2) oneiric; urgency=low

  [ Adam Gandelman ]
  * debian/patches/backport-change-swift-ring-builder-exit-codes: Standardize
    exit codes now to reduce hassles after future upgrades (LP: #836922)
 -- Chuck Short <email address hidden> Fri, 30 Sep 2011 15:00:26 -0400

Changed in swift (Ubuntu Oneiric):
status: In Progress → Fix Released
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.4.4
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

Related questions

Remote bug watches

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