The engine runs the controller so ovn-sbctl won't work, on the hosts, use ovs-vsctl show

Paul S.

From: Tommaso - Shellrent <tommaso@shellrent.com>
Sent: 31 March 2020 12:13
To: Staniforth, Paul <P.Staniforth@leedsbeckett.ac.uk>; users@ovirt.org <users@ovirt.org>
Subject: Re: [ovirt-users] Local network
 

Caution External Mail: Do not click any links or open any attachments unless you trust the sender and know that the content is safe.

Hi.

 on engine all seems fine.

on host the command "ovn-sbctl show" is stuck, and with a strace a se the following error:


connect(5, {sa_family=AF_LOCAL, sun_path="/var/run/openvswitch/ovnsb_db.sock"}, 37) = -1 ENOENT (No such file or directory)






Il 31/03/20 11:18, Staniforth, Paul ha scritto:

.Hello Tommaso,
                           on your oVirt engine host run
check the north bridge controller
ovn-nbctl show
this should show a software switch for each ovn logical network witch any ports that are active( in your case you should have 2)

check the south bridge controller
ovn-sbctl show
this should show the software switch on each host with a geneve tunnel.

on each host run
ovs-vsctl show
this should show the virtual switch with a geneve tunnel to each other host and a port for any active vnics

Regards,
                Paul S.


From: Tommaso - Shellrent <tommaso@shellrent.com>
Sent: 31 March 2020 09:27
To: users@ovirt.org <users@ovirt.org>
Subject: [ovirt-users] Local network
 

Caution External Mail: Do not click any links or open any attachments unless you trust the sender and know that the content is safe.

Hi to all.

   I'm trying to connect two vm, on the same "local storage" host, with an internal isolated network.

My setup;

VM A:

  • eth0 with an external ip
  • eth1, with 1922.168.1.1/24

VM B

  • eth0 with an external ip
  • eth1, with 1922.168.1.2/24

the eth1 interfaces are connetter by a network created on external provider ovirt-network-ovn , whithout a subnet defined.

Now, the external ip works fine, but the two vm cannot connect through the local network

ping: ko
arping: ko


any idea to what to check?


Regards

--
--    
Shellrent - Il primo hosting italiano
                          Security First
Tommaso De Marchi
COO - Chief Operating Officer
Shellrent Srl
Via dell'Edilizia, 19 - 36100 Vicenza
Tel. 0444321155 | Fax 04441492177
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
--
--    
Shellrent - Il primo hosting italiano Security
                    First
Tommaso De Marchi
COO - Chief Operating Officer
Shellrent Srl
Via dell'Edilizia, 19 - 36100 Vicenza
Tel. 0444321155 | Fax 04441492177
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/