Open viccross opened 3 years ago
The main issue with these is that
cache_peer
, connectivity is broken (not obvious)The config for the upstream proxy needs to include all or none of these statements.
See also #35 which requests post-restore enablement of the upstream proxy if build does not require it but restoration does (e.g. END-build FastVM restore in SYD).
The template for squid.conf
is incorrect now that the support for multiple RHOCP clusters is in place. The acl localhosts
definition currently uses {{ cluster_domain_name }}
which at best will be incorrect and at worst will be unset. Later in the file {{ cluster_base_domain }}
is used and this should be a better option.
When an upstream proxy is defined using
cache-peer
the proper ACLs for instructing Squid to use it are not set. This results in every request being rejected with HTTP/503. This was probably the real reason behind the connection rejects logged in #6 .The full definition will require an ACL to identify the local clients to be permitted, plus selectors to permit them, like this:
This definition is working on the test system in Sydney.