Skip to content

Add extraMounts interface#532

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
rabi:extraMounts
May 16, 2025
Merged

Add extraMounts interface#532
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
rabi:extraMounts

Conversation

@rabi

@rabi rabi commented May 15, 2025

Copy link
Copy Markdown
Contributor

We can inject policy files, heat plugins etc using this.

Jira: https://issues.redhat.com/browse/OSPRH-16695

@openshift-ci openshift-ci Bot requested review from bshephar and stuggi May 15, 2025 05:34
@rabi rabi marked this pull request as draft May 15, 2025 05:35
@rabi

rabi commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

/retest

@rabi rabi changed the title Add extraMounts interface to heat Add extraMounts interface May 15, 2025
@rabi

rabi commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

/test functional

@olliewalsh

Copy link
Copy Markdown
Contributor

Also should inherit the top-level mounts, similar to openstack-k8s-operators/openstack-operator#1441

We can inject policy files, heat plugins etc using this.

Jira: https://issues.redhat.com/browse/OSPRH-16695
Signed-off-by: rabi <ramishra@redhat.com>
@rabi

rabi commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

Also should inherit the top-level mounts, similar to openstack-k8s-operators/openstack-operator#1441

You mean making additional change in openstack-operator right?

@softwarefactory-project-zuul

Copy link
Copy Markdown

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d035843139fe4d7188fba0ee324b13b3

✔️ openstack-k8s-operators-content-provider SUCCESS in 31m 46s
heat-operator-tempest-multinode RETRY_LIMIT in 10m 13s

@rabi

rabi commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

/retest

@rabi

rabi commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

recheck

@softwarefactory-project-zuul

Copy link
Copy Markdown

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/6c6ecd8c0fa1465dac2df8354a445a86

✔️ openstack-k8s-operators-content-provider SUCCESS in 50m 38s
heat-operator-tempest-multinode FAILURE in 34m 08s

@rabi

rabi commented May 16, 2025

Copy link
Copy Markdown
Contributor Author

/test heat-operator-build-deploy-kuttl

@rabi

rabi commented May 16, 2025

Copy link
Copy Markdown
Contributor Author

recheck

@rabi rabi marked this pull request as ready for review May 16, 2025 02:32
@openshift-ci openshift-ci Bot requested a review from olliewalsh May 16, 2025 02:32
@bshephar bshephar requested a review from fmount May 16, 2025 04:50
@fmount

fmount commented May 16, 2025

Copy link
Copy Markdown
Contributor

The patch itself look good to me. I'm wondering if we might want to add an envTest to validate the new spec parameter like we did in [1] (the same test is present in the other operators implementing extraMounts).

We can do in a follow up, but let me know if you want to have an additional commit here before we land this patch.

[1] https://github.com/openstack-k8s-operators/manila-operator/blob/main/test/functional/manila_controller_test.go#L1115

@rabi

rabi commented May 16, 2025

Copy link
Copy Markdown
Contributor Author

We can do in a follow up, but let me know if you want to have an additional commit here before we land this patch

Looks like heat-operator envTest coverage is limited and I don't see anything from deployments checked in any of the tests. It would require some work to assert that volume and mounts are propagated for heat-engine and api deployments. I'll add tests in a followup as this has passed CI and ready to be merged.

@fmount fmount left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci

openshift-ci Bot commented May 16, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fmount, rabi

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

The pull request process is described here

Details 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

@openshift-merge-bot openshift-merge-bot Bot merged commit ef53fad into openstack-k8s-operators:main May 16, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants