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

Fix vif unplug operations failing on RL9.3 #851

Closed
wants to merge 2 commits into from

Conversation

priteau
Copy link
Member

@priteau priteau commented Dec 21, 2023

An instance on a hypervisor running Rocky Linux 9.3 would fail to resize or cold migrate with the error:

Traceback (most recent call last):
  File "/var/lib/kolla/venv/lib/python3.9/site-packages/os_vif/__init__.py", line 110, in unplug
    plugin.unplug(vif, instance_info)
  File "/var/lib/kolla/venv/lib/python3.9/site-packages/vif_plug_ovs/ovs.py", line 445, in unplug
    self._unplug_bridge(vif, instance_info)
  File "/var/lib/kolla/venv/lib/python3.9/site-packages/vif_plug_ovs/ovs.py", line 376, in _unplug_bridge
    linux_net.delete_bridge(vif.bridge_name, v1_name)
  File "/var/lib/kolla/venv/lib/python3.9/site-packages/oslo_privsep/priv_context.py", line 271, in _wrap
    return self.channel.remote_call(name, args, kwargs,
  File "/var/lib/kolla/venv/lib/python3.9/site-packages/oslo_privsep/daemon.py", line 215, in remote_call
    raise exc_type(*result[2])
pr2modules.netlink.exceptions.NetlinkError: (95, 'Operation not supported')

This appears to be caused by incompatibility between pyroute2<0.6.10 and the Rocky Linux 9.3 kernel. More details are available on Launchpad [1].

[1] https://bugs.launchpad.net/ubuntu/+source/pyroute2/+bug/1995469

@priteau priteau self-assigned this Dec 21, 2023
@priteau priteau requested a review from a team as a code owner December 21, 2023 16:25
An instance on a hypervisor running Rocky Linux 9.3 would fail to resize
or cold migrate with the error:

    Traceback (most recent call last):
      File "/var/lib/kolla/venv/lib/python3.9/site-packages/os_vif/__init__.py", line 110, in unplug
        plugin.unplug(vif, instance_info)
      File "/var/lib/kolla/venv/lib/python3.9/site-packages/vif_plug_ovs/ovs.py", line 445, in unplug
        self._unplug_bridge(vif, instance_info)
      File "/var/lib/kolla/venv/lib/python3.9/site-packages/vif_plug_ovs/ovs.py", line 376, in _unplug_bridge
        linux_net.delete_bridge(vif.bridge_name, v1_name)
      File "/var/lib/kolla/venv/lib/python3.9/site-packages/oslo_privsep/priv_context.py", line 271, in _wrap
        return self.channel.remote_call(name, args, kwargs,
      File "/var/lib/kolla/venv/lib/python3.9/site-packages/oslo_privsep/daemon.py", line 215, in remote_call
        raise exc_type(*result[2])
    pr2modules.netlink.exceptions.NetlinkError: (95, 'Operation not supported')

This appears to be caused by incompatibility between pyroute2<0.6.10 and
the Rocky Linux 9.3 kernel. More details are available on Launchpad [1].

[1] https://bugs.launchpad.net/ubuntu/+source/pyroute2/+bug/1995469
Copy link
Contributor

@markgoddard markgoddard left a comment

Choose a reason for hiding this comment

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

LGTM, will you update the nova images too?

Instances created on a hypervisor running on Rocky Linux kernel 5.14.0-362.13.1.el9_3 fail to get response from metadata server due to pyroute2 incompatibilty.
Which led ssh key authentication failure.
@priteau
Copy link
Member Author

priteau commented Jan 5, 2024

This is not needed because upstream is fixing it differently: https://review.opendev.org/c/openstack/kolla/+/904781

@priteau priteau closed this Jan 5, 2024
@priteau priteau deleted the pyroute2-fix branch January 5, 2024 09:29
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