Installation method with local resources for snap is not supported

Bug #1921832 reported by Yoshi Kadokawa
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Charm Guide
Fix Released
Low
Peter Matulis
OpenStack Glance-Simplestreams-Sync Charm
Fix Released
Wishlist
Yoshi Kadokawa

Bug Description

At this moment glance-simplestreams-sync charm does not support to upload simplestreams snap with Juju resources.
This would be helpful to deploy in an offline deployment.

Revision history for this message
Syed Mohammad Adnan Karim (karimsye) wrote :

I agree, we need this for an environment which is offline-ish.
They have local JFrog artifactory mirrors from which they pull images and packages.

Revision history for this message
Yoshi Kadokawa (yoshikadokawa) wrote :

This is now happening in on customers deployment. Subscribing this to field-high.
The workaround is to manually install the snap package, and the charm installation will proceed and complete.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

This would be a new feature, so it's categorised as wishlist. Also, Yoshi, please could you consider removing the field-high subscription as this most like a missing feature, rather than a major breaking issue, particularly as it has a work-around. Thanks.

Changed in charm-glance-simplestreams-sync:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Billy Olsen (billy-olsen) wrote :

As this is a feature request, I am removing the field-high designation. It is something that should definitely be considered for an enhancement to the charm.

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

This is blocking a bundle based deployment in an air-gapped deployment. We have a workaround indeed (thus it wasn't field-critical), but it's outside of the charm so the maintainability and sustainability will be in question.

Other OpenStack charms for example Vault has charm resources support properly.
https://api.jujucharms.com/charmstore/v5/vault/archive/metadata.yaml

And glance-simplestreams-sync was working fine until the switch from deb to snap happened without giving an option to operators to select a method. I know it's arguable but the charm change caused a regression in an air-gapped env. To me, having charm resources support for all snaps is a minimum feature parity expected in OpenStack charms.

Changed in charm-glance-simplestreams-sync:
assignee: nobody → Yoshi Kadokawa (yoshikadokawa)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-glance-simplestreams-sync (master)
Revision history for this message
Nobuto Murata (nobuto) wrote :

Subscribing ~field-medium.

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Added charm-guide as affected project so we don't forget the release notes. However, based on the fact it has just landed, this won't make it in the 21.10 release, so this will have to be added to the future release notes (22.04?)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-glance-simplestreams-sync (master)

Reviewed: https://review.opendev.org/c/openstack/charm-glance-simplestreams-sync/+/806127
Committed: https://opendev.org/openstack/charm-glance-simplestreams-sync/commit/bf23ef75b257b0cf1e00c9e7850f8bf10d0378b2
Submitter: "Zuul (22348)"
Branch: master

commit bf23ef75b257b0cf1e00c9e7850f8bf10d0378b2
Author: Yoshi Kadokawa <email address hidden>
Date: Thu Aug 26 18:35:36 2021 +0900

    Add support for juju resources

    Simplestreams package is now installed via snap. By having the juju
    resources for the snap package, it can benefit in offline environment.

    Closes-Bug: 1921832
    Change-Id: I5f21ca9faff35427281076e142942c3458e71091

Changed in charm-glance-simplestreams-sync:
status: In Progress → Fix Committed
Revision history for this message
Nobuto Murata (nobuto) wrote :

Removing field SLA as it's merged to the charm at least.

Changed in charm-glance-simplestreams-sync:
milestone: none → 21.10
Changed in charm-glance-simplestreams-sync:
milestone: 21.10 → 22.04
Changed in charm-guide:
milestone: none → 22.04
Revision history for this message
Nobuto Murata (nobuto) wrote :

Assigning this to me not to forget.

Changed in charm-guide:
assignee: nobody → Nobuto Murata (nobuto)
Changed in charm-glance-simplestreams-sync:
status: Fix Committed → Fix Released
Changed in charm-guide:
assignee: Nobuto Murata (nobuto) → Peter Matulis (petermatulis)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-guide (master)
Changed in charm-guide:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-guide (master)

Reviewed: https://review.opendev.org/c/openstack/charm-guide/+/849151
Committed: https://opendev.org/openstack/charm-guide/commit/14677dfed1ff76a959d8b998ef2564255a425bcc
Submitter: "Zuul (22348)"
Branch: master

commit 14677dfed1ff76a959d8b998ef2564255a425bcc
Author: Peter Matulis <email address hidden>
Date: Fri Jul 8 17:47:47 2022 -0400

    Fix yoga release notes

    The yoga RNs failed to mention the added support for Juju
    resources to the glance-simplestreams-sync charm and how
    this benefits air-gapped environments due to the necessity
    for the Simplestreams snap.

    Closes-Bug: #1921832
    Change-Id: I72974d0297bcd46f3bd848e973677bbf92e37174

Changed in charm-guide:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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