yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94782
[Bug 2085349] Re: [neutron] Potential bug with allowed address pair feature
Hello Patryk:
You are using ML2/OVN, you can't use a bound port IP address as allowed
address pair [1]. I will update the documentation because that is not
explicitly defined. Even with ML2/OVS, the procedure is to create the VM
ports and then another port that won't be assigned; the IP address of
this port will be the VIP to be assigned as allowed address pair to the
VM ports.
In your logs [2], the port 2597814e-d4ea-47d6-8a50-ceeb74b09145 is using
the VIP 10.100.0.144. However this is the fixed IP of
1478a9e8-6c69-40de-85a3-651e57e3520a. Same comment for IP 10.100.0.73.
You should create another port in the same network that must not be
bound.
Regards.
[1]https://review.opendev.org/c/openstack/neutron/+/882588/7/releasenotes/notes/ovn-virtual-port-prevent-binding-50efba5521e8a28e.yaml
[2]https://paste.openstack.org/show/bx3EGpt18sjT9s16xVNR/
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2085349
Title:
[neutron] Potential bug with allowed address pair feature
Status in neutron:
Invalid
Bug description:
[Summary (Bug title)]
Potential bug with allowed address pair feature.
[High level description]
I want to forward all traffic to Internet from VM-2 via VM-1 using allowed address pair feature. VM-1 should be as network gateway for VM-2. After created "allowed address pair" rules contain IP address (IP VM-2 on VM-1 rule and IP VM-1 on VM-2 rule), interfaces on this VMs change status to UNBIND/DOWN. After that, VMs aren't recoverable. If VM will be rebooted (HARD, shelve) Nova will return error "Exception during message handling: nova.exception.InternalError: Unexpected vif_type=unbound".
[Pre-conditions]
Two VMs without defined "allowed address pair" rules, connected to the same internal network, one VM should have assigned FIP. VMs should be reachable beetwen self (ex. ping response)
[Step-by-step reproduction steps]
- Create 2 VM's and assign to the same network and assign FIP to one -> in this case pb-lab-network-1, pb-lab-network-2
- Create allowed_adress_pair for each VM - only IP should be filled
- Verify ports status - connectivity with VM-2 (without FIP) should be lost
- Make SOFT REBOOT instance. After reboot VM will going to UP state but port will change status do DOWN
- Make HARD REBOOT instance. After reboot VM will going to ERROR state.
Here are logs and commands: https://paste.openstack.org/show/bx3EGpt18sjT9s16xVNR/
[Expected output]
Error or Warning should be returned if settings aren't correctly. Or blocked.
[Actual output]
I can modify rules and filled "what I want", even incorrectly. In this case, PROD environment can be stopped, unconsciously.
[Version]
OpenStack 2023.2 Bobcat, deployed by kolla-ansible with all defaults
Ubuntu 22.04 LTS
[Perceived severity]
Major
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2085349/+subscriptions
References