st 23. 10. 2019 v 15:05 odesílatel Trunet <trunet-ovirt@wsartori.com> napsal:
Hello Prajith,

Can you elaborate better what are you trying to achieve?

ifdown brings the interface down but it will not remove it. ovirtmgmt is a bridge "interface". list your bridges with `brctl show`.

You can remove this bridge using `brctl delbr ovirtmgmt`. And yes, network connectivity will be gone because the IP is on the bridge as you can see on your output.

You can configure your regular interface (eth0) with the IP that's on the bridge now, and that should do the trick. nmcli/nmtui are your friends or edit /etc/sysconfig/network-scripts/ifcfg-* files manually.

Best regards,
Wagner Sartori Junior



From: "Prajith Kesava Prasad" <pkesavap@redhat.com>
To: devel@ovirt.org
Sent: Wednesday, October 23, 2019 2:45:33 PM
Subject: [ovirt-devel] How to remove ovirtmgmt network interface in centOS

Hey everyone,
Could someone please point me in the right direction?.

Im unable to remove network interface ovirtmgmt, commands like ifdown results in a state where the ip is unreachable and a manual network restart had to be done to bring it back to normal.
It has been configured via VDSM and you should use VSDM to remove it. Otherwise there could be leftover configuration in the system. If VDSM is still running on the node, you can do the following:

echo '{"networks": {"ovirtmgmt": {"remove": true}}, "bondings": {}, "options": {"connectivityCheck": false}}' | vdsm-client -f - Host setupNetworks
vdsm-client Host setSafeNetworkConfig


could someone help me with removing ovirtmgmt network in centos?
___________________________________________________________________
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovirtmgmt state UP group default qlen 1000
    link/ether 00:1a:4a:16:01:9c brd ff:ff:ff:ff:ff:ff
23: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 66:66:f1:c4:52:c7 brd ff:ff:ff:ff:ff:ff
24: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether fe:aa:a4:0d:7a:31 brd ff:ff:ff:ff:ff:ff
25: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether ba:fd:da:db:29:44 brd ff:ff:ff:ff:ff:ff
147: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1a:4a:16:01:9c brd ff:ff:ff:ff:ff:ff
    inet 10.70.43.190/22 brd 10.70.43.255 scope global dynamic ovirtmgmt
       valid_lft 85952sec preferred_lft 85952sec
    inet6 2620:52:0:4628:21a:4aff:fe16:19c/64 scope global mngtmpaddr dynamic
       valid_lft 2591937sec preferred_lft 604737sec
    inet6 fe80::21a:4aff:fe16:19c/64 scope link
       valid_lft forever preferred_lft forever
_________________________________________________________________________


Thanks,
Prajith

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/FRRYN3Z36ZYSOWPV7RV3ZQ6ZHEAL2DGI/
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-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/devel@ovirt.org/message/3SPNNDRGG4HCFBCZPIAAPR3GIVJ32SCK/