Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Storage feature prevents from deploying into a LXD container #48

Open
nobuto-m opened this issue Apr 14, 2023 · 3 comments
Open

Storage feature prevents from deploying into a LXD container #48

nobuto-m opened this issue Apr 14, 2023 · 3 comments

Comments

@nobuto-m
Copy link

nobuto-m commented Apr 14, 2023

$ juju version
2.9.42-ubuntu-amd64

$ juju deploy --series jammy ubuntu
Located charm "ubuntu" in charm-hub, revision 22
Deploying "ubuntu" from charm-hub charm "ubuntu", revision 22 in channel stable on jammy

$ juju add-unit ubuntu --to lxd:0
ERROR acquiring machine to host unit "ubuntu/1": cannot assign unit "ubuntu/1" to machine 0/lxd/0: adding storage to lxd container not supported (not supported)

Originally posted by @nobuto-m in #35 (comment)

@addyess
Copy link
Contributor

addyess commented May 16, 2023

a new charm is in latest/candidate but there are issues when upgrading from an existing latest/stable charm

❯ juju refresh ubuntu --channel=latest/candidate 
Added charm-hub charm "ubuntu", revision 23 in channel latest/candidate, to the model
ERROR updating charm config: cannot upgrade application "ubuntu" to charm "ch:amd64/focal/ubuntu-23": existing storage "files" with location changed from single to multiple

@addyess
Copy link
Contributor

addyess commented May 16, 2023

Fresh installs however work just fine

❯ juju deploy ubuntu --channel=candidate ubuntu2
Located charm "ubuntu" in charm-hub, revision 23
Deploying "ubuntu2" from charm-hub charm "ubuntu", revision 23 in channel candidate on ubuntu@22.04/stable
❯ juju add-unit ubuntu2 --to lxd:0

@addyess
Copy link
Contributor

addyess commented May 16, 2023

Addressing this concerns with #51

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants