Closed rwoznica closed 6 years ago
Looks like the environment variable for Cyclops is not properly set, can you include the configuration files (all services) so that we can analyze the issue more properly?
Cyclops Dev-Team
Dr. Piyush Harsh, Ph.D. Researcher, InIT Cloud Computing Lab Zurich University of Applied Sciences (ZHAW) [Site] http://piyush-harsh.info [Google-Scholar] https://scholar.google.ch/citations?hl=en&user=kaSUIp8AAAAJ
[Research Lab] blog.zhaw.ch/icclab Fax: +41(0)58.935.7403 GPG Keyid: 9C5A8838
On Mon, Feb 15, 2016 at 12:07 AM, rwoznica notifications@github.com wrote:
Dear all,
I am getting
Error while getting the Application Class loaded: ch.icclab.cyclops.dashboard.applicationFactory.McnDashboardApplicationFactory
in /var/log/cyclops/dashboard.log.
All steps seems to be done, no visible signs of error (other than that one). Any idea?
Thank you
— Reply to this email directly or view it on GitHub https://github.com/icclab/cyclops-dashboard/issues/3.
Sure, here they are. Single machine (local) deployement.
There used to be section like this in Dashboard configuration file (now changed to „Environment=“)
######################## ADVANCED SETTINGS ######################
Environment=Mcn
Best regards
Radim Woznica
From: Piyush Harsh [mailto:notifications@github.com] Sent: Monday, February 15, 2016 12:53 PM To: icclab/cyclops-dashboard cyclops-dashboard@noreply.github.com Cc: rwoznica woznica@seznam.cz Subject: Re: [cyclops-dashboard] ch.icclab.cyclops.dashboard.applicationFactory.McnDashboardApplicationFactory (#3)
Looks like the environment variable for Cyclops is not properly set, can you include the configuration files (all services) so that we can analyze the issue more properly?
Cyclops Dev-Team
Dr. Piyush Harsh, Ph.D. Researcher, InIT Cloud Computing Lab Zurich University of Applied Sciences (ZHAW) [Site] http://piyush-harsh.info [Google-Scholar] https://scholar.google.ch/citations?hl=en&user=kaSUIp8AAAAJ
[Research Lab] blog.zhaw.ch/icclab Fax: +41(0)58.935.7403 GPG Keyid: 9C5A8838
On Mon, Feb 15, 2016 at 12:07 AM, rwoznica notifications@github.com wrote:
Dear all,
I am getting
Error while getting the Application Class loaded: ch.icclab.cyclops.dashboard.applicationFactory.McnDashboardApplicationFactory
in /var/log/cyclops/dashboard.log.
All steps seems to be done, no visible signs of error (other than that one). Any idea?
Thank you
— Reply to this email directly or view it on GitHub https://github.com/icclab/cyclops-dashboard/issues/3.
— Reply to this email directly or view it on GitHub https://github.com/icclab/cyclops-dashboard/issues/3#issuecomment-184179354 .
RcServiceUrl==http://localhost:8080/rc ######################## PROVIDE CREDENTIALS ####################
GK_ADMIN=admin GK_PASSWORD=admin
DASHBOARD_ADMIN=dashboardadmin DASHBOARD_PASSWORD=pass1234
DASHBOARD_DB_PATH=/home/ubuntu/sqlite/dashboard.db BILLING_PDF_PATH=/home/ubuntu/bills
######################## ADVANCED SETTINGS ######################
Environment=
GK_GET_UID=http://localhost:8000/admin/user/ GK_TOKEN_URL=http://localhost:8000/token/ GK_AUTH_URL=http://localhost:8000/auth/ GK_AUTH_TOKEN_INFO_URL=http://localhost:8000/token/validate/ GK_LIST_USERS_URL=http://localhost:8000/admin/user/
UDR_USAGE_URL=http://localhost:8080/udr/usage/users/ UDR_METER_URL=http://localhost:8080/udr/meters RC_RATE_URL=http://localhost:8080/rc/rate RC_RATE_STATUS_URL=http://localhost:8080/rc/rate/status RC_CHARGE_URL=http://localhost:8080/rc/charge BILLING_INVOICE_URL=http://localhost:8080/billing/invoice
DASHBOARD_USER_TABLE=dashboard_users ERROR_REPORTER_ENABLED=true ERROR_REPORTER_HOST=somehost ERROR_REPORTER_PORT=15672 ERROR_REPORTER_VIRTUAL_HOST=/ ERROR_REPORTER_USERNAME=someuser ERROR_REPORTER_PASSWORD=somepass MAX_CACHED_USERS=5 DATA_PERIOD=5 CACHE=false
######################## PROVIDE CREDENTIALS ####################
InfluxDBURL=http://localhost:8086 InfluxDBPassword=root InfluxDBUsername=root
UDRServiceUrl=http://localhost:8080/udr
######################## ADVANCED SETTINGS ######################
SchedulerFrequency=300 Environment=Mcn
dbName=rc_service eventsDbName=event
######################## PROVIDE CREDENTIALS ####################
InfluxDBURL=http://localhost:8086 InfluxDBUsername=root InfluxDBPassword=root
RabbitMQUsername=name RabbitMQPassword=pass RabbitMQHost=ip RabbitMQPort=port RabbitMQVirtualHost=/
######################## ADVANCED SETTINGS ######################
ScheduleFrequency=300 Environment=Mcn
InfluxDBDatabaseName=udr_service
MCNDBEventsName=mcn_events MCNEventStart=start MCNEventQueue=mcnevents
Hello rwoznica,
We have been checking our code and upgrading it to solve the issues and have better performance, The issue that we had here was regarding the packaging structure, which is solved now in our new release for UDR, RC and Dashboard micro services. You shouldn't have any problem right now to deploy and use it. Please let us know if your issue was solved.
Thanks, Cyclops Team.
Thank you. I am going to check this soon.
Best regards, RW
Hello, current release does not seem to be consistent. Please advise on usage of Environment=Mcn variable. Any documentation on how to handle such a type of setting. I suppose this does have to do something with tenant setup, however any docs are missing. Thank you
Hi,
I have asked my colleague to update the README to include more clarity on this field. Short answer is: generally you should not use Mcn option as it is to support one of the use cases from European Framework project titled MCN.
Kind regards, Piyush
Dr. Piyush Harsh, Ph.D. Researcher, InIT Cloud Computing Lab Zurich University of Applied Sciences (ZHAW) [Site] http://piyush-harsh.info [Google-Scholar] https://scholar.google.ch/citations?hl=en&user=kaSUIp8AAAAJ
[Research Lab] blog.zhaw.ch/icclab Fax: +41(0)58.935.7403 GPG Keyid: 9C5A8838
On Sat, Mar 5, 2016 at 5:27 PM, rwoznica notifications@github.com wrote:
Hello, current release does not seem to be consistent. Please advise on usage of Environment=Mcn variable. Any documentation on how to handle such a type of setting. I suppose this does have to do something with tenant setup, however any docs are missing. Thank you
— Reply to this email directly or view it on GitHub https://github.com/icclab/cyclops-dashboard/issues/3#issuecomment-192681230 .
Dear all,
I am getting
Error while getting the Application Class loaded: ch.icclab.cyclops.dashboard.applicationFactory.McnDashboardApplicationFactory
in /var/log/cyclops/dashboard.log.
All steps seems to be done, no visible signs of error (other than that one). Any idea?
Thank you