Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kube: initial commit #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

kube: initial commit #3

wants to merge 3 commits into from

Conversation

philips
Copy link

@philips philips commented Feb 15, 2019

Initial pass at getting this running under Kubernetes. Hitting a
traceback using the example template though.

Traceback (most recent call last):
  File "/usr/local/bin/orr", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/orr/main.py", line 411, in main
    deterministic=deterministic)
  File "/usr/local/lib/python3.6/site-packages/orr/main.py", line 361, in run
    context=context, test_mode=test_mode)
  File "/usr/local/lib/python3.6/site-packages/orr/main.py", line 278, in render_template_dir
    context=context, test_mode=test_mode)
  File "/usr/local/lib/python3.6/site-packages/orr/utils.py", line 346, in process_template
    rendered = template.render(context)
  File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/app/templates/test-minimal/index.html", line 19, in top-level template code
    {% do subtemplate('results-summary.html', output_path) %}
  File "/usr/local/lib/python3.6/site-packages/orr/templating.py", line 185, in subtemplate
    context=context)
  File "/usr/local/lib/python3.6/site-packages/orr/utils.py", line 340, in process_template
    template = env.get_template(template_name)
  File "/usr/local/lib/python3.6/site-packages/jinja2/loaders.py", line 187, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: results-summary.html

Brandon Philips added 3 commits February 15, 2019 01:06
Initial pass at getting this running under Kubernetes. Hitting a
traceback using the example template though.

```
Traceback (most recent call last):
  File "/usr/local/bin/orr", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/orr/main.py", line 411, in main
    deterministic=deterministic)
  File "/usr/local/lib/python3.6/site-packages/orr/main.py", line 361, in run
    context=context, test_mode=test_mode)
  File "/usr/local/lib/python3.6/site-packages/orr/main.py", line 278, in render_template_dir
    context=context, test_mode=test_mode)
  File "/usr/local/lib/python3.6/site-packages/orr/utils.py", line 346, in process_template
    rendered = template.render(context)
  File "/usr/local/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
    return original_render(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/app/templates/test-minimal/index.html", line 19, in top-level template code
    {% do subtemplate('results-summary.html', output_path) %}
  File "/usr/local/lib/python3.6/site-packages/orr/templating.py", line 185, in subtemplate
    context=context)
  File "/usr/local/lib/python3.6/site-packages/orr/utils.py", line 340, in process_template
    template = env.get_template(template_name)
  File "/usr/local/lib/python3.6/site-packages/jinja2/loaders.py", line 187, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: results-summary.html
```
This will make debugging easier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant