On Fri, Dec 13, 2019 at 5:51 AM Strahil <hunter86_bg@yahoo.com> wrote:

Hi Dominik, All,

I've checked 'https://lists.ovirt.org/archives/list/users@ovirt.org/thread/W6U4XJHNMYMD3WIXDCPGOXLW6DFMCYIM/' and the user managed to clear up and start over.

I have removed the ovn-external-provider  from UI, but I forgot to copy the data from the fields.

Do you know any refference guide (or any tips & tricks) for adding OVN ?


The ovirt-provider-ovn entity can be added to oVirt Engine as a new provider with
Type: External Network Provider
Network Plugin: oVirt Network Provider for OVN
Provider URL: https://YOUR_ENGINE_FQDNt:9696
Username: admin@internal
Password: admin@interal password
Host Name: YOUR_ENGINE_FQDN
API Port: 35357
API Version: v2.0

Is this the information you need?
 

Thanks in advance.

Best Regards,
Strahil Nikolov

On Dec 12, 2019 20:49, Strahil <hunter86_bg@yahoo.com> wrote:

Hi Dominik,

Thanks for the reply.

Sadly the openstack module is missing on the engine and I have to figure it out.

Can't I just undeploy the ovn and then redeploy it back ?

Best Regards,
Strahil Nikolov

On Dec 12, 2019 09:32, Dominik Holler <dholler@redhat.com> wrote:
The cleanest way to clean up is to remove all entities on the OpenStack Network API on ovirt-provider-ovn, e.g. by something like
This should work, if not, please report a bug.

To bypass the ovirt-provider-ovn, which is not recommended and might end in an inconsistent state, you could use ovn-nbctl .



On Thu, Dec 12, 2019 at 3:33 AM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
Hi Community,

can someone hint me how to get rid of some ports? I just want to 'reset' my ovn setup.

Here is what I have so far:

[root@ovirt1 openvswitch]# ovs-vsctl list interface                  
_uuid               : be89c214-10e4-4a97-a9eb-1b82bc433a24
admin_state         : up
bfd                 : {}
bfd_status          : {}
cfm_fault           : []
cfm_fault_status    : []
cfm_flap_count      : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : []
error               : []
external_ids        : {}
ifindex             : 35
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : []
link_state          : up
lldp                : {}
mac                 : []
mac_in_use          : "7a:7d:1d:a7:43:1d"
mtu                 : []
mtu_request         : []
name                : "ovn-25cc77-0"
ofport              : 6
ofport_request      : []
options             : {csum="true", key=flow, remote_ip="192.168.1.64"}
other_config        : {}
statistics          : {rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0}
status              : {tunnel_egress_iface=ovirtmgmt, tunnel_egress_iface_carrier=up}
type                : geneve

_uuid               : ec6a6688-e5d6-4346-ac47-ece1b8379440
admin_state         : down
bfd                 : {}
bfd_status          : {}
cfm_fault           : []
cfm_fault_status    : []
cfm_flap_count      : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : []
error               : []
external_ids        : {}
ifindex             : 13
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : []
link_state          : down
lldp                : {}
mac                 : []
mac_in_use          : "66:36:dd:63:dc:48"
mtu                 : 1500
mtu_request         : []
name                : br-int
ofport              : 65534
ofport_request      : []
options             : {}
other_config        : {}
statistics          : {collisions=0, rx_bytes=0, rx_crc_err=0, rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=0, tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status              : {driver_name=openvswitch}
type                : internal

_uuid               : 1e511b4d-f7c2-499f-bd8c-07236e7bb7af
admin_state         : up
bfd                 : {}
bfd_status          : {}
cfm_fault           : []
cfm_fault_status    : []
cfm_flap_count      : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : []
error               : []
external_ids        : {}
ifindex             : 35
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : []
link_state          : up
lldp                : {}
mac                 : []
mac_in_use          : "1a:85:d1:d9:e2:a5"
mtu                 : []
mtu_request         : []
name                : "ovn-566849-0"
ofport              : 5
ofport_request      : []
options             : {csum="true", key=flow, remote_ip="192.168.1.41"}
other_config        : {}
statistics          : {rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0}
status              : {tunnel_egress_iface=ovirtmgmt, tunnel_egress_iface_carrier=up}
type                : geneve


When I try to remove a port - it never ends (just hanging):

[root@ovirt1 openvswitch]# ovs-vsctl --dry-run del-port br-int ovn-25cc77-0                         
In journal  I see only this:
дек 12 04:13:57 ovirt1.localdomain ovs-vsctl[22030]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --dry-run del-port br-int ovn-25cc77-0

The stranger part to me is the log output:

[root@ovirt1 openvswitch]# grep ovn-25cc77-0 /var/log/openvswitch/*.log
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:26:28.642Z|00032|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 14
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:45:15.646Z|00113|bridge|INFO|bridge br-int: deleted interface ovn-25cc77-0 on port 14
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:45:15.861Z|00116|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 2
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:50:36.678Z|00118|bridge|INFO|bridge br-int: deleted interface ovn-25cc77-0 on port 2
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:52:31.180Z|00121|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 3
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:55:09.734Z|00125|bridge|INFO|bridge br-int: deleted interface ovn-25cc77-0 on port 3
/var/log/openvswitch/ovs-vswitchd.log:2019-12-12T01:58:15.138Z|00127|bridge|INFO|bridge br-int: added interface ovn-25cc77-0 on port 6

I'm also attaching the verbose output of the dryrun.

Thanks in advance.

Best Regards,
Strahil Nikolov
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/IG7YJPINVAF2BWRUB4US24EFFM5MQEED/