Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-731

Instance API fails when kind Network is created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • El Alto Release
    • Dublin Release
    • MULTICLOUD-K8S
    • None
    • SB-00 on latest version of plugin created 16th of July

      ubuntu@onap-k8s-region1:~/onap$ curl -d @create_rbinstance.json http://${K8S_NODE_IP}:30280/api/multicloud-k8s/v1/v1/instance
      Create Kubernetes Resources: Error creating kind: /v1, Kind=Network: Error loading plugin: ExportedVariable does not implement plugins.Reference interface type 
       
      Below is information about created profile and attached you can find whole package.
       
      ubuntu@onap-k8s-region1:~/onap$ curl -i -d @create_rbprofile.json -X POST http://${K8S_NODE_IP}:30280/api/multicloud-k8s/v1/v1/rb/definition/K8sVspFinal..base_dummy..module-0/1/profile
      HTTP/1.1 201 Created
      Server: openresty
      Date: Mon, 22 Jul 2019 10:14:32 GMT
      Content-Type: application/json
      Content-Length: 171
      Connection: keep-alive

      {"rb-name":"K8sVspFinal..base_dummy..module-0","rb-version":"1","profile-name":"p1","release-name":"r1","namespace":"testns1","kubernetes-version":"1.12.3","labels":null}

      ubuntu@onap-k8s-region1:~/onap$ curl -i --data-binary @profile.tar.gz -X POST http://${K8S_NODE_IP}:30280/api/multicloud-k8s/v1/v1/rb/definition/K8sVspFinal..base_dummy..module-0/1/profile/p1/content
      HTTP/1.1 100 Continue

      HTTP/1.1 200 OK
      Server: openresty
      Date: Mon, 22 Jul 2019 10:14:46 GMT
      Content-Type: text/html
      Content-Length: 0
      Connection: keep-alive

      ubuntu@onap-k8s-region1:~/onap$ cat create_rbinstance.json
      {
         "cloud-region": "k8scloudregion1",
         "profile-name": "p1",
         "rb-name":"K8sVspFinal..base_dummy..module-0",
         "rb-version":"1",
         "labels":

      {    }

      }

            kirankamineni kirankamineni
            rajewluk Lukasz Rajewski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: