Skip to content

Remove support for setting VNIC binding profiles #586

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

Merged
merged 2 commits into from
Mar 4, 2025
Merged

Conversation

priteau
Copy link
Member

@priteau priteau commented Feb 18, 2025

This should not be required anymore and resolves an issue where, after creating a Neutron port of baremetal VNIC type, OpenTofu wants to revert its profile to an empty dict even though it was populated with local_link_information.

@priteau priteau self-assigned this Feb 18, 2025
@priteau priteau requested a review from a team as a code owner February 18, 2025 15:08
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to @JohnGarbutt setting binding profiles is never required now, so we should just remove the profile definition entirely. Note that in addition to the node_group ports there are also ports defined in the control.tf file.

@priteau priteau changed the title Prevent OpenTofu from reverting binding attributes Remove support for setting VNIC binding profiles Feb 19, 2025
@priteau priteau requested review from sjpb and JohnGarbutt February 19, 2025 15:14
This should not be required anymore and resolves an issue where, after
creating a Neutron port of baremetal VNIC type, OpenTofu wants to revert
its profile to an empty dict even though it was populated with
local_link_information.
Copy link
Member

@JohnGarbutt JohnGarbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good to me, thank you.

(Although I am not 100% sure if we need to add a release note around this somehow, as there is an upgrade impact here.)

Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sjpb sjpb merged commit ede561f into main Mar 4, 2025
2 checks passed
@sjpb sjpb deleted the binding-profile branch March 4, 2025 10:09
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.

3 participants