Public bug reported:

The swift object expirer service is required to use the object
expiration feature in swift.  Currently, there is no upstart job to
manage this service.

I encountered this bug on the grizzly packages in cloud archive (1.8.x)
and verified that it persists on the latest saucy packages.

Here's a simple job that works:


root@spc-will-9753-admin1:/etc/init.d# cat /etc/init/swift-object-expirer.conf 
# swift-object-expirer - SWIFT Object Expirer
#
# The swift object expirer.
# Shamelessly copied from swift-object.conf by Marc Cluet
description     "SWIFT Object Expirer"
author          "Will Kelly <[email protected]>"

start on runlevel [2345]
stop on runlevel [016]

pre-start script
  if [ -f "/etc/swift/object-expirer.conf" ]; then
    exec /usr/bin/swift-init object-expirer start
  else
    exit 1
  fi
end script

post-stop exec /usr/bin/swift-init object-expirer stop

root@spc-will-9753-admin1:/etc/init.d#

** Affects: swift (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Upstart job for swift-object-expirer 
(/etc/init/swift-object-expirer.conf)"
   
https://bugs.launchpad.net/bugs/1235495/+attachment/3860195/+files/swift-object-expirer.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1235495

Title:
  Swift object expirer upstart job missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift/+bug/1235495/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to