Uploaded image for project: 'vtn'
  1. vtn
  2. VTN-107

VTN portmap creation failed with vlan-id

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • ODC Driver
    • None
    • Operating System: All
      Platform: All

    • 5189

    Description

      When i configure portmapping with vlan-id under vbridge interface, creation throws error [500 'internal server error'].

      Steps followed:
      1) Create VTN, VBR
      2) Create VBRIF
      3) Failed - Create PORTMAP with vlan-id as below

      http://127.0.0.1:8083/vtn-webapi/vtns/vtnone/vbridges/vbrone/interfaces/vbrifone/portmap.json {"portmap": {"logical_port_id": "PP-openflow:3-s3-eth1", "tagged": "true", "vlan_id": "1"}}

      Portmap creation failed. Throws 500 internal error.

      Please find logs below,

      2016-02-03 00:03:05.959280: [16215]: DEBUG: vtndrvintf: 25,keytype
      2016-02-03 00:03:05.959288: [16215]: DEBUG: odcdriver: UNC_KT_VBRIF key type received
      2016-02-03 00:03:05.959295: [16215]: DEBUG: vtndrvintf: keytype:25, config_operation:3
      2016-02-03 00:03:05.959301: [16215]: DEBUG: vtndrvintf: execute_cmd: Translate Update Command string
      2016-02-03 00:03:05.959311: [16215]: INFO: odcdriver: vbr des : first vbrif for vbrone
      2016-02-03 00:03:05.959317: [16215]: DEBUG: odcdriver: settting vbrif admi_status default value as true
      2016-02-03 00:03:05.959350: [16215]: DEBUG: restjsonutil: User name and password is taken from controller pointer
      2016-02-03 00:03:05.959377: [16215]: DEBUG: restjsonutil: http://10.106.138.124:8181/restconf/operations/vtn-vinterface:update-vinterface Url formed
      2016-02-03 00:03:05.959386: [16215]: DEBUG: restjsonutil: HTTP_METHOD_POST
      2016-02-03 00:03:05.959396: [16215]: DEBUG: restjsonutil: Request Body : { "input":

      { "update-mode": "UPDATE", "operation": "ADD", "tenant-name": "vtnone", "bridge -name": "vbrone", "description": "first vbrif for vbrone", "enabled": true, "interface-name": "vbrifone" }

      }
      2016-02-03 00:03:05.959403: [16215]: INFO: restjsonutil: requestbody : { "input":

      { "update-mode": "UPDATE", "operation": "ADD", "tenant-name": "vtnone", "bridge-na me": "vbrone", "description": "first vbrif for vbrone", "enabled": true, "interface-name": "vbrifone" }

      }
      2016-02-03 00:03:05.971098: [16215]: DEBUG: restjsonutil: Allocates Memory ............
      2016-02-03 00:03:05.971138: [16215]: DEBUG: restjsonutil: Reallocate Memory...............
      2016-02-03 00:03:05.971716: [16215]: DEBUG: odcdriver: logical port received : PP-openflow:3-s3-eth1
      2016-02-03 00:03:05.971733: [16215]: INFO: odcdriver: switch_base:openflow
      2016-02-03 00:03:05.971740: [16215]: DEBUG: odcdriver: Switch id in port map openflow:3
      2016-02-03 00:03:05.971746: [16215]: DEBUG: odcdriver: Valid logical_port id
      2016-02-03 00:03:05.971755: [16215]: DEBUG: odcdriver: VALUE RECEIVED for LOGICAL PORT 1
      2016-02-03 00:03:05.971762: [16215]: DEBUG: odcdriver: logical_port_id is PP-openflow:3-s3-eth1
      2016-02-03 00:03:05.971780: [16215]: DEBUG: odcdriver: port name : s3-eth1
      2016-02-03 00:03:05.971787: [16215]: DEBUG: odcdriver: switch id : openflow:3
      2016-02-03 00:03:05.971814: [16215]: DEBUG: restjsonutil: User name and password is taken from controller pointer
      2016-02-03 00:03:05.971836: [16215]: DEBUG: restjsonutil: http://10.106.138.124:8181/restconf/operations/vtn-port-map:set-port-map Url formed
      2016-02-03 00:03:05.971845: [16215]: DEBUG: restjsonutil: HTTP_METHOD_POST
      2016-02-03 00:03:05.971853: [16215]: DEBUG: restjsonutil: Request Body : { "input":

      { "tenant-name": "vtnone", "bridge-name": "vbrone", "interface-name": "vbrifone ", "node": "openflow:3", "port-name": "s3-eth1", "vlan": 1 }

      }
      2016-02-03 00:03:05.971860: [16215]: INFO: restjsonutil: requestbody : { "input":

      { "tenant-name": "vtnone", "bridge-name": "vbrone", "interface-name": "vbrifone", "node": "openflow:3", "port-name": "s3-eth1", "vlan": 1 }

      }
      2016-02-03 00:03:05.983076: [16215]: DEBUG: restjsonutil: Allocates Memory ............
      2016-02-03 00:03:05.983822: [16215]: DEBUG: restjsonutil: Reallocate Memory...............
      2016-02-03 00:03:05.983878: [16215]: ERROR: odcdriver: put is not success , resp_code 400
      2016-02-03 00:03:05.983959: [16215]: ERROR: odcdriver: Vbr_if_portmap Update Failed
      2016-02-03 00:03:05.984047: [16215]: DEBUG: vtndrvintf: deleted config_cmd_ptr
      2016-02-03 00:03:05.984060: [16215]: DEBUG: vtndrvintf: 25,execute_cmd not success
      2016-02-03 00:03:05.984074: [16215]: DEBUG: tclib: TcLibWriteControllerInfo 450 Write controller info involved for controller_id controller1
      2016-02-03 00:03:05.984094: [16215]: INFO: tclib: TcLibWriteKeyValueDataInfo 683 write data succcess keytype 25 ctrlid controller1
      2016-02-03 00:03:05.984103: [16215]: ERROR: vtndrvintf: VOTE Failure in driver, ret 1
      2016-02-03 00:03:05.984109: [16215]: DEBUG: vtndrvintf: Exiting HandleCommitVoteRequest
      2016-02-03 00:03:05.984131: [16215]: DEBUG: vtndrvintf: ~ControllerFwUtil--oper_type:4
      2016-02-03 00:03:05.984138: [16215]: DEBUG: vtndrvintf: Write completed set write_in_progress_ FALSE

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            yogalakshmi.pa@hcl.com YOGA LAKSHMI SWETHA PAYYAVULA
            siva-karthik@hcl.com Karthik Sivasamy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: