If replication_network is the same as storage_network swift will fail

Bug #1411465 reported by Andy McCrae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Andy McCrae
Juno
Fix Released
Medium
Jesse Pretorius
Trunk
Fix Released
Medium
Andy McCrae

Bug Description

The replication_network will mean a swift-service-replicator.conf file is setup for each service, if the 2 networks are the same 2 swift services will try listen for each service port on the same IP which causes swift to fail, and METHOD unavailable errors to be returned by the proxy.

We need to fix this so that if replication_network and storage_network are the same replicators aren't split out, and possible document that it isn't required if you aren't using a dedicated replication network.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (master)

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

Changed in openstack-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/147812
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=4cb6720f9cc017f50ea8868510c187649219808c
Submitter: Jenkins
Branch: master

commit 4cb6720f9cc017f50ea8868510c187649219808c
Author: Andy McCrae <email address hidden>
Date: Fri Jan 16 11:07:03 2015 +0000

    Allow storage & replication_network to be the same

    We don't want to attempt to start 2 swift services on the same IP/Port,
    if replication_network is the same as storage_network this should be
    treated as though replication_network was not specified.

    Change-Id: Ifbf0e264d0cdc61f38a93b98e1d91d7ea17d293d
    Closes-Bug: 1411465

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/152451

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/152451
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=e1dbcf7eab090f6876834ad845a0aa412f440899
Submitter: Jenkins
Branch: juno

commit e1dbcf7eab090f6876834ad845a0aa412f440899
Author: Andy McCrae <email address hidden>
Date: Fri Jan 16 11:07:03 2015 +0000

    Allow storage & replication_network to be the same

    We don't want to attempt to start 2 swift services on the same IP/Port,
    if replication_network is the same as storage_network this should be
    treated as though replication_network was not specified.

    Change-Id: Ifbf0e264d0cdc61f38a93b98e1d91d7ea17d293d
    Closes-Bug: 1411465
    (cherry picked from commit 4cb6720f9cc017f50ea8868510c187649219808c)

Revision history for this message
Bjoern (bjoern-t) wrote :

I did file documentation issue #55

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.