[vdsm] VDSM RPM Build failed with error SecureXMLRPCServer.py:143:1: E303 too many blank lines
Hi All, The vdsm (master branch) rpm build failed with the following error: find . -path './.git' -prune -type f -o \ -name '*.py' -o -name '*.py.in' | xargs /usr/bin/pyflakes | \ grep -w -v \./vdsm/storage/lvm\.py.*: list comprehension redefines 'lv' from line .* | \ while read LINE; do echo $LINE; false; done /usr/bin/pep8 --version 1.4.6 /usr/bin/pep8 --exclude=config.py,constants.py --filename '*.py,*.py.in' \ client lib/cpopen/*.py lib/vdsm/*.py lib/vdsm/*.py.in tests vds_bootstrap vdsm-tool vdsm/*.py vdsm/*.py.in vdsm/netconf vdsm/sos/vdsm.py.in vdsm/storage vdsm/vdsm vdsm_api vdsm_hooks vdsm_reg lib/vdsm/SecureXMLRPCServer.py:143:1: E303 too many blank lines (3) make[3]: *** [check-local] Error 1 make[3]: Leaving directory `/home/timothy/rpmbuild/BUILD/vdsm-4.12.0' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/timothy/rpmbuild/BUILD/vdsm-4.12.0' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/timothy/rpmbuild/BUILD/vdsm-4.12.0' error: Bad exit status from /var/tmp/rpm-tmp.PcZNhb (%check) Regards, Tim ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
[vdsm] Need help on fixing VDSM node non-operational error
Hi All, Currently I am facing some issues while adding a node to an engine. Host comes up initially. Then goes to Non-operational state. On trying to activate the host, it again comes up. Then goes to Non-operational state again and so on. The following message is seen in the engine Events log multiple times - Bridged network ovirtmgmt is attached to multiple interfaces: eth2,eth0 on Host ... The following is seen in the engine logs - 2013-06-06 20:52:23,003 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-16) Host '...' moved to Non-Operational state because interface/s 'eth0, ' are down which needed by network/s 'ovirtmgmt, ' in the current cluster Additional info: The host is a physical machine. The contents of the file /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt - # cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt DEVICE=ovirtmgmt TYPE=Bridge ONBOOT=yes DELAY=0 BOOTPROTO=dhcp NM_CONTROLLED=no The contents of /etc/sysconfig/network-scripts/ifcfg-eth2 # cat /etc/sysconfig/network-scripts/ifcfg-eth2 DEVICE=eth2 BRIDGE=ovirtmgmt BOOTPROTO=dhcp HWADDR=00:25:90:93:62:02 IPV6INIT=yes IPV6_AUTOCONF=yes NM_CONTROLLED=yes ONBOOT=yes TYPE=Ethernet The contents of /etc/sysconfig/network-scripts/ifcfg-eth0 - # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:25:90:7C:2C:7A NM_CONTROLLED=yes ONBOOT=yes Can someone give some suggestion for this issue! Thanks and Regards, Tim ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
Re: [vdsm] Need help on fixing VDSM node non-operational error
Hi Dan, Thank you for the quick fix and reply! The output of `brctl show` as follows: bridge name bridge id STP enabled interfaces ovirtmgmt 8000.0025907c2c7a no eth0 eth2 It goes away after doing 'brctl delif ovirtmgmt eth0' manually. I will let you know if we could reproduce this issue again. Thanks and Regards, Tim - Original Message - From: Dan Kenigsberg dan...@redhat.com To: Timothy Asir Jeyasingh tjeya...@redhat.com Cc: vdsm-devel@lists.fedorahosted.org Sent: Wednesday, June 19, 2013 4:03:20 PM Subject: Re: [vdsm] Need help on fixing VDSM node non-operational error On Wed, Jun 19, 2013 at 05:51:52AM -0400, Timothy Asir Jeyasingh wrote: Hi All, Currently I am facing some issues while adding a node to an engine. Host comes up initially. Then goes to Non-operational state. On trying to activate the host, it again comes up. Then goes to Non-operational state again and so on. The following message is seen in the engine Events log multiple times - Bridged network ovirtmgmt is attached to multiple interfaces: eth2,eth0 on Host ... The following is seen in the engine logs - 2013-06-06 20:52:23,003 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-16) Host '...' moved to Non-Operational state because interface/s 'eth0, ' are down which needed by network/s 'ovirtmgmt, ' in the current cluster Additional info: The host is a physical machine. The contents of the file /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt - # cat /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt DEVICE=ovirtmgmt TYPE=Bridge ONBOOT=yes DELAY=0 BOOTPROTO=dhcp NM_CONTROLLED=no The contents of /etc/sysconfig/network-scripts/ifcfg-eth2 # cat /etc/sysconfig/network-scripts/ifcfg-eth2 DEVICE=eth2 BRIDGE=ovirtmgmt BOOTPROTO=dhcp HWADDR=00:25:90:93:62:02 IPV6INIT=yes IPV6_AUTOCONF=yes NM_CONTROLLED=yes ONBOOT=yes TYPE=Ethernet The contents of /etc/sysconfig/network-scripts/ifcfg-eth0 - # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:25:90:7C:2C:7A NM_CONTROLLED=yes ONBOOT=yes Can someone give some suggestion for this issue! I've had a couple of questions on https://bugzilla.redhat.com/show_bug.cgi?id=971477#c7 What does `brctl show` have on your faulty host? (just to rule out that vdsm is lying about the ovirtmgmt being connected to two nics) {'ovirtmgmt': {'addr': '10.70.36.44', 'cfg': {'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.254.0', 'stp': 'off', 'ports': ['eth0', 'eth2']}} Does it reproduce on any other system? Does it go away once you manually brctl delif ovirtmgmt eth0 ___ vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel