icclab / cyclops-dashboard

Angularjs UI for Cyclops framework
Apache License 2.0
10 stars 10 forks source link

ch.icclab.cyclops.dashboard.applicationFactory.McnDashboardApplicationFactory #3

Closed rwoznica closed 6 years ago

rwoznica commented 8 years ago

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

piyush82 commented 8 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.

rwoznica commented 8 years ago

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 variable

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 ####################

Your GateKeeper auth server credentials

GK_ADMIN=admin GK_PASSWORD=admin

This admin account will be created during installation automatically (has to be different from Gatekeeper)

DASHBOARD_ADMIN=dashboardadmin DASHBOARD_PASSWORD=pass1234

Provide paths for accessing SQLite database and saving PDFs

DASHBOARD_DB_PATH=/home/ubuntu/sqlite/dashboard.db BILLING_PDF_PATH=/home/ubuntu/bills

######################## ADVANCED SETTINGS ######################

Environment variable

Environment=

GateKeeper endpoints

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/

Cyclops RCB Endpoints

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

Error Reporter settings

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 ####################

Connection to your TimeSeries database

InfluxDBURL=http://localhost:8086 InfluxDBPassword=root InfluxDBUsername=root

Connection to your UDR deployment

UDRServiceUrl=http://localhost:8080/udr

######################## ADVANCED SETTINGS ######################

Frequency has to be in seconds

SchedulerFrequency=300 Environment=Mcn

Where should we save CDR records?

dbName=rc_service eventsDbName=event

######################## PROVIDE CREDENTIALS ####################

Connection to your TimeSeries database

InfluxDBURL=http://localhost:8086 InfluxDBUsername=root InfluxDBPassword=root

RabbitMQ settings

RabbitMQUsername=name RabbitMQPassword=pass RabbitMQHost=ip RabbitMQPort=port RabbitMQVirtualHost=/

######################## ADVANCED SETTINGS ######################

Frequency has to be in seconds

ScheduleFrequency=300 Environment=Mcn

Where to save UDR records?

InfluxDBDatabaseName=udr_service

Some other Event based metering settings

MCNDBEventsName=mcn_events MCNEventStart=start MCNEventQueue=mcnevents

ManuPerezBelmonte commented 8 years ago

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.

rwoznica commented 8 years ago

Thank you. I am going to check this soon.

Best regards, RW

rwoznica commented 8 years ago

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

piyush82 commented 8 years ago

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 .