Bug 1221276 - swift-object-expirer not running after deploy
Summary: swift-object-expirer not running after deploy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 6.0 (Juno)
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Ivan Chavero
QA Contact: Mike Abrams
URL:
Whiteboard:
Depends On:
Blocks: 1251498
TreeView+ depends on / blocked
 
Reported: 2015-05-13 15:27 UTC by Jaroslav Henner
Modified: 2023-02-22 23:02 UTC (History)
8 users (show)

Fixed In Version: openstack-packstack-7.0.0-0.8.dev1661.gaf13b7e.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1251498 (view as bug list)
Environment:
Last Closed: 2016-04-07 21:01:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 223667 0 None MERGED Add support for swift-object-expirer 2020-08-28 12:41:01 UTC
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Jaroslav Henner 2015-05-13 15:27:09 UTC
Description of problem:
There is a unit for it:
# ls /usr/lib/systemd/system/openstack-swift-object-expirer.service
/usr/lib/systemd/system/openstack-swift-object-expirer.service

but the expirer doesn't run after packstack completes, Hower it can be started manually.

Version-Release number of selected component (if applicable):
openstack-packstack-2014.2-0.23.dev1468.gd049ea9.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1. deploy
2. Check it is running
[root@packstack ~(keystone_admin)]# systemctl |grep Expi

Actual results:
not running

Expected results:
openstack-swift-object-expirer.service                                              loaded active running   OpenStack Object Storage (swift) - Object Expirer


Additional info:

Comment 3 Jaroslav Henner 2015-05-13 15:34:16 UTC
I forgot to specify that it is disabled:

# systemctl is-enabled openstack-swift-object-expirer.service
disabled

Comment 5 Javier Peña 2015-09-15 16:13:26 UTC
Proposed https://review.openstack.org/223667 with the fix. Please note it requires https://review.openstack.org/211549

Comment 9 Alvaro Lopez Ortega 2015-12-03 15:46:17 UTC
Moving it over to Ivan for packaging.

Comment 11 Mike Abrams 2016-01-26 11:48:49 UTC
verified running and enabled:

# uname -a
Linux mabrams-svr021.scl.lab.tlv.redhat.com 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
# grep VERSION /etc/*release
/etc/os-release:VERSION="7.2 (Maipo)"
/etc/os-release:VERSION_ID="7.2"
/etc/os-release:REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
# ls /etc/yum.repos.d/
redhat.repo  rhel-optional.repo  rhel-server.repo  rhos-release-8.repo  rhos-release.repo  rhos-release-rhel-7.2.repo
# systemctl is-enabled openstack-swift-object-expirer.service
enabled
# systemctl status openstack-swift-object-expirer.service
● openstack-swift-object-expirer.service - OpenStack Object Storage (swift) - Object Expirer
   Loaded: loaded (/usr/lib/systemd/system/openstack-swift-object-expirer.service; enabled; vendor preset: disabled)
   Active: active (running) since ג' 2016-01-26 09:47:11 IST; 4h 0min ago
 Main PID: 7091 (swift-object-ex)
   CGroup: /system.slice/openstack-swift-object-expirer.service
           └─7091 /usr/bin/python2 /usr/bin/swift-object-expirer /etc/swift/object-expirer.conf

ינו 26 13:34:54 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass beginning; 0 possible container...s
ינו 26 13:34:54 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass completed in 0s; 0 objects expired
ינו 26 13:39:01 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass beginning; 0 possible container...s
ינו 26 13:39:01 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass completed in 0s; 0 objects expired
ינו 26 13:40:55 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass beginning; 0 possible container...s
ינו 26 13:40:55 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass completed in 0s; 0 objects expired
ינו 26 13:42:09 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass beginning; 0 possible container...s
ינו 26 13:42:09 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass completed in 0s; 0 objects expired
ינו 26 13:45:50 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass beginning; 0 possible container...s
ינו 26 13:45:50 mabrams-svr021.scl.lab.tlv.redhat.com object-expirer[7091]: Pass completed in 0s; 0 objects expired
Hint: Some lines were ellipsized, use -l to show in full.
# ps -ef | grep Expi
root     19132 27543  0 13:48 pts/2    00:00:00 grep --color=auto Expi
#

Comment 13 errata-xmlrpc 2016-04-07 21:01:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html


Note You need to log in before you can comment on or make changes to this bug.