Bug 1135762
Summary: | unable to start secure container | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gene Czarcinski <gczarcinski> |
Component: | iproute | Assignee: | Pavel Šimerda (pavlix) <psimerda> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | berrange, crobinso, dwalsh, herrold, jpopelka, psabata, psimerda, rvokal, twoerner, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-07 17:15:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gene Czarcinski
2014-08-31 10:26:26 UTC
TC6 but still libvirt-sandbox-v0.5.1-4 Sep 10 13:50:16 crow journal: internal error: Failed to allocate free veth pair after 10 attempts Sep 10 13:50:16 crow virt-sandbox-service-util: Unable to start container: Unable to start domain: internal error: Failed to allocate free veth pair after 10 attempts Sep 10 13:50:16 crow systemd: test_sandbox.service: main process exited, code=exited, status=1/FAILURE Sep 10 13:50:17 crow virsh: error: Failed to destroy domain test Sep 10 13:50:17 crow virsh: error: Requested operation is not valid: Domain is not running Sep 10 13:50:17 crow systemd: test_sandbox.service: control process exited, code=exited status=1 Sep 10 13:50:17 crow systemd: Unit test_sandbox.service entered failed state. OK, installed RC1 and got the same error. This time I simplified things and the results were: [root@crow:~]#virt-sandbox -c lxc:/// -m ram:/tmp=500M -N \ address=192.168.18.95/24,source=net18 /bin/sh Unable to start sandbox: Failed to create domain: internal error: Failed to allocate free veth pair after 10 attempts [root@crow:~]#virt-sandbox -c lxc:/// -N dhcp,source=default /bin/sh Unable to start sandbox: Failed to create domain: internal error: Failed to allocate free veth pair after 10 attempts [root@crow:~]#virt-sandbox -c lxc:/// /bin/sh sh-4.3# Fedora 21 Alpha RC1, libvirt-sandbox-0.5.1-4, libvirt-1.2.8-4 Note: I am running the fedora-virt-preview rpms on Fedora 20. The problems described here do not occur on the Fedora 20 system. Question: Are there some things in libvirt and frends which will take different code paths depending on it being a Fedora 21 versus a Fedora 20 system? containers heavily rely on kernel tech, so it could be different behavior on different kernel, or some other f21 library that we don't distribute in virt-preview > Unable to start sandbox: Failed to create domain: internal error: Failed to allocate free veth pair after 10 attempts
This error message is something that actually comes from libvirt, so more generally LXC/libvirt related than sandbox.
OK, whatever the problem was, it is "gone." 1. It never happened on F20 with fedora-virt-preview and 2. With F21-beta-TC1 and then yum update, the problem no longer occurs. I am closing this. OK, I believe that I have found to update that fixed things. I had a F22 installation where the problem existed but after doing yum-update earlier today, the problem "disappeared." There were just not that many updates. The only one which could possibly be the one was iproute. Sure enoung, from the changelog: * Sat Oct 04 2014 Lubomir Rintel <lkundrak> - 3.16.0-3 - Backport fix for ip link add name regression that broke libvirt |