commit | 7bde7bf537e084c96e9e882f159346d4398657fe | [log] [tgz] |
---|---|---|
author | Dan Smith <dansmith@redhat.com> | Mon Feb 15 08:44:47 2021 -0800 |
committer | Dan Smith <dansmith@redhat.com> | Tue Mar 09 13:40:28 2021 -0800 |
tree | 19757b069f325649bf2a17ff31a142eee2557259 | |
parent | 08b38f5dc9767df3e457355b2553af58ff02dd02 [diff] |
Add image task validation Glance is adding a /image/$image/tasks API to make it easier to consume the import API. This fetches the tasks after glance-direct import, and validates that they look like we expect. Because this is only supported after v2.12, we check for that before doing the validation. To make that easier, this adds a has_version() helper to the VersionsClient. Change-Id: I2850f0659e82bf5c5a1005de0a063e7fcacadb51