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

Dockerized Pinball #72

@derek-adair

Description

@derek-adair

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions