On Wed, Mar 20, 2019 at 2:09 PM Gianluca Cecchi <[email protected]> wrote:
> On Wed, Mar 20, 2019 at 1:26 PM Marcin Mirecki <[email protected]> > wrote: > >> Looking at the original state we had: >> switch 32367d8a-460f-4447-b35a-abe9ea5187e0 (ovn192) >> switch 6110649a-db2b-4de7-8fbc-601095cfe510 (ovn192) >> switch 64c4c17f-cd67-4e29-939e-2b952495159f (ovn172) >> switch 04501f6b-3977-4ba1-9ead-7096768d796d (ovn172) >> >> In the output of GET, 6110649a-db2b-4de7-8fbc-601095cfe510 is not longer >> there, so it has been deleted. >> Did you maybe try to submit the request twice? >> > > With that switch, as it had no ports attached, I tried the command line > option with: > ovn-nbctl destroy logical_switch 6110649a-db2b-4de7-8fbc-601095cfe510 > > > > >> >> About 8fd63a10-a2ba-4c56-a8e0-0bc8d70be8b5. There was never a network >> with that id, so this is correct. >> > > Yes, but that was the id provided by web admin gui for the network.... > - ovn192 > Id: 8fd63a10-a2ba-4c56-a8e0-0bc8d70be8b5 > External ID: 32367d8a-460f-4447-b35a-abe9ea5187e0 > > or did I misunderstood? > > > >> >> Also note that to delete a network you will first have to delete its >> ports. >> > > OK. > Is there a command to clean all so that I can restart with a new OVN setup > in this infra? > I think I messed up too many things on it.... > > Thanks, > Gianluca > > I have deleted provider from web admin gui and then on manager from command line: ovn-nbctl lsp-del <port_name> for the ports defined and then ovn-nbctl destroy logical_switch <switch_name> for the defined switches. Then reboot of manager. Now I have on it: [root@ovmgr1 ~]# ovs-vsctl show eae54ff9-b86c-4050-8241-46f44336ba94 ovs_version: "2.10.1" [root@ovmgr1 ~]# [root@ovmgr1 ~]# ovn-nbctl show [root@ovmgr1 ~]# and no provider and/or networks on OVN in web admin gui. What could be the sequence to re-add an OVN provider now? >From engine-setup or from web admin gui? Any quick tip for? Any other commands (eg at db level) to verify all previous config is cleaned? Thanks Gianluca
_______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]/message/V3RWUMHR3FTLCD5TZ6H5HQ3JXWVGYN6M/

