Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Marco Lanzotti
@rastakozza
but I cannot see drop down top menus like the demo version
any idea?
Marco Lanzotti
@rastakozza
installed version is 3.0.0-snapshot-20170120-7552 (last available on repository)
damian1976
@damian1976

Did you type:

1.    Type ralph migrate to create tables in your database.
2.   Type ralph sitetree_resync_apps to reload menu.
3.    Type ralph createsuperuser to add new user.

?

Marco Lanzotti
@rastakozza
yes
tables were created and i can log in
I can try to re-run ralph sitetree_resync_apps
wow, it works!
probably something went wrong in first run
thank you!
damian1976
@damian1976
:)
PdeNiet
@PdeNiet
Hey guys, I'm looking into Ralph3 as a DCIM, but i'm running into two issues, perhaps someone here is familiar with them
The first one is 'AttributeError at /data_center/rack/process_import/' when i'm trying to import racks for csv or excel
Django is complaining about not being able to set ManyToManyField
✪ vi4m Marcin Kliks
@vi4m
@xliiv ?
xliiv
@xliiv
@PatrickdeNiet we're talking o2o.. as soon we get solution we
we'll publish it here
PdeNiet
@PdeNiet
thanks!
Marco Lanzotti
@rastakozza
hi guys
what's the best way to run ralph 3 behind nginx server
reverse proxy or uwsgi?
✪ vi4m Marcin Kliks
@vi4m
the most popular is mod_proxy
SesquipedalianDefenestrator
@SesquipedalianDefenestrator
Any idea what the timeline is for the "allow modeling of connections between hosts and network gear" feature is now? I saw mention of it being in October, but if it's there in 3.0.0-snapshot-20170120-7552 (latest deb), I can't seem to find it or figure out how it works.
Marco Lanzotti
@rastakozza
is there some rc script or systemd config to run ralph on startup?
Pete
@kasim1r
+1 for @rastakozza 's request :)
Marco Lanzotti
@rastakozza
tried something like this
[Unit]
Description=Ralph 3
After=network.target

[Service]
EnvironmentFile=-/etc/default/ralph
ExecStart=/opt/ralph/ralph-core/bin/ralph runserver $LISTEN
Restart=on-failure

[Install]
WantedBy=multi-user.target
Alias=ralph.service
for systemd
it works
Mateusz Kurek
@mkurek
@rastakozza cool! could you make PR with this? to contrib dir and/or to DEB package? :)
Marco Lanzotti
@rastakozza
very busy now, i will do ASAP
Mateusz Kurek
@mkurek
sure, thanks a lot!
Marco Lanzotti
@rastakozza
setting RALPH_DEBUG=0 it replies 500 to http requests
Mateusz Kurek
@mkurek
try to run ralph collectstatic first
Marco Lanzotti
@rastakozza
now I receive a 404 to js and css requests...
Mateusz Kurek
@mkurek
ok. that's because runserver, when it's running in non-debug mode, does not serve static files. You should put it behind some reverse proxy, for example nginx. Take a look at example config here: https://github.com/allegro/ralph/blob/ng/contrib/ralph.conf.nginx
Marco Lanzotti
@rastakozza
i receive requests like:
[01/Feb/2017 11:03:09] "GET /static/vendor/js/modernizr.c1ff1650bba6.js HTTP/1.1" 404 116
but I only have file /static/vendor/js/modernizr.js
no /static/vendor/js/modernizr.c1ff1650bba6.js
Mateusz Kurek
@mkurek
check /var/static/... directory inside ralph - there should be collected staticfiles
(inside ralph directory)
Marco Lanzotti
@rastakozza
ok, thank you!
zuniga7
@zuniga7
Hi, I was wondering if it were possible to display custom fields in the rack information found in the ywDC visualization
*DC
The place that lists the service catalog, hostname, model, barcode, sn, etc
xliiv
@xliiv
@zuniga7 this probably needs coding, i think
Cejo John
@cejojohn
Hello everybody
I've been trying to run ralph on docker using the docker-compose.
mmm..I see the experimental tag on the docs now :D I guess that's the reason my docker-compose build fails.
zuniga7
@zuniga7
Hi I have another question, is there a way to have user sessions expire after a certain amount of inactivity?