Mailing List Archive

VIF Error
Good day Xen community I have been experiencing difficulty setting up a VM
on XCP-NG using the xl toolstack. I was forwarded to this mailing list from
the XCP-NG forum as they said I may potentially get a better response to my
question.The problem that I am having occur is a continuous error for the
VIF as seen below:

libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/vif-bridge online [13933] exited with error status 1
libxl: error: libxl_device.c:1259:device_hotplug_child_death_cb: script:
Could not find bridge device vport-l2
libxl: error: libxl_create.c:1701:domcreate_attach_devices: Domain
12:unable to add vif devices

Please tell me if you have any suggestions as to how I can correct this.


Best Regards
Tra-Vaughn James
Re: VIF Error [ In reply to ]
Just to make sure, do you have a bridge named vport-l2 on the hypervisor?

On Mon, Dec 27, 2021, 3:12 PM Holy Sword <holytriakis@gmail.com> wrote:

> Good day Xen community I have been experiencing difficulty setting up a VM
> on XCP-NG using the xl toolstack. I was forwarded to this mailing list from
> the XCP-NG forum as they said I may potentially get a better response to my
> question.The problem that I am having occur is a continuous error for the
> VIF as seen below:
>
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> /etc/xen/scripts/vif-bridge online [13933] exited with error status 1
> libxl: error: libxl_device.c:1259:device_hotplug_child_death_cb: script:
> Could not find bridge device vport-l2
> libxl: error: libxl_create.c:1701:domcreate_attach_devices: Domain
> 12:unable to add vif devices
>
> Please tell me if you have any suggestions as to how I can correct this.
>
>
> Best Regards
> Tra-Vaughn James
>
Re: VIF Error [ In reply to ]
The bridge name is xenbr0. However when I enter that into the config file.
I get this error message:

libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/vif-bridge online [17701] exited with error status 1
libxl: error: libxl_create.c:1701:domcreate_attach_devices: Domain
14:unable to add vif devices
libxl: error: libxl_domain.c:1177:libxl__destroy_domid: Domain
14:Non-existant domain
libxl: error: libxl_domain.c:1131:domain_destroy_callback: Domain 14:Unable
to destroy guest
libxl: error: libxl_domain.c:1058:domain_destroy_cb: Domain 14:Destruction
of domain failed

This is my config file for reference:

name = "testvm"
kernel = "/home/testvm/images/vmlinuz"
ramdisk = "/home/testvm/images/initrd.gz"
extra = "root=/dev/xvda1"
memory = 768
#maxmem =512
vcpus = 1
vif = [ 'bridge=xenbr0,mac=00:16:3e:21:12:00' ]
disk = [ '/dev/VM-Group/testvm,raw,xvda,rw' ]




On Tue, Dec 28, 2021 at 6:24 AM Chris Myers <chrismyers81@gmail.com> wrote:

> Just to make sure, do you have a bridge named vport-l2 on the hypervisor?
>
> On Mon, Dec 27, 2021, 3:12 PM Holy Sword <holytriakis@gmail.com> wrote:
>
>> Good day Xen community I have been experiencing difficulty setting up a
>> VM on XCP-NG using the xl toolstack. I was forwarded to this mailing list
>> from the XCP-NG forum as they said I may potentially get a better response
>> to my question.The problem that I am having occur is a continuous error for
>> the VIF as seen below:
>>
>> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
>> /etc/xen/scripts/vif-bridge online [13933] exited with error status 1
>> libxl: error: libxl_device.c:1259:device_hotplug_child_death_cb: script:
>> Could not find bridge device vport-l2
>> libxl: error: libxl_create.c:1701:domcreate_attach_devices: Domain
>> 12:unable to add vif devices
>>
>> Please tell me if you have any suggestions as to how I can correct this.
>>
>>
>> Best Regards
>> Tra-Vaughn James
>>
>
Re: VIF Error [ In reply to ]
Has anyone exsperienced this before?


On Tue, Dec 28, 2021 at 11:10 AM Holy Sword <holytriakis@gmail.com> wrote:

> The bridge name is xenbr0. However when I enter that into the config file.
> I get this error message:
>
> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
> /etc/xen/scripts/vif-bridge online [17701] exited with error status 1
> libxl: error: libxl_create.c:1701:domcreate_attach_devices: Domain
> 14:unable to add vif devices
> libxl: error: libxl_domain.c:1177:libxl__destroy_domid: Domain
> 14:Non-existant domain
> libxl: error: libxl_domain.c:1131:domain_destroy_callback: Domain
> 14:Unable to destroy guest
> libxl: error: libxl_domain.c:1058:domain_destroy_cb: Domain 14:Destruction
> of domain failed
>
> This is my config file for reference:
>
> name = "testvm"
> kernel = "/home/testvm/images/vmlinuz"
> ramdisk = "/home/testvm/images/initrd.gz"
> extra = "root=/dev/xvda1"
> memory = 768
> #maxmem =512
> vcpus = 1
> vif = [ 'bridge=xenbr0,mac=00:16:3e:21:12:00' ]
> disk = [ '/dev/VM-Group/testvm,raw,xvda,rw' ]
>
>
>
>
> On Tue, Dec 28, 2021 at 6:24 AM Chris Myers <chrismyers81@gmail.com>
> wrote:
>
>> Just to make sure, do you have a bridge named vport-l2 on the
>> hypervisor?
>>
>> On Mon, Dec 27, 2021, 3:12 PM Holy Sword <holytriakis@gmail.com> wrote:
>>
>>> Good day Xen community I have been experiencing difficulty setting up a
>>> VM on XCP-NG using the xl toolstack. I was forwarded to this mailing list
>>> from the XCP-NG forum as they said I may potentially get a better response
>>> to my question.The problem that I am having occur is a continuous error for
>>> the VIF as seen below:
>>>
>>> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
>>> /etc/xen/scripts/vif-bridge online [13933] exited with error status 1
>>> libxl: error: libxl_device.c:1259:device_hotplug_child_death_cb: script:
>>> Could not find bridge device vport-l2
>>> libxl: error: libxl_create.c:1701:domcreate_attach_devices: Domain
>>> 12:unable to add vif devices
>>>
>>> Please tell me if you have any suggestions as to how I can correct this.
>>>
>>>
>>> Best Regards
>>> Tra-Vaughn James
>>>
>>