[Bug 1827340] Re: swift-container package is missing Upstart and System V files for the container-sharder service

Dan Streetman ddstreet at canonical.com
Thu Apr 2 21:00:11 UTC 2020


Hello,

generally, changes like this should be done in Debian first, however the
'cloud' packages can sometimes be special.

@corey.bryant, do you have an opinion on changing the swift sysv init
scripts over to normal systemd services (meaning, @tkurek doing the work
with me assisting him)?  If you're ok with that, would you prefer it go
into Debian first, or just carry it in Ubuntu (I assume Debian first,
but just checking).

@tkurek, assuming Corey doesn't object to the systemd service change in
general, and prefers it in Debian, there are generally two ways to get
changes into Debian, either open a bug with the debdiff attached, or
open a Debian Salsa merge request.

The Debian swift bug trackers shows no bugs currently:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=swift
but you could open one with the debdiff fairly easily, by using the 'submittodebian' script from the ubuntu-dev-tools package.  Its manpage is not super descriptive, but essentially you just need to run the script from the package source you want to patch.  If you have questions about its usage let me know.

Alternately (or additionaly) you can try opening a salsa merge request:
https://salsa.debian.org/openstack-team/services/swift
you will need to create a 'guest' salsa account, and after that it's basically the same process as github/gitlab.

I've subscribed to this bug so let me know if I can help with any
further steps in the process.

** Tags added: ubuntu-sponsor-ddstreet

-- 
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/1827340

Title:
  swift-container package is missing Upstart and System V files for the
  container-sharder service

Status in swift package in Ubuntu:
  In Progress

Bug description:
  It looks like the most recent version of the swift-container package
  is missing Upstart and System V files for the container-sharder
  service:

  root at swift:~# apt-cache policy swift-container
  swift-container:
    Installed: 2.21.0-0ubuntu1~cloud0
    Candidate: 2.21.0-0ubuntu1~cloud0
    Version table:
   *** 2.21.0-0ubuntu1~cloud0 500
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/stein/main amd64 Packages
          100 /var/lib/dpkg/status
       2.17.1-0ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
       2.17.0-0ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
  root at swift:~# 
  root at swift:~# 
  root at swift:~# 
  root at swift:~# dpkg -L swift-container
  /.
  /etc
  /etc/init
  /etc/init/swift-container-auditor.conf
  /etc/init/swift-container-replicator.conf
  /etc/init/swift-container-sync.conf
  /etc/init/swift-container-updater.conf
  /etc/init/swift-container.conf
  /etc/init.d
  /etc/init.d/swift-container
  /etc/init.d/swift-container-auditor
  /etc/init.d/swift-container-replicator
  /etc/init.d/swift-container-sync
  /etc/init.d/swift-container-updater
  /etc/swift
  /etc/swift/container-server.conf
  /usr
  /usr/bin
  /usr/bin/swift-container-auditor
  /usr/bin/swift-container-info
  /usr/bin/swift-container-reconciler
  /usr/bin/swift-container-replicator
  /usr/bin/swift-container-server
  /usr/bin/swift-container-sharder
  /usr/bin/swift-container-sync
  /usr/bin/swift-container-updater
  /usr/bin/swift-manage-shard-ranges
  /usr/bin/swift-reconciler-enqueue
  /usr/share
  /usr/share/doc
  /usr/share/doc/swift-container
  /usr/share/doc/swift-container/changelog.Debian.gz
  /usr/share/doc/swift-container/container-server.conf-sample
  /usr/share/doc/swift-container/container-sync-realms.conf-sample
  /usr/share/doc/swift-container/copyright
  /usr/share/man
  /usr/share/man/man1
  /usr/share/man/man1/swift-container-auditor.1.gz
  /usr/share/man/man1/swift-container-info.1.gz
  /usr/share/man/man1/swift-container-reconciler.1.gz
  /usr/share/man/man1/swift-container-replicator.1.gz
  /usr/share/man/man1/swift-container-server.1.gz
  /usr/share/man/man1/swift-container-sync.1.gz
  /usr/share/man/man1/swift-container-updater.1.gz
  /usr/share/man/man5
  /usr/share/man/man5/container-reconciler.conf.5.gz
  /usr/share/man/man5/container-server.conf.5.gz
  /usr/share/man/man5/container-sync-realms.conf.5.gz

  This disallows managing the service through the 'service' or
  'systemctl' commands which is required for the following bug:

  https://bugs.launchpad.net/charm-swift-storage/+bug/1826859

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



More information about the Ubuntu-openstack-bugs mailing list