[ovirt-users] vdsm keeps removing BOOTPROTO=dhcp from ifcfg-ovirtmgmt

Tyler Couto couto.tyler at gmail.com
Fri Aug 14 16:44:43 UTC 2015


Hi Jakub,

I think I had a similar problem. Vdsm would change the parameters of my
network interface even when I used the ovirt management console to change
it. There are files that vdsm use to configure the ifcfg-* files in
/var/lib/vdsm/persistence/netconf/ovirtmgmt on the virtual server hosts.
Maybe you can try fooling around with those.

Good luck,
Tyler

On Tue, Aug 11, 2015 at 9:08 AM, Jakub Niedermertl <jniederm at redhat.com>
wrote:

> Ahoj,
>
> I've created a bug https://bugzilla.redhat.com/show_bug.cgi?id=1252534
> and assign it to you.
>
> Thanks for help
> Jakub
>
> ----- Original Message -----
> > From: "Ondřej Svoboda" <ondrej at svobodasoft.cz>
> > To: users at ovirt.org
> > Sent: Tuesday, August 11, 2015 2:06:36 PM
> > Subject: Re: [ovirt-users] vdsm keeps removing BOOTPROTO=dhcp from
> ifcfg-ovirtmgmt
> >
> > 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 at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150814/6ee5f2b9/attachment-0001.html>


More information about the Users mailing list