Skip to content

Upgrade CAPO version to v0.12.4 (v2)#165

Merged
Mohammed Naser (mnaser) merged 17 commits into
vexxhost:mainfrom
noonedeadpunk:feature/capo_0.12.2_v2
Sep 3, 2025
Merged

Upgrade CAPO version to v0.12.4 (v2)#165
Mohammed Naser (mnaser) merged 17 commits into
vexxhost:mainfrom
noonedeadpunk:feature/capo_0.12.2_v2

Conversation

@noonedeadpunk
Copy link
Copy Markdown
Contributor

@noonedeadpunk Dmitriy Rabotyagov (noonedeadpunk) commented Jul 10, 2025

In CAPO version v0.11.2 there is a severe bug allowing to accomplish
Denial of Service by any tenant.

Manual removal of VM by tenant which is managed by CAPO results
in a pod crash in a loop. This has been fixed with [1] and is part
of the 0.12.2 release.

This is alternative patch to #152 due to messing up with introduction
of DCO requirement.

[1] kubernetes-sigs/cluster-api-provider-openstack#2477

In CAPO version v0.11.2 there is a severe bug allowing to accomplish
Denial of Service by any tenant.

Manual removal of VM by tenant which is managed by CAPO results
in a pod crash in a loop. This has been fixed with [1] and is part
of the  0.12.2 release.

Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
More modern CAPO also requires corresponding CAPI , otherwise
VM creation fails with:
`no matches for kind \"Image\" in version \"openstack.k-orc.cloud/v1alpha1\`

Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
CAPO 0.12.0 has removed ORC [1] and now it needs to be installed
additionally.

[1] https://github.com/kubernetes-sigs/cluster-api-provider-openstack/releases/tag/v0.12.0

Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
@mnaser
Copy link
Copy Markdown
Member

The approach I rather take here is a new role specific for the k-orc since it's just a dependency, so I'm going to add a new role to this and add it as a dependency instead.

I'll see if we can use Kustomize as well.

Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
@mnaser
Copy link
Copy Markdown
Member

alright, it's working great now, I just have to add the nodeSelector patch and we should be able to land this.

Jonathan Rosser (@jrosser) Dmitriy Rabotyagov (@noonedeadpunk) lmk if this is looking good, i dont think it should break you and keeps things nice and organized.

Signed-off-by: Yaguang Tang <yaguang.tang@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
@mnaser
Copy link
Copy Markdown
Member

alright, this should sort out all of the issues surrounding pre-commit and linters..

This [patch](kubernetes-sigs/cluster-api-provider-openstack@c81d89e) is included in this release

Signed-off-by: okozachenko1203 <okozachenko1203@gmail.com>
@okozachenko1203 Oleksandr K. (okozachenko1203) changed the title Upgrade CAPO version to v0.12.2 (v2) Upgrade CAPO version to v0.12.4 (v2) Sep 3, 2025
@okozachenko1203
Copy link
Copy Markdown
Member

@okozachenko1203
Copy link
Copy Markdown
Member

recheck

@mnaser Mohammed Naser (mnaser) enabled auto-merge (squash) September 3, 2025 03:10
@mnaser
Copy link
Copy Markdown
Member

Oleksandr K. (@okozachenko1203) looks like its gonna pass, please push in your approval when you can :)

@mnaser Mohammed Naser (mnaser) merged commit 6e56117 into vexxhost:main Sep 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants