Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Bryan Taylor
I can't really get to /opt/ralph/npm-debug.log not sure how to run the failed container from the build
lets see if i can make a volume of /opt/ralph onto the host and pull it that way...
Bryan Taylor
Bryan Taylor
I think something is unpublished ...
is it possible to specify the width for a particular asset model? I'm thinking of half-racks
Bryan Taylor
you can make a blade enclosure with slots
✪ vi4m Marcin Kliks
@brylor you can install deb package inside the docker, to skip this npm bug
just apt-get install ralph-core as our guidline says
or just wait for @ar4s till the next day, he maintains this docker-compose configuration
to me looks like some sort of npm repo bug, they're sorta unstable these times
Arkadiusz Adamski
@brylor I will check that today :smile:
Bryan Taylor
No luck with the npm problem? :(
Hahaha I think I fixed it! added -g to npm install in docker/
and the next one :(
/root/ line 5: /opt/ralph/node_modules/.bin/gulp: No such file or directory
ERROR: Service 'web' failed to build: The command '/bin/sh -c $SCRIPTS_PATH/' returned a non-zero code: 1
ah cause gulp was prob installed globally
Bryan Taylor
idk whats going on, have no idea about node
Bryan Taylor
from the nodejs chan: "@brylor you're using an ANCIENT node and npm
if you installed node with apt, don't do that. install from source or with
you need to be on node 4 or 6, and npm 2 or 3.
Bryan Taylor
ok ty
@brylor shakes fist at apt "
✪ vi4m Marcin Kliks
good to know.
Bryan Taylor
I've commited the docker image at the failed build stage, so I'm able to work with it... ill keep you updated
✪ vi4m Marcin Kliks
Bryan Taylor
I managed to update the Docker scripts to install node via nvm, the error is gone and it appears I have fixed the node prob of course now:
 web_1    | [2016-08-18 11:19:08 +0000] [1] [INFO] Listening at: (1)
web_1    | [2016-08-18 11:19:08 +0000] [1] [INFO] Using worker: sync
web_1    | [2016-08-18 11:19:08 +0000] [9] [INFO] Booting worker with pid: 9
web_1    | [2016-08-18 11:19:08 +0000] [9] [ERROR] Exception in worker process
web_1    | Traceback (most recent call last):
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/", line 557, in spawn_worker
web_1    |     worker.init_process()
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/", line 126, in init_process
web_1    |     self.load_wsgi()
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/", line 136, in load_wsgi
web_1    |     self.wsgi =
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/", line 67, in wsgi
web_1    |     self.callable = self.load()
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/", line 65, in load
web_1    |     return self.load_wsgiapp()
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/", line 52, in load_wsgiapp
web_1    |     return util.import_app(self.app_uri)
web_1    |   File "/usr/local/lib/python3.4/dist-packages/gunicorn/", line 357, in import_app
web_1    |     __import__(module)
web_1    | ImportError: No module named 'ralph.wsgi'
web_1    | [2016-08-18 11:19:08 +0000] [9] [INFO] Worker exiting (pid: 9)
web_1    | [2016-08-18 11:19:08 +0000] [1] [INFO] Shutting down: Master
I have to cd src...
Bryan Taylor
Ok this is what I have so far: brylor/ralph@e6822c3
But I still get the above ralph.wsgi error because docker compose has command: gunicorn -w 4 -b -t 300 ralph.wsgi ... but that is executed in /opt/ralph, it should be /opt/ralph/src but I can't make the paths/environments happy ...
btw my github accounts are messed up :(
Bryan Taylor
actually: brylor/ralph@f16660b
Bryan Taylor
still trying to get docker working this is where i'm at:
[root@yp-personal ralph-docker]# docker-compose  up
Starting ralphdocker_redis_1
Creating ralphdocker_data_1
Starting ralphdocker_inkpy_1
Recreating ralphdocker_db_1
Creating ralphdocker_web_1

ERROR: for web  Cannot start service web: oci runtime error: no such file or directory
ERROR: Encountered errors while bringing up the project.

[root@yp-personal ralph-docker]# grep working_dir docker-compose.yml
  working_dir: /opt/ralph/src

[root@yp-personal ralph-docker]# docker run -ti ralphdocker_web ls /opt/ralph/src
ralph  ralph.egg-info
this is crazy no sense
Bryan Taylor
Got docker working :) I'm a few commits back though allegro/ralph#2748
Arkadiusz Adamski
@brylor thanks for investigation but we don't need nvm to install other version of nodejs.. Please test this solution #2751 and give me a feedback
Bryan Taylor
yeah, i tried :D.... cool thanks! I'll check it
Is there anyone that can provide training on Ralph for my company? I am trying to go through Ralph but I want to see if there is anyone of the developers of Ralph who can provide us a full run through of the tool just to see if the tool can meet our needs.
I encountered a problem,env is max os
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/django/db/backends/", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.5/site-packages/django/db/backends/mysql/", line 124, in execute
return self.cursor.execute(query, args)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/", line 220, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/", line 36, in defaulterrorhandler
raise errorvalue
File "/usr/local/lib/python3.5/site-packages/MySQLdb/", line 209, in execute
r = self._query(query)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/", line 371, in _query
rowcount = self._do_query(q)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/", line 335, in _do_query
File "/usr/local/lib/python3.5/site-packages/MySQLdb/", line 280, in query
_mysql.connection.query(self, query)
_mysql_exceptions.ProgrammingError: (1146, "Table 'ralph_ng.transitions_transitionmodel' doesn't exist")
✪ vi4m Marcin Kliks
@brylor thanks for the docker fix ! :)
Bryan Taylor
@vi4m You're welcome, thank you! Latest pull is working fine
Observation though: When creating a 'blade enclosure/parent' object I can't really see the 'blades/children' on the basic info page
I know someone is going to squawk about that :/
Bryan Taylor
Also, it seems it would be useful to have generic objects attached to a component model?
Since I generally have the same spec stuff...
Bryan Taylor
It seems I can assign back office assets and they show up in My Equipment but I can't do this with Data Center hardware :(
brylor @brylor sighs
Mateusz Kurek
@brylor about parent/children relation - we have this in mind and we'll work on this soon. And DataCenter hardware doesn't have user assigned (directly), that's why it's not visible in my equipment tab
✪ vi4m Marcin Kliks
@brylor you can see similar view as "my equipment", but from "Service" view
it would be nice to have "My Services" somewhere, anyway
Bryan Taylor
Throwing this out there...
host reservations can be stored in the JSON configuration file or MySQL (DHCPv4)
mysql ...