On 5/10/19 11:55 PM, Nadathur, Sundar wrote:
-----Original Message----- From: Monty Taylor <mordred@inaugust.com> Sent: Friday, May 10, 2019 1:43 PM To: openstack-discuss@lists.openstack.org Subject: Re: [OSC][PTG] Summary: many things to do!
On 5/10/19 4:48 PM, Dean Troyer wrote:
OpenStackClient held a session at the Denver PTG and despite not having much planned had plenty to talk about. Some of the highlights from the etherpad[0] are:
Well, poo. Sorry I missed it.
* Aretm is working on changing the Image commands to use OpenStackSDK. This is the work described in the cycle goal proposal[1] that he is planning to do anyway. I support going ahead with this even without an SDK 1.0 release as it lets us remove glanceclient and some of its unique dependencies.
* There was some discussion about image encryption and where the client-side bits of that may land. One option was to put it into os-brick; if that is where it winds up OSC will make that an optional dependency de to the number of other dependencies that will introduce. (ie, OSC currently uses very little of oslo, some of which brings in a number of things not otherwise needed client-side).
We landed support for image signing in SDK:
https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/i mage/image_signer.py
The old python-glanceclient has an option to download the image to a local file. I missed that when using the clouds.yaml-based approach that directly accesses the Glance API. Hope we can add that option to the openstacksdk-based client.
Yup - we have this. The shade side of sdk has had this for a while. We just landed a refactor which pushes all of the shade image logic into the sdk layer (thanks to Artem) - so when 0.28.0 is cut later today, conn.image.download() should work properly in the sdk layer too. But in the meantime, you can just use conn.download_image and it'll work fine Monty