cosmic: install hook fails due to missing swift-plugin-s3 package

Bug #1805597 reported by James Page
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Swift Proxy Charm
Fix Released
High
James Page

Bug Description

swift-plugin-s3 was removed during the cosmic cycle as its now in-tree for swift.

2018-11-28 09:16:46 DEBUG install E: Package 'swift-plugin-s3' has no installation candidate
2018-11-28 09:16:46 DEBUG install Traceback (most recent call last):
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/install.real", line 826, in <module>
2018-11-28 09:16:46 DEBUG install main()
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/install.real", line 819, in main
2018-11-28 09:16:46 DEBUG install hooks.execute(sys.argv)
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/charmhelpers/core/hookenv.py", line 909, in execute
2018-11-28 09:16:46 DEBUG install self._hooks[hook_name]()
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/charmhelpers/contrib/hardening/harden.py", line 93, in _harden_inner2
2018-11-28 09:16:46 DEBUG install return f(*args, **kwargs)
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/hooks/install.real", line 153, in install
2018-11-28 09:16:46 DEBUG install apt_install(pkgs, fatal=True)
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/charmhelpers/fetch/ubuntu.py", line 228, in apt_install
2018-11-28 09:16:46 DEBUG install _run_apt_command(cmd, fatal)
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/charmhelpers/fetch/ubuntu.py", line 591, in _run_apt_command
2018-11-28 09:16:46 DEBUG install retry_message="Couldn't acquire DPKG lock")
2018-11-28 09:16:46 DEBUG install File "/var/lib/juju/agents/unit-swift-proxy-0/charm/charmhelpers/fetch/ubuntu.py", line 567, in _run_with_retries
2018-11-28 09:16:46 DEBUG install result = subprocess.check_call(cmd, **kwargs)
2018-11-28 09:16:46 DEBUG install File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
2018-11-28 09:16:46 DEBUG install raise CalledProcessError(retcode, cmd)
2018-11-28 09:16:46 DEBUG install subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'swift', 'swift-proxy', 'memcached', 'apache2', 'python-keystone', 'swift-plugin-s3', 'swauth', 'python-ceilometermiddleware']' returned non-zero exit status 100.

Revision history for this message
James Page (james-page) wrote :
Changed in charm-swift-proxy:
status: New → Triaged
importance: Undecided → High
assignee: nobody → James Page (james-page)
status: Triaged → In Progress
milestone: none → 19.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-swift-proxy (master)

Reviewed: https://review.openstack.org/620549
Committed: https://git.openstack.org/cgit/openstack/charm-swift-proxy/commit/?id=8cf9dd4e1ad7dd4013472e781babbac4e4c55662
Submitter: Zuul
Branch: master

commit 8cf9dd4e1ad7dd4013472e781babbac4e4c55662
Author: James Page <email address hidden>
Date: Wed Nov 28 10:10:52 2018 +0000

    Support deploy of Swift with internal S3 support

    Swift support is in-tree for Swift since OpenStack Rocky, and
    the swift-plugin-s3 package has been removed from the archive at
    Cosmic so drop installation at Rocky.

    Add new template for Rocky to use the in-tree s3api and s3token
    middleware.

    Enable cosmic test to validate changes.

    Change-Id: Ie5447dc44203c1ea2ad27e6d71248ba59d7549d0
    Closes-Bug: 1805597

Changed in charm-swift-proxy:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-swift-proxy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.