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

Icehouse #7

Open
LordBrain opened this issue Jan 29, 2015 · 2 comments
Open

Icehouse #7

LordBrain opened this issue Jan 29, 2015 · 2 comments

Comments

@LordBrain
Copy link

I see that this project is kind of old. I am having problems getting the dashboard up for my Icehouse openstack instance. Should it work for that version?

What are all the things that need to be configured?

I am getting this error when running dashing:
scheduler caught exception:
845: NaN not allowed in JSON
/var/lib/gems/1.9.1/gems/dashing-1.3.4/lib/dashing/app.rb:125:in to_json' /var/lib/gems/1.9.1/gems/dashing-1.3.4/lib/dashing/app.rb:125:insend_event'
/home/dashing/dashing-openstack/jobs/openstack.rb:157:in block (2 levels) in <top (required)>' /home/dashing/dashing-openstack/jobs/openstack.rb:138:ineach'
/home/dashing/dashing-openstack/jobs/openstack.rb:138:in `block in <top (required)>'

Any idea what to check?

@rochaporto
Copy link
Owner

Hi.

I won't be able to try it out in the next couple weeks, but check the config.yaml and aviator.yaml files. The values to be filled should be more or less obvious... from the error it seems to be failing to contact keystone.

Will try to help anyway.

@LordBrain
Copy link
Author

So I did some hacking on it and tracked my problem down to the if sorted_tenants.length > 5 section of the openstack.rb.
In my system I have 6 tenants, and all of them are showing up in the dashboard just fine. But I think the way ruby is parsing the array, the .length, shows up as 6 so it tries to do that part of the code when in reality it done it in the section above, sorted_tenants[0..5]. I think the code needs to be changed to sorted_tenants.length > 6, but for me I just commented it out to get past it.

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

2 participants