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

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

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

  [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:
  Fix Released
Status in simplestreams source package in Disco:
  Fix Released

Bug description:

  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

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

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to