Mysql-Innodb-cluster : Instances not yet in the cluster; YOGA clean installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL InnoDB Cluster Charm |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Hello,
I have an issue while deploying mysql-innodb-
Environment :
- 1 MaaS (Juju client installed here)
- 1 JuJu Controller
- 3 Bare Metal nodes
JuJu version : 2.9.42-ubuntu-amd64
MaaS version : 3.3.3
Deployments happen behind Maas Proxy.
If I run juju deploy -n 3 --to lxd:0,lxd:1,lxd:2 --series jammy --channel 8.0/stable mysql-innodb-
juju status --relations :
openstack maas-controller maas-dc/default 2.9.42 unsupported 05:49:13Z
App Version Status Scale Charm Channel Rev Exposed Message
ceph-osd 17.2.5 blocked 3 ceph-osd quincy/stable 559 no Missing relation: monitor
mysql-innodb-
nova-compute 25.1.0 blocked 3 nova-compute yoga/stable 650 no Missing relations: image, messaging
Unit Workload Agent Machine Public address Ports Message
ceph-osd/0* blocked idle 0 172.16.22.2 Missing relation: monitor
ceph-osd/1 blocked idle 1 172.16.22.1 Missing relation: monitor
ceph-osd/2 blocked idle 2 172.16.22.3 Missing relation: monitor
mysql-innodb-
mysql-innodb-
mysql-innodb-
nova-compute/0* blocked idle 0 172.16.22.2 Missing relations: image, messaging
nova-compute/1 blocked idle 1 172.16.22.1 Missing relations: messaging, image
nova-compute/2 blocked idle 2 172.16.22.3 Missing relations: image, messaging
Machine State Address Inst id Series AZ Message
0 started 172.16.22.2 BM-3 jammy HUB-DC-T Deployed
0/lxd/1 started 172.16.22.6 juju-e21d11-0-lxd-1 jammy HUB-DC-T Container started
1 started 172.16.22.1 BM-2 jammy HUB-DC-T Deployed
1/lxd/1 started 172.16.22.4 juju-e21d11-1-lxd-1 jammy HUB-DC-T Container started
2 started 172.16.22.3 BM-4 jammy HUB-DC-T Deployed
2/lxd/2 started 172.16.22.7 juju-e21d11-2-lxd-2 jammy HUB-DC-T Container started
Relation provider Requirer Interface Type Message
mysql-innodb-
mysql-innodb-
nova-compute:
juju export-bundle :
series: jammy
applications:
ceph-osd:
charm: ceph-osd
channel: quincy/stable
revision: 559
num_units: 3
to:
- "0"
- "1"
- "2"
options:
osd-devices: /dev/sda /dev/sdb /dev/sdc /dev/sdd
constraints: arch=amd64 tags=compute
storage:
bluestore-db: loop,1024M
bluestore
cache-
osd-devices: loop,1024M
osd-journals: loop,1024M
mysql-
charm: mysql-innodb-
channel: 8.0/stable
revision: 43
resources:
mysql-shell: 0
num_units: 3
to:
- lxd:1
- lxd:2
- lxd:0
constraints: arch=amd64
nova-compute:
charm: nova-compute
channel: yoga/stable
revision: 650
num_units: 3
to:
- "0"
- "1"
- "2"
options:
config-flags: default_
enable-
enable-
migration
openstack
virt-type: qemu
constraints: arch=amd64
storage:
ephemeral
machines:
"0":
constraints: arch=amd64 tags=compute
"1":
constraints: arch=amd64 tags=compute
"2":
constraints: arch=amd64 tags=compute
When I check unit logs on the 1/lxd/1 :
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:05 INFO unit.mysql-
2023-05-23 05:45:06 INFO juju.worker.
Logs on the leader 0/lxd/1 :
2023-05-23 06:29:59 INFO unit.mysql-
2023-05-23 06:29:59 INFO unit.mysql-
2023-05-23 06:29:59 INFO unit.mysql-
2023-05-23 06:29:59 INFO unit.mysql-
2023-05-23 06:29:59 INFO unit.mysql-
2023-05-23 06:29:59 INFO unit.mysql-
2023-05-23 06:30:00 INFO unit.mysql-
2023-05-23 06:30:01 ERROR unit.mysql-
Traceback (most recent call last):
File "<string>", line 3, in <module>
RuntimeError: Cluster.
2023-05-23 06:30:01 WARNING unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:01 INFO unit.mysql-
2023-05-23 06:30:02 INFO juju.worker.
It appears that 1/lxd/1 is declared as member of another group, but I'm doing a fresh install so it's an odd result.
description: | updated |
Unfortunately, there's not enough information here to determine what the problem may be. Please could you have a a read of https:/ /docs.openstack .org/charm- guide/zed/ community/ software- bug.html
In particular, the juju logs (including the machine logs) and the mysql error logs are very important to try to work out what is going on. Thanks.