ERROR octavia.controller.worker.v2.controller_worker jinja2.exceptions.TemplateNotFound: amphora_agent_conf.template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
Triaged
|
High
|
Unassigned | ||
Caracal |
Fix Committed
|
High
|
Unassigned | ||
octavia (Ubuntu) |
Fix Released
|
High
|
Felipe Reyes | ||
Noble |
Fix Committed
|
High
|
Unassigned |
Bug Description
[ Impact ]
Octavia fails to provision Amphora for load balancers.
[ Test Plan ]
Install Octavia as part of a Charmed OpenStack deployment for Caracal.
Create a loadbalancer - creation will fail with stack trace from original bug report.
[ Where problems could occur ]
The fix for this is to ensure that data files in the Python source tree are included in the package installation; this is done by providing a MANIFEST to ensure that this happens; side effects are unlikely.
[Original Bug Report]
[Impact]
Octavia fails to provision the amphora, the stacktrace logged is:
Traceback (most recent call last):
File "/usr/lib/
result = task.execute(
File "/usr/lib/
return super().execute(
File "/usr/lib/
agent_cfg = agent_jinja_
File "/usr/lib/
self.
File "/usr/lib/
return self._load_
File "/usr/lib/
template = self.loader.
File "/usr/lib/
source, filename, uptodate = self.get_
File "/usr/lib/
raise TemplateNotFoun
jinja2.
When searching for a package where this file is, apt-file can't find any. https:/
This file has been around for many years - https:/
[Environment]
* OpenStack 2024.1 (Caracal)
* python3-octavia 1:14.0.
Related branches
- Ubuntu OpenStack uploaders: Pending requested
-
Diff: 40 lines (+19/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/install-missing-files.patch (+10/-0)
debian/patches/series (+1/-0)
Changed in octavia (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in octavia (Ubuntu Noble): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in octavia (Ubuntu): | |
assignee: | James Page (james-page) → Felipe Reyes (freyes) |
description: | updated |
Adding charm-octavia in case the charm is at fault, although everything seems to point out to a packaging issue.