Skip to content

[Bug]: Bundle without series defined fails to be deployed #891

@gcalvinos

Description

@gcalvinos

Description

I am trying to deploy a bundle that has one kubernetes application on it using python-libjuju 2.9.42.4 and juju 2.9.43 (python-libjuju 2.9.43.1 has not yet been released). The charm I am deploying is a local charm. When trying to deploy it I get the following error:

juju.errors.JujuError: Couldn't determine series for charm at /app/storage/8f964384-a2bf-4409-9c71-8cee89698450:1/pebble_charm_vnf/juju-bundles/charms/onos_ubuntu-22.04-amd64.charm. Add a 'series' key to the bundle.

The bundle can be deployed directly with juju cli but if fails with python-libjuju.

There is a workaround that is to add a "series" field to the bundle.

Urgency

Annoying bug in our test suite

Python-libjuju version

2.9.42.4

Juju version

2.9.43

Reproduce / Test

This is the bundle to test the issue:


description: Onos Bundle
bundle: kubernetes
applications:
  onos:
    charm: './charms/onos_ubuntu-22.04-amd64.charm'
    scale: 1
    options:
      admin-password: admin
    resources:
      onos-image: onosproject/onos:2.6.0

And the local charm can be found here: https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages/-/tree/master/charm-packages/pebble_charm_vnf/juju-bundles/charms

Metadata

Metadata

Assignees

Labels

hint/2.9going on 2.9 branchkind/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