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

Open Baton can't list the images of OpenStack-Rocky #19

Open
mkh18 opened this issue Mar 25, 2019 · 0 comments
Open

Open Baton can't list the images of OpenStack-Rocky #19

mkh18 opened this issue Mar 25, 2019 · 0 comments

Comments

@mkh18
Copy link

mkh18 commented Mar 25, 2019

I have downloaded the default scenario of OpenBaton (docker-compose.yml ) and When adding Openstack-Rocky as a PoP, OpenBaton can't list the active images, and when trying to download an image in the VNFD I get the below error
"Regarding the VirtualNetworkFunctionDescriptor OpenIMSCore: in one of the VirtualDeploymentUnit, none of the images [8e7a6393-92a0-440d-b68b-a17044603404, http://releases.ubuntu.com/16.04/ubuntu-16.04.6-server-amd64.iso] is not contained into the images of the vimInstance chosen. Please choose one from: [] or from []. Error code: 422"

NFVO log:
nfvo_1 | 2019-03-25 11:24:44.251 WARN 1 --- [nio-8080-exec-8] o.o.n.a.i.AuthorizeInterceptor : AnonymousUser requesting method: GET on /error
nfvo_1 | 2019-03-25 11:24:47.423 WARN 1 --- [nio-8080-exec-2] o.o.n.a.i.AuthorizeInterceptor : AnonymousUser requesting method: GET on /error
nfvo_1 | 2019-03-25 11:24:47.604 WARN 1 --- [nio-8080-exec-5] o.o.n.a.i.AuthorizeInterceptor : AnonymousUser requesting method: GET on /error
nfvo_1 | 2019-03-25 11:27:35.952 INFO 1 --- [nio-8080-exec-9] o.o.nfvo.core.api.VNFPackageManagement : Uploading a new Image
nfvo_1 | 2019-03-25 11:27:40.267 INFO 1 --- [nio-8080-exec-9] org.openbaton.vim_impl.vim.GenericVIM : Added Image with name: cloudimg to VimInstance Sahnaya-openstack
nfvo_1 | 2019-03-25 11:27:40.313 INFO 1 --- [tonAsyncTask-27] o.openbaton.nfvo.core.api.VimManagement : Refreshing vim Sahnaya-openstack
nfvo_1 | 2019-03-25 11:27:56.791 INFO 1 --- [tonAsyncTask-26] org.openbaton.vim_impl.vim.GenericVIM : Listed Images of VimInstance Sahnaya-openstack
nfvo_1 | 2019-03-25 11:27:56.792 INFO 1 --- [tonAsyncTask-26] o.openbaton.nfvo.core.api.ImageChecker : All images are active
nfvo_1 | 2019-03-25 11:27:56.838 INFO 1 --- [tonAsyncTask-27] o.openbaton.nfvo.core.api.VimManagement : Refreshing vim Sahnaya-openstack
nfvo_1 | 2019-03-25 11:28:41.739 INFO 1 --- [nio-8080-exec-6] n.c.a.NetworkServiceDescriptorManagement : Starting onboarding process for NSD: test
nfvo_1 | 2019-03-25 11:28:41.755 INFO 1 --- [nio-8080-exec-6] n.c.a.NetworkServiceDescriptorManagement : Checking if Vnfm is running...
nfvo_1 | 2019-03-25 11:28:41.773 ERROR 1 --- [nio-8080-exec-6] o.o.n.a.e.GlobalExceptionHandler : Exception was thrown -> Return message: Regarding the VirtualNetworkFunctionDescriptor OpenIMSCore: in one of the VirtualDeploymentUnit, none of the images [8e7a6393-92a0-440d-b68b-a17044603404, http://releases.ubuntu.com/16.04/ubuntu-16.04.6-server-amd64.iso] is not contained into the images of the vimInstance chosen. Please choose one from: [] or from []

Openstack4j log:
2019-03-25 11:28:00:419 +0000 [pool-55-thread-1] WARN org.openbaton.drivers.openstack4j.OpenStack4JDriver - Listing images of VIM Sahnaya-openstack (b9a45090-94fb-4a4f-8cd0-3d23b724a5a7) using Glance v2 threw exception: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token
at [Source: java.io.ByteArrayInputStream@47813fd4; line: 1, column: 1114] (through reference chain: org.openstack4j.openstack.image.v2.domain.GlanceImage$Images["images"]->java.util.ArrayList[1]->org.openstack4j.openstack.image.v2.domain.GlanceImage["locations"]->java.util.ArrayList[0])
2019-03-25 11:28:00:420 +0000 [pool-55-thread-1] DEBUG org.openbaton.drivers.openstack4j.OpenStack4JDriver - No images found using Glance v2. Falling back to v1.
2019-03-25 11:28:00:436 +0000 [pool-55-thread-1] INFO org.openbaton.drivers.openstack4j.OpenStack4JDriver - Listed 0 images for BaseVimInstance Sahnaya-openstack (b9a45090-94fb-4a4f-8cd0-3d23b724a5a7) :

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