canonical / mysql-operator

Machine charm for MySQL following the operator framework
https://charmhub.io/mysql
Apache License 2.0
7 stars 10 forks source link

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

Open nobuto-m opened 5 months ago

nobuto-m commented 5 months ago

Steps to reproduce

  1. juju deploy mysql --channel 8.0/edge --base ubuntu@22.04 --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: ubuntu@22.04/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             ubuntu@22.04  default  Deployed
0/lxd/0  started  192.168.151.116  juju-e92865-0-lxd-0  ubuntu@22.04  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

github-actions[bot] commented 5 months ago

https://warthogs.atlassian.net/browse/DPE-3708