openbaton / generic-vnfm

Repository containing the source code of the generic VNFM
Apache License 2.0
20 stars 20 forks source link

Configuration was ignored because of wrong path in start-script #31

Closed szengerle closed 7 years ago

szengerle commented 7 years ago

I used the bootstrap method to install the dev-environment. The config file for the generic-vnfm was placed at: /etc/openbaton/openbaton-vnfm-generic.properties The start script searched for: /etc/openbaton/generic-vnfm.properties

As an interim solution I used an symbolic link sudo ln -s /etc/openbaton/openbaton-vnfm-generic.properties /etc/openbaton/generic-vnfm.properties

szengerle commented 7 years ago

It would also be helpful in some cases if the loaded configuration will be printed out in the logfile like it is during NFVO startup:

2017-08-13 11:12:48.436 DEBUG 23041 --- [ main] org.openbaton.nfvo.system.SystemStartup : Property file: /etc/openbaton/openbaton.properties 2017-08-13 11:12:48.437 DEBUG 23041 --- [ main] org.openbaton.nfvo.system.SystemStartup : Config Values are: [${nfvo.rabbit.brokerIp}, org.mariadb.jdbc.Driver, 30, openbaton, admin, 2046MB, false, true, true, gson, true, true, false, ./plugin-logs, true, true, true, update, true, false, false, jdbc:mysql://localhost:3306/openbaton, 5, /var/log/openbaton/openbaton.log, secret, true, WARN, true, false, , 30, 300000, NFVO OpenBaton, false, true, secret, 10, true, admin, org.hibernate.dialect.MySQLDialect, false, 1, 5672, WARN, SELECT 1, 500, false, marketplace.openbaton.org, false, WARN, 100.64.0.163, ./plugins, 30, WARN, 250, 60, 2046MB, 20, 8082, true, 60, 15672, DEBUG]

lorenzotomasini commented 7 years ago

@flaviomu any update here?

flaviomu commented 7 years ago

it is fixed