<div dir="ltr">Hello,<br><div><br></div><div>with regard to this issue, the dhcp discover does not reach the dnsmasq at the controller, as the controller is on 10.0.0.11 and the compute node is on 192.168.111.17.</div><div>With iptables i forward all unicast all traffic to the 10.0.0.11 from the 192.168.111.17 network, so the compute node is visible to the controller, however, since dhcp discover (offer, request,ack) is broadcast,</div><div>this does not reach the controller network space, and thus there is no ip allocated to the vm on host 192.168.111.17.</div><div><br></div><div>Is there a way to go around this issue?</div><div><br></div><div>Do you see any problem with my general setup?</div><div><br></div><div>all the best,</div><div>Pavlos</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 2, 2020 at 11:21 AM Pavlos Basaras <<a href="mailto:pbasaras@gmail.com">pbasaras@gmail.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"><div dir="ltr">Dear community,<div><div><br></div><div>I am new to openstack, please excuse all newbie questions.</div><div><br></div><div>I am using ubuntu 18 for all elements.</div><div>I followed the steps for installing openstack from <a href="https://docs.openstack.org/install-guide/openstack-services.html#minimal-deployment-for-ussuri" target="_blank">https://docs.openstack.org/install-guide/openstack-services.html#minimal-deployment-for-ussuri</a>.</div><div><br></div><div>My setup is based on virtualbox, with mgmt at <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> and provider at <a href="http://203.0.113.0/24" target="_blank">203.0.113.0/24</a> (host only adapters), as per instructions.</div><div>The host of the virtualbox is nating those IPs to the network  <a href="http://192.168.111.0/24" target="_blank">192.168.111.0/24</a> (gw to internet etc.)</div><div><br></div><div>When i deployed the compute vm at the virtual box e.g., 10.0.0.31, the vms are deployed successfully, and can successfully launch an instance </div><div>at provider(<a href="http://203.0.113.0/24" target="_blank">203.0.113.0/24</a>), internal (<a href="http://192.168.10.0/24" target="_blank">192.168.10.0/24</a>), and self service (<a href="http://172.16.1.0/24" target="_blank">172.16.1.0/24</a>) networks, with associated floating ips, internet access etc.</div></div><div><br></div><div>I want to add a new compute node that resides on a different network for deploying vms,  i.e., <a href="http://192.168.111.0/24" target="_blank">192.168.111.0/24</a>. The virtual box host is on 192.168.111.15 (this is where the controller vm 10.0.0.11 is deployed )</div><div>and the new compute is 192.168.111.17 directly visible from the virtualbox host.</div><div><br></div><div>For this new node to see the controller i added an iptables rule at 192.168.111.15 (host of the virtualbox) to forward all traffic from 192.168.111.17 to the controller 10.0.0.0.11.</div><div>Probably this is the wrong way to do it even though the following output seems ok (5g-cpn1=192.168.111.17) and from horizon i can see the hypervisor info, and relevant total and used resources when i deploy vms in 192.168.111.17 (the 5g-cpn1 node)</div><div><br></div><div><div> openstack network agent list<br>+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+<br>| ID                                   | Agent Type         | Host       | Availability Zone | Alive | State | Binary                    |<br>+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+<br>| 2d8c3a89-32c4-4b97-aa4f-ca19db53b24f | L3 agent           | controller | nova              | :-)   | UP    | neutron-l3-agent          |<br>| 35a6b463-7571-4f41-85bc-4c26ef255012 | Linux bridge agent |<b> 5g-cpn1 </b>   | None              | :-)   | UP    | neutron-linuxbridge-agent |<br>| 413cd13d-88d7-45ce-8b2e-26fdb265740f | Metadata agent     | controller | None              | :-)   | UP    | neutron-metadata-agent    |<br>| 42f57bee-63b3-44e6-9392-939ece98719d | Linux bridge agent | compute    | None              | :-)   | UP    | neutron-linuxbridge-agent |<br>| 4a787a09-04aa-4350-bd32-0c0177ed06a1 | DHCP agent         | controller | nova              | :-)   | UP    | neutron-dhcp-agent        |<br>| 9069e26e-6fef-4b69-9c35-c30ca08377ff | Linux bridge agent | nrUE       | None              | XXX   | UP    | neutron-linuxbridge-agent |<br>| fdafc337-7581-4ecd-b175-810713a25e1f | Linux bridge agent | controller | None              | :-)   | UP    | neutron-linuxbridge-agent |<br>+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+<br></div><div><br></div><div>openstack compute service list<br>+----+----------------+------------+----------+---------+-------+----------------------------+<br>| ID | Binary         | Host       | Zone     | Status  | State | Updated At                 |<br>+----+----------------+------------+----------+---------+-------+----------------------------+<br>|  3 | nova-scheduler | controller | internal | enabled | up    | 2020-12-02T07:21:56.000000 |<br>|  4 | nova-conductor | controller | internal | enabled | up    | 2020-12-02T07:22:06.000000 |<br>|  5 | nova-compute   | compute    | nova     | enabled | up    | 2020-12-02T07:22:00.000000 |<br>|  6 | nova-compute   | nrUE       | nova     | enabled | down  | 2020-11-26T15:59:24.000000 |<br>|  7 | nova-compute   |<b> 5g-cpn1</b>    | nova     | enabled | up    | 2020-12-02T07:22:06.000000 |<br>+----+----------------+------------+----------+---------+-------+----------------------------+<br></div><div></div></div><div><br></div><div><br></div><div>My current setup does not include the installation of openvswitch so far (at either the controller or the new compute node), so the vms (although deployed successfully) failed to set up networks.</div><div><br></div><div>For setting up openvswitch correct for my setup is this the guilde that i need to follow??  <a href="https://docs.openstack.org/neutron/ussuri/install/ovn/manual_install.html" target="_blank">https://docs.openstack.org/neutron/ussuri/install/ovn/manual_install.html</a> ?</div><div><br></div><div>Again, please excuse all newbie (in process of understanding) questions so far.</div><div><br></div><div>Any advice/directions/guides?</div><div><br></div><div><br></div><div>all the best,</div><div>Pavlos.</div></div>
</blockquote></div>