Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-357

"149911505790454:br-ex-patch:flat" does not match required pattern "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • Boron
    • General
    • None
    • Operating System: All
      Platform: All

    • 7368

      When using a flat external network with mapping the provider network to a bridge br-ex, the following parsing failure is seen:
      2016-12-14 08:30:51,400 | ERROR | nPool-1-worker-3 | DataStoreJobCoordinator | 319 - org.opendaylight.genius.mdsalutil-api - 0.1.2.Boron-SR2 | Exception when executing jobEntry: JobEntry

      {key='VPNINTERFACE-149911505790454:br-ex-patch:flat', mainWorker=org.opendaylight.netvirt.vpnmanager.VpnInterfaceManager$1@652eebf9, rollbackWorker=null, retryCount=0, futures=null}

      java.lang.IllegalArgumentException: Supplied value "149911505790454:br-ex-patch:flat" does not match required pattern "^[0-9a-fA-F]

      {8}

      -[0-9a-fA-F]

      {4}-[0-9a-fA-F]{4}

      -[0-9a-fA-F]

      {4}

      -[0-9a-fA-F]

      {12}

      $"
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[59:com.google.guava:18.0.0]

      ###OVS output###
      [root@overcloud-controller-0 log]# ovs-vsctl show
      8036b159-2392-4d84-8a49-c7acfead9ee8
      Manager "ptcp:6639:127.0.0.1"
      is_connected: true
      Manager "tcp:192.30.9.5:6640"
      Bridge br-int
      Controller "tcp:192.30.9.5:6653"
      fail_mode: secure
      Port br-ex-patch
      Interface br-ex-patch
      type: patch
      options:

      {peer=br-ex-int-patch}

      Port br-int
      Interface br-int
      type: internal
      Bridge br-ex
      Port br-ex
      Interface br-ex
      type: internal
      Port "enp8s0"
      Interface "enp8s0"
      Port br-ex-int-patch
      Interface br-ex-int-patch
      type: patch
      options:

      {peer=br-ex-patch}

      ovs_version: "2.5.0"
      [root@overcloud-controller-0 log]# ovs-vsctl list Open_vSwitch
      _uuid : 8036b159-2392-4d84-8a49-c7acfead9ee8
      bridges : [18465ed6-c93d-49a8-87b6-4f5651076e73, 5066651f-6936-493f-b8d3-8bb2f7cbc94e]
      cur_cfg : 17
      datapath_types : [netdev, system]
      db_version : "7.12.1"
      external_ids :

      {system-id="41efe8af-707b-4c7d-8134-0a9b320c7997"}

      iface_types : [geneve, gre, internal, ipsec_gre, lisp, patch, stt, system, tap, vxlan]
      manager_options : [0b1e9990-16d9-451d-983d-a9e899c1e0ee, 8e4869e5-fa51-4ff3-8c37-50ca83ab8884]
      next_cfg : 17
      other_config :

      {local_ip="11.0.0.30", provider_mappings="datacentre:br-ex"}

      ovs_version : "2.5.0"
      ssl : []
      statistics : {}
      system_type : CentOS
      system_version : "7.2.1511-Core"

      ###neutron output###
      [stack@undercloud ~]$ neutron net-show external
      ---------------------------------------------------------------+

      Field Value

      ---------------------------------------------------------------+

      admin_state_up True
      availability_zone_hints  
      availability_zones nova
      created_at 2016-12-14T08:30:49Z
      description  
      id a3edee95-e805-4432-8c93-0c57c8a95a58
      ipv4_address_scope  
      ipv6_address_scope  
      is_default False
      mtu 1496
      name external
      port_security_enabled True
      project_id 9c8ef68bda7b4cdd80e09b604b7a6e63
      provider:network_type flat
      provider:physical_network datacentre
      provider:segmentation_id  
      revision_number 5
      router:external True
      shared False
      status ACTIVE
      subnets e4fefd85-9d16-42f3-8ae5-539c83b7b69b
      tags  
      tenant_id 9c8ef68bda7b4cdd80e09b604b7a6e63
      updated_at 2016-12-14T08:30:57Z

      ---------------------------------------------------------------+

      [stack@undercloud ~]$ neutron subnet-show external-net
      -------------------------------------------------------------------+

      Field Value

      -------------------------------------------------------------------+

      allocation_pools {"start": "172.30.9.200", "end": "172.30.9.220"}
      cidr 172.30.9.0/24
      created_at 2016-12-14T08:30:57Z
      description  
      dns_nameservers  
      enable_dhcp False
      gateway_ip 172.30.9.1
      host_routes  
      id e4fefd85-9d16-42f3-8ae5-539c83b7b69b
      ip_version 4
      ipv6_address_mode  
      ipv6_ra_mode  
      name external-net
      network_id a3edee95-e805-4432-8c93-0c57c8a95a58
      project_id 9c8ef68bda7b4cdd80e09b604b7a6e63
      revision_number 2
      service_types  
      subnetpool_id  
      tenant_id 9c8ef68bda7b4cdd80e09b604b7a6e63
      updated_at 2016-12-14T08:30:57Z

      -------------------------------------------------------------------+

      karaf logs attached

            n.vivekanandan@ericsson.com Vivekanandan Narasimhan
            trozet Tim Rozet
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: