Bundle upgrade fails
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/
- deploy application amf with 1 unit on focal
added resource oai-amf-image
added resource tcpdump-image
- upload charm /home/ubuntu/
- deploy application db with 1 unit on focal
added resource oai-db-image
- upload charm /home/ubuntu/
- deploy application gnb with 1 unit on focal
added resource oai-gnb-image
added resource tcpdump-image
- upload charm /home/ubuntu/
- deploy application nr-ue with 1 unit on focal
added resource oai-nr-ue-image
added resource tcpdump-image
- upload charm /home/ubuntu/
- deploy application nrf with 1 unit on focal
added resource oai-nrf-image
added resource tcpdump-image
- upload charm /home/ubuntu/
- deploy application smf with 1 unit on focal
added resource oai-smf-image
added resource tcpdump-image
- upload charm /home/ubuntu/
- deploy application spgwu-tiny with 1 unit on focal
added resource oai-spgwu-
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/
juju version: 2.9.14
steps to reproduce:
git clone https:/
cd oai-bundle
./build.sh
juju deploy ./bundle.yaml --trust
juju deploy ./bundle.yaml --trust
summary: |
- Bundle upgarde fails + Bundle upgrade fails |
Could you detail the changes you performed in the bundle for the second deployment?