Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zqtdd opened this issue Dec 12, 2019 · 0 comments

Comments

@zqtdd
Copy link

zqtdd commented Dec 12, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant