If data binding exists as a space but it's not avaiable on nova-compute unit, join ovn hook failed with network-get data exit code 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned | ||
charm-ovn-chassis |
Triaged
|
Medium
|
Unassigned |
Bug Description
If data binding exists as a "space" in MAAS but it's not available on a nova-compute unit, join ovn hook failed with network-get data exit code 1. It's a misconfiguration from my end but currently, there is no overlay/data binding on nova-compute unit and when I deployed nova-compute on a host which hasn't got overlay subnet configured, ovn-chassis configured to use overlay as "data" binding will fail on network-get data command, which make sense as a network isn't available but as ovn-chassis is a subordinate charm of nova-compute should nova-compute have an option to define overlay space as well, it's an easy to miss config issue which could easily be avoided if my machine won't deploy nova-compute if overlay space binding is defined on Juju but not present on MAAS machine used for deployment.
affects: | charm-deployment-guide → charm-guide |
Changed in charm-guide: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
I ran into this today, and it seems this is potentially a juju bug.
The principal charm, octavia, in my case, doesn't have a binding that maps to the space used by the ovn-chassis-octavia data binding.
For instance, octavia using all "oam-space" bindings, but ovn-chassis-octaiva using binding data=overlay-space, juju didn't configure the new octavia lxd (maas provider) with an overlay-space interface.
I would suggest that if juju knows about subordinates related to a new principal unit at deployment time (i.e, the subordinate relation is already defined in the model or bundle being deployed) it should also configure interfaces for subordinate charm space bindings.
Workaround in my case was to add a constraint to octavia: 'juju set-constraints octavia spaces= overlay- space' and then re-deploy octavia units.
My environment is running juju 2.8.7 model/agents.