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.
>
>