You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: Failed to create network "test-microk8s-microcloud-tel"
│
│ with module.prod-microk8s-microcloud-tel.module.machine_model.module.lxd_service.lxd_network.service_network,
│ on .terraform/modules/prod-microk8s-microcloud-tel/microcloud/lxd_service/main.tf line 20, in resource "lxd_network""service_network":
│ 20:resource"lxd_network""service_network" {
│
│ failed to notify peer 10.102.200.16:8443: Failed getting port group UUID for network "test-microk8s-microcloud-tel" setup: Failed to run: ovn-nbctl --timeout=10--db
│ ssl:10.102.200.11:6641,ssl:10.102.200.14:6641,ssl:10.102.200.13:6641-c /proc/self/fd/3-p /proc/self/fd/4-C /proc/self/fd/5--wait=sb --format=csv --no-headings --data=bare --colum=_uuid,name,acl find
│ port_group name=lxd_net40: exit status 1 (ovn-nbctl: ssl:10.102.200.11:6641,ssl:10.102.200.14:6641,ssl:10.102.200.13:6641: database connection failed ())
╵
The output I got from a second run:
│ Error: Failed to create network "test-microk8s-microcloud-tel"
│
│ with module.prod-microk8s-microcloud-tel.module.machine_model.module.lxd_service.lxd_network.service_network,
│ on .terraform/modules/prod-microk8s-microcloud-tel/microcloud/lxd_service/main.tf line 20, in resource "lxd_network""service_network":
│ 20:resource"lxd_network""service_network" {
│
│ Failed creating pending network for member "tel-mc1": Network is not in pending state
In this case the network was created (though in an ERRORED state):
+------------------------------+------+---------+---------------+---------------------------+-------------+---------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE |
+------------------------------+------+---------+---------------+---------------------------+-------------+---------+---------+
| test-microk8s-microcloud-tel | ovn | YES | 10.34.38.1/24 | fd42:3699:7472:9563::1/64 | | 0 | ERRORED |
+------------------------------+------+---------+---------------+---------------------------+-------------+---------+---------+
Could this error on resource creation instead result in a tainted object being committed to state so that Terraform attempts re-creation on the next run?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm testing with a version of the provider built from current source, and believe I've hit a bug when creating an OVN network.
Apologies I haven't got a minimal reproducer at this point, recording initial information here where it can be iterated on.
The resource declaration:
The output I got on initial run:
The output I got from a second run:
In this case the network was created (though in an
ERRORED
state):Could this error on resource creation instead result in a tainted object being committed to state so that Terraform attempts re-creation on the next run?
Thanks!
The text was updated successfully, but these errors were encountered: