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

Old server group utils #465

Open
MaximMonin opened this issue Dec 8, 2024 · 0 comments
Open

Old server group utils #465

MaximMonin opened this issue Dec 8, 2024 · 0 comments

Comments

@MaximMonin
Copy link

I recently had a problem with soft-anti-affinity policy when creating a cluster.
Invalid input for field/attribute 0. Value: soft-anti-affinity. 'soft-anti-affinity' is not one of ['anti-affinity', 'affinity']
Issue described in #463

And fixing it with

[nova_client]
api_version = 2.15

helped me.

But I think the real problem is deeper.
The current magnum driver at https://github.com/vexxhost/magnum-cluster-api/blob/main/magnum_cluster_api/utils.py#L656 still uses the 2.63- server group creation notation, providing the "policies" input parameter. But with microversion 2.64+, the "policy" parameter is used. And this required a rework of the util.py.

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

No branches or pull requests

1 participant