These are chat archives for allegro/ralph

25th
Aug 2015
ivan-sv
@ivan-sv
Aug 25 2015 15:58
looks like there are some configuration files missing for ralph 3 installation via docker

in the installation doc http://ralph-ng.readthedocs.org/installation/ it's stated:

Create compose configuration
Copy docker-compose.yml.tmpl outside ralph sources to docker-compose.yml and tweak it.

You can find experimental docker-compose configuration in https://github.com/allegro/ralph/tree/ng/docker directory. Be aware, it is still a beta.

but the file is missing

https://github.com/allegro/ralph/tree/ng/docker

ivan-sv
@ivan-sv
Aug 25 2015 16:31
also, if ralph 3 is installed manually, it seems like i'm unable to access DC Visualization tab, it's not displaying my racks that i've created. Is this normal?
blob
Arkadiusz Adamski
@ar4s
Aug 25 2015 17:09
could you enable webmaster tools (in Chrome press F12) and look for in Console and Network some errors?
ivan-sv
@ivan-sv
Aug 25 2015 17:13
yes, i see some errors in Console and Network sections

Console:

GET http://10.6.0.163:8000/static/vendor/css/loading-bar.min.css
dc_view:394 GET http://10.6.0.163:8000/static/vendor/js/loading-bar.min.js 404 (NOT FOUND)
angular.min.js:6Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.4.1/$injector/modulerr?p0=dataCenterVisualiza…%2F%2F10.6.0.163%3A8000%2Fstatic%2Fvendor%2Fjs%2Fangular.min.js%3A19%3A219)(anonymous function) @ angular.min.js:6(anonymous function) @ angular.min.js:38n @ angular.min.js:7g @ angular.min.js:37db @ angular.min.js:40d @ angular.min.js:19zc @ angular.min.js:20Yd @ angular.min.js:18(anonymous function) @ angular.min.js:289jQuery.Callbacks.fire @ jquery.js:3099jQuery.Callbacks.self.fireWith @ jquery.js:3211jQuery.extend.ready @ jquery.js:3417completed @ jquery.js:3433

blob
Arkadiusz Adamski
@ar4s
Aug 25 2015 17:15
Did you run ralph collectstatic --link --noinput?
ivan-sv
@ivan-sv
Aug 25 2015 17:17
I did not, didn't see it as part of the installation
I ran it now, but not sure what it's supposed to accomplish
still getting errors
[25/Aug/2015 19:20:13]"GET /static/vendor/css/loading-bar.min.css HTTP/1.1" 404 1704
[25/Aug/2015 19:20:13]"GET /static/vendor/js/loading-bar.min.js HTTP/1.1" 404 1698
[25/Aug/2015 19:20:14]"GET /static/vendor/js/angular.min.js.map HTTP/1.1" 404 1698
[25/Aug/2015 19:20:14]"GET /static/vendor/js/angular-cookies.min.js.map HTTP/1.1" 404 1722
[25/Aug/2015 19:20:14]"GET /static/vendor/js/angular-resource.min.js.map HTTP/1.1" 404 1725
Arkadiusz Adamski
@ar4s
Aug 25 2015 17:31
You installed ralph from deb package or from source?
ivan-sv
@ivan-sv
Aug 25 2015 17:45

I followed http://ralph-ng.readthedocs.org/installation/#installation-guide

Debian/Ubuntu package - recommended

Mateusz Kurek
@mkurek
Aug 25 2015 20:34
@vi4m shouldn't static files be already bundled in deb package (downloaded by npm and compiled/merged using gulp, just like in https://github.com/allegro/ralph/tree/ng/docker provision_js and init_js)?