Skip to content

fix(role:infomaniak_vm): keep ports with a fixed IP idempotent - #756

Merged
markuslf merged 1 commit into
mainfrom
fix/infomaniak-vm-port-idempotency
Nov 16, 2026
Merged

markuslf merged 1 commit into
mainfrom
fix/infomaniak-vm-port-idempotency

Conversation

@markuslf

Copy link
Copy Markdown
Member

Neutron returns each fixed IP together with its subnet_id, and openstack.cloud.port compares fixed_ips literally, so passing only ip_address updated the port (and reported changed) on every run. The role now looks up the subnet containing the fixed IP and passes both. Tested against Infomaniak on 001-p-vcs01.

Neutron returns each fixed IP together with its subnet_id, and
openstack.cloud.port compares fixed_ips literally, so passing only
ip_address updated the port on every run (documented in the module's
fixed_ips option). Look up the subnet containing the fixed IP and pass
both. Verified against openstack.cloud 2.6.0.
@markuslf
markuslf enabled auto-merge November 16, 2026 09:34
@markuslf
markuslf merged commit 3307822 into main Nov 16, 2026
11 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.

1 participant