Skip to content

[debug] ci: Run the OpenStack Assistant e2e test from lightspeed-tests - #154

Draft
lpiwowar wants to merge 2 commits into
openstack-k8s-operators:mainfrom
lpiwowar:ci/run-openstack-assistant-tests
Draft

lpiwowar wants to merge 2 commits into
openstack-k8s-operators:mainfrom
lpiwowar:ci/run-openstack-assistant-tests

Conversation

@lpiwowar

@lpiwowar lpiwowar commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@openshift-ci

openshift-ci Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lpiwowar

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

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@lpiwowar
lpiwowar force-pushed the ci/run-openstack-assistant-tests branch from 47dcd3f to 4c88c67 Compare November 9, 2026 16:58
@lpiwowar
lpiwowar force-pushed the ci/run-openstack-assistant-tests branch from 4c88c67 to 7ddd311 Compare November 10, 2026 10:08
@lpiwowar lpiwowar changed the title ci: Run the OpenStack Assistant e2e test from lightspeed-tests [debug] ci: Run the OpenStack Assistant e2e test from lightspeed-tests Nov 10, 2026
@centosinfra-prod-github-app

Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/lightspeed-operator for 154,9c666d86e31814fe31ba236929ea11d7fc6b0bb8

lightspeed-tests [1] adds an e2e test that talks to goose inside the
openstack-assistant Pod over the Agent Client Protocol (ACP): it opens
a pod-exec WebSocket from the test Pod, runs `goose acp` and exchanges
JSON-RPC messages with it. Running that test in the
lightspeed-operator-deployment-crc job requires three adjustments:

- Authorize the test Pod to exec into the openstack-assistant Pod: the
  install playbook now creates a lightspeed-tests-assistant-exec
  ClusterRole (get/list pods, create/get pods/exec) and binds it to
  the test-operator ServiceAccount in the test namespace. Both are
  gated behind openstack_assistant_enabled, which the job already
  sets.

- Project the kube-root-ca.crt ConfigMap into the test Pod's service
  account token volume. The in-cluster client used by the test reads
  the token from that volume and also expects ca.crt next to it to
  verify the API server certificate before opening the exec
  WebSocket.

[1] openstack-k8s-operators/lightspeed-tests#27

Assisted-By: OpenCode:GLM-5.3
@lpiwowar
lpiwowar force-pushed the ci/run-openstack-assistant-tests branch from 9c666d8 to 901464d Compare November 16, 2026 11:37
@centosinfra-prod-github-app

Copy link
Copy Markdown

@lpiwowar

Copy link
Copy Markdown
Collaborator Author

recheck

2026-11-16 12:13:09.267981 | controller | TASK [ci_setup : Install needed packages name={{ cifmw_ci_setup_packages }}, state=latest] ***
2026-11-16 12:13:09.267986 | controller | Monday 16 November 2026  12:13:09 +0000 (0:00:00.023)       0:00:18.095 *******
2026-11-16 12:13:09.267990 | controller | Monday 16 November 2026  12:13:09 +0000 (0:00:00.023)       0:00:18.093 *******
2026-11-16 12:13:38.865169 | controller | task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/ci_setup/tasks/packages.yml:62
2026-11-16 12:13:38.865242 | controller | fatal: [localhost]: FAILED! =>
2026-11-16 12:13:38.865250 | controller |     changed: false
2026-11-16 12:13:38.865257 | controller |     msg: 'Failed to download metadata for repo ''epel-low-priority'': Yum repo downloading
2026-11-16 12:13:38.865263 | controller |       error: Downloading error(s): repodata/589bc8c87bd91e6c9fb7c39a9149092f204aa34da5616db5edff07b20cbb9589-primary.xml.xz
2026-11-16 12:13:38.865269 | controller |       - Cannot download, all mirrors were already tried without success; repodata/d5977fb7f0201a25f1a765804a1835c033404eeaec8a57a65a90e780d3027e08-updateinfo.xml.bz2
2026-11-16 12:13:38.865277 | controller |       - Cannot download, all mirrors were already tried without success'
2026-11-16 12:13:38.865282 | controller |     rc: 1
2026-11-16 12:13:38.865289 | controller |     results: []
2026-11-16 12:13:38.865295 | controller |

@lpiwowar

Copy link
Copy Markdown
Collaborator Author

recheck

This branch has not been deployed

No deployments
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.

1 participant