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

Corey Bryant corey.bryant at canonical.com
Fri Apr 3 13:20:23 UTC 2020


Hi Tytus and Dan,

Thanks for the patches Tytus. Always appreciate contributions!

Generally for the core openstack packages they don't follow the normal
sync from debian flow for a number of reasons and the packages tend to
differ quite a bit.

The swift package in Debian has already moved to systemd though, and
they went with a generated approach. To see what they did, pull-debian-
source swift and take a look at the debian/*init.in files and
debian/rules override_dh_installinit, override_dh_installsystemd.

I'll need to dig in deeper to understand if one approach is any better
than the other.

I'd like to make the switch one way or the other, but I'm not sure that
I want to do it at this point in the Focal cycle. I would prefer early G
cycle.

Thanks,
Corey

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