
I am trying to change the DNS servers on the hosts on a 4.1 cluster. It appears that oVirt has "learned" them somewhere. They are in /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt (and of course /etc/resolv.conf), but that file gets rewritten on a reboot (so if I change it they just change back). I can't find anything in the web UI to set/change DNS, but obviously they're stored somewhere. I see /var/lib/vdsm/persistence/netconf.<number>/nets/ovirtmgmt has the config; is it safe to directly edit that file? -- Chris Adams <cma@cmadams.net>

Hello, did you checked under the network configuration of ovirtmgmt on each host? Here there are directives for setting ip, dns and gateway. Since you're reporting a file from vdsm, that configuration can be changed through the manager ui. Luca On Thu, Jan 31, 2019 at 3:25 PM Chris Adams <cma@cmadams.net> wrote:
I am trying to change the DNS servers on the hosts on a 4.1 cluster. It appears that oVirt has "learned" them somewhere. They are in /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt (and of course /etc/resolv.conf), but that file gets rewritten on a reboot (so if I change it they just change back). I can't find anything in the web UI to set/change DNS, but obviously they're stored somewhere.
I see /var/lib/vdsm/persistence/netconf.<number>/nets/ovirtmgmt has the config; is it safe to directly edit that file?
-- Chris Adams <cma@cmadams.net> _______________________________________________ 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/3XV6UP6EIHBP25...
-- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>

Once upon a time, Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com> said:
did you checked under the network configuration of ovirtmgmt on each host? Here there are directives for setting ip, dns and gateway. Since you're reporting a file from vdsm, that configuration can be changed through the manager ui.
On a 4.2 cluster, I see a tab for DNS configuration, but on this 4.1 cluster, I don't see any DNS config in the web UI. -- Chris Adams <cma@cmadams.net>
participants (2)
-
Chris Adams
-
Luca 'remix_tj' Lorenzetto