stop-base is not terminating swift processes

Bug #1183111 reported by Adalberto Medeiros
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grenade
Fix Released
Undecided
Adalberto Medeiros

Bug Description

Stop base kills the stack screen and run swift-init stop. However, this still leaves swift processes running. The swift process may be killed using something like pkill (like used on devstack stop_swift)

openstack@deacon:/opt/stack/grizzly/devstack$ swift-init all stop
No container-updater running
No account-auditor running
No object-replicator running
No proxy-server running
No container-replicator running
No object-auditor running
No object-expirer running
No container-auditor running
No container-server running
No account-server running
No account-reaper running
No container-sync running
No account-replicator running
No object-updater running
No object-server running

openstack@deacon:/opt/stack/grizzly/devstack$ ps aux | grep swift
1000 5880 0.0 0.0 75876 15492 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-account-auditor /etc/swift/account-server/1.conf
1000 5881 0.0 0.0 1543240 15372 ? Ssl 15:52 0:00 /usr/bin/python /usr/local/bin/swift-object-replicator /etc/swift/object-server/1.conf
1000 5883 0.0 0.0 75948 15800 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-container-replicator /etc/swift/container-server/1.conf
1000 5884 0.0 0.0 72728 14660 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-object-auditor /etc/swift/object-server/1.conf
1000 5885 0.0 0.0 75808 15496 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-container-auditor /etc/swift/container-server/1.conf
1000 5888 0.0 0.0 75744 15172 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-account-reaper /etc/swift/account-server/1.conf
1000 5889 0.0 0.0 75944 15652 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-container-sync /etc/swift/container-server/1.conf
1000 5890 0.0 0.0 75932 15796 ? Ss 15:52 0:00 /usr/bin/python /usr/local/bin/swift-account-replicator /etc/swift/account-server/1.conf
1000 5932 0.3 0.0 72896 12892 ? S 15:52 0:12 /usr/bin/python /usr/local/bin/swift-object-auditor /etc/swift/object-server/1.conf

Should this be opened as a bug to swift-init?

Changed in grenade:
assignee: nobody → Adalberto Medeiros (adalbas)
Changed in grenade:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to grenade (master)

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

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

Reviewed: https://review.openstack.org/30890
Committed: http://github.com/openstack-dev/grenade/commit/e43adbdf83f5f9e5f2e82b8c8fe1a0afcaef996c
Submitter: Jenkins
Branch: master

commit e43adbdf83f5f9e5f2e82b8c8fe1a0afcaef996c
Author: Adalberto Medeiros <email address hidden>
Date: Fri May 24 14:11:58 2013 -0400

    Guarantee swift process are ended after base run

    Use stop swift from lib

    Change-Id: I683da7c78fdd7881708e45a3579a7ee7a9a4a4e9
    Fixes: Bug 1183111

Changed in grenade:
status: In Progress → Fix Committed
Sean Dague (sdague)
Changed in grenade:
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.