Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot assign unit "mysql/0" to machine 0/lxd/0: adding storage to lxd container not supported #408

Open
nobuto-m opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nobuto-m
Copy link

nobuto-m commented Mar 6, 2024

Steps to reproduce

  1. juju deploy mysql --channel 8.0/edge --base [email protected] --to lxd on MAAS provider

Expected behavior

A LXD container is assigned on top of one physical host

Actual behavior

cannot assign unit "mysql/0" to machine 0/lxd/0: adding storage to lxd container not supported

$ juju export-bundle
default-base: [email protected]/stable
applications:
  mysql:
    charm: mysql
    channel: 8.0/edge
    revision: 210
    num_units: 1
    to:
    - ""
    constraints: arch=amd64
    storage:
      database: rootfs,1,1024M
$ juju status 
Model       Controller       Cloud/Region  Version  SLA          Timestamp
mysql-test  maas-controller  maas/default  3.4.0    unsupported  04:59:29Z

App    Version  Status  Scale  Charm  Channel   Rev  Exposed  Message
mysql           error     0/1  mysql  8.0/edge  210  no       cannot assign unit "mysql/0" to machine 0/lxd/0: adding storage to lxd container not supported

Unit     Workload  Agent  Machine  Public address  Ports  Message
mysql/0  error     lost                                   cannot assign unit "mysql/0" to machine 0/lxd/0: adding storage to lxd container not supported

Machine  State    Address          Inst id              Base          AZ       Message
0        started  192.168.151.115  fun-tick             [email protected]  default  Deployed
0/lxd/0  started  192.168.151.116  juju-e92865-0-lxd-0  [email protected]  default  Container started    

Versions

Operating system: Ubuntu 22.04 LTS

Juju CLI: 3.4.0-genericlinux-amd64

Juju agent: 3.4.0

Charm revision: mysql 8.0/edge 210

LXD: 5.0.3

Log output

Juju debug log:

N/A - since it's a metadata issue

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant