Skip to content

Reactive charms built with missing configs (config.yaml) from other layers #684

@hloeung

Description

@hloeung

Checklist

  • Confirmed this is an issue with charm-tools, not charmstore-client
  • Provide versions of tools used
  • Described the feature or ways to replicate the issue

What version am I running?

I ran the following command: snap info charm and got the following ouput:

Installing build-snaps
found charm-tools 3.0.7 (+git-17-0c02af3)
Pulling charm
Building charm
found charm-tools 3.0.7 (+git-17-0c02af3)

I am using: Ubuntu Noble / 24.04

Issue/Feature

I expect/expected the following

Building a charm using Launchpad's charm recipes and an updated charmcraft.yaml with support for Noble. The charm build successfully but it seems to be experiencing issues with deployments.

From further investigation, it seems it's not including the config.yaml from the layers used. This is happening with both reactive charms:

https://code.launchpad.net/~hloeung/content-cache-charm/+git/content-cache-charm/+ref/noble - build logs - https://launchpadlibrarian.net/758442899/buildlog_charm_ubuntu_noble_amd64_content-cache-noble_BUILDING.txt.gz
https://code.launchpad.net/~hloeung/autocert-charm/+git/autocert-charm/+ref/noble - build logs - https://launchpadlibrarian.net/751038229/buildlog_charm_ubuntu_noble_amd64_autocert-noble_BUILDING.txt.gz

What I got

A charm with the config.yaml missing various values from the configs in the other layers.

Current with latest charm-tools - https://pastebin.canonical.com/p/JbrMpJm9MQ/
Older - https://pastebin.canonical.com/p/kYdkTQcjRc/
(sorry, company private)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions