Sadly that sort of test is not sufficient. The issues seen with machine addresses would be timing dependent and deploying an openstack bundle with many units deployed into containers may well be the only way to reproduce. The total clearing out of machine addresses will indeed cause a unit get private-address to return empty if called at an unfortunate time before any machine addresses have been set again.
Sadly that sort of test is not sufficient. The issues seen with machine addresses would be timing dependent and deploying an openstack bundle with many units deployed into containers may well be the only way to reproduce. The total clearing out of machine addresses will indeed cause a unit get private-address to return empty if called at an unfortunate time before any machine addresses have been set again.