Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Bryan Taylor
@brylor
I have to cd src...
Bryan Taylor
@brylor
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 0.0.0.0:8000 -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
@brylor
actually: brylor/ralph@f16660b
Bryan Taylor
@brylor
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
@brylor
Got docker working :) I'm a few commits back though allegro/ralph#2748
Arkadiusz Adamski
@ar4s
@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
@brylor
yeah, i tried :D.... cool thanks! I'll check it
rebeccakandiah
@rebeccakandiah
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.
heidsoft
@heidsoft
I encountered a problem,env is max os
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.5/site-packages/django/db/backends/mysql/base.py", line 124, in execute
return self.cursor.execute(query, args)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/cursors.py", line 220, in execute
self.errorhandler(self, exc, value)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorvalue
File "/usr/local/lib/python3.5/site-packages/MySQLdb/cursors.py", line 209, in execute
r = self._query(query)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/cursors.py", line 371, in _query
rowcount = self._do_query(q)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/cursors.py", line 335, in _do_query
db.query(q)
File "/usr/local/lib/python3.5/site-packages/MySQLdb/connections.py", line 280, in query
_mysql.connection.query(self, query)
_mysql_exceptions.ProgrammingError: (1146, "Table 'ralph_ng.transitions_transitionmodel' doesn't exist")
✪ vi4m Marcin Kliks
@vi4m
@brylor thanks for the docker fix ! :)
Bryan Taylor
@brylor
@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
@brylor
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
@brylor
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
@mkurek
@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
@vi4m
@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
@brylor
Throwing this out there... http://kea.isc.org/wiki
host reservations can be stored in the JSON configuration file or MySQL (DHCPv4)
mysql ...
Bryan Taylor
@brylor
How can I get a data center object to span from front to back? I don't want to give the impression that is empty...
gatvo
@gatvo
Is there a way to hide/disable pages from the admin portal such as removing the back office tab from the menu or the business segment page from the settings tab?
✪ vi4m Marcin Kliks
@vi4m
Yes, through the permissions settings
Pete
@kasim1r
hy, anyone here?
✪ vi4m Marcin Kliks
@vi4m
yes
Pete
@kasim1r
great
i have an API question
what would the correct json look like to create a new virtual server?
here's what I came up with after reading the OPTIONS page
{
"type": 1,
"hostname": "tollemaschine1",
"hypervisor": 2,
"service_env": 3,
"status": "in use",
"sn": "123lkjh1oiuz123jhvfejkbergjb432"
}
but what actually happens is an error 400
{"type":["This field is required."],"hypervisor":["This field is required."]}
i though i had both in there
i also tried "" around the integers
Pete
@kasim1r
basic misunderstanding of the concept (at my side)?
✪ vi4m Marcin Kliks
@vi4m
trying.
Pete
@kasim1r
very nice of you :)
✪ vi4m Marcin Kliks
@vi4m
curl -H "Content-Type: application/json" -H "Authorization: Token 9af03a5ed0eabdc665f00c7043c3913f88d0943b" -XPOST http://ralph-demo.allegro.tech/api/virtual-servers/ -d '{"hypervisor": 810, "type": 4}' -vvv
Pete
@kasim1r
that worked?
✪ vi4m Marcin Kliks
@vi4m
it works on our demo site, remember about Content-Type
if not provided, it wont' work