"install" hook error caused by certifi library dropping python 3.5 supports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Undecided
|
Tianqi Xiao |
Bug Description
The telegraf charm is using requests python library when dealing with units with a public address (ex. percona-cluster). One of its dependencies, certifi library, has dropped python 3.5 support since version 2022.05.18. Consequently, the telegraf charm resulted in error state when running the "install" hook.
```
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:25 WARNING unit.telegraf/
unit-telegraf-0: 18:30:26 ERROR juju.worker.
```
So we need to limit the certifi version to ensure the python 3.5 support.
Related branches
- Eric Chen: Approve
-
Diff: 85 lines (+1/-27)4 files modifiedcharmcraft.yaml (+1/-5)
dev/null (+0/-19)
src/metadata.yaml (+0/-1)
src/tests/functional/tests/tests.yaml (+0/-2)
- Eric Chen: Approve
- BootStack Reviewers: Pending requested
-
Diff: 9 lines (+1/-0)1 file modifiedsrc/wheelhouse.txt (+1/-0)
- Eric Chen: Needs Fixing
- BootStack Reviewers: Pending requested
-
Diff: 9 lines (+1/-0)1 file modifiedsrc/wheelhouse.txt (+1/-0)
Changed in charm-telegraf: | |
assignee: | nobody → Tianqi Xiao (txiao) |
The final decision on handling dependency issues in legacy series (e.g. xenial) is:
- Drop legacy series support in main development track
- Create a new branch and channel to track legacy series