ip addr output from the KVM host:

$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
group default qlen 1000
    link/ether 52:54:00:4f:0f:0f brd ff:ff:ff:ff:ff:ff
    inet 10.246.72.55/22 brd 10.246.75.255 scope global ens4
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe4f:f0f/64 scope link 
       valid_lft forever preferred_lft forever
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
4: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
group default qlen 1000
    link/ether 00:16:3e:00:00:00 brd ff:ff:ff:ff:ff:ff
    inet 10.0.3.1/24 scope global lxcbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::216:3eff:fe00:0/64 scope link 
       valid_lft forever preferred_lft forever
86: veth33NLN2@if85: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
master lxcbr0 state UP group default qlen 1000
    link/ether fe:c0:8a:bd:42:23 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::fcc0:8aff:febd:4223/64 scope link 
       valid_lft forever preferred_lft forever
88: vethMH25TY@if87: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
master lxcbr0 state UP group default qlen 1000
    link/ether fe:d8:c8:86:12:a8 brd ff:ff:ff:ff:ff:ff link-netnsid 1
    inet6 fe80::fcd8:c8ff:fe86:12a8/64 scope link 
       valid_lft forever preferred_lft forever
90: veth4J6PQB@if89: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
master lxcbr0 state UP group default qlen 1000
    link/ether fe:f5:f0:d6:ba:ac brd ff:ff:ff:ff:ff:ff link-netnsid 2
    inet6 fe80::fcf5:f0ff:fed6:baac/64 scope link 
       valid_lft forever preferred_lft forever


** Description changed:

  Steps:
-   1. Deploy a KVM node with Xenial, install linux-kvm on it
-   2. Run the ubutnu_lxc test from autotest-client-tests
+   1. Deploy a KVM node with Xenial, install linux-kvm on it
+   2. Run the ubutnu_lxc test from autotest-client-tests
  
  Output:
-   FAIL: python3: API
-   ---
-   Using image from local cache
-   Unpacking the rootfs
-   
-   ---
-   You just created an Ubuntu container (release=xenial, arch=amd64, 
variant=default)
-   
-   To enable sshd, run: apt-get install openssh-server
-   
-   For security reason, container images ship without user accounts
-   and without a root password.
-   
-   Use lxc-attach or chroot directly into the rootfs to set a root password
-   or create user accounts.
-   Getting instance for '785bd96e-41ef-11e8-a707-5254004f0f0f'
-   Creating rootfs using 'download', arch=amd64
-   Testing the configuration
-   Testing the networking
-   Starting the container
-   Getting the interface names
-   Traceback (most recent call last):
-     File "/tmp/tmp.jDauiqznXt", line 109, in <module>
-       assert(set(container.get_interfaces()) == set(('lo', 'eth0')))
-   AssertionError
+   FAIL: python3: API
+   ---
+   Using image from local cache
+   Unpacking the rootfs
+ 
+   ---
+   You just created an Ubuntu container (release=xenial, arch=amd64, 
variant=default)
+ 
+   To enable sshd, run: apt-get install openssh-server
+ 
+   For security reason, container images ship without user accounts
+   and without a root password.
+ 
+   Use lxc-attach or chroot directly into the rootfs to set a root password
+   or create user accounts.
+   Getting instance for '785bd96e-41ef-11e8-a707-5254004f0f0f'
+   Creating rootfs using 'download', arch=amd64
+   Testing the configuration
+   Testing the networking
+   Starting the container
+   Getting the interface names
+   Traceback (most recent call last):
+     File "/tmp/tmp.jDauiqznXt", line 109, in <module>
+       assert(set(container.get_interfaces()) == set(('lo', 'eth0')))
+   AssertionError
+ 
+ If you try to intercept the ontainer.get_interfaces() result, you'll see:
+ ('eth0', 'lo', 'sit0')
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-1021-kvm 4.4.0-1021.26
  ProcVersionSignature: User Name 4.4.0-1021.26-kvm 4.4.117
  Uname: Linux 4.4.0-1021-kvm x86_64
  ApportVersion: 2.20.1-0ubuntu2.16
  Architecture: amd64
  Date: Tue Apr 17 03:46:14 2018
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1764618

Title:
  python-API test in ubuntu_lxc will fail on X-kvm kernel

Status in linux-kvm package in Ubuntu:
  New

Bug description:
  Steps:
    1. Deploy a KVM node with Xenial, install linux-kvm on it
    2. Run the ubutnu_lxc test from autotest-client-tests

  Output:
    FAIL: python3: API
    ---
    Using image from local cache
    Unpacking the rootfs

    ---
    You just created an Ubuntu container (release=xenial, arch=amd64, 
variant=default)

    To enable sshd, run: apt-get install openssh-server

    For security reason, container images ship without user accounts
    and without a root password.

    Use lxc-attach or chroot directly into the rootfs to set a root password
    or create user accounts.
    Getting instance for '785bd96e-41ef-11e8-a707-5254004f0f0f'
    Creating rootfs using 'download', arch=amd64
    Testing the configuration
    Testing the networking
    Starting the container
    Getting the interface names
    Traceback (most recent call last):
      File "/tmp/tmp.jDauiqznXt", line 109, in <module>
        assert(set(container.get_interfaces()) == set(('lo', 'eth0')))
    AssertionError

  If you try to intercept the ontainer.get_interfaces() result, you'll see:
  ('eth0', 'lo', 'sit0')

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-1021-kvm 4.4.0-1021.26
  ProcVersionSignature: User Name 4.4.0-1021.26-kvm 4.4.117
  Uname: Linux 4.4.0-1021-kvm x86_64
  ApportVersion: 2.20.1-0ubuntu2.16
  Architecture: amd64
  Date: Tue Apr 17 03:46:14 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-kvm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1764618/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to