libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdloo <>
Subject [GitHub] libcloud pull request #1151: Implement openstack v2 glance image api
Date Sat, 09 Dec 2017 23:59:23 GMT
GitHub user vdloo opened a pull request:

    Implement openstack v2 glance image api

    ## Use Openstack Glance v2 API for image manipulation
    Previously all image functionality was available through the
    compute API. This deprecated proxied API does not offer all
    functionality that the Glance Image service API offers.
    > These APIs are proxy calls to the Image service. Nova has deprecated all
    > the proxy APIs and users should use the native APIs instead. These will fail
    > with a 404 starting from microversion 2.36. See: Relevant Image APIs.
    For example, managing image visibility and sharing machine images across
    tenants can not be done using the proxied image API in the compute endpoint,
    but it can be done with the Glance Image API.
    ### Status
    Haven't done real world testing with this branch yet, also I want to implement some more
ex_ methods to help facilitate image sharing. But before I do that I'm curious what you guys
think about the OpenStackImageConnection and the double init call to get the api client for
the glance api
    self.connectionCls = self.image_connectionCls
    super(OpenStack_2_NodeDriver, self).__init__(*args, **kwargs)

You can merge this pull request into a Git repository by running:

    $ git pull implement-openstack-v2-glance-image-api

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1151
commit 4036383a60e394ae1db831d73dd896d8b32eb42c
Author: Rick van de Loo <>
Date:   2017-12-06T15:54:44Z

    implement openstack v2 glance image api
    currently the compute driver uses the nova proxy to the glance image api, but this proxied
api is deprecated and can not handle functionality like image sharing (setting an image to
shared, creating new image members and accepting images as image members). this commit adds
a connection to the glance API in the v2 driver

commit 83e5e494280874d1bf4465f9d62392b1e73ec05b
Author: Rick van de Loo <>
Date:   2017-12-06T16:23:47Z

    use glance api for openstack v2 list_images

commit 2bdf34041d522b84b9d5529abb1487cd47c87955
Author: Rick van de Loo <>
Date:   2017-12-06T16:43:53Z

    add glance endpoint to openstack auth fixture

commit 63d72d66ca94353fd67b0cd11d7d757dc6bb444f
Author: Rick van de Loo <>
Date:   2017-12-06T16:54:04Z

    implement openstack ex_update_image
    so visibility can be set on images

commit b68c75e5011b8ac6c6c4aa4d7d37e308d7d7d6f0
Author: Rick van de Loo <>
Date:   2017-12-06T17:02:40Z

    openstack_identity tests check for glance



View raw message