[Bug 1738063] Fix merged to charm-swift-proxy (stable/17.11)

OpenStack Infra 1738063 at bugs.launchpad.net
Fri Dec 15 19:53:01 UTC 2017


Reviewed:  https://review.openstack.org/528221
Committed: https://git.openstack.org/cgit/openstack/charm-swift-proxy/commit/?id=37cfb1c504f1dbde40ff619b654355352618c939
Submitter: Zuul
Branch:    stable/17.11

commit 37cfb1c504f1dbde40ff619b654355352618c939
Author: Edward Hope-Morley <edward.hope-morley at canonical.com>
Date:   Wed Dec 13 19:10:56 2017 +0000

    Fix S3 API for >= Kilo
    
    From Kilo onwards the swift-proxy charm is
    misconfiguring the swift3 middleware such that
    the api is unable to respond to any requests.
    We fix this by providing working config for
    Kilo onwards.
    
    NOTE: see LP for full explanation but due to
    problems with package version mismatches in the
    UCA this patch only fixes Trusty Kilo, (L is
    EOL) and Xenial Mitaka.
    
    Change-Id: Ice5690e7f06ffc78dd20b53b67dffc6bd72b2613
    Closes-Bug: 1738063
    (cherry picked from commit a256263c79236be8adc0ea5176c0e4512c5a135b)

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

Title:
  S3 API Broken For >= Kilo

Status in OpenStack swift-proxy charm:
  Fix Committed
Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive mitaka series:
  New
Status in Ubuntu Cloud Archive newton series:
  New
Status in Ubuntu Cloud Archive ocata series:
  New
Status in Ubuntu Cloud Archive pike series:
  New
Status in Ubuntu Cloud Archive queens series:
  Fix Released

Bug description:
  Seems we got ahead of ourselves in commit 25a2ea7f and broke the S3
  api by changing the swift3 middleware config to something that is not
  supported until the Newton version (1.11) of swift-plugin-s3. In the
  swift-proxy charm for >= Kilo we currently have:

  --------------------
  [filter:s3token]
  paste.filter_factory = keystonemiddleware.s3_token:filter_factory
  auth_uri = {{ auth_protocol }}://{{ keystone_host }}:{{ auth_port }}

  [filter:swift3]
  use = egg:swift3#swift3
  --------------------

  but that is broken in (at least) two ways; firstly swift3 (swift-
  plugin-s3) didn't switch to use auth_uri until 1.11 which is not
  available until Newton and secondly, when you switch to 1.11 you then
  need to change the s3token config to:

  --------------------
  [filter:s3token]
  use = egg:swift3#s3token
  auth_uri = http://127.0.0.1:35357/

  [filter:swift3]
  use = egg:swift3#swift3
  --------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-swift-proxy/+bug/1738063/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list