Docker image not available when using python libjuju for a kubernetes bundle

Bug #1859165 reported by Dominik Fleischmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

I'm trying to deploy a local kubernetes bundle with python-libjuju, I'm getting an error that the resource is not found, In this case the resource is the docker image from dockerhub that I need to deploy my kubernetes workload.

Nevertheless when I deploy it manually from the console I don't have this problem. When checking the libjuju code I found a comment that said that support for local resources was pending, so I thought that it might be related to that.

Im using the following bundle:

bundle: kubernetes
applications:
  k8scharm:
    charm: '../charms/k8scharm'
    scale: 1
    resources:
      ubuntu-image: 'ubuntu:latest'
    series: kubernetes

The charm that is being used is also attached to this bug.

The deploy function is called the following way:
 await model.deploy(bundle)

where model is a newly with libjuju created model and bundle the direct path to the bundle (with local: in front).

Revision history for this message
Dominik Fleischmann (dominik.f) wrote :
Revision history for this message
Richard Harding (rharding) wrote :

The resources work for local resources won't effect this. The issue is that the code here doesn't understand oci-image resource type. I'm not sure if it's the bundle code or the specific python-libjuju bits that need updating though.

Changed in juju:
status: New → Triaged
tags: added: k8s libjuju
Changed in juju:
importance: Undecided → High
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: High → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.