Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing something, please ignore. #277

Closed
wants to merge 8 commits into from
Closed

testing something, please ignore. #277

wants to merge 8 commits into from

Conversation

cmsj
Copy link

@cmsj cmsj commented Feb 6, 2025

No description provided.

eshulman2 and others added 8 commits November 11, 2024 12:23
When a workflow is set without ExtraConfigMap in ansible controller the
pod won't be able to start because the pointer won't be pointing at
nothing. Changed the condition to allow avoiding this issue.

not tested, waiting for a test enviornment to work on this

Jira: https://issues.redhat.com/browse/OSPRH-11191
…39-to-18.0-fr1

[18.0-fr1] Fix the nil pointing issue
This patch fixes the issue when ExtraConfigmapsMounts is empty.
Dereferencing a nil pointer leads to a panic.

We now first check whether the pointer is nil and then move to
dereferencing it.
…43-to-18.0-fr1

[18.0-fr1] [OSPRH-11191] Remove dereference for nil pointer
The Ensure[Horizon|Tobiko]CloudsYAML function was failing when
the CM containing the modified clouds.yaml already existed:

  Object openstack/horizontest-clouds-config is already owned
  by another HorizonTest controller horizontest-tests

This patch does two things:

  - Ensures that we do not create the modified clouds.yaml when it
    already exists.

  - Removes the duplicate implementation of of the Ensure*CloudsYAML
    function and replaces it with EnsureCloudsConfigMapExists.
[18.0-fr1][OSPRH-11235] Do not fail when clouds CM exists
There was a race condition in the previous implementation of the
workflows that was caused by the dependency of the workflow feature
on a ConfigMap that served as counter.

This commit simplifies the logic of the Reconcile loop in two ways:

  1. Removes the dependency for an external workflow counter

  2. Introduces NextAction function which decides what next action
     should be performed by the Reconcile loop based on the current
     state of the OpenShift cluster. The input of this function is the
     instance which is currently being processed and a workflowLength.
     Using these two arguments it then tells the Reconcile loop which
     actions it should perform: Wait, CreateFirstJob, CreateNextJob,
     EndTesting, Failure.

This approach should simplify the reconcile logic and move the
test-operator towards a unified Reconcile loop.
[18.0-fr1][OSPRH-10386] Update logic for workflows
@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

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.

@openshift-ci openshift-ci bot requested review from stuggi and viroel February 6, 2025 11:54
Copy link

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/test-operator for 277,34e4270601af24a7f1b2a49992d63115760435e1

@cmsj cmsj marked this pull request as draft February 6, 2025 11:54
Copy link

openshift-ci bot commented Feb 6, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: cmsj
Once this PR has been reviewed and has the lgtm label, please assign lpiwowar for approval. For more information see the 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

Copy link

openshift-ci bot commented Feb 6, 2025

@cmsj: The following tests 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/images 34e4270 link true /test images
ci/prow/functional 34e4270 link true /test functional
ci/prow/test-operator-build-deploy 34e4270 link false /test test-operator-build-deploy
ci/prow/precommit-check 34e4270 link true /test precommit-check

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.

@cmsj cmsj closed this Feb 6, 2025
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.

4 participants