Unfortunately, we are not going to do another 1.20 release. I think the only viable option is to automate the workaround you have used ie record the apiaddresses (which should also be in the jenv file for easy access) and then insert those if missing after the upgrade into the agent conf files.
Mario, sorry, I misread what you were saying.
This could be another manifestation of the bug where jujud agents need to be restarted to get them to know about the apiaddresses. As per https:/ /bugs.launchpad .net/juju- core/+bug/ 1473517/ comments/ 3
Unfortunately, we are not going to do another 1.20 release. I think the only viable option is to automate the workaround you have used ie record the apiaddresses (which should also be in the jenv file for easy access) and then insert those if missing after the upgrade into the agent conf files.