Skip to content

deploy to channel "edge" fails if the charm has multiple edge tracks #1259

@PietroPasotti

Description

@PietroPasotti

Description

This used to work fine:

        ops_test.model.deploy(
            "self-signed-certificates",
            channel="edge",
            trust=True,
        )

However now that "self-signed-certificates" has a 1/edge and a latest/edge channel, it fails with

juju.errors.JujuError: listing resources for charm "ch:amd64/self-signed-certificates-283": No revision was found in the Store.

Urgency

Casually reporting

Python-libjuju version

latest

Juju version

3.6.3

Reproduce / Test

async def test_foo():
    await ops_test.model.deploy(
            "self-signed-certificates",
            channel="edge",
            trust=True,
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugindicates a bug in the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions