Skip to content

OCPBUGS-44455: Merge https://github.com/kubernetes-sigs/cluster-api-provider-openstack:release-0.10 into release-4.17 #343

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

Open
wants to merge 29 commits into
base: release-4.17
Choose a base branch
from

Conversation

shiftstack-merge-bot[bot]
Copy link

No description provided.

EmilienM and others added 5 commits November 22, 2024 11:11
When a floating is created, we need to make sure that
`OpenStackCluster.Spec.DisableExternalNetwork` is not set to `True`.
Otherwise, we'll have a nil pointer error.

* Add a check in `reconcileBastion` to check that external network is
  not disabled before creating the floating IP for the bastion.
* Add a check in `reconcileControlPlaneEndpoint` and
  `reconcileAPIServerLoadBalancer` to check that external
  network is not disabled (alongside the DisableAPIServerFloatingIP
  check) before creating the floating IP for the API server endpoint.
* Add a safeguard in `GetOrCreateFloatingIP` to return a proper error
  (instead of a nil pointer error) when
  `openStackCluster.Status.ExternalNetwork` is nil.
* Add API CEL to check that when DisableExternalNetwork is set and true,
  the bastion (if defined) doesn't have a floating IP defined and also
  that disableAPIServerFloatingIP (when set) is not False.

(cherry picked from commit 5429b4b)
…-0.10-fip

[release-0.10] 🐛 Better checks before creating Floating IPs
If the bastion image is missing or ambiguous, we do not have a bastion.
In that case, we must continue with the deletion or be permanently
stuck.

Signed-off-by: Lennart Jern <[email protected]>
…ot/cherry-pick-2289-to-release-0.10

[release-0.10] 🌱 Automate the release process
@openshift-ci openshift-ci bot requested review from MaysaMacedo and mdbooth December 2, 2024 12:16
@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 2, 2024
Copy link

openshift-ci bot commented Dec 2, 2024

Hi @shiftstack-merge-bot[bot]. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@EmilienM
Copy link
Member

EmilienM commented Dec 2, 2024

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 2, 2024
@EmilienM
Copy link
Member

EmilienM commented Dec 2, 2024

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2024
Copy link

openshift-ci bot commented Dec 2, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EmilienM

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 2, 2024
…ion-deletion-release-0.10

🐛 Fix deletion of cluster when bastion image missing
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 5, 2024
@EmilienM
Copy link
Member

EmilienM commented Dec 5, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 5, 2024
lentzi90 and others added 4 commits December 6, 2024 02:46
This makes it possible to set up a local devstack on libvirt. It is
probably not useful for running the full e2e suite (unless you have a
very beefy PC), but it is enough for development with Tilt.

Signed-off-by: Lennart Jern <[email protected]>
This is an attempt to make it more stable.

Signed-off-by: Lennart Jern <[email protected]>
(cherry picked from commit 5a86c5a)
While we investigate the issues with flatcar images further [1].

[1] https://bugs.launchpad.net/nova/+bug/2091114

Signed-off-by: Stephen Finucane <[email protected]>
(cherry picked from commit 0a28aae)
…ot/cherry-pick-2262-to-release-0.10

[release-0.10] 🌱 Add libvirt resource type for create_devstack.sh + Run devstack on ubuntu 24.04
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 9, 2024
EmilienM and others added 2 commits December 9, 2024 17:51
Configuring the following in devstack:

```
ENABLE_SYSCTL_MEM_TUNING="True"
ENABLE_SYSCTL_NET_TUNING="True"
ENABLE_ZSWAP="True"
```

That tuning is what is done in the `devstack-platform-ubuntu-noble`
job.
Example:
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d17/936669/2/check/devstack-platform-ubuntu-noble/d178dad/controller/logs/local_conf.txt
…ot/cherry-pick-2307-to-release-0.10

[release-0.10] 🐛 ci/devstack: host tuning
@openshift-ci-robot
Copy link

@EmilienM: This pull request references Jira Issue OCPBUGS-44455, which is valid.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.17.z) matches configured target version for branch (4.17.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-44458 is in the state Closed (Done), which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-44458 targets the "4.18.0" version, which is one of the valid target versions: 4.18.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

EmilienM and others added 6 commits December 12, 2024 17:29
In this PR we'll control the version of OVN to align with the upstream
devstack jobs building OVN and OVS from LTS versions.
This is largely a workaround to address some timeout issues that we
recently have and that with a controlled version of OVN we hope to
reduce.
…ot/cherry-pick-2324-to-release-0.10

[release-0.10] 🌱 devstack: build OVN from source
This is an attempt to see if disk performance is what makes our CI
unstable.

Signed-off-by: Lennart Jern <[email protected]>
…ot/cherry-pick-2323-to-release-0.10

[release-0.10] 🌱 CI: Increase IOPS for the devstack disks
This makes it possible to choose if the devstack should be created with
or without volumes when running on openstack. It also bumps the default
image name to ubuntu-2404-lts to match the other resource types.

Signed-off-by: Lennart Jern <[email protected]>
…ot/cherry-pick-2317-to-release-0.10

[release-0.10] 🌱 Devstack: Make boot volume optional on openstack
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 16, 2024
@EmilienM
Copy link
Member

/test e2e-techpreview
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 13, 2025
lentzi90 and others added 6 commits January 14, 2025 14:27
The image used in the postsubmit job that builds staging images was outdated.
It had an image with go1.18 and could not build the image.

Signed-off-by: Lennart Jern <[email protected]>
…ot/cherry-pick-2366-to-release-0.10

[release-0.10] 🌱 Update cloudbuild image
…0.10-lb-subnet-fix

[release-0.10] 🐛 fix: create lbaas in specified subnet
…ot/cherry-pick-2372-to-release-0.10

[release-0.10] 🌱 Update OWNERS_ALIASES
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 16, 2025
Copy link

openshift-ci bot commented Jan 16, 2025

New changes are detected. LGTM label has been removed.

lentzi90 and others added 2 commits January 24, 2025 11:59
If port creation fails in the middle, and cleanup also fails,
then we may end up with ports with missing tags or trunks.
This could happen when hitting rate-limits for example or
if there is a network outage. This commit addresses the issue
by going through existing ports and ensuring that they have
correct tags and trunks.

Co-authored-by: Huy Mai <[email protected]>
Signed-off-by: Lennart Jern <[email protected]>
…orts-tags-release-0.10

🐛 Ensure that existing ports also have correct tags and trunks
@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 1, 2025
okozachenko1203 and others added 3 commits May 12, 2025 13:15
…ot/cherry-pick-2541-to-release-0.10

[release-0.10] 🐛 allow switching from filter.name to id of network and subnets in OSC spec
Copy link

openshift-ci bot commented May 15, 2025

@shiftstack-merge-bot[bot]: 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 02682af link true /test images
ci/prow/e2e-techpreview 02682af link true /test e2e-techpreview
ci/prow/test 02682af link true /test test

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants