<div dir="ltr"><div>Hi tjoen,</div><div><br></div><div>Victoria release doesn't support Python3.9, the maximum python version is 3.8 (default for ubuntu focal). See <a href="https://governance.openstack.org/tc/reference/runtimes/victoria.html">https://governance.openstack.org/tc/reference/runtimes/victoria.html</a> <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 17 de nov. de 2020 às 17:25, tjoen <<a href="mailto:tjoen@dds.nl">tjoen@dds.nl</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">System: LFS. Python-3.9.0, Neutron-17.0.0, oslo.privsep-2.4.0<br>
<br>
Got Train+Py37, Usuri+Py38 working with the help of the install-guide.<br>
Victoria+Py39 Only eventlet needed a patch.<br>
Neutron only for<br>
neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py<br>
  def ebtables(comm, table='nat'):<br>
      execute = ip_lib.IPWrapper(NAMESPACE).netns.execute<br>
-    return execute(['ebtables', '-t', table, '--concurrent'] + comm,<br>
+    return execute(['/usr/sbin/ebtables', '-t', table, '--concurrent'] <br>
+ comm,<br>
                     run_as_root=True)<br>
Possible not necessary but it avoids sudo errors.<br>
<br>
Controller logs (made readable):<br>
[-] Unable to enable dhcp for cb7948eb-e5c0-4764-a653-542c3e864f54.:<br>
    TypeError: <lambda>() takes 6 positional arguments but 7 were given<br>
Traceback (most recent call last):<br>
   File "/site-packages/neutron/agent/dhcp/agent.py", line 192, in <br>
call_driver<br>
    rv = getattr(driver, action)(**action_kwargs)<br>
   File "/site-packages/neutron/agent/linux/dhcp.py", line 249, in enable<br>
    common_utils.wait_until_true(self._enable, timeout=300)<br>
   File "/site-packages/neutron/common/utils.py", line 703, in <br>
wait_until_true<br>
     while not predicate():<br>
   File "/site-packages/neutron/agent/linux/dhcp.py", line 261, in _enable<br>
     interface_name = self.device_manager.setup(self.network)<br>
   File "/site-packages/neutron/agent/linux/dhcp.py", line 1675, in setup<br>
     if ip_lib.ensure_device_is_ready(interface_name,<br>
   File "/site-packages/neutron/agent/linux/ip_lib.py", line 960,<br>
          in ensure_device_is_ready<br>
     if not dev.link.exists or not dev.link.address:<br>
   File "/site-packages/neutron/agent/linux/ip_lib.py", line 513, in exists<br>
     return privileged.interface_exists(<a href="http://self.name" rel="noreferrer" target="_blank">self.name</a>, self._parent.namespace)<br>
   File "/site-packages/oslo_privsep/priv_context.py", line 247, in _wrap<br>
     return self.channel.remote_call(name, args, kwargs)<br>
   File "/site-packages/oslo_privsep/daemon.py", line 224, in remote_call<br>
     raise exc_type(*result[2])<br>
<br>
TypeError: <lambda>() takes 6 positional arguments but 7 were given<br>
<br>
Launching an instance:<br>
$ openstack server create --flavor m1.nano --image cirros \<br>
   --nic net-id=cb7948eb-e5c0-4764-a653-542c3e864f54 --security-group <br>
default \<br>
   --key-name mykey provider-instance<br>
results in status=BUILD and never ACTIVE<br>
<br>
Other logs on Controller after starting Compute1:<br>
Unable to access<br>
   /var/lib/neutron/dhcp/cb7948eb-e5c0-4764-a653-542c3e864f54/pid;<br>
   Error: [Errno 2] No such file or directory<br>
<br>
Ownerships and permissions are OK:<br>
drwxr-xr-x 2 neutron neutron 4096 Nov 15 19:49<br>
         cb7948eb-e5c0-4764-a653-542c3e864f54/<br>
<br>
Anybody with the same problem?<br>
I am not a Python programmer so I am at a lost<br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font style="background-color:transparent"><div><div dir="ltr"><div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px"><i style="font-size:13px"><font style="color:rgb(0,0,0)">Att[]'s</font><br><font color="#500050"><span style="color:rgb(0,0,0)">Iury Gregory Melo Ferreira</span> </font><br></i><i><font color="#000000">MSc in Computer Science at UFCG<br></font></i></div><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:12.8px"><i><font color="#000000">Part of the puppet-manager-core team in OpenStack</font></i><br><i><font color="#000000"><span style="background-color:rgb(255,255,255)"><font style="background-color:transparent"><i><font color="#000000">Software Engineer at Red Hat Czech</font></i></font></span></font></i></div><div><font style="font-family:arial,sans-serif;font-size:12.8px" color="#000000"><i>Social</i>:</font><font style="font-family:arial,sans-serif;font-size:12.8px"><font color="#888888"> </font><a href="https://www.linkedin.com/in/iurygregory" target="_blank"><font color="#0b5394">https://www.linkedin.com/in/iurygregory</font></a></font></div><div><i style="color:rgb(136,136,136);background-color:transparent;font-size:13px"><font color="#500050"><span style="color:rgb(0,0,0)">E-mail: </span> </font><a href="mailto:iurygregory@gmail.com" style="color:rgb(0,84,136)" target="_blank">iurygregory@gmail.com</a></i></div></div></div></div></font></span></div></div></div></div></div></div></div></div></div></div>