You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The charm doesn't support jammy (22.04 LTS) yet. This is not a request of upgrading the server side of the LMA stack, but to enable log aggregation of jammy workload like OpenStack Yoga on 22.04 LTS.
$ juju deploy --series jammy filebeat
ERROR series "jammy" not supported by charm, supported series are: focal, bionic, xenial, trusty. Use --force to deploy the charm anyway.
When we used --force for testing, the install hook fails with:
unit-filebeat-0: 07:58:17 DEBUG unit.filebeat/0.install Processing ./wheelhouse/Tempita-0.5.2.tar.gz
unit-filebeat-0: 07:58:17 DEBUG unit.filebeat/0.install Preparing metadata (setup.py): started
unit-filebeat-0: 07:58:17 DEBUG unit.filebeat/0.install Preparing metadata (setup.py): finished with status 'error'
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install error: subprocess-exited-with-error
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install × python setup.py egg_info did not run successfully.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install │ exit code: 1
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install ╰─> [1 lines of output]
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install error in Tempita setup command: use_2to3 is invalid.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install [end of output]
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install note: This error originates from a subprocess, and is likely not a problem with pip.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install error: metadata-generation-failed
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install × Encountered error while generating package metadata.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install ╰─> See above for output.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install note: This is an issue with the package mentioned above, not pip.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install hint: See above for details.
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install Traceback (most recent call last):
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install File "/var/lib/juju/agents/unit-filebeat-0/charm/hooks/install", line 8, in <module>
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install basic.bootstrap_charm_deps()
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install File "/var/lib/juju/agents/unit-filebeat-0/charm/lib/charms/layer/basic.py", line 206, in bootstrap_charm_deps
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install check_call([pip, 'install', '-U', reinstall_flag, '--no-index',
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install raise CalledProcessError(retcode, cmd)
unit-filebeat-0: 07:58:17 WARNING unit.filebeat/0.install subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-filebeat-0/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'MarkupSafe', 'charms.templating.jinja2', 'six', 'PyYAML', 'Jinja2', 'pbr', 'pyaml', 'charms.reactive', 'netaddr', 'Tempita', 'wheel', 'charmhelpers']' returned non-zero exit status 1.
The charm doesn't support jammy (22.04 LTS) yet. This is not a request of upgrading the server side of the LMA stack, but to enable log aggregation of jammy workload like OpenStack Yoga on 22.04 LTS.
When we used
--force
for testing, the install hook fails with:filebeat-0.log
The text was updated successfully, but these errors were encountered: