openstack-service-checks fails to deploy in offline environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-openstack-service-checks |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When deploying the openstack-
ERROR could not download resource: HTTP request failed: resource#
Installing fcbtest from store
Then it gives a hook error executing "snap install --channel=stable fcbtest".
If I copy the snap (and asset) to the unit and ack and install it, I get an error about prerequisites.
After copying the core snap (and asset) into the unit and acking and installing that, I get the same error. Seems I also need core18 snap. After copying, acking, and isntalling core18 snap, I can then install the fcbtest snap which then allows the charm install hook to finish.
juju scp ~/snaps/fcbtest* ~/snaps/core* openstack-
juju ssh openstack-
sudo snap ack /tmp/core_*.assert
sudo snap install /tmp/core_*.snap
sudo snap ack /tmp/core18_
sudo snap install /tmp/core18_*.snap
sudo snap ack /tmp/fcbtest_
sudo snap install /tmp/fcbtest_*.snap
'
Adding some resources to the metadata.yaml (and doing the appropriate things with them) would allow the charm to install in an offline deployment.
Related branches
- Xav Paice (community): Needs Resubmitting
- Paul Goins: Approve
- 🤖 prod-jenkaas-bootstack (community): Needs Fixing (continuous-integration)
-
Diff: 66 lines (+36/-0)3 files modifiedsrc/README.md (+19/-0)
src/layer.yaml (+4/-0)
src/metadata.yaml (+13/-0)
- Alvaro Uria: Pending requested
- Drew Freiberger: Pending requested
-
Diff: 64 lines (+34/-0)3 files modifiedsrc/README.md (+17/-0)
src/layer.yaml (+4/-0)
src/metadata.yaml (+13/-0)
- Drew Freiberger (community): Needs Fixing
- Alvaro Uria (community): Needs Information
-
Diff: 64 lines (+34/-0)3 files modifiedREADME.md (+17/-0)
layer.yaml (+4/-0)
metadata.yaml (+13/-0)
Changed in charm-openstack-service-checks: | |
assignee: | nobody → Vern Hart (vhart) |
status: | New → In Progress |
tags: | added: sts |
Changed in charm-openstack-service-checks: | |
importance: | Undecided → Medium |
Changed in charm-openstack-service-checks: | |
assignee: | Vern Hart (vern) → nobody |
Changed in charm-openstack-service-checks: | |
status: | In Progress → Fix Released |
Attaching ~field-high. MP is there but it didn't get much love at this point. We have an air-gapped deployment in progress, and forking a charm is the only option atm.