[Bug 1692545] [NEW] guests have unexpected network devices gretap0 and gre0

Scott Moser smoser at ubuntu.com
Mon May 22 14:49:01 UTC 2017


Public bug reported:

As first noticed in bug 1692028, some nova and nova-lxd guests have a
'gretap0' and 'gre0' device attached to them.

These devices
a.) have (at least in nova-lxd) no a 00:00:00:00:00:00 mac address
b.) are not described in the network information for the system.

This information collected from a nova-lxd guest:

$ ip a
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: gre0 at NONE: <NOARP> mtu 1476 qdisc noop state DOWN group default qlen 1
    link/gre 0.0.0.0 brd 0.0.0.0
3: gretap0 at NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
12: eth0 at if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1300 qdisc noqueue state UP group default qlen 1000
    link/ether fa:16:3e:d7:7d:ce brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 192.168.21.7/24 brd 192.168.21.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::f816:3eff:fed7:7dce/64 scope link
       valid_lft forever preferred_lft forever


$ curl -s http://169.254.169.254/openstack/2016-10-06/network_data.json | python3 -m json.tool
{
    "services": [
        {
            "type": "dns",
            "address": "10.245.160.2"
        }
    ],
    "networks": [
        {
            "network_id": "82fb3880-217e-48cf-8c15-75333cc7fb87",
            "link": "tapc19a40e4-2d",
            "type": "ipv4_dhcp",
            "id": "network0"
        }
    ],
    "links": [
        {
            "ethernet_mac_address": "fa:16:3e:d7:7d:ce",
            "mtu": 1458,
            "type": "ovs",
            "id": "tapc19a40e4-2d",
            "vif_id": "c19a40e4-2db1-4c11-946c-74efd9b1f678"
        }
    ]
}


$ sudo sh -c 'cd /sys/class/net && grep -r . g*' 2>errs
gre0/mtu:1476
gre0/type:778
gre0/netdev_group:0
gre0/flags:0x80
gre0/power/control:auto
gre0/power/async:disabled
gre0/power/runtime_enabled:disabled
gre0/power/runtime_active_kids:0
gre0/power/runtime_active_time:0
gre0/power/runtime_status:unsupported
gre0/power/runtime_usage:0
gre0/power/runtime_suspended_time:0
gre0/proto_down:0
gre0/addr_assign_type:0
gre0/dev_id:0x0
gre0/gro_flush_timeout:0
gre0/iflink:0
gre0/addr_len:4
gre0/address:00:00:00:00
gre0/operstate:down
gre0/carrier_changes:0
gre0/broadcast:00:00:00:00
gre0/queues/rx-0/rps_flow_cnt:0
gre0/queues/rx-0/rps_cpus:0
gre0/queues/tx-0/xps_cpus:0
gre0/queues/tx-0/tx_maxrate:0
gre0/queues/tx-0/tx_timeout:0
gre0/queues/tx-0/byte_queue_limits/limit:0
gre0/queues/tx-0/byte_queue_limits/limit_max:1879048192
gre0/queues/tx-0/byte_queue_limits/limit_min:0
gre0/queues/tx-0/byte_queue_limits/hold_time:1000
gre0/queues/tx-0/byte_queue_limits/inflight:0
gre0/tx_queue_len:1
gre0/uevent:INTERFACE=gre0
gre0/uevent:IFINDEX=2
gre0/statistics/rx_fifo_errors:0
gre0/statistics/collisions:0
gre0/statistics/rx_errors:0
gre0/statistics/rx_compressed:0
gre0/statistics/rx_dropped:0
gre0/statistics/tx_packets:0
gre0/statistics/tx_errors:0
gre0/statistics/rx_missed_errors:0
gre0/statistics/rx_over_errors:0
gre0/statistics/tx_carrier_errors:0
gre0/statistics/tx_heartbeat_errors:0
gre0/statistics/rx_crc_errors:0
gre0/statistics/multicast:0
gre0/statistics/tx_fifo_errors:0
gre0/statistics/tx_aborted_errors:0
gre0/statistics/rx_bytes:0
gre0/statistics/tx_compressed:0
gre0/statistics/tx_dropped:0
gre0/statistics/rx_packets:0
gre0/statistics/tx_bytes:0
gre0/statistics/tx_window_errors:0
gre0/statistics/rx_frame_errors:0
gre0/statistics/rx_length_errors:0
gre0/dev_port:0
gre0/ifindex:2
gre0/link_mode:0
gretap0/mtu:1462
gretap0/type:1
gretap0/netdev_group:0
gretap0/flags:0x1002
gretap0/power/control:auto
gretap0/power/async:disabled
gretap0/power/runtime_enabled:disabled
gretap0/power/runtime_active_kids:0
gretap0/power/runtime_active_time:0
gretap0/power/runtime_status:unsupported
gretap0/power/runtime_usage:0
gretap0/power/runtime_suspended_time:0
gretap0/proto_down:0
gretap0/addr_assign_type:0
gretap0/dev_id:0x0
gretap0/gro_flush_timeout:0
gretap0/iflink:0
gretap0/addr_len:6
gretap0/address:00:00:00:00:00:00
gretap0/operstate:down
gretap0/carrier_changes:0
gretap0/broadcast:ff:ff:ff:ff:ff:ff
gretap0/queues/rx-0/rps_flow_cnt:0
gretap0/queues/rx-0/rps_cpus:0
gretap0/queues/tx-0/xps_cpus:0
gretap0/queues/tx-0/tx_maxrate:0
gretap0/queues/tx-0/tx_timeout:0
gretap0/queues/tx-0/byte_queue_limits/limit:0
gretap0/queues/tx-0/byte_queue_limits/limit_max:1879048192
gretap0/queues/tx-0/byte_queue_limits/limit_min:0
gretap0/queues/tx-0/byte_queue_limits/hold_time:1000
gretap0/queues/tx-0/byte_queue_limits/inflight:0
gretap0/tx_queue_len:1000
gretap0/uevent:INTERFACE=gretap0
gretap0/uevent:IFINDEX=3
gretap0/statistics/rx_fifo_errors:0
gretap0/statistics/collisions:0
gretap0/statistics/rx_errors:0
gretap0/statistics/rx_compressed:0
gretap0/statistics/rx_dropped:0
gretap0/statistics/tx_packets:0
gretap0/statistics/tx_errors:0
gretap0/statistics/rx_missed_errors:0
gretap0/statistics/rx_over_errors:0
gretap0/statistics/tx_carrier_errors:0
gretap0/statistics/tx_heartbeat_errors:0
gretap0/statistics/rx_crc_errors:0
gretap0/statistics/multicast:0
gretap0/statistics/tx_fifo_errors:0
gretap0/statistics/tx_aborted_errors:0
gretap0/statistics/rx_bytes:0
gretap0/statistics/tx_compressed:0
gretap0/statistics/tx_dropped:0
gretap0/statistics/rx_packets:0
gretap0/statistics/tx_bytes:0
gretap0/statistics/tx_window_errors:0
gretap0/statistics/rx_frame_errors:0
gretap0/statistics/rx_length_errors:0
gretap0/dev_port:0
gretap0/ifindex:3
gretap0/link_mode:0


Related bugs:
 * bug 1692028: duplicate mac address during config-drive configuration with LXD container on openstack

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nova-compute-lxd 14.2.2-0ubuntu0.16.10.2~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62
Uname: Linux 4.4.0-78-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CrashDB:
 {
                "impl": "launchpad",
                "project": "cloud-archive",
                "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
             }
Date: Mon May 22 14:43:30 2017
Ec2AMI: ami-00000052
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nova-lxd
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.nova.nova-compute.conf: [deleted]
modified.conffile..etc.nova.rootwrap.d.lxd.filters: [deleted]

** Affects: cloud-archive
     Importance: Medium
         Status: Triaged


** Tags: amd64 apport-bug ec2-images package-from-proposed third-party-packages xenial

** Changed in: cloud-archive
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1692545

Title:
  guests have unexpected network devices gretap0 and gre0

Status in Ubuntu Cloud Archive:
  Triaged

Bug description:
  As first noticed in bug 1692028, some nova and nova-lxd guests have a
  'gretap0' and 'gre0' device attached to them.

  These devices
  a.) have (at least in nova-lxd) no a 00:00:00:00:00:00 mac address
  b.) are not described in the network information for the system.

  This information collected from a nova-lxd guest:

  $ ip a
  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: gre0 at NONE: <NOARP> mtu 1476 qdisc noop state DOWN group default qlen 1
      link/gre 0.0.0.0 brd 0.0.0.0
  3: gretap0 at NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN group default qlen 1000
      link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
  12: eth0 at if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1300 qdisc noqueue state UP group default qlen 1000
      link/ether fa:16:3e:d7:7d:ce brd ff:ff:ff:ff:ff:ff link-netnsid 0
      inet 192.168.21.7/24 brd 192.168.21.255 scope global eth0
         valid_lft forever preferred_lft forever
      inet6 fe80::f816:3eff:fed7:7dce/64 scope link
         valid_lft forever preferred_lft forever

  
  $ curl -s http://169.254.169.254/openstack/2016-10-06/network_data.json | python3 -m json.tool
  {
      "services": [
          {
              "type": "dns",
              "address": "10.245.160.2"
          }
      ],
      "networks": [
          {
              "network_id": "82fb3880-217e-48cf-8c15-75333cc7fb87",
              "link": "tapc19a40e4-2d",
              "type": "ipv4_dhcp",
              "id": "network0"
          }
      ],
      "links": [
          {
              "ethernet_mac_address": "fa:16:3e:d7:7d:ce",
              "mtu": 1458,
              "type": "ovs",
              "id": "tapc19a40e4-2d",
              "vif_id": "c19a40e4-2db1-4c11-946c-74efd9b1f678"
          }
      ]
  }

  
  $ sudo sh -c 'cd /sys/class/net && grep -r . g*' 2>errs
  gre0/mtu:1476
  gre0/type:778
  gre0/netdev_group:0
  gre0/flags:0x80
  gre0/power/control:auto
  gre0/power/async:disabled
  gre0/power/runtime_enabled:disabled
  gre0/power/runtime_active_kids:0
  gre0/power/runtime_active_time:0
  gre0/power/runtime_status:unsupported
  gre0/power/runtime_usage:0
  gre0/power/runtime_suspended_time:0
  gre0/proto_down:0
  gre0/addr_assign_type:0
  gre0/dev_id:0x0
  gre0/gro_flush_timeout:0
  gre0/iflink:0
  gre0/addr_len:4
  gre0/address:00:00:00:00
  gre0/operstate:down
  gre0/carrier_changes:0
  gre0/broadcast:00:00:00:00
  gre0/queues/rx-0/rps_flow_cnt:0
  gre0/queues/rx-0/rps_cpus:0
  gre0/queues/tx-0/xps_cpus:0
  gre0/queues/tx-0/tx_maxrate:0
  gre0/queues/tx-0/tx_timeout:0
  gre0/queues/tx-0/byte_queue_limits/limit:0
  gre0/queues/tx-0/byte_queue_limits/limit_max:1879048192
  gre0/queues/tx-0/byte_queue_limits/limit_min:0
  gre0/queues/tx-0/byte_queue_limits/hold_time:1000
  gre0/queues/tx-0/byte_queue_limits/inflight:0
  gre0/tx_queue_len:1
  gre0/uevent:INTERFACE=gre0
  gre0/uevent:IFINDEX=2
  gre0/statistics/rx_fifo_errors:0
  gre0/statistics/collisions:0
  gre0/statistics/rx_errors:0
  gre0/statistics/rx_compressed:0
  gre0/statistics/rx_dropped:0
  gre0/statistics/tx_packets:0
  gre0/statistics/tx_errors:0
  gre0/statistics/rx_missed_errors:0
  gre0/statistics/rx_over_errors:0
  gre0/statistics/tx_carrier_errors:0
  gre0/statistics/tx_heartbeat_errors:0
  gre0/statistics/rx_crc_errors:0
  gre0/statistics/multicast:0
  gre0/statistics/tx_fifo_errors:0
  gre0/statistics/tx_aborted_errors:0
  gre0/statistics/rx_bytes:0
  gre0/statistics/tx_compressed:0
  gre0/statistics/tx_dropped:0
  gre0/statistics/rx_packets:0
  gre0/statistics/tx_bytes:0
  gre0/statistics/tx_window_errors:0
  gre0/statistics/rx_frame_errors:0
  gre0/statistics/rx_length_errors:0
  gre0/dev_port:0
  gre0/ifindex:2
  gre0/link_mode:0
  gretap0/mtu:1462
  gretap0/type:1
  gretap0/netdev_group:0
  gretap0/flags:0x1002
  gretap0/power/control:auto
  gretap0/power/async:disabled
  gretap0/power/runtime_enabled:disabled
  gretap0/power/runtime_active_kids:0
  gretap0/power/runtime_active_time:0
  gretap0/power/runtime_status:unsupported
  gretap0/power/runtime_usage:0
  gretap0/power/runtime_suspended_time:0
  gretap0/proto_down:0
  gretap0/addr_assign_type:0
  gretap0/dev_id:0x0
  gretap0/gro_flush_timeout:0
  gretap0/iflink:0
  gretap0/addr_len:6
  gretap0/address:00:00:00:00:00:00
  gretap0/operstate:down
  gretap0/carrier_changes:0
  gretap0/broadcast:ff:ff:ff:ff:ff:ff
  gretap0/queues/rx-0/rps_flow_cnt:0
  gretap0/queues/rx-0/rps_cpus:0
  gretap0/queues/tx-0/xps_cpus:0
  gretap0/queues/tx-0/tx_maxrate:0
  gretap0/queues/tx-0/tx_timeout:0
  gretap0/queues/tx-0/byte_queue_limits/limit:0
  gretap0/queues/tx-0/byte_queue_limits/limit_max:1879048192
  gretap0/queues/tx-0/byte_queue_limits/limit_min:0
  gretap0/queues/tx-0/byte_queue_limits/hold_time:1000
  gretap0/queues/tx-0/byte_queue_limits/inflight:0
  gretap0/tx_queue_len:1000
  gretap0/uevent:INTERFACE=gretap0
  gretap0/uevent:IFINDEX=3
  gretap0/statistics/rx_fifo_errors:0
  gretap0/statistics/collisions:0
  gretap0/statistics/rx_errors:0
  gretap0/statistics/rx_compressed:0
  gretap0/statistics/rx_dropped:0
  gretap0/statistics/tx_packets:0
  gretap0/statistics/tx_errors:0
  gretap0/statistics/rx_missed_errors:0
  gretap0/statistics/rx_over_errors:0
  gretap0/statistics/tx_carrier_errors:0
  gretap0/statistics/tx_heartbeat_errors:0
  gretap0/statistics/rx_crc_errors:0
  gretap0/statistics/multicast:0
  gretap0/statistics/tx_fifo_errors:0
  gretap0/statistics/tx_aborted_errors:0
  gretap0/statistics/rx_bytes:0
  gretap0/statistics/tx_compressed:0
  gretap0/statistics/tx_dropped:0
  gretap0/statistics/rx_packets:0
  gretap0/statistics/tx_bytes:0
  gretap0/statistics/tx_window_errors:0
  gretap0/statistics/rx_frame_errors:0
  gretap0/statistics/rx_length_errors:0
  gretap0/dev_port:0
  gretap0/ifindex:3
  gretap0/link_mode:0

  
  Related bugs:
   * bug 1692028: duplicate mac address during config-drive configuration with LXD container on openstack

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: nova-compute-lxd 14.2.2-0ubuntu0.16.10.2~cloud0 [origin: Canonical]
  ProcVersionSignature: Ubuntu 4.4.0-78.99-generic 4.4.62
  Uname: Linux 4.4.0-78-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CrashDB:
   {
                  "impl": "launchpad",
                  "project": "cloud-archive",
                  "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
               }
  Date: Mon May 22 14:43:30 2017
  Ec2AMI: ami-00000052
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.medium
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nova-lxd
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.nova.nova-compute.conf: [deleted]
  modified.conffile..etc.nova.rootwrap.d.lxd.filters: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1692545/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list