openbaton / NFVO

Repository containing the source code of the NFVO
Apache License 2.0
61 stars 56 forks source link

creating NSR in openbaton on an openstack instance giving error "imageubuntu is not contained into the images of the vimInstance chosen" #237

Closed sipian closed 6 years ago

sipian commented 6 years ago

I am installing OpenBaton on an instance on a private network in OpenStack (Pike release). The screenshot of the network-topology is attached below image

On changing the routing table of my OpenStack machine I can ping as well as ssh into this instance from my OpenStack machine terminal. I can also ping my OpenStack machine from this instance

Now I created a POP in OpenBaton as follows

{  
   "name":"pop",
   "authUrl":"http://<openstack-server-ip>/identity/v3",
   "tenant":"673bf2477d4a48eeb32433b175dd1c19",
   "username":"admin",
   "password":"xxxxx",
   "keyPair":"openbatonkeypair",
   "securityGroups":[  
      "default"
   ],
   "type":"openstack",
}

Now I am trying to create the iPerf Network Service as given here. I am using this JSON as my Network Service Descriptor.

But I am always getting an error as

Exception was thrown -> Return message: Regarding the VirtualNetworkFunctionDescriptor iperf-client: in one of the VirtualDeploymentUnit, imageubuntu is not contained into the images of the vimInstance chosen. Please choose one from: [] or from []

I am attaching a screenshot of the images in my OpenStack project image

I have uploaded openbaton.log and generic-vnfm.log

gc4rella commented 6 years ago

hi @sipian could you please provide also the logs of the openstack4j vim driver/plugin? if you have used the bootstrap (binary) installation, they should also be located somewhere in /var/log/openbaton/.

My assumption is that your OpenStack setup uses glance v3 APIs, which probably are not supported by the openstack4j vim driver (but there were other users making that work..).

sipian commented 6 years ago

Hi @gc4rella , These are the log files that I are there in /var/log/openbaton/plugins plugin-openstack_2017-12-09_10-50-03.log plugin-test_2017-12-09_10-44-42.log plugin-test_2017-12-09_10-45-40.log plugin-test_2017-12-09_10-50-02.log

And I'll also try testing with a release that uses v2 APIs

sipian commented 6 years ago

The problem went away after I installed OpenStack Newton release. Thanks @gc4rella for your help.

gc4rella commented 6 years ago

OK, as said the problem should be due to the new version of the glance APIs. We are working on it, and we'll make sure they will be supported by default in upcoming versions of the plugin.