[Bug 1686437] Re: glance sync: need keystone v3 auth support

2018-04-09 Thread Felipe Reyes
** Description changed:

+ [Impact]
+ 
+ simplestreams can't sync images when keystone is configured to use v3,
+ keystone v2 is deprecated since mitaka[0] (the version shipped with
+ xenial)
+ 
+ The OpenStack Keystone charm supports v3 only since Queens and later[1]
+ 
+ [Test Case]
+ 
+ * deploy a openstack environment with keystone v3 enabled
+   - get a copy of the bundle available at 
http://paste.ubuntu.com/p/hkhsHKqt4h/ , this bundle deploys a minimal version 
of xenial-mitaka.
+ 
+ Expected result:
+ 
+ - "glance image-list" lists trusty and xenial images
+ - the file glance-simplestreams-sync/0:/var/log/glance-simplestreams-sync.log 
 contains details of the images pulled from cloud-images.u.c (example: 
https://pastebin.ubuntu.com/p/RWG8QrkVDz/ )
+ 
+ Actual result:
+ 
+ - "glance image-list" is empty
+ - the file glance-simplestreams-sync/0:/var/log/glance-simplestreams-sync.log 
 contains the following stacktrace
+ INFO  * 04-09 22:04:06 [PID:14571] * root * Calling DryRun mirror to get 
item list
+ ERROR * 04-09 22:04:06 [PID:14571] * root * Exception during syncing:
+ Traceback (most recent call last):
+   File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", 
line 471, in main
+ do_sync(charm_conf, status_exchange)
+   File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", 
line 232, in do_sync
+ objectstore=store)
+   File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", 
line 374, in __init__
+ super(ItemInfoDryRunMirror, self).__init__(config, objectstore)
+   File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", 
line 126, in __init__
+ self.keystone_creds = openstack.load_keystone_creds()
+   File "/usr/lib/python2.7/dist-packages/simplestreams/openstack.py", line 
61, in load_keystone_creds
+ raise ValueError("(tenant_id or tenant_name)")
+ ValueError: (tenant_id or tenant_name)
+ 
+ 
+ [Regression Potential]
+ 
+ * A possible regression will manifest itself figuring out if v2 or v3
+ should be used, after the connection is made there are no further
+ changes introduced by this SRU
+ 
+ 
+ [Other Info]
+ 
  When trying to test my changes for bug 1686086, I was unable to auth
  to keystone, which means glance image sync just doesn't work with
  a v3 keystone.
  
  Related bugs:
   * bug 1719879: swift client needs to use v1 auth prior to ocata
   * bug 1728982: openstack mirror with keystone v3 always imports new images
   * bug 1611987: glance-simplestreams-sync charm doesn't support keystone v3
+ 
+ [0] 
https://docs.openstack.org/releasenotes/keystone/mitaka.html#deprecation-notes
+ [1] 
https://docs.openstack.org/charm-guide/latest/1802.html#keystone-support-is-v3-only-for-queens-and-later

** Summary changed:

- glance sync: need keystone v3 auth support
+ [SRU] glance sync: need keystone v3 auth support

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

Title:
  [SRU] glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2018-04-09 Thread Scott Moser
** Description changed:

  When trying to test my changes for bug 1686086, I was unable to auth
  to keystone, which means glance image sync just doesn't work with
  a v3 keystone.
  
  Related bugs:
   * bug 1719879: swift client needs to use v1 auth prior to ocata
   * bug 1728982: openstack mirror with keystone v3 always imports new images
-  * bug 1686437: glance-simplestreams-sync charm doesn't support keystone v3
+  * bug 1611987: glance-simplestreams-sync charm doesn't support keystone v3

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2018-04-09 Thread Scott Moser
** Changed in: simplestreams (Ubuntu Zesty)
   Status: Confirmed => Won't Fix

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2018-04-09 Thread Scott Moser
** Description changed:

  When trying to test my changes for bug 1686086, I was unable to auth
  to keystone, which means glance image sync just doesn't work with
  a v3 keystone.
  
  Related bugs:
   * bug 1719879: swift client needs to use v1 auth prior to ocata
-  * bug 1728982: openstack mirror with keystone v3 always imports new images
+  * bug 1728982: openstack mirror with keystone v3 always imports new images
+  * bug 1686437: glance-simplestreams-sync charm doesn't support keystone v3

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2018-03-09 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341214

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2018-03-09 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341205

** Merge proposal linked:
   
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341206

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-11-02 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/333165

** Merge proposal linked:
   
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/333167

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-11-02 Thread Scott Moser
** Description changed:

  When trying to test my changes for bug 1686086, I was unable to auth
  to keystone, which means glance image sync just doesn't work with
  a v3 keystone.
  
  Related bugs:
-  * bug 1719879: swift client needs to use v1 auth prior to ocata
+  * bug 1719879: swift client needs to use v1 auth prior to ocata
+  * bug 1728982: openstack mirror with keystone v3 always imports new images

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-11-01 Thread Eric Desrochers
** Tags removed: sts-sru-needed

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-10-10 Thread Eric Desrochers
** Tags added: sts-sru-needed

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-27 Thread Scott Moser
** Description changed:

  When trying to test my changes for bug 1686086, I was unable to auth
- to keystone, which means glance image sync just doesn't work with 
+ to keystone, which means glance image sync just doesn't work with
  a v3 keystone.
+ 
+ Related bugs:
+  * bug 1719879: swift client needs to use v1 auth prior to ocata

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-26 Thread Eric Desrochers
Felipe,

I just talked to smoser this morning and he agreed on backporting this into 
supported stable release.
We already set the release nominations accordingly.

There is a few details that smoser and thedac need to review together
and they will keep us posted.

- Eric

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-26 Thread Scott Moser
** Also affects: simplestreams (Ubuntu Zesty)
   Importance: Undecided
   Status: New

** Also affects: simplestreams (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: simplestreams (Ubuntu Xenial)
   Status: New => Confirmed

** Changed in: simplestreams (Ubuntu Zesty)
   Status: New => Confirmed

** Changed in: simplestreams (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: simplestreams (Ubuntu Zesty)
   Importance: Undecided => Medium

** Changed in: simplestreams
   Status: Confirmed => Fix Committed

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-20 Thread Felipe Reyes
** Tags added: sts

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-20 Thread Felipe Reyes
Scott, will 0.1.0~bzr450-0ubuntu1 be backported to xenial?

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-14 Thread Launchpad Bug Tracker
This bug was fixed in the package simplestreams - 0.1.0~bzr450-0ubuntu1

---
simplestreams (0.1.0~bzr450-0ubuntu1) artful; urgency=medium

  * New upstream snapshot.
- Keystone v3 Support [David Ames] (LP: #1686437)
- flake8/pycodestyle updates.
- tests: change to having http server select its own port
- Support filters that contain a '-' in the tag name
- Improvements for running flake8 in different Ubuntu release
  environments.
- add running of tox.
- json2streams: Accept items with no size.
- tools changes (not related to package functionality)
  - tools/ubuntu_versions.py: Exclude old versions by version not name
  - Update default LTS alias to point to Xenial (LP: #1606606)
  - Create chksum for LXD metadata+root for squashfs (LP: #1577922)

 -- Scott Moser   Thu, 14 Sep 2017 10:38:07 -0400

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

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~simplestreams-dev/simplestreams/artful

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1686437] Re: glance sync: need keystone v3 auth support

2017-09-14 Thread Scott Moser
** Also affects: simplestreams (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: simplestreams (Ubuntu)
   Importance: Undecided => Medium

** Changed in: simplestreams (Ubuntu)
   Status: New => In Progress

** Changed in: simplestreams (Ubuntu)
 Assignee: (unassigned) => Scott Moser (smoser)

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

Title:
  glance sync: need keystone v3 auth support

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs