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

ELN compose for Apr 23 2021 failing with lorax templates error #43

Closed
bookwar opened this issue Apr 23, 2021 · 4 comments
Closed

ELN compose for Apr 23 2021 failing with lorax templates error #43

bookwar opened this issue Apr 23, 2021 · 4 comments

Comments

@bookwar
Copy link
Member

bookwar commented Apr 23, 2021

https://odcs.fedoraproject.org/composes/odcs-14520/logs/x86_64/buildinstall-BaseOS.x86_64.log

2021-04-23 12:11:14,974: installing runtime packages
installing runtime packages
2021-04-23 12:11:16,908: got release: fedora-release-eln
got release: fedora-release-eln
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/mako/lookup.py", line 249, in get_template
    return self._check(uri, self._collection[uri])
KeyError: 'runtime-install.tmpl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/sbin/lorax", line 223, in <module>
    main()
  File "/usr/sbin/lorax", line 204, in main
    lorax.run(dnfbase, opts.product, opts.version, opts.release,
  File "/usr/lib/python3.9/site-packages/pylorax/__init__.py", line 271, in run
    rb.install()
  File "/usr/lib/python3.9/site-packages/pylorax/treebuilder.py", line 136, in install
    self._runner.run("runtime-install.tmpl")
  File "/usr/lib/python3.9/site-packages/pylorax/ltmpl.py", line 148, in run
    commands = t.parse(templatefile, variables)
  File "/usr/lib/python3.9/site-packages/pylorax/ltmpl.py", line 53, in parse
    template = lookup.get_template(template_file)
  File "/usr/lib/python3.9/site-packages/mako/lookup.py", line 262, in get_template
    raise exceptions.TopLevelLookupException(
mako.exceptions.TopLevelLookupException: Cant locate template for uri 'runtime-install.tmpl'
@tdawson
Copy link
Member

tdawson commented Apr 23, 2021

I've tagged in (and gotten signed) lorax-35.0-3.eln110
Let's try a compose and see if that fixes things.

@tdawson
Copy link
Member

tdawson commented Apr 23, 2021

Nope, still failing with the same error.
I double checked that it was installing lorax and lorax-templates-generic 35.0-3.eln110.

@sgallagher
Copy link
Member

@hanzz
I've been trying to dig in and figure out what happened here, but I'm not having any luck. Can you help?

@sgallagher
Copy link
Member

@hanzz identified and fixed this issue today with a hack, but we need a more robust long-term solution (tracked as #46)

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

No branches or pull requests

3 participants