Re: [Bug 1325687] network type="ethernet" not supported with LXC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Team

I'm trying to launch LXC VM with libvirt 1.2.12 having commit 22cff52a2b8e06c913b1f97767e5d390fb17fc3b with below XML configuration..

<domain type="lxc">
  <uuid>64c48da2-e318-4085-8b88-c980aab4de34</uuid>
  <name>test</name>
  <memory>524288</memory>
  <vcpu>1</vcpu>
  <os>
    <type machine="virt">exe</type>
    <cmdline>root=/dev/ram0 rw  console=ttyAMA0 rootwait earlyprintk</cmdline>
    <init>/bin/sh</init>
  </os>
  <clock offset="utc"/>
  <devices>
    <file/>
    <interface type='ethernet'>
      <mac address='02:74:ff:9d:52:f5'/>
      <script path=''/>
      <target dev='tap74f2-f5'/>
    </interface>
    <console type="pty"/>
  </devices>
</domain>

I'm getting following errors while launching LXC VM using above XML file..

virsh -c lxc: define lxc.xml
virsh -c lxc: start test                                                                                                        
error: Failed to start domain test
error: internal error: guest failed to start: /usr/lib/libvirt/libvirt_lxc: option '--veth' requires an argument
syntax: /usr/lib/libvirt/libvirt_lxc [OPTIONS]
Options
  -b, --background
  -n NAME, --name NAME
  -c FD, --console FD
  -v VETH, --veth VETH
  -s FD, --handshakefd FD
  -S NAME, --security NAME
  -h, --help
Unknown failure in libvirt_lxc startup


Please help me regarding this.



--Thanks
Abhishek Jain



On Mon, Apr 11, 2016 at 3:35 AM, <bugzilla@xxxxxxxxxx> wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1325687

Cole Robinson <crobinso@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
                 CC|                            |crobinso@xxxxxxxxxx
         Resolution|---                         |CURRENTRELEASE
        Last Closed|                            |2016-04-10 18:05:06



--- Comment #1 from Cole Robinson <crobinso@xxxxxxxxxx> ---
ethernet support was actually enabled for lxc via this commit:

commit 22cff52a2b8e06c913b1f97767e5d390fb17fc3b
Author: Anirban Chakraborty <abchak@xxxxxxxxxxx>
Date:   Tue Nov 18 15:55:48 2014 -0800

    network: Add network bandwidth support to ethernet interfaces


Which looks like libvirt v1.2.10 or v1.2.11

--
You are receiving this mail because:
You are on the CC list for the bug.
You reported the bug.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux