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
We, the Launchpad team, have a bunch of reactive charms that are built using Launchpad charm recipes. Since we did not pin the charmcraft channel to be used for the builds, they are now built with charmcraft 3.x. But the resulting charm files are missing many/all options from the layers included in the charm and are broken. Building the charm with charmcraft 2.x does produce a proper charm that has all the options present.
These charms are built on the Launchpad builders using charm recipes. But the issue is also reproducible with local charm builds on Ubuntu 24.04 with charmcraft 3.x, whereas 2.x works okay.
https://launchpadlibrarian.net/743876575/buildlog_charm_ubuntu_focal_amd64_launchpad-appserver_BUILDING.txt.gz has the build logs for the charmcraft 3.x build. https://launchpadlibrarian.net/743923593/buildlog_charm_ubuntu_focal_amd64_launchpad-appserver_BUILDING.txt.gz has the build logs for the charmcraft 2.x build. If needed, I can collect logs from a local build and share them too.
The text was updated successfully, but these errors were encountered:
@lengau, is this issue fixed? Asking because the linked PR mentions a fix for actions.yaml getting overwritten. But in this case, it was config.yaml that had the issue?
Bug Description
We, the Launchpad team, have a bunch of reactive charms that are built using Launchpad charm recipes. Since we did not pin the
charmcraft
channel to be used for the builds, they are now built withcharmcraft
3.x. But the resulting charm files are missing many/all options from the layers included in the charm and are broken. Building the charm withcharmcraft
2.x does produce a proper charm that has all the options present.To Reproduce
https://api.charmhub.io/api/v1/charms/download/wf1A4OyHbIxzKmTWna89ZaDrH618Ft6p_517.charm is the
launchpad-appserver
charm built usingcharmcraft
3.x and that is broken. https://api.charmhub.io/api/v1/charms/download/wf1A4OyHbIxzKmTWna89ZaDrH618Ft6p_518.charm is the version that has the exact same charm code but built usingcharmcraft
2.x and it is not broken.Environment
These charms are built on the Launchpad builders using charm recipes. But the issue is also reproducible with local charm builds on Ubuntu 24.04 with
charmcraft
3.x, whereas2.x
works okay.charmcraft.yaml
Relevant log output
The text was updated successfully, but these errors were encountered: