replicator should warn when there's no local devices

Bug #1508228 reported by clayg
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Unassigned

Bug Description

If you have a replicator who's thinking it's local_ip isn't what's in the ring it won't find any of it's local devices.

That should be a warning.

Failed attempt at a fix was here:

https://review.openstack.org/#/c/180893/2

Changed in swift:
assignee: nobody → Syed Ahsan Shamim Zaidi (ahsanmohsin04)
Changed in swift:
status: New → In Progress
Revision history for this message
Ondřej Nový (onovy) wrote :
Changed in swift:
assignee: Syed Ahsan Shamim Zaidi (ahsanmohsin04) → nobody
Peter Lisak (peterlisak)
Changed in swift:
assignee: nobody → Peter Lisak (peterlisak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/243040
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=16de32f1686a60fa5b3aa1802dcc42783846b05b
Submitter: Jenkins
Branch: master

commit 16de32f1686a60fa5b3aa1802dcc42783846b05b
Author: Peter Lisák <email address hidden>
Date: Fri Nov 6 10:49:09 2015 +0100

    Log error if a local device not identified in replicator

    Example:
    * Different port in config and in ring file.
    * Running daemon on server not in ring file.
    In both cases replication daemon is running but nothing is replicated.
    Error log helps to distinguish a local device can't be identified.

    Closes-Bug: 1508228
    Change-Id: I99351b7d9946f250b7750df91c13d09352a145ce

Changed in swift:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (feature/crypto)

Fix proposed to branch: feature/crypto
Review: https://review.openstack.org/251507

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (feature/crypto)

Reviewed: https://review.openstack.org/251507
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=dbff80c729f70ffaf0aca14c85d11d4141f04b75
Submitter: Jenkins
Branch: feature/crypto

commit b339e529c3464278b7ddd5670acd903070d1da1a
Author: Samuel Merritt <email address hidden>
Date: Wed Mar 25 14:59:43 2015 -0700

    Add functional test for multi-range GET requests.

    Change-Id: I9d417faede707e4f3570074e410344cc8955007b

commit 0e5cc89da56f550468512af6f3479382a1894815
Author: Tim Burke <email address hidden>
Date: Tue Oct 13 11:45:20 2015 -0700

    Have versioned_writes use reverse listings

    This will reduce the overhead required for versioned containers in terms
    of memory, back-end requests, and wall time.

    Change-Id: I156216a14141db547de3cae1dcd5315ae31eaac2

commit 16de32f1686a60fa5b3aa1802dcc42783846b05b
Author: Peter Lisák <email address hidden>
Date: Fri Nov 6 10:49:09 2015 +0100

    Log error if a local device not identified in replicator

    Example:
    * Different port in config and in ring file.
    * Running daemon on server not in ring file.
    In both cases replication daemon is running but nothing is replicated.
    Error log helps to distinguish a local device can't be identified.

    Closes-Bug: 1508228
    Change-Id: I99351b7d9946f250b7750df91c13d09352a145ce

tags: added: in-feature-crypto
Peter Lisak (peterlisak)
Changed in swift:
assignee: Peter Lisak (peterlisak) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (feature/hummingbird)

Fix proposed to branch: feature/hummingbird
Review: https://review.openstack.org/264517

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (feature/crypto)

Fix proposed to branch: feature/crypto
Review: https://review.openstack.org/264791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (feature/hummingbird)
Download full text (54.1 KiB)

Reviewed: https://review.openstack.org/264517
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=93ddaffaebb620bc712d52d0267194562dce02be
Submitter: Jenkins
Branch: feature/hummingbird

commit f53cf1043d078451c4b9957027bf3af378aa0166
Author: Ondřej Nový <email address hidden>
Date: Tue Jan 5 20:20:15 2016 +0100

    Fixed few misspellings in comments

    Change-Id: I8479c85cb8821c48b5da197cac37c80e5c1c7f05

commit 79222e327f9df6335b58e17a6c8dd0dc44b86c17
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sat Dec 26 13:13:37 2015 +0800

    Fix AttributeError for LogAdapter

    LogAdapter object has no attribute 'warn' but has attribute
    'warning'.

    Closes-Bug: #1529321
    Change-Id: I0e0bd0a3dbc4bb5c1f0b343a8809e53491a1da5f

commit 684c4c04592278a280032002b5313b171ee7a4c0
Author: janonymous <email address hidden>
Date: Sun Aug 2 22:47:42 2015 +0530

    Python 3 deprecated the logger.warn method in favor of warning

    DeprecationWarning: The 'warn' method is deprecated, use 'warning'
    instead

    Change-Id: I35df44374c4521b1f06be7a96c0b873e8c3674d8

commit d0a026fcb8e8a9f5475699cc56e1998bdc4cd5ca
Author: Hisashi Osanai <email address hidden>
Date: Wed Dec 16 18:50:37 2015 +0900

    Fix duplication for headers in Access-Control-Expose-Headers

    There are following problems with Access-Control-Expose-Headers.

    * If headers in X-Container-Meta-Access-Control-Expose-Headers are
      configured, the headers are kept with case-sensitive string.
      Then a CORS request comes, the headers are merged into
      Access-Control-Expose-Headers as case-sensitive string even if
      there is a same header which is not case-sensitive string.

    * Access-Control-Expose-Headers is handled by a list.
      If X-Container/Object-Meta-XXX is configured in container/object
      and X-Container-Meta-Access-Control-Expose-Headers, same header
      is listed in Access-Control-Expose-Headers.

    This patch provides a fix for the problems.

    Change-Id: Ifc1c14eb3833ec6a851631cfc23008648463bd81

commit 0bcd7fd50ec0763dcb366dbf43a9696ca3806f15
Author: Bill Huber <email address hidden>
Date: Fri Nov 20 12:09:26 2015 -0600

    Update Erasure Coding Overview doc to remove Beta version

    The major functionality of EC has been released for Liberty and
    the beta version of the code has been removed since it is now
    in production.

    Change-Id: If60712045fb1af803093d6753fcd60434e637772

commit 84ba24a75640be4212e0f984c284faf4c894e7c6
Author: Alistair Coles <email address hidden>
Date: Fri Dec 18 11:24:34 2015 +0000

    Fix rst errors so that html docs are complete

    rst table format errors don't break the gate job
    but do cause sections of the documents to go missing
    from the html output.

    Change-Id: Ic8c9953c93d03dcdafd8f47b271d276c7b356dc3

commit 87f7e907ee412f5847f1f9ffca7a566fb148c6b1
Author: Matthew Oliver <email address hidden>
Date: Wed Dec 16 17:19:24 2015 +1100

    Pass HTTP_REFERER down to subrequests

    Currently a HTTP_REFERER (Referer) header isn't passed down to
    subreq...

tags: added: in-feature-hummingbird
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on swift (feature/crypto)

Change abandoned by Alistair Coles (<email address hidden>) on branch: feature/crypto
Review: https://review.openstack.org/264791

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/swift 2.6.0

This issue was fixed in the openstack/swift 2.6.0 release.

Changed in swift:
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.