Charm fails to install on focal {main development branch}
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-layer-ovn |
In Progress
|
High
|
Alex Kavanagh | ||
charm-ovn-chassis |
In Progress
|
High
|
Alex Kavanagh | ||
charm-ovn-dedicated-chassis |
In Progress
|
High
|
Alex Kavanagh |
Bug Description
I am unable to build this charm from source. (on focal and for focal)
I initially tried the stable/21.10 branch with the build.lock. No matter what I try, it either has missing dependencies that not packed in the wheelhouse directory or if I try pulling them in I get a circular conflict with flit_core being at the same time required to be below version 3 and between version 3 and 4.
I spend two days adding a bunch of dependencies in the wheelhouse.txt file with no luck.
I took the downloaded charm from charmhub and created a wheelhosue.txt based on what packages are distributed there with no luck.
dnspython==1.16.0
Jinja2==2.10.1
MarkupSafe==1.1.1
netaddr==0.7.19
netifaces==0.11.0
pbr==5.6.0
pip==18.1
psutil==5.8.0
pyaml==21.10.1
PyYAML==5.2
setuptools==41.6.0
setuptools_
six==1.16.0
sriov-netplan-
Tempita==0.4
wheel==0.33.6
pkgutil-
The same is basically true with master (after I fixed charmcraft.yaml)
I seem unable to build a permutation that is ready to run on focal (python3.8)
Which is odd, because the charm was obviously build for release by Canonical a while ago. Python hasn't changed tremendously since then and for that reason the lockfile and venv is used.
May I ask for some help? I can't see the wood for all the trees at this point.
Cheers
Tilman
Changed in charm-ovn-chassis: | |
status: | Triaged → In Progress |
Changed in charm-ovn-dedicated-chassis: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-layer-ovn: | |
status: | Triaged → In Progress |
# Fixed charmcraft
type: charm
parts:
charm:
build-packages:
- tox
- git
- python3-dev
source: ./src/
plugin: reactive
bases:
architectures:
architectures: [amd64, s390x, ppc64el, arm64]
architectures: [amd64, s390x, ppc64el, arm64]
- build-on:
- name: ubuntu
channel: "20.04"
- amd64
run-on:
- name: ubuntu
channel: "20.04"
- name: ubuntu
channel: "22.04"