* [Qemu-devel] [Bug 1633508] [NEW] libvirt cannot hot insert interfaces to qemu
@ 2016-10-14 14:36 Tim Epkes
2019-09-30 10:58 ` [Bug 1633508] " Thomas Huth
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tim Epkes @ 2016-10-14 14:36 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
$ virsh attach-interface --domain gluster1 --type direct \
> --source test0 --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
test0 exists:
$ ip link show test0
35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff
Just in case I did it wrong with direct, I did network
$ virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
mgmtnet0 active yes yes
$ virsh attach-interface --domain gluster1 --type network \
> --source default --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
This seems to be an old bug, but is still present. Other relevant information:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
$ virsh -v
1.3.1
** Affects: qemu
Importance: Undecided
Status: New
** Tags: libvirt
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1633508
Title:
libvirt cannot hot insert interfaces to qemu
Status in QEMU:
New
Bug description:
When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
$ virsh attach-interface --domain gluster1 --type direct \
> --source test0 --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
test0 exists:
$ ip link show test0
35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff
Just in case I did it wrong with direct, I did network
$ virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
mgmtnet0 active yes yes
$ virsh attach-interface --domain gluster1 --type network \
> --source default --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
This seems to be an old bug, but is still present. Other relevant information:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
$ virsh -v
1.3.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1633508/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1633508] Re: libvirt cannot hot insert interfaces to qemu
2016-10-14 14:36 [Qemu-devel] [Bug 1633508] [NEW] libvirt cannot hot insert interfaces to qemu Tim Epkes
@ 2019-09-30 10:58 ` Thomas Huth
2019-10-08 14:47 ` Christian Ehrhardt
2019-10-09 9:09 ` Thomas Huth
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2019-09-30 10:58 UTC (permalink / raw)
To: qemu-devel
This looks like a libvirt bug at a first glance. Have you tried to
report it to the libvirt project? (See https://libvirt.org/bugs.html )
... also, can you re-create the bug with the very latest upstream
version of libvirt and qemu, or does it only occur with an (older?)
version of Ubuntu?
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1633508
Title:
libvirt cannot hot insert interfaces to qemu
Status in QEMU:
Incomplete
Bug description:
When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
$ virsh attach-interface --domain gluster1 --type direct \
> --source test0 --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
test0 exists:
$ ip link show test0
35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff
Just in case I did it wrong with direct, I did network
$ virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
mgmtnet0 active yes yes
$ virsh attach-interface --domain gluster1 --type network \
> --source default --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
This seems to be an old bug, but is still present. Other relevant information:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
$ virsh -v
1.3.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1633508/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1633508] Re: libvirt cannot hot insert interfaces to qemu
2016-10-14 14:36 [Qemu-devel] [Bug 1633508] [NEW] libvirt cannot hot insert interfaces to qemu Tim Epkes
2019-09-30 10:58 ` [Bug 1633508] " Thomas Huth
@ 2019-10-08 14:47 ` Christian Ehrhardt
2019-10-09 9:09 ` Thomas Huth
2 siblings, 0 replies; 4+ messages in thread
From: Christian Ehrhardt @ 2019-10-08 14:47 UTC (permalink / raw)
To: qemu-devel
That seems to be the Libvirt of Ubuntu in Xenial.
In the past similar issues were uncommon configs or changed behavior on
updates that triggered apparmor or SELinux protection.
=> https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1747442
=> https://bugzilla.redhat.com/show_bug.cgi?id=731243
It could as well be some variant of bug 1677398.
If you are still affected by this, could you check:
1. if it also happens on newer libvirt versions e.g. do a trial run in the most recent Ubuntu
2. if it does could you check dmesg in your setup for related apparmor denials?
** Bug watch added: Red Hat Bugzilla #731243
https://bugzilla.redhat.com/show_bug.cgi?id=731243
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1633508
Title:
libvirt cannot hot insert interfaces to qemu
Status in QEMU:
Incomplete
Bug description:
When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
$ virsh attach-interface --domain gluster1 --type direct \
> --source test0 --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
test0 exists:
$ ip link show test0
35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff
Just in case I did it wrong with direct, I did network
$ virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
mgmtnet0 active yes yes
$ virsh attach-interface --domain gluster1 --type network \
> --source default --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
This seems to be an old bug, but is still present. Other relevant information:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
$ virsh -v
1.3.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1633508/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 1633508] Re: libvirt cannot hot insert interfaces to qemu
2016-10-14 14:36 [Qemu-devel] [Bug 1633508] [NEW] libvirt cannot hot insert interfaces to qemu Tim Epkes
2019-09-30 10:58 ` [Bug 1633508] " Thomas Huth
2019-10-08 14:47 ` Christian Ehrhardt
@ 2019-10-09 9:09 ` Thomas Huth
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2019-10-09 9:09 UTC (permalink / raw)
To: qemu-devel
** Project changed: qemu => libvirt (Ubuntu)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1633508
Title:
libvirt cannot hot insert interfaces to qemu
Status in libvirt package in Ubuntu:
Incomplete
Bug description:
When attempting to hot insert an interface using Ubuntu 16.04.1, I get the following
$ virsh attach-interface --domain gluster1 --type direct \
> --source test0 --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
test0 exists:
$ ip link show test0
35: test0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether aa:8c:65:2e:79:61 brd ff:ff:ff:ff:ff:ff
Just in case I did it wrong with direct, I did network
$ virsh net-list
Name State Autostart Persistent
----------------------------------------------------------
default active yes yes
mgmtnet0 active yes yes
$ virsh attach-interface --domain gluster1 --type network \
> --source default --model virtio \
> --mac 2a:b6:b0:dc:c7:c4 --config --live
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
This seems to be an old bug, but is still present. Other relevant information:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.5), Copyright (c) 2003-2008 Fabrice Bellard
$ virsh -v
1.3.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1633508/+subscriptions
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-09 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-14 14:36 [Qemu-devel] [Bug 1633508] [NEW] libvirt cannot hot insert interfaces to qemu Tim Epkes
2019-09-30 10:58 ` [Bug 1633508] " Thomas Huth
2019-10-08 14:47 ` Christian Ehrhardt
2019-10-09 9:09 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).