Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
- Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: users users@ovirt.org Sent: Saturday, December 29, 2012 2:40:37 AM Subject: [Users] ovirtmgmt vs eth0 config in all-in-one config Hello, what should be the difference between ovirtmgmt and eth0 in an all-in-one config? In my case I have this situation as soon as the server starts, after adding the host to local_cluster and reboot $ diff ifcfg-eth0 ifcfg-ovirtmgmt 1c1 DEVICE=eth0 --- DEVICE=ovirtmgmt 3,4c3,5 HWADDR=52:54:00:b0:6c:5f BRIDGE=ovirtmgmt --- TYPE=Bridge DELAY=0 BOOTPROTO=none In particular, both config files have lines with the ip/default gw $ cat ifcfg-eth0 DEVICE=eth0 ONBOOT=yes HWADDR=52:54:00:b0:6c:5f BRIDGE=ovirtmgmt NM_CONTROLLED=no IPV6INIT=no IPADDR0=192.168.122.160 DNS1=192.168.122.1 PREFIX0=24 DEFROUTE=yes IPV4_FAILURE_FATAL=no GATEWAY0=192.168.122.1 UUID=09d17057-618e-464a-b38c-e16ab0d72f75 $ cat ifcfg-ovirtmgmt DEVICE=ovirtmgmt ONBOOT=yes TYPE=Bridge DELAY=0 BOOTPROTO=none NM_CONTROLLED=no IPV6INIT=no IPADDR0=192.168.122.160 DNS1=192.168.122.1 PREFIX0=24 DEFROUTE=yes IPV4_FAILURE_FATAL=no GATEWAY0=192.168.122.1 UUID=09d17057-618e-464a-b38c-e16ab0d72f75 I think only the bridge should have them correct? $ ip route list 169.254.0.0/16 dev ovirtmgmt scope link metric 1003 192.168.122.0/24 dev ovirtmgmt proto kernel scope link src 192.168.122.160 All returns ok if I manually set it after boot # ip route add default via 192.168.122.1 eth0 should not have ip address in this configuration. Can you please send deploy logs from /var/log/ovirt-engine/host-deploy? Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
On Sat, Dec 29, 2012 at 9:01 AM, Alon Bar-Lev wrote: eth0 should not have ip address in this configuration. Can you please send deploy logs from /var/log/ovirt-engine/host-deploy? Alon This is the timestamp of the files: [root@f18aio network-scripts]# ll ifcfg* -rw-rw-r--. 1 root root 248 Dec 18 13:02 ifcfg-eth0 -rw-r--r--. 1 root root 254 Dec 7 22:05 ifcfg-lo -rw-rw-r--. 1 root root 246 Dec 18 13:02 ifcfg-ovirtmgmt ANd this is the file related to the timestamp of deploy I think https://docs.google.com/open?id=0BwoPbcrMv8mvRGdVSVNYa2dXSE0 Let me know if you need more info Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
On Sat, Dec 29, 2012 at 11:18 AM, Gianluca Cecchi wrote: On Sat, Dec 29, 2012 at 9:01 AM, Alon Bar-Lev wrote: eth0 should not have ip address in this configuration. Can you please send deploy logs from /var/log/ovirt-engine/host-deploy? Alon This is the timestamp of the files: [root@f18aio network-scripts]# ll ifcfg* -rw-rw-r--. 1 root root 248 Dec 18 13:02 ifcfg-eth0 -rw-r--r--. 1 root root 254 Dec 7 22:05 ifcfg-lo -rw-rw-r--. 1 root root 246 Dec 18 13:02 ifcfg-ovirtmgmt ANd this is the file related to the timestamp of deploy I think https://docs.google.com/open?id=0BwoPbcrMv8mvRGdVSVNYa2dXSE0 Let me know if you need more info Gianluca BTW: after removing ip information from ifcfg-eth0 I still have to manually run ip route add default via 192.168.122.1 Now ifcfg-eth0 contains sys-devices-virtual-net-\x3bvdsmdummy\x3b.deviceloaded active plugged /sys/devices/virtual/net/;vdsmdummy; sys-devices-virtual-net-bond0.deviceloaded active plugged /sys/devices/virtual/net/bond0 sys-devices-virtual-net-bond4.deviceloaded active plugged /sys/devices/virtual/net/bond4 sys-devices-virtual-net-ovirtmgmt.deviceloaded active plugged /sys/devices/virtual/net/ovirtmgmt sys-module-configfs.device loaded active plugged /sys/module/configfs sys-subsystem-net-devices-\x3bvdsmdummy\x3b.device loaded active plugged /sys/subsystem/net/devices/;vdsmdummy; sys-subsystem-net-devices-bond0.device loaded active plugged /sys/subsystem/net/devices/bond0 sys-subsystem-net-devices-bond4.device loaded active plugged /sys/subsystem/net/devices/bond4 sys-subsystem-net-devices-eth0.device loaded active plugged Virtio network device sys-subsystem-net-devices-ovirtmgmt.device loaded active plugged /sys/subsystem/net/devices/ovirtmgmt ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
Sorry... sent for error before finishing.. BTW: after removing ip information from ifcfg-eth0 I still have to manually run ip route add default via 192.168.122.1 Now ifcfg-eth0 contains only DEVICE=eth0 ONBOOT=yes HWADDR=52:54:00:b0:6c:5f BRIDGE=ovirtmgmt NM_CONTROLLED=no IPV6INIT=no IPV4_FAILURE_FATAL=no UUID=09d17057-618e-464a-b38c-e16ab0d72f75 systemctl list-units gives: sys-devices-virtual-net-\ x3bvdsmdummy\x3b.deviceloaded active plugged /sys/devices/virtual/net/;vdsmdummy; sys-devices-virtual-net-bond0.deviceloaded active plugged /sys/devices/virtual/net/bond0 sys-devices-virtual-net-bond4.deviceloaded active plugged /sys/devices/virtual/net/bond4 sys-devices-virtual-net-ovirtmgmt.deviceloaded active plugged /sys/devices/virtual/net/ovirtmgmt sys-module-configfs.device loaded active plugged /sys/module/configfs sys-subsystem-net-devices-\x3bvdsmdummy\x3b.device loaded active plugged /sys/subsystem/net/devices/;vdsmdummy; sys-subsystem-net-devices-bond0.device loaded active plugged /sys/subsystem/net/devices/bond0 sys-subsystem-net-devices-bond4.device loaded active plugged /sys/subsystem/net/devices/bond4 sys-subsystem-net-devices-eth0.device loaded active plugged Virtio network device sys-subsystem-net-devices-ovirtmgmt.device loaded active plugged /sys/subsystem/net/devices/ovirtmgmt # ip addr list 1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 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 inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast master ovirtmgmt state UP qlen 1000 link/ether 52:54:00:b0:6c:5f brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:feb0:6c5f/64 scope link valid_lft forever preferred_lft forever 3: ovirtmgmt: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state UP link/ether 52:54:00:b0:6c:5f brd ff:ff:ff:ff:ff:ff inet 192.168.122.160/24 brd 192.168.122.255 scope global ovirtmgmt inet6 fe80::5054:ff:feb0:6c5f/64 scope link valid_lft forever preferred_lft forever 5: ;vdsmdummy;: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN link/ether f2:96:78:d1:69:74 brd ff:ff:ff:ff:ff:ff 6: bond0: NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP mtu 1500 qdisc noqueue state DOWN link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 7: bond4: NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP mtu 1500 qdisc noqueue state DOWN link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff # cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (round-robin) MII Status: down MII Polling Interval (ms): 0 Up Delay (ms): 0 Down Delay (ms): 0 [root@f18aio network-scripts]# cat /proc/net/bonding/bond4 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (round-robin) MII Status: down MII Polling Interval (ms): 0 Up Delay (ms): 0 Down Delay (ms): 0 Don't know from where the bond0 and bond4 arrives and the ;vdsmdummy too.. and their configuration files... Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
In the mean time I found that the problem was GATEWAY0=192.168.122.1 in ifcfg-ovirtmgmt While it should be GATEWAY=192.168.122.1 in fact the index is not kept in count for GATEWAY filed Now with this line and also NOZEROCONF=yes I keep ok at boot with $ ip route list default via 192.168.122.1 dev ovirtmgmt 192.168.122.0/24 dev ovirtmgmt proto kernel scope link src 192.168.122.160 without manual intervention Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
- Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users users@ovirt.org Sent: Saturday, December 29, 2012 7:36:00 PM Subject: Re: [Users] ovirtmgmt vs eth0 config in all-in-one config In the mean time I found that the problem was GATEWAY0=192.168.122.1 But I see that you had GATEWAY0 in your original ifcfg file... Can you explain more of your setup before you tried to deploy? --- DEVICE=eth0 BOOTPROTO=none ONBOOT=yes UUID=09d17057-618e-464a-b38c-e16ab0d72f75 TYPE=Ethernet IPADDR0=192.168.122.160 PREFIX0=24 GATEWAY0=192.168.122.1 DNS1=192.168.122.1 DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no NAME=System eth0 HWADDR=52:54:00:B0:6C:5F --- in ifcfg-ovirtmgmt While it should be GATEWAY=192.168.122.1 in fact the index is not kept in count for GATEWAY filed Now with this line and also NOZEROCONF=yes I keep ok at boot with $ ip route list default via 192.168.122.1 dev ovirtmgmt 192.168.122.0/24 dev ovirtmgmt proto kernel scope link src 192.168.122.160 without manual intervention Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
Perhaps when I first installed f18, it got those entries and was configured with network manager and then I only put NM_CONTROLLED=no Without changing accordingly its entries... I have to check default f18 config during install... ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirtmgmt vs eth0 config in all-in-one config
- Original Message - From: Gianluca Cecchi gianluca.cec...@gmail.com To: Alon Bar-Lev alo...@redhat.com Cc: users users@ovirt.org Sent: Saturday, December 29, 2012 9:48:07 PM Subject: Re: [Users] ovirtmgmt vs eth0 config in all-in-one config Perhaps when I first installed f18, it got those entries and was configured with network manager and then I only put NM_CONTROLLED=no Without changing accordingly its entries... I have to check default f18 config during install... Default fedora 18 comes without any ifcfg file. Network manager is in charge, for the good and for the wrose. In this case the host deploy will take the most basic settings out of network manager as if these were in ifcfg file. Regards, Alon ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users