sunbeam cluster resize fails after adding new nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
It seems similar issue to : https:/
This is the situation
ubuntu@node01:~$ sunbeam cluster list
┏━━━━━━
┃ Node ┃ Status ┃ Control ┃ Compute ┃ Storage ┃
┡━━━━━━
│ node01.maas │ up │ x │ x │ │
│ node02.maas │ up │ x │ x │ x │
│ node03.maas │ up │ x │ x │ x │
│ node04.maas │ up │ x │ x │ x │
└──────
I tried to to subbeam cluster resize after adding 3 nodes (2,3,4)
Attached output with terraform failure
...
Error: base required for Charmhub charms (bad request)
with module.
on modules/
28: resource "juju_application" "rabbitmq" {
Error resizing control plane
Traceback (most recent call last):
File "/snap/
process = subprocess.run(
File "/usr/lib/
raise CalledProcessEr
subprocess.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/
self.
File "/snap/
raise TerraformExcept
sunbeam.
Error: Command '['/snap/
I can see that ovn-relay got issues with certificates relation
2023-07-20 13:28:57,388 DEBUG No binding found for public
2023-07-20 13:28:57,401 DEBUG Setting up certificates event handler
2023-07-20 13:28:57,532 DEBUG Cannot add handler for relation identity-
t in charm metadata
2023-07-20 13:28:57,569 DEBUG Emitting Juju event certificates_
2023-07-20 13:28:57,581 ERROR Uncaught exception while in charm code:
Traceback (most recent call last):
File "/var/lib/
main(
File "/var/lib/
_emit_
File "/var/lib/
event_
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "/var/lib/
on_certificates
private_
AttributeError: 'NoneType' object has no attribute 'encode'
ubuntu@node01:~$ juju status -m openstack ovn-relay/1
Model Controller Cloud/Region Version SLA Timestamp
openstack sunbeam-controller sunbeam-
App Version Status Scale Charm Channel Rev Address Exposed Message
ovn-relay waiting 1/3 ovn-relay-k8s 23.03/stable 34 10.20.21.12 no installing age
nt
Unit Workload Agent Address Ports Message
ovn-relay/1 error idle 10.1.248.205 hook failed: "certificates-
Offer Application Charm Rev Connected Endpoint
Interface Role
certificate-
tls-
keystone keystone keystone-k8s 102 1/1 identity-credenti
als keystone-
ovn-relay ovn-relay ovn-relay-k8s 34 1/1 ovsdb-cms-relay
ovsdb-cms provider
rabbitmq rabbitmq rabbitmq-k8s 23 1/1 amqp
rabbitmq provider
ubuntu@node01:~$ snap info openstack | grep -E '(installed| tracking) '
tracking: 2023.1/candidate
installed: 2023.1 (225) 119MB -