<div dir="auto"><div>Hey,</div><div dir="auto"><br></div><div dir="auto">One very important question right away: what network driver are you using?</div><div dir="auto">Is it OVS or OVN? If you're just relying on defaults and don't really know, then what version of OSA you're using?</div><div dir="auto"><br></div><div dir="auto">As based on the choice of network driver following configuration and advices would be different.<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, Aug 19, 2023, 00:54 Murilo Morais <<a href="mailto:murilo@evocorp.com.br">murilo@evocorp.com.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Good evening everyone!<br><br>When using Tenant Network I can't make the instances communicate when they are on different hosts, I believe I'm forgetting to configure something related to network_hosts, but I'm not sure what. It wasn't clear to me exactly the difference between "network_hosts", "network-infra_hosts" and "network-agent_hosts".<br><br>I'm using the following configuration:<br><div>openstack_user_config.yml:</div><div>cidr_networks:<br>  container: ...<br>  storage: ...<br><br><br>used_ips:<br>  [...]<br><br><br>global_overrides:<br>  internal_lb_vip_address: ...<br>  external_lb_vip_address: ...<br><br>  management_bridge: br-mgmt<br>  no_containers: false<br>  provider_networks:<br>    - network:<br>        container_bridge: br-mgmt<br>        container_interface: eth1<br>        container_type: veth<br>        ip_from_q: container<br>        is_container_address: true<br>        type: raw<br>        group_binds:<br>          - all_containers<br>          - hosts<br><br>    - network:<br>        container_bridge: br-provider<br>        container_type: veth<br>        type: vlan<br>        range: "100:200"<br>        network_interface: "eno2"<br>        net_name: vlan<br>        group_binds:<br>          - neutron_openvswitch_agent<br><br>    - network:<br>        container_bridge: "br-flat"<br>        container_type: "veth"<br>        type: "flat"<br>        network_interface: "trunk.103"<br>        net_name: "router"<br>        group_binds:<br>          - neutron_openvswitch_agent<br><br>    - network:<br>        container_bridge: br-storage<br>        container_interface: eth2<br>        container_type: veth<br>        ip_from_q: storage<br>        type: raw<br>        group_binds:<br>          - glance_api<br>          - cinder_api<br>          - cinder_volume<br>          - nova_compute<br>          - ceph-mon<br>          - ceph-osd<br></div><div><br></div><div>shared-infra_hosts:<br>  dcn2:<br>    ip: ...2<br><br>coordination_hosts:<br>  dcn2:<br>    ip: ...2<br><br>repo-infra_hosts:<br>  dcn2:<br>    ip: ...2<br><br>haproxy_hosts:<br>  dcn2:<br>    ip: ...2<br><br>identity_hosts:<br>  dcn2:<br>    ip: ...2<br><br>storage-infra_hosts:<br>  dcn2:<br>    ip: ...2<br><br>storage_hosts:<br>  dcn2:<br>    ip: ...2<br><br>image_hosts:<br>  dcn2:<br>    ip: ...2<br><br>placement-infra_hosts:<br>  dcn2:<br>    ip: ...2<br><br>compute-infra_hosts:<br>  dcn2:<br>    ip: ...2<br><br>dashboard_hosts:<br>  dcn2:<br>    ip: ...2<br><br>network_hosts:<br>  dcn2:<br>    ip: ...2<br><br>compute_hosts:<br>  dcn2:<br>    ip: ...2<br>  dcn3:<br>    ip: ...3<br>  dcn8:<br>    ip: ...14<br>  dcn10:<br>    ip: ...19</div><div><br></div><div><br></div><div><br></div><div>Example to upload the instances:<br>network create network_test<br>subnet create --network network_test --subnet-range <a href="http://192.168.0.0/24" target="_blank" rel="noreferrer">192.168.0.0/24</a> subnet_test<br>server create --flavor m1.large --image debian-11-genericcloud-amd64-20230601-1398 --network network_test --key-name my_key --use-config-drive debian_test1<br>server create --flavor m1.large --image debian-11-genericcloud-amd64-20230601-1398 --network network_test --key-name my_key --use-config-drive debian_test2<br><br>If for some reason any of them go up on different hosts, even configuring the IP manually, they don't communicate, but the instant they are on the same host the ping starts to work.</div></div>
</blockquote></div></div></div>