← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1719879] Re: [SRU] swift client needs to use v1 auth prior to ocata

 

** Changed in: simplestreams (Ubuntu Xenial)
       Status: In Progress => Won't Fix

** Changed in: simplestreams (Ubuntu Bionic)
       Status: Fix Released => In Progress

** Changed in: simplestreams (Ubuntu Xenial)
     Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned)

** Changed in: simplestreams (Ubuntu Bionic)
     Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1719879

Title:
  [SRU] swift client needs to use v1 auth prior to ocata

Status in simplestreams:
  Fix Released
Status in simplestreams package in Ubuntu:
  Fix Released
Status in simplestreams source package in Xenial:
  Won't Fix
Status in simplestreams source package in Artful:
  Won't Fix
Status in simplestreams source package in Bionic:
  In Progress
Status in simplestreams source package in Disco:
  Fix Released

Bug description:
  [Impact]

  Users upgrading their environment by stages may see problems with the
  image synchronization when swift is left in mitaka (or newton) while
  other services have been upgraded to keystone, it's common for clouds
  where the API is availability is strict to do this kind of upgrades.

  
  [Test Case]

  * deploy openstack artful-pike except swift
    juju deploy ./bundle.yaml  # http://paste.ubuntu.com/p/27mzxxX9jC/
  * Add swift to the already deployed model
    juju deploy ./swift.yaml  # http://paste.ubuntu.com/p/RzZ2JMBjbg/
  * Once things have settled run the script /etc/cron.daily/glance_simplestreams_sync in glance-simplestreams-sync/0
    juju ssh glance-simplestreams-sync/0 sudo /etc/cron.daily/glance_simplestreams_sync in glance-simplestreams-sync/0

  Expected result:

  Images for xenial and trusty are uploaded available in glance
  (openstack image list)

  Actual result:

  The synchronization scripts fails due that it's not possible to
  authenticate with swift

  [Potential Regression]

  * This patch attempts to authenticate using v3 and falls back to v2,
  so environments where keystone is configured to authenticate using v2
  AND v3 may see a change in the behavior where simplestreams will be
  silently preferring v3 over v2 while before this patch only v2 was
  being used.

  [Other Info]
  I talked with David today (thedac) and he mentioned that the support for adding keystone v3 auth to simplestreams glance sync has issues when using older swift clients.

  The swift client lagged behind other openstack client libraries in
  gaining support for v3 auth.

  Note: This bug does not affect xenial or zesty.  They do not have the
  keystone v3 support yet, and the code submitted for SRU contains this
  fix.

  Related bugs:
   * bug 1686437: glance sync: need keystone v3 auth support

To manage notifications about this bug go to:
https://bugs.launchpad.net/simplestreams/+bug/1719879/+subscriptions