os_swift train incorect default systemctl configuration

Bug #1859159 reported by ababolcai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Dmitriy Rabotyagov

Bug Description

Default systemctl configuration for os_swift in defaults/main.yml defines that swift-*-replicator should be started as swift-*-replicator-server and no replication servers start. This is incorrect, swift-*-server apps should be started as replication servers.

Revision history for this message
ababolcai (andrej-babolcai) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_swift (master)

Fix proposed to branch: master
Review: https://review.opendev.org/718524

Changed in openstack-ansible:
assignee: nobody → Dmitriy Rabotyagov (noonedeadpunk)
status: New → In Progress
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Hi,

Can you kindly provide some logs or outputs of the issue, as I feel that here might be bigger problem. It would be even better if you could join our IRC on #openstack-ansible to have some talk about this issue.
As this has been kinda reverted some time ago with https://review.opendev.org/#/c/615310/

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Also would be nice if you could review the latest fix patch for this, as I feel like this may be better solution, but we need some more input here.

Revision history for this message
ababolcai (andrej-babolcai) wrote :

Hi,

As it was some time ago I no longer have any logs available, but the problem should be rather simple. Sysctl defaults did not start a server process (swift-object-server f.e.) and because of this 2 swift-object-replicator proceses where started. Normaly a replication process (f.e. swift-object-replicator) should connect to a server process (swift-object-server).

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Thanks for clarifying, seems I got you right and this patch should resolve the issue

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

Reviewed: https://review.opendev.org/718524
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=be9ad06226d74cfcb796834d27ca641902329fcf
Submitter: Zuul
Branch: master

commit be9ad06226d74cfcb796834d27ca641902329fcf
Author: Dmitriy Rabotyagov <email address hidden>
Date: Wed Apr 8 20:13:03 2020 +0300

    Fix replicator services

    Current services were infinitelly spawning replicator process
    instead running a server with another config file

    Change-Id: I3310c11c0be38ae72b1f0bf94a849587fb8e5cf9
    Closes-Bug: #1859159

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/723274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_swift (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/723275

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_swift (stable/train)

Reviewed: https://review.opendev.org/723274
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=8a83c9183edb69e1809009720b2e1f2eed3a4a93
Submitter: Zuul
Branch: stable/train

commit 8a83c9183edb69e1809009720b2e1f2eed3a4a93
Author: Dmitriy Rabotyagov <email address hidden>
Date: Wed Apr 8 20:13:03 2020 +0300

    Fix replicator services

    Current services were infinitely spawning replicator process
    instead of running a server with another config file

    Change-Id: I3310c11c0be38ae72b1f0bf94a849587fb8e5cf9
    Closes-Bug: #1859159
    (cherry picked from commit be9ad06226d74cfcb796834d27ca641902329fcf)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_swift (stable/stein)

Reviewed: https://review.opendev.org/723275
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=e54ba6fe3166e09a77abeb0fb4d9b88b42630cb5
Submitter: Zuul
Branch: stable/stein

commit e54ba6fe3166e09a77abeb0fb4d9b88b42630cb5
Author: Dmitriy Rabotyagov <email address hidden>
Date: Wed Apr 8 20:13:03 2020 +0300

    Fix replicator services

    Current services were infinitely spawning replicator process
    instead of running a server with another config file

    Change-Id: I3310c11c0be38ae72b1f0bf94a849587fb8e5cf9
    Closes-Bug: #1859159
    (cherry picked from commit be9ad06226d74cfcb796834d27ca641902329fcf)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift stein-eol

This issue was fixed in the openstack/openstack-ansible-os_swift stein-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift train-eol

This issue was fixed in the openstack/openstack-ansible-os_swift train-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift ussuri-eol

This issue was fixed in the openstack/openstack-ansible-os_swift ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_swift yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_swift victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_swift wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_swift xena-eom

This issue was fixed in the openstack/openstack-ansible-os_swift xena-eom 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.