<div dir="ltr">Hello,<div><br></div><div>I double checked the configuration with: <a href="https://docs.openstack.org/neutron/ussuri/install/compute-install-ubuntu.html" target="_blank">https://docs.openstack.org/neutron/ussuri/install/compute-install-ubuntu.html</a>,</div><div>it looks ok, i think.</div><div><br></div><div>attached the log from the compute node. Do you need any other log files ?</div><div><br></div><div>As i am a newbie i don't really know how to "open an LP bug "</div><div><br></div><div><br></div><div>all the best<br>Pavlos.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 23, 2020 at 1:52 PM Slawek Kaplonski <<a href="mailto:skaplons@redhat.com" target="_blank">skaplons@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Mon, Nov 23, 2020 at 12:11:55PM +0200, Pavlos Basaras wrote:<br>
> Hello,<br>
> <br>
> i am new to Openstack.<br>
> <br>
> I have followed the instructions from<br>
> <a href="https://docs.openstack.org/install-guide/" rel="noreferrer" target="_blank">https://docs.openstack.org/install-guide/</a> to install openstack Ussuri where<br>
> i use a controller node and a compute node (i can ping each  other and<br>
> access the internet from both nodes through the mgmt iface).<br>
> <br>
> I use ubuntu 18.04 for all components.<br>
> <br>
> I have configured the network option 2, seems to work fine:<br>
> <br>
> openstack network agent list<br>
> +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+<br>
> | ID                                   | Agent Type         | Host       |<br>
> Availability Zone | Alive | State | Binary                    |<br>
> +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+<br>
> | 2d8c3a89-32c4-4b97-aa4f-ca19db53b24f | L3 agent           | controller |<br>
> nova              | :-)   | UP    | neutron-l3-agent          |<br>
> | 413cd13d-88d7-45ce-8b2e-26fdb265740f | Metadata agent     | controller |<br>
> None              | :-)   | UP    | neutron-metadata-agent    |<br>
> | 42f57bee-63b3-44e6-9392-939ece98719d | Linux bridge agent | compute    |<br>
> None              | :-)   | UP    | neutron-linuxbridge-agent |<br>
> | 4a787a09-04aa-4350-bd32-0c0177ed06a1 | DHCP agent         | controller |<br>
> nova              | :-)   | UP    | neutron-dhcp-agent        |<br>
> | fdafc337-7581-4ecd-b175-810713a25e1f | Linux bridge agent | controller |<br>
> None              | :-)   | UP    | neutron-linuxbridge-agent |<br>
> +--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+<br>
> <br>
> If i try to bring up instances connected by an internal network, they are<br>
> successfully deployed.<br>
> <br>
> When i use the provider network to bring up an instance with the command:<br>
> openstack server create --flavor m1.tiny --image cirros034 --nic<br>
> net-id=4463e4a7-3b06-46d9-b24f-3e2e7867ee96<br>
> --security-group=5cf380e5-efb3-48b3-b8e9-095b1ebd817d provider-instance<br>
> <br>
> the instance fails to be instantiated because the network cannot be<br>
> deployed.<br>
> <br>
> I noticed two points from the neutron-linuxbridge-agent.log file at the<br>
> compute node (the logs at the controller seem fine):<br>
> <br>
> 1) ERROR neutron.plugins.ml2.drivers.agent._common_agent<br>
> pyroute2.netlink.exceptions.NetlinkError: (13, 'Permission denied')<br>
<br>
This sounds like maybe some issue with usage of sudo by user which runs<br>
neutron-linuxbridge-agent. Is it configured properly?<br>
<br>
> 2) INFO neutron.plugins.ml2.drivers.agent._common_agent<br>
> [req-816902d4-6581-49c1-939a-6ea69b437c99 - - - - -] Linux bridge agent<br>
> Agent out of sync with plugin!  -- not sure if this one is a problem.<br>
<br>
This is probably just a result of above error. But to be sure I would need to<br>
see whole log.<br>
<br>
If You will still have such issue, please open LP bug and attach Your logs<br>
there. In such way it should be maybe easier to investigate what is going on<br>
there.<br>
<br>
In Ussuri we are running CI job neutron-tempest-plugin-scenario-linuxbridge<br>
which deploys neutron-linuxbridge-agent and all works fine there. You can check<br>
that e.g. on<br>
<a href="https://zuul.opendev.org/t/openstack/build/441182cb87fd47daa34d5018fc2eb9ab" rel="noreferrer" target="_blank">https://zuul.opendev.org/t/openstack/build/441182cb87fd47daa34d5018fc2eb9ab</a><br>
<br>
> <br>
> One part that i am not sure is the following configuration since i am on<br>
> ubuntu 18 and not ubuntu 16:<br>
> <br>
> # The provider network interface<br>
> auto INTERFACE_NAME<br>
> iface INTERFACE_NAME inet manual<br>
> up ip link set dev $IFACE up<br>
> down ip link set dev $IFACE down<br>
> <br>
> I did not include this part in my file since its ubuntu 18, and netplan<br>
> does not have an equivalent (i think) option. I have this netplan config<br>
> <br>
>    enp0s8: --> mgmt<br>
>       dhcp4: false<br>
>       addresses: [<a href="http://10.0.0.31/24" rel="noreferrer" target="_blank">10.0.0.31/24</a>]<br>
>       gateway4: 10.0.0.1<br>
>       nameservers:<br>
>           addresses: [8.8.8.8, 8.8.4.4]<br>
>     enp0s9: --> provider<br>
>       dhcp4: false<br>
> <br>
> <br>
> <br>
> any advice?<br>
> <br>
> all the best,<br>
> Pavlos Basaras<br>
<br>
-- <br>
Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat<br>
<br>
</blockquote></div>