NFVO icon indicating copy to clipboard operation
NFVO copied to clipboard

Not able to allocate Resources because: Not launched VM with hostname iperf-client-2816476 successfully on VimInstance test1

Open zqtdd opened this issue 6 years ago • 0 comments

Hello,

I was trying to run an NS by following this https://openbaton.github.io/documentation/iperf-NSR/ but there are some error when launch the NS Descriptor JSON Files

ERROR:org.openbaton.common.vnfm_sdk.exception.VnfmSdkException: Not able to allocate Resources because: Not launched VM with hostname iperf-client-2816476 successfully on VimInstance test1. Caused by: org.openbaton.exceptions.VimDriverException: Internal Server Error

this is my NS Descriptor JSON Files

{
  "name":"NSD iperf + floatingIPs",
  "vendor":"FOKUS",
  "version":"1.0",
  "vld":[
    {
      "name":"provider"
    }
  ],
  "vnfd":[
    {
      "name":"iperf-client",
      "vendor":"FOKUS",
      "version":"1.0",
      "lifecycle_event":[
        {
          "event":"CONFIGURE",
          "lifecycle_events":[
            "server_configure_floatingIp.sh"
          ]
        },
        {
          "event":"INSTANTIATE",
          "lifecycle_events":[
            "install.sh"
          ]
        }
      ],
      "vdu":[
        {
          "vm_image":[
            "2"
          ],
          "scale_in_out":1,
          "vnfc":[
            {
              "connection_point":[
                {
                  "floatingIp":"random",
                  "virtual_link_reference":"provider",
                  "interfaceId":0
                }
              ]
            }
          ],
          "vimInstanceName":[]
        }
      ],
      "virtual_link":[
        {
          "name":"provider"
        }
      ],
      "deployment_flavour":[
        {
          "flavour_key":"2"
        }
      ],
      "type":"client",
      "endpoint":"generic",
      "vnfPackageLocation":"https://github.com/openbaton/vnf-scripts.git",
      "requires": {
        "iperf-server": {
          "parameters":["private","hostname"]
        }
      }
    },
    {
      "name":"iperf-server",
      "vendor":"FOKUS",
      "version":"1.0",
      "lifecycle_event":[
        {
          "event":"INSTANTIATE",
          "lifecycle_events":[
            "install.sh",
            "install-srv.sh"
          ]
        }
      ],
      "virtual_link":[
        {
          "name":"provider"
        }
      ],
      "deployment_flavour":[
        {
          "flavour_key":"2"
        }
      ],
      "vdu":[
        {
          "vm_image":[
            "2"
          ],
          "scale_in_out":3,
          "vnfc":[
            {
              "connection_point":[
                {
                  "floatingIp":"random",
                  "virtual_link_reference":"provider",
                  "interfaceId":0
                }
              ]
            }
          ],
          "vimInstanceName":[]
        }
      ],
      "type":"server",
      "endpoint":"generic",
      "vnfPackageLocation":"https://github.com/openbaton/vnf-scripts.git"
    }
  ]
}


anyone can help me, thank you.

zqtdd avatar Dec 12 '19 11:12 zqtdd