
Ahoj Kubo, would you try running 'sudo vdsClient -s 0 setSafeNetworkConfig' right after restarting the network service? I think your configuration needs be persisted in VDSM's network persistence so it is restored (with the same configuration) on startup. Anyway, VDSM should be used to configure networks (directly using vdsClient or indirectly through oVirt engine or via other means -- RPC). Your network may be configured by running (assuming your NIC is eth0): vdsClient -s 0 setupNetworks 'networks={ovirtmgmt:{nic:eth0,bootproto:dhcp,blockingdhcp:true,bridged:true,stp:false,defaultRoute:false}}' If this doesn't help please attach /var/log/vdsm/supervdsm.log or file a bug with myself as the assignee :-) Thanks, Ondra On 11.8.2015 13:04, Jakub Niedermertl wrote:
Hi all,
I'd like my ovirtmgmt bridge to fetch ip address from dhcp, but vdsm keeps removing 'BOOTPROTO=dhcp' from /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt.
I set the file as follows:
DEVICE=ovirtmgmt TYPE=Bridge DELAY=0 STP=off ONBOOT=yes BOOTPROTO=dhcp MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no
call 'sudo systemctl restart network' and ip address is successfully assigned. Then reboot the machine and ip address is not fetched and ifcfg-ovirtmgmt looks like this
# Generated by VDSM version 4.17.0-1240.git487a19e.fc22 DEVICE=ovirtmgmt TYPE=Bridge DELAY=0 STP=off ONBOOT=yes MTU=1500 DEFROUTE=no NM_CONTROLLED=no IPV6INIT=no HOTPLUG=no
Is there any way how to prevent vdsm from removing BOOTPROTO statement or make ovirtmgmt to work with dhcp?
Environment: Host: runs in virt-manager vm, Fedora 22 vdsm: 4.17.0-1240.git487a19e.fc22 from http://resources.ovirt.org/pub/ovirt-3.6-pre/rpm/fc$releasever/
Thanks.
Jakub _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users