[ovirt-users] oVirt Node Network conf X DNS

Simone Tiraboschi stirabos at redhat.com
Thu Sep 15 08:03:59 EDT 2016


On Wed, Sep 14, 2016 at 11:16 PM, Rogério Ceni Coelho <
rogeriocenicoelho at gmail.com> wrote:

> Hi oVirt Users and Admins !!!
>
> I am installing ovirt 4.0.3 and do above conf on my OVirt Node using bond
> and vlan.
>
> When I add this host to ovirt engine and associate ovirtmgmt network with
> same tag vlan number 1051, DNS conf was overwrited by vdsm.
>


It's a know issue: https://bugzilla.redhat.com/1160423
please set you DNSs in /etc/resolv.conf instead of the interface file cfg
with DNS1 and DNS2.
You can also try this:
https://bugzilla.redhat.com/show_bug.cgi?id=1160423#c44


>
> So, as i do not find any way to set DNS on ovirt engine network conf i
> think that for ovirt nodes i need to use another network that i do not plan
> to use with virtual machines ( because if i add a new network on ovirt
> engine with same tag vlan number the ovirt node conf will be overwrited by
> vdsm ).
>
> Before add to ovirt engine :
>
> [root at prd-rbs-ovirt-kvm01-poa ~]# ip addr
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
>
>     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: em1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 3: em2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 4: p3p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 5: p3p2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UP
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
>     inet6 fe80::5e26:aff:fefd:acc/64 scope link
>
>        valid_lft forever preferred_lft forever
>
> 7: bond0.1051 at bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> noqueue state UP
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
>     inet 10.151.252.222/22 brd 10.151.255.255 scope global bond0.1051
>
>        valid_lft forever preferred_lft forever
>
>     inet6 fe80::5e26:aff:fefd:acc/64 scope link
>
>        valid_lft forever preferred_lft forever
>
> [root at prd-rbs-ovirt-kvm01-poa ~]# cat /etc/resolv.conf
>
> # Generated by NetworkManager
>
> search rbs.com.br rbs.net clicrbs.com.br srvr.rbs.net
>
> nameserver 10.236.68.62
>
> nameserver 10.1.1.40
>
> nameserver 10.155.33.154
>
>
> After :
>
>
> [root at prd-rbs-ovirt-kvm01-poa ~]# ip addr
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
>
>     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: em1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 3: em2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 4: p3p1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 5: p3p2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master
> bond0 state UP qlen 1000
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UP
>
>     link/ether 5c:26:0a:fd:0a:cc brd ff:ff:ff:ff:ff:ff
>
> 7: bond0.1051 at bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
> noqueue master ovirtmgmt state UP
>
>     link/ether fa:d3:c0:cd:dd:a3 brd ff:ff:ff:ff:ff:ff
>
> 8: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
>
>     link/ether b2:8b:94:d9:d9:83 brd ff:ff:ff:ff:ff:ff
>
> 9: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
> state UP
>
>     link/ether fa:d3:c0:cd:dd:a3 brd ff:ff:ff:ff:ff:ff
>
>     inet 10.151.252.222/22 brd 10.151.255.255 scope global ovirtmgmt
>
>        valid_lft forever preferred_lft forever
>
> [root at prd-rbs-ovirt-kvm01-poa ~]# cat /etc/resolv.conf
>
> # Generated by NetworkManager
>
> search rbs.com.br
>
>
>
> # No nameservers found; try putting DNS servers into your
>
> # ifcfg files in /etc/sysconfig/network-scripts like so:
>
> #
>
> # DNS1=xxx.xxx.xxx.xxx
>
> # DNS2=xxx.xxx.xxx.xxx
>
> # DOMAIN=lab.foo.com bar.foo.com
>
> [root at prd-rbs-ovirt-kvm01-poa ~]# cat /etc/sysconfig/network-
> scripts/ifcfg-ovirtmgmt
>
> # Generated by VDSM version 4.18.11-1.el7.centos
>
> DEVICE=ovirtmgmt
>
> TYPE=Bridge
>
> DELAY=0
>
> STP=off
>
> ONBOOT=yes
>
> IPADDR=10.151.252.222
>
> NETMASK=255.255.252.0
>
> GATEWAY=10.151.252.1
>
> BOOTPROTO=none
>
> MTU=1500
>
> DEFROUTE=yes
>
> NM_CONTROLLED=no
>
> IPV6INIT=no
>
> [root at prd-rbs-ovirt-kvm01-poa ~]#
>
>
> _______________________________________________
> 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/20160915/dc8cbfeb/attachment.html>


More information about the Users mailing list