RFE: `juju download --include-resources` needed

Bug #1945432 reported by Daniel Mutis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Incomplete
Wishlist
Unassigned

Bug Description

We currently display `juju download --include-resources` in the UI (https://charmhub.io/candid-idm/resources/candid-idm-image) but this command hasn't been implemented yet, so it fails.

We will stop displaying it in the UI for now and you can let us (the Design team) know once this is available.

Tags: sts
description: updated
Revision history for this message
John A Meinel (jameinel) wrote :

I haven't found a place where we documented how that was meant to work (I can't find a spec describing '--include-resources'). It may, indeed, exist and I just haven't found it.

Changed in juju:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

Resources were implemented later in the charmhub development work. Adding them to the `juju download` command was overlooked at that time.

I'm not sure why our docs say it's implemented.

This is an RFE.

summary: - `juju download --include-resources` fails
+ RFE: `juju download --include-resources` fails
Revision history for this message
John A Meinel (jameinel) wrote : Re: RFE: `juju download --include-resources` fails

So the original need was because there wasn't a way to get the resource directly for offline deployments. There is now a Download link on the web page. Does that address the original concern?

Though I can note that downloading the 'resource' for an oci-image just downloads the JSON snippet that describes where you can find the OCI digest. eg:
{"ImageName":"registry.jujucharms.com/charm/.../candid-idm-image@sha256:...","Password":"...","Username":"docker-registry"}

We'd want to make sure that whatever does get implemented for resolving this issue has the right content available for what Daniel actually was hoping that '--include-resources' would do.

tags: added: sts
John A Meinel (jameinel)
Changed in juju:
status: Triaged → Incomplete
Revision history for this message
Jorge Merlino (jorge-merlino) wrote :

I think it should work as the old

charm pull-resource

used to work. That is from the charm snap that is no longer maintained. In that case the resource to be downloaded had to be selected manually.

The web page is useful but requires development to build automation around it when a call to juju download would be much simpler.

summary: - RFE: `juju download --include-resources` fails
+ RFE: `juju download --include-resources` needed
John A Meinel (jameinel)
Changed in juju:
milestone: none → 3.1.0
Revision history for this message
Harry Pidcock (hpidcock) wrote :
Changed in juju:
milestone: 3.1-beta1 → 3.1-rc1
Changed in juju:
milestone: 3.1-rc1 → 3.1-rc2
Changed in juju:
milestone: 3.1-rc2 → 3.1-rc3
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.