Skip to content

[18.0-fr7] horizontest: mount clouds.yaml only in /etc/openstack - #603

Open
HanzJas wants to merge 1 commit into
openstack-k8s-operators:18.0-fr7from
HanzJas:backport-18.0-fr7
Open

HanzJas wants to merge 1 commit into
openstack-k8s-operators:18.0-fr7from
HanzJas:backport-18.0-fr7

Conversation

@HanzJas

@HanzJas HanzJas commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Manual cherry-pick of #597 to 18.0-fr7.

The pod mounts the OpenStack config ConfigMap at both /etc/openstack/clouds.yaml and $HOME/.config/openstack/clouds.yaml. The second mount causes kubelet to create a root-owned $HOME/.config subdirectory inside the ephemeral workdir, so the unprivileged test user cannot write into it.

Firefox 147+ keeps its profile registry under $XDG_CONFIG_HOME (default $HOME/.config) and never finishes starting up when that tree is not writable, which makes geckodriver time out on POST /session.

The HOME copy is redundant: both mounts reference the same ConfigMap key and the openstack CLI falls back to /etc/openstack/clouds.yaml. Keep only the system-wide mount so the home-directory config tree is not altered by the ConfigMap subPath mount.

Assisted-By: Codex CLI (DeepSeek-V4.1-Flash-1017)

The pod mounts the OpenStack config ConfigMap at both
/etc/openstack/clouds.yaml and $HOME/.config/openstack/clouds.yaml. The
second mount causes kubelet to create a root-owned $HOME/.config
subdirectory inside the ephemeral workdir, so the unprivileged test user
cannot write into it.

Firefox 147+ keeps its profile registry under $XDG_CONFIG_HOME (default
$HOME/.config) and never finishes starting up when that tree is not writable,
which makes geckodriver time out on POST /session.

The HOME copy is redundant: both mounts reference the same ConfigMap key
and the openstack CLI falls back to /etc/openstack/clouds.yaml. Keep only
the system-wide mount so the home-directory config tree is not altered by
the ConfigMap subPath mount.

Assisted-By: Codex CLI (DeepSeek-V4.1-Flash-1017)
(cherry picked from commit 01d8156)
@HanzJas
HanzJas requested a review from kstrenkova November 9, 2026 10:40
@openshift-ci
openshift-ci Bot requested review from arxcruz and dprince November 9, 2026 10:40
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 36587626-e9fb-4f50-b4d6-86c26d8d8b98

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@kstrenkova

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@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: HanzJas, kstrenkova

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-ci openshift-ci Bot added the approved label Nov 9, 2026
@centosinfra-prod-github-app

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://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/523c26773eb8448da99a484e7c6afdf8

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 08m 57s
✔️ test-operator-kuttl SUCCESS in 38m 27s
❌ podified-multinode-edpm-deployment-crc-test-operator FAILURE in 19m 14s

@HanzJas

HanzJas commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

recheck

@centosinfra-prod-github-app

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://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/530f67b37a02401db70655974dd78452

❌ openstack-k8s-operators-content-provider FAILURE in 5m 53s
⚠️ test-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ podified-multinode-edpm-deployment-crc-test-operator SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@kstrenkova

Copy link
Copy Markdown
Contributor

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.

2 participants