Skip to content

Add resources required to run lightspeed-tests - #4140

Open
jancervenka wants to merge 1 commit into
mainfrom
update-lightspeed-playbook-OSPRH-33342-additional-resources
Open

jancervenka wants to merge 1 commit into
mainfrom
update-lightspeed-playbook-OSPRH-33342-additional-resources

Conversation

@jancervenka

@jancervenka jancervenka commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

test-operator expects a ConfigMap and two secrets to exists before it will start executing a test suite. We create the expected dummy resources with no data to satisfy the requirement.

test-operator is using the default ServiceAccount to run the tests. We need to create a ClusterRole and ClusterRoleBinding to grant the default SA access to the Lightspeed service.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@jancervenka
jancervenka force-pushed the update-lightspeed-playbook-OSPRH-33342-additional-resources branch from 77088b0 to 9c76c36 Compare August 25, 2026 11:43
@jancervenka

jancervenka commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

Hi @malingatembo! we were discussing with @lpiwowar (see: openstack-k8s-operators/lightspeed-tests#12) create some additional resources in your playbook. The resources are required by the test-operator to successfully run the lightspeed-test suite.

See the commit message:

test-operator expects a ConfigMap and two secrets to exists before it will start executing a test suite. We create the expected dummy resources with no data to satisfy the requirement.

test-operator is using the default ServiceAccount to run the tests. We need to create a ClusterRole and ClusterRoleBinding to grant the default SA access to the Lightspeed service.

@lpiwowar

Copy link
Copy Markdown
Contributor

@jancervenka thanks for the PR! 🎉 The initial idea was for this PR to build on top of @malingatembo's PR. We can then use Depends-On: and test your changes alongside the changes from @malingatembo's PR -> #4108 (once the job Malinga Tembo is working on is ready -> openstack-k8s-operators/lightspeed-operator#65)

If it turns out that the changes you introduced work, then we can merge both PRs into one (into @malingatembo's PR #4108 with a proper commit attributing your work, of course :).

I suggest:

  • Marking this as a draft and building this PR on top of the one from @malingatembo. I wonder whether it is possible to use the stacked PRs GitHub recently introduced for this (I have not experimented with them yet). But what you can definitely do is check out the branch from @malingatembo's PR and check out a new branch out of it with your changes.

Just want to say that we are getting a little bit ahead ourselves here. But if everything clicks then the PR merging is going to be easy. Also, I'm personally ok just waiting it out until the job @malingatembo is working on gets ready. One way or the other I would mark this as a draft for now 🙈 .

@jancervenka
jancervenka deleted the branch main August 26, 2026 09:40
@jancervenka jancervenka reopened this Aug 26, 2026
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@jancervenka
jancervenka marked this pull request as draft August 26, 2026 10:34
@jancervenka
jancervenka changed the base branch from update-lightspeed-playbook-OSPRH-33342 to main August 26, 2026 12:09
@jancervenka

Copy link
Copy Markdown
Contributor Author

the PR is checked out of @malingatembo's work and marked as a draft.

@jancervenka
jancervenka changed the base branch from main to malinga/update-lightspeed-playbook-OSPRH-33342 August 26, 2026 12:22
@jancervenka
jancervenka changed the base branch from malinga/update-lightspeed-playbook-OSPRH-33342 to update-lightspeed-playbook-OSPRH-33342 August 26, 2026 12:39
@jancervenka
jancervenka changed the base branch from update-lightspeed-playbook-OSPRH-33342 to malinga/update-lightspeed-playbook-OSPRH-33342 August 26, 2026 13:09
@jancervenka
jancervenka changed the base branch from malinga/update-lightspeed-playbook-OSPRH-33342 to main August 26, 2026 13:10
@jancervenka jancervenka added lgtm and removed lgtm labels Sep 10, 2026
@jancervenka
jancervenka force-pushed the update-lightspeed-playbook-OSPRH-33342-additional-resources branch from 9c76c36 to 074d40d Compare September 17, 2026 10:54
@openshift-ci

openshift-ci Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

The full list of commands accepted by this bot can be found 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

@jancervenka
jancervenka marked this pull request as ready for review September 17, 2026 10:55
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@jancervenka
jancervenka force-pushed the update-lightspeed-playbook-OSPRH-33342-additional-resources branch from 074d40d to ff2d569 Compare September 17, 2026 13:02
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build succeeded (check pipeline).
https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/e39b9faf4cfa4f36a1781f17ec988637

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 43m 10s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 21m 39s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 28m 09s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 03m 39s
✔️ openstack-k8s-operators-content-provider-bootc SUCCESS in 2h 48m 16s
✔️ cifmw-crc-podified-edpm-baremetal-bootc SUCCESS in 1h 31m 08s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 15s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 18s

test-operator expects a ConfigMap and two secrets to exists before
it will start executing a test suite. We create the expected dummy
resources with not data to satisfy the requirement.

test-operator is using the default ServiceAccount to run this test.
We need to create a ClusterRole and ClusterRoleBinding to grant
the default SA access to the Lightspeed service.

Signed-off-by: Jan Cervenka <jcervenk@redhat.com>
@jancervenka
jancervenka force-pushed the update-lightspeed-playbook-OSPRH-33342-additional-resources branch from ff2d569 to c9f6ee7 Compare September 18, 2026 07:19
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build succeeded (check pipeline).
https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/962fc90655624d47a12dfa41b622faea

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 22m 55s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 23m 16s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 32m 22s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 04m 12s
✔️ openstack-k8s-operators-content-provider-bootc SUCCESS in 4h 13m 58s
✔️ cifmw-crc-podified-edpm-baremetal-bootc SUCCESS in 1h 26m 06s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 13s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 12s

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.

2 participants