Add support for OpenStack#2805
Conversation
mkulke
left a comment
There was a problem hiding this comment.
I have some reservations about adding a provider without e2e tests, we cannot really make any statements about whether a provider is working or not without those.
What kind of PodVM image can be used with the provider?
|
@mkule, thank you for your comment. The details of the Pod VM image used are as follows: Image source: https://quay.io/repository/confidential-containers/podvm-generic-ubuntu-amd64 For obtaining the image, we used the download-image.sh script provided by CAA. The obtained image was placed within the locally constructed OpenStack cluster.
The e2e tests are currently underway and will be committed at a later date. Finally, I have conducted PeerPod functionality tests in my local environment. |
This commit allows cloud-api-adaptor(CAA) to support OpenStack-based clouds. There is currently no provider in CAA that supports clouds built with standard OpenStack. By implementing an OpenStack provider, we can offer secure pod execution environments in a wider range of fields. Adding an inbox Provider for OpenStack, referring to the following documentation. --- https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/docs/addnewprovider.md - Add and initialize the OpenStack provider manager - Add a definition for the configuration struct - Add cloud interfaces - Add provider interfaces - Add additional files to modularize the code - Add relevant unit tests - Update entrypoint.sh and Makefile Signed-off-by: cw-kojima1003 <fj3131ci@aa.jp.fujitsu.com>
528ea44 to
dab9ad6
Compare
|
golangci-lint reported several unhandled error returns in the OpenStack support code. |
|
@cw-kojima1003 now that 0.18 release is out, can you please rebase your PR. It'll make it easier to review |
|
@bpradipt |
|
I've opened a new PR, so I'll close this one. |
Summary:
This pull request allows cloud-api-adaptor(CAA) to support OpenStack-based clouds.
Background:
There is currently no provider in CAA that supports clouds built with standard OpenStack.
By implementing an OpenStack provider, we can offer secure pod execution environments in a wider range of fields.
As stated in the link below, we are focusing on implementations related to ARM CCA.
This PR provides an architecture-independent implementation.
Moving forward, we aim to execute PeerPods on OpenStack clouds that support ARM CCA.
Links:
This PR is for the purpose and related work described in the following Issue.
#2387
Task:
Adding an built-in Provider for OpenStack, referring to the following documentation.
https://github.com/confidential-containers/cloud-api-adaptor/blob/main/src/cloud-api-adaptor/docs/addnewprovider.md
Implemented:
Future implementation:
The user-data related features are currently foundational, with validation and testing for operational integrity still pending.