swift: replicator init script deployed unnecessarily

Bug #1414705 reported by Jesse Pretorius
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

When there is a dedicated replication network for swift it requires its own .conf files and init scripts. Currently the init script is being deployed in all circumstances unnecessarily without the conf file.

This causes the init for the replicator services to continuously respawn:

==> /var/log/upstart/swift-container-replicator.log <==
Usage: swift-container-replicator CONFIG [options]

Error: unable to locate /etc/swift/container-server/container-server-replicator.conf

==> /var/log/upstart/swift-object-replicator.log <==
Usage: swift-object-replicator CONFIG [options]

Error: unable to locate /etc/swift/object-server/object-server-replicator.conf

==> /var/log/upstart/swift-account-replicator.log <==
Usage: swift-account-replicator CONFIG [options]

Error: unable to locate /etc/swift/account-server/account-server-replicator.conf

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/150477

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

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

commit ac50615faef2d453663991a23f0abd33e8210f24
Author: Andy McCrae <email address hidden>
Date: Tue Jan 27 16:22:05 2015 +0000

    Swift dedicated replication init script fix

    Add a check to ensure that the dedicated server-replicator init script
    is only added if a dedicated replication network is in use.

    This resolves an issue where the syslog error logs are filled with
    attempts to restart an unrequired service.

    Change-Id: I068608e128e1a076fe1cf7669eb80e0e2b7ebea6
    Closes-Bug: #1414705

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/151158

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

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

commit f942edd8ae2a654bf99472c082cc928174146490
Author: Andy McCrae <email address hidden>
Date: Tue Jan 27 16:22:05 2015 +0000

    Swift dedicated replication init script fix

    Add a check to ensure that the dedicated server-replicator init script
    is only added if a dedicated replication network is in use.

    This resolves an issue where the syslog error logs are filled with
    attempts to restart an unrequired service.

    Change-Id: I068608e128e1a076fe1cf7669eb80e0e2b7ebea6
    Closes-Bug: #1414705
    (cherry picked from commit ac50615faef2d453663991a23f0abd33e8210f24)

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.