New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenStack] Support os-client-config usage for authentication #3274

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@yankcrime
Copy link
Contributor

yankcrime commented Jan 19, 2019

- What I did

Updated the Gophercloud dependencies and also bring in the 'utils' package. This provides support for configuring access to OpenStack clouds as detailed in the official documentation. It maintains compatibility by allowing users to specify credentials via environment variables.

I've removed the command-line options for specifying access and authentication-related settings as I believe these are redundant.

By relying on this package we can simplify the code required to interact with OpenStack's APIs. Support is also provided upstream for self-signed and insecure SSL configurations.

- How to verify it

Tested with a public cloud running OpenStack 'Rocky':

nick@deadline:..om/yankcrime/linuxkit> bin/linuxkit push openstack \
    ~/Temp/linuxkitopenstack.qcow2
Uploading file /Users/nick/Temp/linuxkitopenstack.qcow2 with Image ID 62835b67-717a-4741-8f02-bccd58c78c7c
Image uploaded successfully!
nick@deadline:..om/yankcrime/linuxkit> bin/linuxkit run openstack -flavor "hotdog" \
    -keyname deadline -instancename LinuxKitTest \
    -network 33ac0b19-8812-4e3f-b514-d32346c2e618 \
    linuxkitopenstack
Server created, UUID is 72f45613-6a23-4cc9-81d5-2208392dda76
72f45613-6a23-4cc9-81d5-2208392dda76

- Description for the changelog

Add support for configuring access to OpenStack clouds via os-cloud-config.

Signed-off-by: Nick Jones nick@dischord.org

@yankcrime yankcrime force-pushed the yankcrime:os-client-config branch from d6a94f3 to e91168b Jan 19, 2019

[OpenStack] Support os-client-config usage for authentication
Update Gophercloud dependencies and also bring in the 'utils'
package.  This provides support for configuring access to OpenStack
clouds as detailed in the [official
documentation](https://docs.openstack.org/os-client-config/latest/user/configuration.html).

By relying on this package we can simplify the code required to
interact with OpenStack's APIs.  Support is also provided upstream for
self-signed and insecure SSL configurations.

Tested with a public cloud running OpenStack 'Rocky', the latest release.

Signed-off-by: Nick Jones <nick@dischord.org>

@yankcrime yankcrime force-pushed the yankcrime:os-client-config branch from e91168b to 1df6804 Jan 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment