Closed swati1mehra closed 7 years ago
I have updated the /etc/openbaton/openbaton.properties file: nfvo.rabbit.brokerIp = localhost to: nfvo.rabbit.brokerIp =
to what?
To my nfvo ip 172.16.113.76 (the local sever IP where i installed openbaton)
then please share with us the log of the VM, in particular: /var/log/cloud-init-output.log and /var/log/openbaton/*
Hi Its a cirros VM. Please find attached the /var/log/messages for this VM. Also find attached /var/log/openbaton/* Regards Swati
Let me know if any other logs are needed. Thanks.
The EMS can be installed only on centos or ubuntu OS. Unfortunately cirros is not supported, we are also trying to extend the list of supported OS or finding a non OS dependent way of installing the EMS. For now i suggest to try with an ubuntu or centos image.
Hi I have tried with Ubuntu image but still receive this error. Please find attached the var/log/cloud-init-output.log for the VM and the openbaton logs. cloud-init-output.zip openbaton.zip
Also cloud-init-output logs suggest that EMS is already installed.
yes, looks weird. Could you please check whether the file /etc/openbaton/ems/conf.ini exists in the VM, and in the positive case, could you please send us the content of that file? Please remove any password before sending.
Please let us know also:
Hi
Using Ubuntu Trusty QCOW2 image to launch the VM. Please see the output below -
ubuntu@ubuntu-385502:/etc/openbaton/ems$ vi conf.ini [ems] broker_ip=172.16.113.76 broker_port=5672 username=admin password=***** exchange=openbaton-exchange heartbeat=120 autodelete=true type=generic hostname=ubuntu-385502
ubuntu@ubuntu-385502:/var/log$ dpkg -l | grep ems ii dosfstools 3.0.26-1ubuntu0.1 amd64 ii init-system-helpers 1.14ubuntu1 all ii irqbalance 1.0.6-2ubuntu0.14.04.4 amd64 ii libbsd0:amd64 0.6.0-2ubuntu1 amd64 ii mount 2.20.1-5.1ubuntu20.9 amd64 ii tasksel 2.88ubuntu15 all ii tasksel-data 2.88ubuntu15 all ii zerofree 1.0.2-1ubuntu1 amd64
I have just tested with ubuntu xenial too and get the same results ->
017-06-29 16:52:53.907 INFO 18061 --- [SimpleAsyncTaskExecutor-2] org.openbaton.nfvo.vnfm_reg.VnfmManager : Executing Task errorTask for vnfr xenial. Cyclic=false 2017-06-29 16:52:53.911 ERROR 18061 --- [OpenbatonTask-2] o.o.n.v.tasks.abstracts.AbstractTask : ERROR from VNFM: java.lang.RuntimeException: No EMS yet for host with extracted host ID: 339841 2017-06-29 16:52:53.925 ERROR 18061 --- [OpenbatonTask-2] o.o.n.v.tasks.abstracts.AbstractTask : Received ERROR message from VNFM related to VNFR: xenial
OK, I think you are facing this bug: https://github.com/openbaton/generic-vnfm/issues/25
We are working on it, maybe a new debian package for the generic-vnfm will be provided soon. Otherwise, in the meanwhile, you could replace the default user-data file with the one provided here: https://github.com/openbaton/generic-vnfm/blob/50e0094cf6c068fe9832232d6e78a536f4b892b6/src/main/resources/user-data.sh
you can put in the /etc/openbaton folder calling it openbaton-vnfm-generic-user-data.sh
Thanks. Adding the openbaton-vnfm-generic-user-data.sh file resolved the issue. This file was missing in the /etc/openbaton folder.
it is normal that the file is not in the /etc/openbaton folder after installation. We decided to keep as default version the one in the jar file.
Hi
I am able to launch the NSD and deploy nodes from a template image.
I get the error message "No EMS yet for host with extracted ID: ".
Setup: NFVO 3.2.0 Openstack Mitaka
I have updated the /etc/openbaton/openbaton.properties file: nfvo.rabbit.brokerIp = localhost to: nfvo.rabbit.brokerIp =
I am still getting the EMS error.
Generic-vnfm logs -> 2017-06-27 14:47:47.988 INFO 17929 --- [SimpleAsyncTaskExecutor-2] o.o.common.vnfm_sdk.AbstractVnfm : Instantiation of VirtualNetworkFunctionRecord vnfd-1 2017-06-27 14:47:47.993 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : EMSRegister adding: vnfd-1-3446806 2017-06-27 14:47:47.998 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Starting wait of EMS for: vnfd-1-3446806 2017-06-27 14:47:48.003 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Number of expected EMS hostnames: 1 2017-06-27 14:47:48.007 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Waiting for vnfd-1-3446806 EMS to be started... (0 secs) 2017-06-27 14:47:48.012 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Expected hostnames: [vnfd-1-3446806] 2017-06-27 14:47:53.017 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Number of expected EMS hostnames: 1 2017-06-27 14:47:53.022 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Waiting for vnfd-1-3446806 EMS to be started... (5 secs) 2017-06-27 14:47:53.027 DEBUG 17929 --- [SimpleAsyncTaskExecutor-2] o.o.v.g.core.ElementManagementSystem : Expected hostnames: [vnfd-1-3446806]
Openbaton logs -> 2017-06-27 14:47:47.923 INFO 18061 --- [OpenbatonTask-6] o.o.n.v.tasks.abstracts.AbstractTask : Finished task: AllocateResources for VNFR: vnfd-1 2017-06-27 14:56:06.753 INFO 18061 --- [SimpleAsyncTaskExecutor-4] org.openbaton.nfvo.vnfm_reg.VnfmManager : Executing Task errorTask for vnfr vnfd-1. Cyclic=false 2017-06-27 14:56:06.758 ERROR 18061 --- [OpenbatonTask-7] o.o.n.v.tasks.abstracts.AbstractTask : ERROR from VNFM: java.lang.RuntimeException: No EMS yet for host with extracted host ID: 3446806 2017-06-27 14:56:06.773 ERROR 18061 --- [OpenbatonTask-7] o.o.n.v.tasks.abstracts.AbstractTask : Received ERROR message from VNFM related to VNFR: vnfd-1
Please help with this issue.
Regards Swati