Forgot to CC the list :(
----- Forwarded Message -----
From: "Antoni Segura Puimedon" asegurap@redhat.com To: "Sandro Bonazzola" sbonazzo@redhat.com Cc: "Dan Kenigsberg" danken@redhat.com Sent: Friday, June 7, 2013 8:19:28 PM Subject: Re: delNetwork issue
Hi Sandro,
I tried to reproduce on my machine without any success. If you are able to reproduce, I'd like you to ping me. We should probably add -xv to the /bin/bash line in /etc/sysconfig/network-scripts/ifup and log out and err of the execCmd line to see where exactly ifup fails. Otherwise it's quite difficult to tell what happened due to the lack of error message in the exception.
Best,
Toni
----- Original Message -----
From: "Sandro Bonazzola" sbonazzo@redhat.com To: vdsm-devel@lists.fedorahosted.org, "Giuseppe Vallarelli" gvallare@redhat.com, "Antoni Segura Puimedon" asegurap@redhat.com Sent: Friday, June 7, 2013 10:05:12 AM Subject: delNetwork issue
After having created the engine bridge, trying to remove it leads to:
# /usr/share/vdsm/delNetwork engine '' '' em1 INFO:root:Removing network engine with vlan=None, bonding=None, nics=['em1'],options={} Traceback (most recent call last): File "/usr/share/vdsm/configNetwork.py", line 666, in <module> main() File "/usr/share/vdsm/configNetwork.py", line 641, in main delNetwork(bridge, **kwargs) File "/usr/share/vdsm/configNetwork.py", line 355, in delNetwork _removeUnusedNics(network, vlan, bonding, nics, configWriter) File "/usr/share/vdsm/configNetwork.py", line 259, in _removeUnusedNics ifup(nic) File "/usr/share/vdsm/netconf/ifcfg.py", line 739, in ifup rc, out, err = _ifup(iface) File "/usr/share/vdsm/netconf/ifcfg.py", line 728, in _ifup out[-1] if out else '') ConfigNetworkError: (29, '')
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
Hi Antoni, yes, I'm able to reproduce the issue with vdsm-4.11.0-24.git5814541.fc18.x86_64.
INFO:root:Removing network ovirtmgmt with vlan=None, bonding=None, nics=['em1'],options={} Traceback (most recent call last): File "/usr/share/vdsm/configNetwork.py", line 667, in <module> main() File "/usr/share/vdsm/configNetwork.py", line 642, in main delNetwork(bridge, **kwargs) File "/usr/share/vdsm/configNetwork.py", line 356, in delNetwork _removeUnusedNics(network, vlan, bonding, nics, configWriter) File "/usr/share/vdsm/configNetwork.py", line 259, in _removeUnusedNics ifup(nic) File "/usr/share/vdsm/netconf/ifcfg.py", line 742, in ifup rc, out, err = _ifup(iface) File "/usr/share/vdsm/netconf/ifcfg.py", line 731, in _ifup out[-1] if out else '') ConfigNetworkError: (29, '')
attached the output of ifup using bash -xv you'll see a line of '-' separating stdout from stderr.
the bridge was created with the following command:
configNetwork.addNetwork( network=bridge, nics=[nic], force=False, bridged=True, BOOTPROTO='dhcp', ONBOOT='yes', blockingdhcp='true', )
the remove command is:
/usr/share/vdsm/delNetwork ovirtmgmt '' '' em1 && service network restart
Il 09/06/2013 14:56, Antoni Segura Puimedon ha scritto:
Forgot to CC the list :(
----- Forwarded Message -----
From: "Antoni Segura Puimedon" asegurap@redhat.com To: "Sandro Bonazzola" sbonazzo@redhat.com Cc: "Dan Kenigsberg" danken@redhat.com Sent: Friday, June 7, 2013 8:19:28 PM Subject: Re: delNetwork issue
Hi Sandro,
I tried to reproduce on my machine without any success. If you are able to reproduce, I'd like you to ping me. We should probably add -xv to the /bin/bash line in /etc/sysconfig/network-scripts/ifup and log out and err of the execCmd line to see where exactly ifup fails. Otherwise it's quite difficult to tell what happened due to the lack of error message in the exception.
Best,
Toni
----- Original Message -----
From: "Sandro Bonazzola" sbonazzo@redhat.com To: vdsm-devel@lists.fedorahosted.org, "Giuseppe Vallarelli" gvallare@redhat.com, "Antoni Segura Puimedon" asegurap@redhat.com Sent: Friday, June 7, 2013 10:05:12 AM Subject: delNetwork issue
After having created the engine bridge, trying to remove it leads to:
# /usr/share/vdsm/delNetwork engine '' '' em1 INFO:root:Removing network engine with vlan=None, bonding=None, nics=['em1'],options={} Traceback (most recent call last): File "/usr/share/vdsm/configNetwork.py", line 666, in <module> main() File "/usr/share/vdsm/configNetwork.py", line 641, in main delNetwork(bridge, **kwargs) File "/usr/share/vdsm/configNetwork.py", line 355, in delNetwork _removeUnusedNics(network, vlan, bonding, nics, configWriter) File "/usr/share/vdsm/configNetwork.py", line 259, in _removeUnusedNics ifup(nic) File "/usr/share/vdsm/netconf/ifcfg.py", line 739, in ifup rc, out, err = _ifup(iface) File "/usr/share/vdsm/netconf/ifcfg.py", line 728, in _ifup out[-1] if out else '') ConfigNetworkError: (29, '')
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com
vdsm-devel mailing list vdsm-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
vdsm-devel@lists.fedorahosted.org