ERROR selecting releases: charm or bundle not found for channel "stable", base "amd64/ubuntu/22.04/stable"

Bug #2054375 reported by Nobuto Murata
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Jack Shaw
3.3
Fix Released
High
Jack Shaw

Bug Description

$ juju version
3.4.0-genericlinux-amd64

How to reproduce:
1. bootstrap Juju with MAAS provider
    $ juju bootstrap maas maas-controller
2. try to deploy the juju-dashboard charm to an existing machine
    $ juju deploy -m controller juju-dashboard --to 0

$ juju deploy -m controller juju-dashboard --to 0
ERROR selecting releases: charm or bundle not found for channel "stable", base "amd64/ubuntu/22.04/stable"
available releases are:
  channel "latest/stable": available bases are: ubuntu@22.04, ubuntu@20.04
  channel "latest/candidate": available bases are: ubuntu@22.04, ubuntu@20.04
  channel "latest/beta": available bases are: ubuntu@22.04, ubuntu@20.04
  channel "latest/edge": available bases are: ubuntu@22.04, ubuntu@20.04
ERROR failed to deploy charm "juju-dashboard"

$ juju status -m controller
Model Controller Cloud/Region Version SLA Timestamp
controller maas-controller maas/default 3.4.0 unsupported 05:23:31Z

App Version Status Scale Charm Channel Rev Exposed Message
controller active 1 juju-controller 3.4/stable 79 no

Unit Workload Agent Machine Public address Ports Message
controller/0* active idle 0 192.168.151.101

Machine State Address Inst id Base AZ Message
0 started 192.168.151.101 normal-tiger ubuntu@22.04 default Deployed

Revision history for this message
Nobuto Murata (nobuto) wrote :
description: updated
Revision history for this message
Nobuto Murata (nobuto) wrote :

Just to give another data point, it doesn't fail with Juju 3.1.

Revision history for this message
Ian Booth (wallyworld) wrote :

If this is a regression from 3.1, then that's a problem.

We'll need to see logging with the logging-config #charmhub=TRACE

I'll mark as critical pending further investigation.

Changed in juju:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Nobuto Murata (nobuto) wrote :

I've attached the whole TRACE log in both cases above. Let me know if you need further logs.

Revision history for this message
Jack Shaw (jack-shaw) wrote (last edit ):

I have been able to replicate this in both 3.3 and 3.4

There is a fairly simple work around, you can just deploy with:

  juju deploy juju-dashboard --to 0 --base ubuntu@22.04

Jack Shaw (jack-shaw)
Changed in juju:
importance: Critical → High
assignee: nobody → Jack Shaw (jack-shaw)
milestone: none → 3.3.2
Jack Shaw (jack-shaw)
Changed in juju:
milestone: 3.3.2 → 3.3.3
Revision history for this message
John A Meinel (jameinel) wrote :

Not critical, as it has been this way for all of 3.3+, but a high importance bug that should be fixed in 3.3 and in 3.4.
There is a workaround (explicitly specify a base).
The particular issue is that when using '--to' our discovery of what base the target is running ends up including extra information that is not supported by charmhub when we do the lookup for a charm.

Changed in juju:
assignee: Jack Shaw (jack-shaw) → nobody
milestone: 3.3.3 → 3.4.1
Revision history for this message
Rob Gibbon (robgibbon) wrote :

Just to remark that I also hit this when deploying Charmed MicroK8s to physical system inventory managed by MAAS. The workaround "works", but its yet another papercut in our UX.

Jack Shaw (jack-shaw)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Jack Shaw (jack-shaw)
Revision history for this message
Jack Shaw (jack-shaw) wrote :

A fix has been committed, expect to see it available in the next 3.3 release

https://github.com/juju/juju/pull/16984

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.