Skip to content

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

Open
@zqtdd

Description

@zqtdd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions