Juju-lint is incompatible with juju 3.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Triaged
|
Medium
|
Unassigned | ||
charm-juju-lint |
Triaged
|
Medium
|
Unassigned |
Bug Description
During the release testing of juju 3.1 we found out that juju-lint is incompatible with juju 3.1. In the logs we see:
```
2023-01-30 14:37:51 ERROR unit.juju-
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-13' coro=<Model.
Traceback (most recent call last):
File "/var/lib/
model_config = await self.get_config()
File "/var/lib/
result = await config_
File "/var/lib/
reply = await f(*args, **kwargs)
File "/var/lib/
reply = await self.rpc(msg)
File "/var/lib/
result = await self.connection
File "/var/lib/
raise errors.
juju.errors.
2023-01-30 14:37:51 ERROR unit.juju-
Traceback (most recent call last):
File "./src/charm.py", line 125, in <module>
main(
File "/var/lib/
_emit_
File "/var/lib/
event_
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "./src/charm.py", line 91, in on_config_changed
self.
File "/var/lib/
raise error
File "/var/lib/
subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
stdout, stderr = process.
File "/usr/lib/
stdout, stderr = self._communica
File "/usr/lib/
self.
File "/usr/lib/
raise TimeoutExpired(
subprocess.
```
According to the juju team, python-libjuju currently has no releases that are compatible with juju 3.1, but the master branch is. When juju 3.1 is released, python -libjuju will release as well. At that point the juju-lint charm can be rebuild and it should work again.
tags: | added: cdo-qa foundations-engine |
tags: | added: bseng-787 |
Changed in juju-lint: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tentatively adding this to the juju-lint project as we are planning to shift all libjuju code to the snap