charmcraft build no longer works on xenial (py35) after 0.10.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceph iSCSI Charm |
Fix Committed
|
High
|
Unassigned | ||
OpenStack Manila NetApp Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
Error:
. Building /var/lib/
build create: /var/lib/
build installdeps: -r/var/
build installed: appdirs=
build run-test-pre: PYTHONHASHSEED='0'
build run-test: commands[0] | charmcraft build
Traceback (most recent call last):
File "/var/lib/
from charmcraft.main import main
File "/var/lib/
from charmcraft import helptexts, config
File "/var/lib/
f"{value!r} must be a valid relative path (cannot be empty)"
SyntaxError: invalid syntax
Currently the build use the charmcraft python package, and this isn't compatible with py35 which ships with xenial. The jenkins builder is xenial (to build charms that are compatible with xenial).
So either we need to pin charmcraft in the jenkins builder, or snap install the charmcraft package.
Changed in charm-ceph-iscsi: | |
status: | New → Triaged |
importance: | Undecided → High |
summary: |
- ceph-iscsi can no longer be built on xenial (py35) + charmcraft build no longer works on xenial (py35) after 0.10.2 |
Changed in charm-ceph-iscsi: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-manila-netapp: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-ceph-iscsi: | |
status: | Triaged → Fix Committed |
Changed in charm-manila-netapp: | |
status: | New → Fix Committed |
Changed in charm-manila-netapp: | |
importance: | Undecided → High |
Changed in charm-ceph-iscsi: | |
assignee: | Alex Kavanagh (ajkavanagh) → nobody |
Changed in charm-manila-netapp: | |
assignee: | Alex Kavanagh (ajkavanagh) → nobody |
Changed in charm-manila-netapp: | |
milestone: | none → 21.10 |
Changed in charm-manila-netapp: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- ceph-iscsi/ +/795569
Review: https:/