[Bug 931893] Re: swift service scripts will not start unless /etc/swift/*-server/* exists

Adam Vinsh adam.vinsh at twcable.com
Wed Jul 22 17:19:50 UTC 2015


Came across this bug in a comment in some puppet-swift work.
Confirmed that this is no longer an issue for Ubuntu since Juno.
Marking this as "Fix Released" because of that.  Please adjust if I have this wrong!

** Changed in: swift (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  swift service scripts will not start unless /etc/swift/*-server/*
  exists

Status in swift package in Ubuntu:
  Fix Released

Bug description:
  For the default case where a storage node only contains one server for
  each type (object, account, container), there does not have to be a
  /etc/swift/<type>-server/ directory with any files in it.

  In this case, the server is configured with a single file:

  /etc/swift/<type>-server.conf

  The upstart scripts provided in the trunk ppa for swift:

    deb http://ppa.launchpad.net/swift-core/trunk/ubuntu oneiric main

  will not start any of the server services unless files exist in these
  folders

    ...
    if [ $(find /etc/swift/object-server/ -type f 2>/dev/null | wc -l) -gt 0 ]; then
      exec /usr/bin/swift-init object-server start
    ...

  This means that the services cannot be started with the default
  configuration

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



More information about the Ubuntu-openstack-bugs mailing list