I'm taking a look at pinball and I'm trying to get it Dockerized so my colleagues can have a plug-n-play version of this. So far its been a pretty nice experience putting this into Docker, however I'm afraid i've hit a wall.
Please check out my repository here.
docker-compose is a bit finicky so you need to be careful in how you start this;
- docker-compose create
- docker-compose start mysql
- docker-compose start master
- docker-compose start (the rest should start up)
Now you should be serving all of these components on a docker host! huzzah!
NOT SO FAST!!!
There's nothing there?! Your guide prepared me for such an occasion (typo in the docs btw ctrl+f reschedue)
root@d80b93983b5e:/code# python -m pinball.tools.workflow_util -c /code/pinball_config.yml -f reschedule
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/site-packages/pinball/tools/workflow_util.py", line 1285, in <module>
main()
File "/usr/local/lib/python2.7/site-packages/pinball/tools/workflow_util.py", line 1281, in main
print run_command(options)
File "/usr/local/lib/python2.7/site-packages/pinball/tools/workflow_util.py", line 1222, in run_command
return command.execute(client, store)
File "/usr/local/lib/python2.7/site-packages/pinball/tools/workflow_util.py", line 771, in execute
ParserCaller.CMD_RESCHEDULE)
File "/usr/local/lib/python2.7/site-packages/pinball/parser/utils.py", line 92, in load_parser_with_caller
return load_path(parser_name)(annotate_parser_caller(parser_params, parser_caller))
File "/usr/local/lib/python2.7/site-packages/pinball/workflow/utils.py", line 54, in load_path
module = importlib.import_module(module_name)
File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named workflows.parser
Odd, b/c examining /usr/local/lib/python/site-packages/pinball_ext/ there is a module named workflows.parser. This has me thinking maybe I need to do something in order to configure a workflow? Or maybe that my python-path is not set.
ONE MORE CLUE!
Navigating to $DOCKER_HOST:8080/ you should now see this message...

No idea if this is a symptom or maybe a cause? That is the id of the "master" container.
Anyways, let me know if you guys have any feedback or find these efforts interesting at all!
Cheers!
Pinball is rad.
I'm taking a look at pinball and I'm trying to get it Dockerized so my colleagues can have a plug-n-play version of this. So far its been a pretty nice experience putting this into Docker, however I'm afraid i've hit a wall.
Please check out my repository here.
docker-compose is a bit finicky so you need to be careful in how you start this;
Now you should be serving all of these components on a docker host! huzzah!
NOT SO FAST!!!
There's nothing there?! Your guide prepared me for such an occasion (typo in the docs btw ctrl+f reschedue)
Odd, b/c examining
/usr/local/lib/python/site-packages/pinball_ext/there is a module namedworkflows.parser. This has me thinking maybe I need to do something in order to configure a workflow? Or maybe that my python-path is not set.ONE MORE CLUE!

Navigating to $DOCKER_HOST:8080/ you should now see this message...
No idea if this is a symptom or maybe a cause? That is the id of the "master" container.
Anyways, let me know if you guys have any feedback or find these efforts interesting at all!
Cheers!
Pinball is rad.