Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
damian1976
@damian1976
and in /data_center/rack/ I would add 3rd column 'Data Center' splitting second column 'Server room' in to 'Server room' as the 2nd column and 'DC' as the 3rd.
ivan-sv
@ivan-sv

hey, i'm still running into issues trying to start a container via the docker installation:

root@ralph3:/tmp/ralph-ng# docker-compose run --rm web /root/init.sh
Warning: the mapping "ralph/docker/settings_local.py:/tmp/ralph-ng/src/ralph/settings/settings_local.py" in the volumes config for service "web" is ambiguous. In a future version of Docker, it will designate a "named" volume (see docker/docker#14242). To prevent unexpected behaviour, change it to "./ralph/docker/settings_local.py:/tmp/ralph-ng/src/ralph/settings/settings_local.py"
Warning: the mapping "ralph/contrib/ralph.conf.nginx:/etc/nginx/conf.d/default.conf" in the volumes config for service "nginx" is ambiguous. In a future version of Docker, it will designate a "named" volume (see docker/docker#14242). To prevent unexpected behaviour, change it to "./ralph/contrib/ralph.conf.nginx:/etc/nginx/conf.d/default.conf"
Pulling db (mysql:5.6)...
5.6: Pulling from library/mysql
9d3ceacde91b: Pull complete
bbe78c1a5a53: Pull complete
69eb5d4d54b3: Pull complete
f5f6385330c0: Pull complete
f4b6375ef02f: Pull complete
d3bb5852905f: Pull complete
208035cccd5b: Pull complete
62018351d120: Pull complete
5d9d413283ba: Pull complete
b417bf90111e: Pull complete
f04da4e5043b: Pull complete
98c3dff0ac55: Pull complete
ac704964d647: Pull complete
35351af721e3: Pull complete
15a3cddfc178: Pull complete
7eee2d462c8f: Already exists
library/mysql:5.6: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
Digest: sha256:cc9b7e0cecd3b6f3c5aef9e9a0523ab1f2e1bfdd820ff7b7d963bc9b4503493a
Status: Downloaded newer image for mysql:5.6
Creating ralphng_db_1...
Cannot start container 1c381844574373f1bb24f0726fd8777b31e40f6fc11c24973e5c7ee6c2a3865a: [8] System error: exec: "/root/init.sh": stat /root/init.sh: no such file or directory

root@ralph3:/tmp/ralph-ng# docker-compose up
Warning: the mapping "ralph/docker/settings_local.py:/tmp/ralph-ng/src/ralph/settings/settings_local.py" in the volumes config for service "web" is ambiguous. In a future version of Docker, it will designate a "named" volume (see docker/docker#14242). To prevent unexpected behaviour, change it to "./ralph/docker/settings_local.py:/tmp/ralph-ng/src/ralph/settings/settings_local.py"
Warning: the mapping "ralph/contrib/ralph.conf.nginx:/etc/nginx/conf.d/default.conf" in the volumes config for service "nginx" is ambiguous. In a future version of Docker, it will designate a "named" volume (see docker/docker#14242). To prevent unexpected behaviour, change it to "./ralph/contrib/ralph.conf.nginx:/etc/nginx/conf.d/default.conf"
ralphng_db_1 is up-to-date
Creating ralphng_web_1...
Pulling nginx (nginx:latest)...
latest: Pulling from library/nginx
2c49f83e0b13: Pull complete
4a5e6db8c069: Pull complete
08ecf065655b: Pull complete
ff0618bc0767: Pull complete
12a77b8bf89a: Pull complete
5dde53921c3f: Pull complete
a53219dc4d2f: Pull complete
8c7e9b6e3131: Pull complete
f9bff7d0d06e: Pull complete
3ac9cfbdf572: Pull complete
491aec45eaf8: Pull complete
cd3cf76a61ee: Pull complete
Digest: sha256:e2dbdc9824482b79050a67c1e6143365d0eeefcc77bf0e22cc2715d91b8d1ad4
Status: Downloaded newer image for nginx:latest
Creating ralphng_nginx_1...
Cannot start container 17813125fe3d24debccf0715bd5a77ed1ec5ac21c04daf18342ed67d71ca9002: [8] System error: not a directory
ivan-sv
@ivan-sv
pointed nginx config to the right directory, but now getting other error when trying to start the container
web_1 | ImportError: No module named 'ralph.settings.settings_local'
ralphng_web_1 exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
Stopping ralphng_nginx_1... done
Stopping ralphng_web_1... done
Stopping ralphng_db_1... done
root@ralph3:/tmp/ralph-ng#
ivan-sv
@ivan-sv
sorry, nevermind :) specified .test module in the yml file. This is all new to me :)
the server starts, but i can't access it via the ip i've set it to in the Docker file initially
damian1976
@damian1976
@ivan-sv could you please use dpaste.com or similar to copy-paste large portions of logs/text?
✪ vi4m Marcin Kliks
@vi4m
✪ vi4m Marcin Kliks
@vi4m
@ivan-sv @mkurek maintains docker config, he's not available till next monday
deb package should do the job as well, but when it comes to dc visualization we have bug to fix, no matter what installation type you choose. https://github.com/allegro/ralph/wiki/ralph-3.0-build-26-known-bugs
ivan-sv
@ivan-sv
ah ok, i have no issues installing ralph from deb package, but if the bug exists in both versions then i'll just wait for a fix :)
ivan-sv
@ivan-sv
is ralph 2 still being worked on or is most of the focus on ralph 3 now?
Mateusz Kurek
@mkurek
@ivan-sv we fix only major bugs in ralph 2 (no new features) - we're fully focused on ralph 3 right now
✪ vi4m Marcin Kliks
@vi4m
@ivan-sv we've fixed bug with dc vizualization
ivan-sv
@ivan-sv
@vi4m great! thanks! :D does ralph 3 have capability to keep a certain stock number and alert you if the number of parts/assets goes below a certain threshold? if not, can it be a feature request? :)
Mateusz Kurek
@mkurek
@ivan-sv you could create issue for that - it could be part of rich notifications system for ralph - we'll probably discussing it in the near future
ivan-sv
@ivan-sv

hey, i just installed ralph from deb package (using apt-get), but still nothing shows up in dc view. Was it updated in the repository?

root@ralph3:/# dpkg -l |grep ralph
ii ralph-core 3.0.0-26 amd64 Ralph is an DCIM/CMDB - asset management for Data Centers/ Back Office.

Mateusz Kurek
@mkurek
@ivan-sv do you have any errors in browser console?
✪ vi4m Marcin Kliks
@vi4m
@mkurek did you fix this issue completely ? i mean - token bug + permissions bug ?
Mateusz Kurek
@mkurek
@vi4m yes
ivan-sv
@ivan-sv
blob
@mkurek I see errors in the browser. I'm logged in as super user, but this is what i see when i try to access the Datacenter that i've created in the DC view
✪ vi4m Marcin Kliks
@vi4m
new deb package is building right now
Michał Suszko
@msuszko
Visualization grid is an attribute of DataCenter, what is the purpose of ServerRoom then?
damian1976
@damian1976
Single DC can have multiple SRs (e.g on separate levels)
✪ vi4m Marcin Kliks
@vi4m
well, will be implemented somehow in the future. we have some ideas how to draw borders around separate server rooms, and filter it further
Michał Suszko
@msuszko
damian1976: Shouldn't grid be the property of SR then?
damian1976
@damian1976
I think so
ivan-sv
@ivan-sv
not necessarily. You can have a room or a "cage" inside a data center where your equipment is stored. So you have one data center and you have a Server Room within that data center where your equipment is in particular, you can have multiple SRs or "cages" inside the same data center that you can share with other vendors and such
sorry, actually you're right, the grid is the property of the SR, not the DC :D
Michał Suszko
@msuszko
OK
Should I create an issue to move grid attributes to SR?
✪ vi4m Marcin Kliks
@vi4m
sure
✪ vi4m Marcin Kliks
@vi4m
@ivan-sv new ralph build is ready - build 27 you can upgrade with apt
and ralph migrate
ivan-sv
@ivan-sv
@vi4m great! thanks! :) will give it a try today
✪ vi4m Marcin Kliks
@vi4m
dc visualization works on my setup
ivan-sv
@ivan-sv
great, DC view works now! :D
✪ vi4m Marcin Kliks
@vi4m
gr8
Michał Suszko
@msuszko
My coworker works on DC visualization and has problem putting racks of various sizes on DC grid
At the moment he put empty placeholder racks to cover floor taken by wider racks
Mateusz Kurek
@mkurek
@msuszko what is width of this rack? is it multiplication of standard rack size?
Michał Suszko
@msuszko
1.2 or 1.5
have you considered using finer grid and adding width and depth attributes to rack cabinets?
✪ vi4m Marcin Kliks
@vi4m
well, currently, we don't have it on our roadmap, but it should not be difficult to add this behavior if someone want to do it
Michał Suszko
@msuszko
it should be quite easy except for overlap calculations
ajcborges
@ajcborges
Hello Ralph are you there?
ajcborges
@ajcborges
@xliiv Hello are you there?
ajcborges
@ajcborges
Hi.... I need some help with Tipboard.....