<div dir="ltr">Thank you for the clarification, Laszlo.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 7, 2018 at 5:39 PM Budai Laszlo <<a href="mailto:laszlo.budai@gmail.com">laszlo.budai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
please don't misunderstand me. If you have multiple nodes, then each of them will have its own ``host`` setting (like, host = node1 for node1 and host = node2 for node2). The important thing is that both the neutron.conf and nova.conf to have the same ``host`` setting on one node. So if you have used the ``host = node1`` in neutron.conf of node1, then do the same in the nova.conf on the same host. And if you have ``host = node2`` in neutron.conf on node2, then you should have the same in the nova.conf.<br>
<br>
Kind regards,<br>
Laszlo<br>
<br>
<br>
On 11/7/18 2:52 PM, Soheil Pourbafrani wrote:<br>
> Thanks. In one node installation no error happened but in two node installation, I got the error. So I guess the answer of Laszlo is reasonable.<br>
> <br>
> On Wed, Nov 7, 2018 at 10:23 AM Budai Laszlo <<a href="mailto:laszlo.budai@gmail.com" target="_blank">laszlo.budai@gmail.com</a> <mailto:<a href="mailto:laszlo.budai@gmail.com" target="_blank">laszlo.budai@gmail.com</a>>> wrote:<br>
> <br>
>     Hi<br>
> <br>
>     we had a similar situation when the ``host`` entry in the neutron.conf was different than the host entry in the nova.conf on the compute nodes.<br>
>     So if you're setting a ``host`` entry in one of these files, then make sure the other file contains the same ``host`` setting.<br>
> <br>
>     see <a href="https://docs.openstack.org/neutron/rocky/configuration/neutron.html#DEFAULT.host" rel="noreferrer" target="_blank">https://docs.openstack.org/neutron/rocky/configuration/neutron.html#DEFAULT.host</a> and <a href="https://docs.openstack.org/nova/rocky/configuration/config.html#DEFAULT.host" rel="noreferrer" target="_blank">https://docs.openstack.org/nova/rocky/configuration/config.html#DEFAULT.host</a><br>
> <br>
>     Kind regards,<br>
>     Laszlo<br>
> <br>
>     On 11/6/18 6:04 PM, Akihiro Motoki wrote:<br>
>      > How is your [ovs] bridge_mapping in your configuration?<br>
>      > Flat network requires a corresponding bridge_mapping entry and you also need to create a corresponding bridge in advance.<br>
>      ><br>
>      ><br>
>      > 2018年11月6日(火) 21:31 Soheil Pourbafrani <<a href="mailto:soheil.ir08@gmail.com" target="_blank">soheil.ir08@gmail.com</a> <mailto:<a href="mailto:soheil.ir08@gmail.com" target="_blank">soheil.ir08@gmail.com</a>> <mailto:<a href="mailto:soheil.ir08@gmail.com" target="_blank">soheil.ir08@gmail.com</a> <mailto:<a href="mailto:soheil.ir08@gmail.com" target="_blank">soheil.ir08@gmail.com</a>>>>:<br>
>      ><br>
>      >     Hi, I initilize an instance using a defined flat network and I got the error:<br>
>      >     port no present in bridge br-int<br>
>      ><br>
>      >     I have a 2 node deployment (controller + network, compute).<br>
>      ><br>
>      >     The output of the command ovs-vsctl show is<br>
>      >     *<br>
>      >     *<br>
>      >     *On the network node*<br>
>      >     d3a06f16-d727-4333-9de6-cf4ce3b0ce36<br>
>      >          Manager "ptcp:6640:127.0.0.1"<br>
>      >              is_connected: true<br>
>      >          Bridge br-ex<br>
>      >              Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"<br>
>      >                  is_connected: true<br>
>      >              fail_mode: secure<br>
>      >              Port br-ex<br>
>      >                  Interface br-ex<br>
>      >                      type: internal<br>
>      >              Port phy-br-ex<br>
>      >                  Interface phy-br-ex<br>
>      >                      type: patch<br>
>      >                      options: {peer=int-br-ex}<br>
>      >              Port "ens33"<br>
>      >                  Interface "ens33"<br>
>      >          Bridge br-int<br>
>      >              Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"<br>
>      >                  is_connected: true<br>
>      >              fail_mode: secure<br>
>      >              Port br-int<br>
>      >                  Interface br-int<br>
>      >                      type: internal<br>
>      >              Port patch-tun<br>
>      >                  Interface patch-tun<br>
>      >                      type: patch<br>
>      >                      options: {peer=patch-int}<br>
>      >              Port int-br-ex<br>
>      >                  Interface int-br-ex<br>
>      >                      type: patch<br>
>      >                      options: {peer=phy-br-ex}<br>
>      >              Port "tapefb98047-57"<br>
>      >                  tag: 1<br>
>      >                  Interface "tapefb98047-57"<br>
>      >                      type: internal<br>
>      >              Port "qr-d62d0c14-51"<br>
>      >                  tag: 1<br>
>      >                  Interface "qr-d62d0c14-51"<br>
>      >                      type: internal<br>
>      >              Port "qg-5468707b-6d"<br>
>      >                  tag: 2<br>
>      >                  Interface "qg-5468707b-6d"<br>
>      >                      type: internal<br>
>      >          Bridge br-tun<br>
>      >              Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"<br>
>      >                  is_connected: true<br>
>      >              fail_mode: secure<br>
>      >              Port patch-int<br>
>      >                  Interface patch-int<br>
>      >                      type: patch<br>
>      >                      options: {peer=patch-tun}<br>
>      >              Port br-tun<br>
>      >                  Interface br-tun<br>
>      >                      type: internal<br>
>      >              Port "vxlan-c0a8003d"<br>
>      >                  Interface "vxlan-c0a8003d"<br>
>      >                      type: vxlan<br>
>      >                      options: {df_default="true", in_key=flow, local_ip="192.168.0.62", out_key=flow, remote_ip="192.168.0.61"}<br>
>      >          ovs_version: "2.9.0"<br>
>      ><br>
>      >     *On the Compute node*<br>
>      >     *<br>
>      >     *<br>
>      >     *55e62867-9c88-4925-b49c-55fb74d174bd*<br>
>      >     *    Manager "ptcp:6640:127.0.0.1"*<br>
>      >     *        is_connected: true*<br>
>      >     *    Bridge br-ex*<br>
>      >     *        Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"*<br>
>      >     *            is_connected: true*<br>
>      >     *        fail_mode: secure*<br>
>      >     *        Port phy-br-ex*<br>
>      >     *            Interface phy-br-ex*<br>
>      >     *                type: patch*<br>
>      >     *                options: {peer=int-br-ex}*<br>
>      >     *        Port "enp2s0"*<br>
>      >     *            Interface "enp2s0"*<br>
>      >     *        Port br-ex*<br>
>      >     *            Interface br-ex*<br>
>      >     *                type: internal*<br>
>      >     *    Bridge br-tun*<br>
>      >     *        Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"*<br>
>      >     *            is_connected: true*<br>
>      >     *        fail_mode: secure*<br>
>      >     *        Port br-tun*<br>
>      >     *            Interface br-tun*<br>
>      >     *                type: internal*<br>
>      >     *        Port "vxlan-c0a8003e"*<br>
>      >     *            Interface "vxlan-c0a8003e"*<br>
>      >     *                type: vxlan*<br>
>      >     *                options: {df_default="true", in_key=flow, local_ip="192.168.0.61", out_key=flow, remote_ip="192.168.0.62"}*<br>
>      >     *        Port patch-int*<br>
>      >     *            Interface patch-int*<br>
>      >     *                type: patch*<br>
>      >     *                options: {peer=patch-tun}*<br>
>      >     *    Bridge br-int*<br>
>      >     *        Controller "tcp:<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">127.0.0.1:6633</a> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>> <<a href="http://127.0.0.1:6633" rel="noreferrer" target="_blank">http://127.0.0.1:6633</a>>"*<br>
>      >     *            is_connected: true*<br>
>      >     *        fail_mode: secure*<br>
>      >     *        Port int-br-ex*<br>
>      >     *            Interface int-br-ex*<br>
>      >     *                type: patch*<br>
>      >     *                options: {peer=phy-br-ex}*<br>
>      >     *        Port br-int*<br>
>      >     *            Interface br-int*<br>
>      >     *                type: internal*<br>
>      >     *        Port patch-tun*<br>
>      >     *            Interface patch-tun*<br>
>      >     *                type: patch*<br>
>      >     *                options: {peer=patch-int}*<br>
>      >     *    ovs_version: "2.9.0"*<br>
>      ><br>
>      >     How can I solve the problem?<br>
>      ><br>
>      >     Thanks<br>
>      >     _______________________________________________<br>
>      >     Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>      >     Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a> <mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>> <mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a> <mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>>><br>
>      >     Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>      ><br>
>      ><br>
>      > _______________________________________________<br>
>      > Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>      > Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a> <mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>
>      > Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>      ><br>
> <br>
> <br>
>     _______________________________________________<br>
>     Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
>     Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a> <mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>
>     Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> <br>
<br>
</blockquote></div>