Bundle upgrade fails

Bug #1943824 reported by endika aldecoa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Unassigned

Bug Description

the second time a bundle is deployed, to upgrade it, will fail because it can't find the charm because it's not looking in the path set in the bundle, trys to find it with the charm name instead.

Fist time that is deployed:

Executing changes:
- upload charm /home/ubuntu/oai-bundle/oai-amf-operator/amf.charm for series focal with architecture=amd64
- deploy application amf with 1 unit on focal
  added resource oai-amf-image
  added resource tcpdump-image
- upload charm /home/ubuntu/oai-bundle/oai-db-operator/db.charm for series focal with architecture=amd64
- deploy application db with 1 unit on focal
  added resource oai-db-image
- upload charm /home/ubuntu/oai-bundle/oai-gnb-operator/gnb.charm for series focal with architecture=amd64
- deploy application gnb with 1 unit on focal
  added resource oai-gnb-image
  added resource tcpdump-image
- upload charm /home/ubuntu/oai-bundle/oai-nr-ue-operator/nr-ue.charm for series focal with architecture=amd64
- deploy application nr-ue with 1 unit on focal
  added resource oai-nr-ue-image
  added resource tcpdump-image
- upload charm /home/ubuntu/oai-bundle/oai-nrf-operator/nrf.charm for series focal with architecture=amd64
- deploy application nrf with 1 unit on focal
  added resource oai-nrf-image
  added resource tcpdump-image
- upload charm /home/ubuntu/oai-bundle/oai-smf-operator/smf.charm for series focal with architecture=amd64
- deploy application smf with 1 unit on focal
  added resource oai-smf-image
  added resource tcpdump-image
- upload charm /home/ubuntu/oai-bundle/oai-spgwu-tiny-operator/spgwu-tiny.charm for series focal with architecture=amd64
- deploy application spgwu-tiny with 1 unit on focal
  added resource oai-spgwu-tiny-image
  added resource tcpdump-image
- add relation db:db - amf:db
- add relation nrf:nrf - amf:nrf
- add relation nrf:nrf - smf:nrf
- add relation smf:amf - amf:amf
- add relation nrf:nrf - spgwu-tiny:nrf
- add relation spgwu-tiny:smf - smf:smf
- add relation gnb:amf - amf:amf
- add relation nr-ue:gnb - gnb:gnb
- add relation spgwu-tiny:spgwu - gnb:spgwu
Deploy of bundle completed.

The second time:

Executing changes:
- upload charm oai-amf from local for series focal with architecture=amd64
ERROR cannot deploy bundle: cannot deploy local charm at "/home/ubuntu/oai-bundle/oai-amf": file does not exist

juju version: 2.9.14

steps to reproduce:
git clone https://github.com/charmed-osm/oai-bundle.git
cd oai-bundle
./build.sh
juju deploy ./bundle.yaml --trust
juju deploy ./bundle.yaml --trust

summary: - Bundle upgarde fails
+ Bundle upgrade fails
Revision history for this message
Juan M. Tirado (tiradojm) wrote :

Could you detail the changes you performed in the bundle for the second deployment?

Revision history for this message
endika aldecoa (endikap100) wrote :

0 changes, the first deployment and the second one are with the same bundle without changing anything

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.