juju / 1.25-upgrade

Tools to upgrade and move a 1.25 environment to a 2.2.4+ controller
4 stars 7 forks source link

Space bindings for newly added units missing since services deployed w/out spaces #64

Open afreiberger opened 6 years ago

afreiberger commented 6 years ago

In an environment deployed on MaaS 1.9 and juju < 1.25, we have some applications that were not deployed with spaces. During the lxc->lxd process, the configs of each lxc are properly converted so we maintain the same network configurations pre-post juju 1->2 upgrade. When adding new units of an application with complex networking to a lxd container, we end up missing the non-default space bindings in the containers.

I would like to propose a method to inject fresh space bindings into the upgraded juju model, perhaps as a yaml definition, and then a way to tag currently up interfaces as having a link to the space while not relying on upstream MaaS provider for the currently deployed machines.