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

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

Hi Team

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

<domain type="lxc">
    <type machine="virt">exe</type>
    <cmdline>root=/dev/ram0 rw  console=ttyAMA0 rootwait earlyprintk</cmdline>
  <clock offset="utc"/>
    <interface type='ethernet'>
      <mac address='02:74:ff:9d:52:f5'/>
      <script path=''/>
      <target dev='tap74f2-f5'/>
    <console type="pty"/>

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

Abhishek Jain

On Mon, Apr 11, 2016 at 3:35 AM, <bugzilla redhat com> wrote:

Cole Robinson <crobinso redhat com> changed:

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

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

commit 22cff52a2b8e06c913b1f97767e5d390fb17fc3b
Author: Anirban Chakraborty <abchak juniper net>
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.

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