Revert "Temporary debug ctx_or_related.runtime_properties"

This reverts commit 77ddae46e85a6c5e622e368b978e50d0f2bea7e4.
Revert "Work around runtime_properties is None in _try_extract_host_ip()"

This reverts commit 1f636d3ee1f24b51e9bde69cecc48367b02aea0e.
Add install and configure locks