I've been seeing this with vault revision 82 (channel 1.7/stable).
When running the hooks, I added some debug code and see that two relations in the requests list have ingress_address=None; Units ceph-osd/2 and ceph-osd/8. All the other ceph-osd units seem to have worked as expected.
I was able to work around the issue by using request['access_address'] if request['ingress_address'] is None. (Simple patch attached.)
I am not sure if this is a good general solution but in my situation, where the ingress_address is set, it's the same as the access_address.
I've been seeing this with vault revision 82 (channel 1.7/stable).
When running the hooks, I added some debug code and see that two relations in the requests list have ingress_ address= None; Units ceph-osd/2 and ceph-osd/8. All the other ceph-osd units seem to have worked as expected.
I was able to work around the issue by using request[ 'access_ address' ] if request[ 'ingress_ address' ] is None. (Simple patch attached.)
I am not sure if this is a good general solution but in my situation, where the ingress_address is set, it's the same as the access_address.