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

Unable to use the restconf on the other members in the 3-node cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • unspecified
    • VTN Manager
    • None
    • Operating System: All
      Platform: All

    • 6702

      Issue : The create RPC fails when trying to configure the network in the other two members of the 3-node cluster.

      Scenario: After creating the 3-node cluster, While trying to configure the network, the Create RPC works only for the member-1 in the cluster. The other two members return error saying that the method has not been implemented.

      Among the three machines, first created VTN1 in the machine ODL1 ,whcich was successful. Then tried to create vbr1 from the other machine ODL2. Error occurs at this point.PFB for the same:

      curl -v --user "admin":"admin" -H "Content-type: application/json" -X POST http://localhost:8181/restconf/operations/vtn-vbridge:update-vbridge -d '{"input":{"tenant-name":"vtn1", "bridge-name":"vbr1"}}'

      • About to connect() to localhost port 8181 (#0)
      • Trying ::1...
      • Connected to localhost (::1) port 8181 (#0)
      • Server auth using Basic with user 'admin'
        > POST /restconf/operations/vtn-vbridge:update-vbridge HTTP/1.1
        > Authorization: Basic YWRtaW46YWRtaW4=
        > User-Agent: curl/7.29.0
        > Host: localhost:8181
        > Accept: /
        > Content-type: application/json
        > Content-Length: 54
        >
      • upload completely sent off: 54 out of 54 bytes
        < HTTP/1.1 501 Not Implemented
        < Set-Cookie: JSESSIONID=1xrsx4m1bp9xx1v4vi6yvgmpyk;Path=/restconf
        < Expires: Thu, 01 Jan 1970 00:00:00 GMT
        < Set-Cookie: rememberMe=deleteMe; Path=/restconf; Max-Age=0; Expires=Mon, 12-Sep-2016 18:23:22 GMT
        < Content-Type: application/json
        < Transfer-Encoding: chunked
        < Server: Jetty(8.1.19.v20160209)
        <
      • Connection #0 to host localhost left intact
        {"errors":{"error":[
        Unknown macro: {"error-type"}

        ]}}[root@localhost data]#

      Only the CREATE RPC fails, the GET works fine in all the three machines.

            Unassigned Unassigned
            yogalakshmi.pa@hcl.com YOGA LAKSHMI SWETHA PAYYAVULA
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: