Getting error when i try to assign logical networks to interfaces

I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)

Are you using Fibre Channel over Ethernet? On Thu, 23 Mar 2017 09:25:04 +0200 martin chamambo <chamambom@gmail.com> wrote:
I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error
Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)

Planning on using ISCSI , and it seems like defining logical networks is a pre-requisite for your host to come online and that error is happening when i try to assign the ovirtmngmnt logical network to an interface On Thu, Mar 23, 2017 at 6:58 PM, Dominik Holler <dholler@redhat.com> wrote:
Are you using Fibre Channel over Ethernet?
On Thu, 23 Mar 2017 09:25:04 +0200 martin chamambo <chamambom@gmail.com> wrote:
I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error
Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)

On Thu, Mar 23, 2017 at 9:25 AM, martin chamambo <chamambom@gmail.com> wrote:
I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error
Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)
vdsm-hook-fcoe is installed by default on ovirt-node. Which version of vdsm (and vdsm-hook-fcoe) are you using? This Traceback smells like a mismatch between the two.

@ Dan i am not using FCOE , i am trying to set up logical networks , my oVirt Engine Version: 4.0.6.3-1.el7.centos and my vdsm versions is vdsm-4.18.4.1-0.el7.centos On Thu, Mar 23, 2017 at 11:26 PM, Dan Kenigsberg <danken@redhat.com> wrote:
On Thu, Mar 23, 2017 at 9:25 AM, martin chamambo <chamambom@gmail.com> wrote:
I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error
Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)
vdsm-hook-fcoe is installed by default on ovirt-node. Which version of vdsm (and vdsm-hook-fcoe) are you using? This Traceback smells like a mismatch between the two.

On Fri, Mar 24, 2017 at 11:36 AM, martin chamambo <chamambom@gmail.com> wrote:
@ Dan i am not using FCOE , i am trying to set up logical networks , my oVirt Engine Version: 4.0.6.3-1.el7.centos and my vdsm versions is vdsm-4.18.4.1-0.el7.centos
And what it the version of your vdsm-hook-fcoe? rpm -qa |grep vdsm rpm -qf /usr/libexec/vdsm/hooks/before_network_setup/50_fcoe I assumed that the 50_fcoe script is out of date. It looks like a 3.6 piece of code. You can just remove 50_fcoe to squelch the problem for a while, but I'd like to understand why it is there.
On Thu, Mar 23, 2017 at 11:26 PM, Dan Kenigsberg <danken@redhat.com> wrote:
On Thu, Mar 23, 2017 at 9:25 AM, martin chamambo <chamambom@gmail.com> wrote:
I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error
Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)
vdsm-hook-fcoe is installed by default on ovirt-node. Which version of vdsm (and vdsm-hook-fcoe) are you using? This Traceback smells like a mismatch between the two.

Good day @Dan Thank you for the pointers , on my hypervisor there is this directory path /usr/libexec/vdsm/hooks/before_network_setup and in that folder there was a file named 50_fcoe ,i removed that and its working now....I dont know how it got there but seems to have worked and thanx for your help On Fri, Mar 24, 2017 at 4:36 PM, Dan Kenigsberg <danken@redhat.com> wrote:
On Fri, Mar 24, 2017 at 11:36 AM, martin chamambo <chamambom@gmail.com> wrote:
@ Dan i am not using FCOE , i am trying to set up logical networks , my oVirt Engine Version: 4.0.6.3-1.el7.centos and my vdsm versions is vdsm-4.18.4.1-0.el7.centos
And what it the version of your vdsm-hook-fcoe?
rpm -qa |grep vdsm rpm -qf /usr/libexec/vdsm/hooks/before_network_setup/50_fcoe
I assumed that the 50_fcoe script is out of date. It looks like a 3.6 piece of code.
You can just remove 50_fcoe to squelch the problem for a while, but I'd like to understand why it is there.
On Thu, Mar 23, 2017 at 11:26 PM, Dan Kenigsberg <danken@redhat.com>
wrote:
On Thu, Mar 23, 2017 at 9:25 AM, martin chamambo <chamambom@gmail.com> wrote:
I havent set up any hooks and when i try to assign logical networks to an already existing interface on the host ,it gives me this error
Hook error: Hook Error: ('Traceback (most recent call last):\n File "/usr/libexec/vdsm/hooks/before_network_setup/50_fcoe", line 18, in <module>\n from vdsm.netconfpersistence import RunningConfig\nImportError: No module named netconfpersistence\n',)
vdsm-hook-fcoe is installed by default on ovirt-node. Which version of vdsm (and vdsm-hook-fcoe) are you using? This Traceback smells like a mismatch between the two.
participants (3)
-
Dan Kenigsberg
-
Dominik Holler
-
martin chamambo