Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

use the datasources field for the nova dataplane service def #920

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SeanMooney
Copy link
Contributor

@SeanMooney SeanMooney commented Jun 6, 2024

This change ports the nova OpenstackDataplaneService to use
the recently added datasources field.

This allows the default dataplane service to optionally support
constom service config via a config called nova-extra-config

This name was choosen to aling to the default custom service
config used in the ci framework.

Related: OSPRH-6407

@SeanMooney SeanMooney requested review from slagle and gibizer and removed request for slagle June 6, 2024 12:12
@openshift-ci openshift-ci bot requested review from fao89 and rebtoor June 6, 2024 12:12
Copy link
Contributor

openshift-ci bot commented Jun 6, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: SeanMooney
Once this PR has been reviewed and has the lgtm label, please assign dprince for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@SeanMooney SeanMooney requested a review from slagle June 6, 2024 12:12
SeanMooney added a commit to SeanMooney/install_yamls that referenced this pull request Jun 6, 2024
The default nova dataplane service now supports an optional
nova-extra-config configmap

This change removes the creation of the custom service
but keeps the creation fo the nova-extra-config configmap

Depends-On: openstack-k8s-operators/dataplane-operator#920
Related: OSPRH-6407
@SeanMooney
Copy link
Contributor Author

looks like i need to update one of the env tests but ill leave the rest run to completion before i rebase

@SeanMooney
Copy link
Contributor Author

actully that passed locally... so ill retrigger that job. i guess its a flaky test.

@SeanMooney
Copy link
Contributor Author

/test functional

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/b88aba456a2149d6aa43d4cb7d46b6f7

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 20m 39s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 18m 02s
cifmw-crc-podified-edpm-baremetal FAILURE in 29m 13s

@fao89
Copy link
Collaborator

fao89 commented Jun 6, 2024

/retest-required

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/1f7f2a4ce6264f9a8ad6df0d524d2c87

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 42m 32s
podified-multinode-edpm-deployment-crc FAILURE in 1h 40m 30s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 29m 43s

@slagle
Copy link
Collaborator

slagle commented Jun 6, 2024

I switched the json field name to be dataSources, so this will need an update

@slagle
Copy link
Collaborator

slagle commented Jun 6, 2024

I switched the json field name to be dataSources, so this will need an update

I updated it, hope you don't mind

@slagle
Copy link
Collaborator

slagle commented Jun 6, 2024

/retest

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/453612be3ddb4a9385c5f212a848df80

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 05m 58s
podified-multinode-edpm-deployment-crc FAILURE in 1h 38m 48s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 30m 51s

@fao89
Copy link
Collaborator

fao89 commented Jun 7, 2024

/retest-required

@fao89
Copy link
Collaborator

fao89 commented Jun 7, 2024

recheck

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/5be4e6b3dd6a4f15865d25e5d1c7f92d

✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 37m 39s
podified-multinode-edpm-deployment-crc FAILURE in 1h 40m 36s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 38m 41s

# It should contain an ssh key-pair in the secret fields: ssh-privatekey
# and ssh-publickey
- nova-migration-ssh-key
dataSources:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should wait for the adoption job to CI such sort of changes perhaps (as this will break adoption)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not sure it would
we do need to modify the adoption procedure in the future to not create any custom server and just use the standard nova one

in any case i guess we can try and get the adoption procedure updated this week as well

Copy link

@bogdando bogdando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should wait for the adoption job to CI such sort of changes perhaps (as this will break adoption)

SeanMooney added a commit to SeanMooney/install_yamls that referenced this pull request Jun 11, 2024
The default nova dataplane service now supports an optional
nova-extra-config configmap

This change removes the creation of the custom service
but keeps the creation fo the nova-extra-config configmap

Depends-On: openstack-k8s-operators/dataplane-operator#920
Related: OSPRH-6407
SeanMooney added a commit to SeanMooney/install_yamls that referenced this pull request Jun 11, 2024
to break a ci depenency we need to carfully sequence our usage
of dataSources.

pr openstack-k8s-operators#846 broke the ablity for
openstack-k8s-operators/dataplane-operator#920
to merge in the dataplane operator by hardcoding a replacement of the
datasource in the nova dataplane service with only the custom config.

as a result when we move the requried configmaps to the dataSources
it overriedes them and resulting in ipam configution failing because
the ssh key is not present.

this change adapts install yamls to fully transfrom the dataplane service
into the new form that will be intoduced in pr#920

then we can remove this temporay mesure once that is merged vai
pr openstack-k8s-operators#845

Related: OSPRH-6407
@SeanMooney
Copy link
Contributor Author

check-rdo

@SeanMooney
Copy link
Contributor Author

/retest-required

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/7cb40a1962a248a2a4b9b428ff5c155a

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 06m 06s
podified-multinode-edpm-deployment-crc FAILURE in 36m 21s
cifmw-crc-podified-edpm-baremetal FAILURE in 42m 05s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/31ef6e4b669c4d928c5cb10fc3245c63

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 00m 43s
podified-multinode-edpm-deployment-crc FAILURE in 1h 37m 48s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 35m 29s

This change ports the nova OpenstackDataplaneService to use
the recently added datasources field.

This allows the default dataplane service to optionally support
constom service config via a config called nova-extra-config

This name was choosen to aling to the default custom service
config used in the ci framework.

Related: OSPRH-6407
@fao89
Copy link
Collaborator

fao89 commented Jun 11, 2024

As I added this change to openstack-k8s-operators/openstack-operator#765
I found an issue with the dataSources code, the yaml isn't correctly parsed, I had to add the yaml notation to fix it: https://github.com/fao89/openstack-operator/blob/mergedataplane/apis/dataplane/v1beta1/common.go#L35-L74

Copy link
Contributor

openshift-ci bot commented Jun 12, 2024

@SeanMooney: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/dataplane-operator-build-deploy-kuttl b0c3e43 link true /test dataplane-operator-build-deploy-kuttl

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/5e17d2e52e89426bb88fdc8eec7e975b

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 58m 45s
podified-multinode-edpm-deployment-crc FAILURE in 1h 36m 07s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 28m 17s

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants