interface name collision in the amphora
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Fix Released
|
High
|
Gregory Thiemonge |
Bug Description
On octavia master (also on all stable branches):
after adding/deleting members from different networks, adding a new member may trigger an interface name collision in the amphora.
Steps to reproduce:
- create a LB, a listener and a pool
- add member1 (subnet1/network1) -> eth2 is created in the ns
- add member2 (subnet2/network2) -> eth3 is created
- delete member1 (subnet1/network1) -> eth2 is deleted
- add member3 (subnet3/network3) -> Plugged interface ens8 will become eth3 in the namespace amphora-haproxy
it fails because eth3 already exists
Gregory Thiemonge (gthiemonge) wrote : | #1 |
Gregory Thiemonge (gthiemonge) wrote : | #2 |
Changed in octavia: | |
assignee: | nobody → Gregory Thiemonge (gthiemonge) |
importance: | Undecided → High |
status: | New → Confirmed |
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (master) | #3 |
Fix proposed to branch: master
Review: https:/
Changed in octavia: | |
status: | Confirmed → In Progress |
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (master) | #4 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c4dd87f9b119cca
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Change-Id: I7f150c2c1c3da7
Changed in octavia: | |
status: | In Progress → Fix Released |
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/2023.1) | #5 |
Fix proposed to branch: stable/2023.1
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/zed) | #6 |
Fix proposed to branch: stable/zed
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/yoga) | #7 |
Fix proposed to branch: stable/yoga
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/xena) | #8 |
Fix proposed to branch: stable/xena
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/wallaby) | #9 |
Fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/victoria) | #10 |
Fix proposed to branch: stable/victoria
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/ussuri) | #11 |
Fix proposed to branch: stable/ussuri
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (stable/train) | #12 |
Fix proposed to branch: stable/train
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/2023.1) | #13 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.1
commit 1b17529b1344569
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/victoria) | #14 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit fe0b3fa4a9517f8
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Conflicts:
Note: Victoria and older
Added a missing constant in octavia/
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
(cherry picked from commit 1b17529b1344569
(cherry picked from commit 05b3343473fa3d2
(cherry picked from commit 202d1dc4002f999
(cherry picked from commit 4260a127045b01f
(cherry picked from commit f204b6f2c5e7ea6
tags: | added: in-stable-victoria |
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/train) | #15 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 355f6b1c1bf2e52
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Conflicts:
Note: Victoria and older
Added a missing constant in octavia/
Note: Train
Removed f-strings
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
(cherry picked from commit 1b17529b1344569
(cherry picked from commit 05b3343473fa3d2
(cherry picked from commit 202d1dc4002f999
(cherry picked from commit 4260a127045b01f
(cherry picked from commit f204b6f2c5e7ea6
(cherry picked from commit fe0b3fa4a9517f8
(cherry picked from commit 7d9faf452c6375b
tags: | added: in-stable-train |
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/zed) | #16 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit 05b3343473fa3d2
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
(cherry picked from commit 1b17529b1344569
tags: | added: in-stable-zed |
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/xena) | #17 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 4260a127045b01f
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
(cherry picked from commit 1b17529b1344569
(cherry picked from commit 05b3343473fa3d2
(cherry picked from commit 202d1dc4002f999
tags: | added: in-stable-xena |
tags: | added: in-stable-ussuri |
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/ussuri) | #18 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 7d9faf452c6375b
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Conflicts:
Note: Victoria and older
Added a missing constant in octavia/
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
(cherry picked from commit 1b17529b1344569
(cherry picked from commit 05b3343473fa3d2
(cherry picked from commit 202d1dc4002f999
(cherry picked from commit 4260a127045b01f
(cherry picked from commit f204b6f2c5e7ea6
(cherry picked from commit fe0b3fa4a9517f8
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (stable/wallaby) | #19 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit f204b6f2c5e7ea6
Author: Gregory Thiemonge <email address hidden>
Date: Thu Apr 27 06:00:52 2023 -0400
Avoid interface name collisions in the amphora
After unpluging a network, the octavia-agent may try to plug a new
network to a new interface while another interface with the same name
already exists.
Closes-Bug: #2017894
Change-Id: I7f150c2c1c3da7
(cherry picked from commit c4dd87f9b119cca
(cherry picked from commit 1b17529b1344569
(cherry picked from commit 05b3343473fa3d2
(cherry picked from commit 202d1dc4002f999
(cherry picked from commit 4260a127045b01f
tags: | added: in-stable-wallaby |
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia 10.1.0 | #20 |
This issue was fixed in the openstack/octavia 10.1.0 release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia 11.0.1 | #21 |
This issue was fixed in the openstack/octavia 11.0.1 release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia 13.0.0.0rc1 | #22 |
This issue was fixed in the openstack/octavia 13.0.0.0rc1 release candidate.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia train-eol | #23 |
This issue was fixed in the openstack/octavia train-eol release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia ussuri-eol | #24 |
This issue was fixed in the openstack/octavia ussuri-eol release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia victoria-eom | #25 |
This issue was fixed in the openstack/octavia victoria-eom release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia wallaby-eom | #26 |
This issue was fixed in the openstack/octavia wallaby-eom release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia xena-eom | #27 |
This issue was fixed in the openstack/octavia xena-eom release.
Apr 27 07:34:35 amphora- bc294a34- e0fe-4fd1- a5ad-d3930b4e71 b5 gunicorn. gunicorn. error: [659] POST /1.0/plug/network bc294a34- e0fe-4fd1- a5ad-d3930b4e71 b5 amphora-agent: 2023-04-27 07:34:35.853 659 INFO octavia. amphorae. backends. agent.api_ server. plug [-] Plugged interface ens8 will become eth3 in the namespace amphora-haproxy bc294a34- e0fe-4fd1- a5ad-d3930b4e71 b5 amphora-agent: 2023-04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server [-] Exception on /1.0/plug/network [POST]: pyroute2. netlink. exceptions. NetlinkError: (17, 'File exists' )#0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server Traceback (most recent call last):# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ flask/app. py", line 2528, in wsgi_app# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server response = self.full_ dispatch_ request( )#0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ flask/app. py", line 1825, in full_dispatch_ request# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server rv = self.handle_ user_exception( e)#0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ flask/app. py", line 1823, in full_dispatch_ request# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server rv = self.dispatch_ request( )#0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ flask/app. py", line 1799, in dispatch_ request# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server return self.ensure_ sync(self. view_functions[ rule.endpoint] )(**view_ args)#0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ octavia/ amphorae/ backends/ agent/api_ server/ server. py", line 216, in plug_network# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server return self._plug. plug_network( port_info[ 'mac_address' ],#0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ octavia/ amphorae/ backends/ agent/api_ server/ plug.py" , line 237, in plug_network# 0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server ipr.link('set', index=idx, #0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server File "/opt/amphora- agent-venv/ lib64/python3. 9/site- packages/ pyroute2/ iproute/ linux.py" , line 1672, in link#0122023-04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. agent.api_ server. server ret = self.nlm_ request( msg, msg_type=msg_type, msg_flags= msg_flags) #0122023- 04-27 07:34:35.882 659 ERROR octavia. amphorae. backends. ..
Apr 27 07:34:35 amphora-
Apr 27 07:34:35 amphora-