err: getting OCI image resources ... empty id not valid ... nil pointer dereference
Bug #1961328 reported by
Leon
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Committed
|
High
|
Caner Derici |
Bug Description
I'm trying to deploy some charms locally as part of integration tests and I'm getting the following errors in a loop that does not resolve:
INFO juju.worker.
INFO juju.worker.
Maybe the two are related: "empty id" -> "nil pointer dereference"
Removing and reinstalling microk8s and juju did not help.
Observed with juju 2.9.22 and 2.9.25.
description: | updated |
summary: |
- err: getting OCI image resources ... empty id not valid and nil pointer + err: getting OCI image resources ... empty id not valid ... nil pointer dereference |
To post a comment you must log in.
How are you deploying the local charms? Can you provide the "juju deploy" command args you used?
Local charms with OCIs need to have those images provided using "--resource". Juju does check that but maybe something else is happening and the supplied image paths are incorrect?
I just tested with no issues with a local mariadb charm on microk8s on tip of juju 2.9
juju deploy /path/to/ local/charm --resource mysql_image=mariadb