Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Dockerized Pinball #72

Open
derek-adair opened this issue Apr 14, 2016 · 0 comments
Open

Dockerized Pinball #72

derek-adair opened this issue Apr 14, 2016 · 0 comments

Comments

@derek-adair
Copy link

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;

  1. docker-compose create
  2. docker-compose start mysql
  3. docker-compose start master
  4. 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...
screen shot 2016-04-14 at 5 29 46 pm

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant